Browse Source

Small style modification

remotes/origin/translate_notes
Alexandre Dupas 15 years ago
parent
commit
84f5a8afab
  1. 52
      crepbook.cls

52
crepbook.cls

@ -1,8 +1,8 @@
% CREPBOOK DOCUMENT CLASS -- version 0.2 % CREPBOOK DOCUMENT CLASS -- version 0.2.2
% for LaTeX2e % for LaTeX2e
% %
\NeedsTeXFormat{LaTeX2e}[1995/12/01] \NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{crepbook}[2009/11/12 v0.4.1 LaTeX document class for Crep \ProvidesClass{crepbook}[2009/11/12 v0.4.2 LaTeX document class for Crep
Books] Books]
% Base class % Base class
@ -26,8 +26,6 @@
\ProcessOptions \ProcessOptions
% Start % Start
\setlength{\parindent}{0.3cm}
\def\andname{and} \def\andname{and}
\def\lastandname{\unskip, and} \def\lastandname{\unskip, and}
@ -168,7 +166,6 @@
\fi% \fi%
} }
% Configuration of the songs package % Configuration of the songs package
\titleprefixword{} \titleprefixword{}
\renewcommand{\stitlefont}{\LARGE\bf} \renewcommand{\stitlefont}{\LARGE\bf}
@ -182,26 +179,33 @@
\renewcommand{\idxheadfont}{\sffamily\it\LARGE} \renewcommand{\idxheadfont}{\sffamily\it\LARGE}
\renewcommand{\idxrefsfont}{\bfseries} \renewcommand{\idxrefsfont}{\bfseries}
%
% Customization of the page appearance % Customization of the page appearance
\setlength{\topmargin}{0cm} %
\setlength{\oddsidemargin}{0cm} \RequirePackage[
\setlength{\evensidemargin}{0cm} a4paper % paper size
\setlength{\textwidth}{16cm} ,includeheadfoot % include header and footer into text size
% header ,hmarginratio=1:1 % ratio between inner and outer margin (default)
\setlength{\topskip}{0cm} ,outer=1.8cm % outer margin (right)
\setlength{\headheight}{0cm} ,vmarginratio=1:1 % ratio between top and bottom margin
\setlength{\headsep}{0cm} ,bmargin=1.3cm % bottom margin
% column % ,bindingoffset=1.7cm % space reserved to bound pages together
%\setlength{\colminheight}{24cm} ]{geometry}
\setlength{\textheight}{26cm}
% Paragraph indentation space
\settowidth{\versenumwidth}{1.\ } \setlength{\parindent}{0.3cm}
\addtolength{\voffset}{-1cm}
%
\baselineadj=-2.5pt plus 1pt minus 0pt % songs class options
\versesep=8pt plus 2pt minus 2pt %
% Horizontal space reserved to verse number
% color used to shade the capo and song number. \setlength{\versenumwidth}{1em}
% Modifier to the space between consecutive lines of lyrics
\baselineadj=-2pt plus 1pt minus 1pt
% Space between verses and chorus
\versesep=6pt plus 2pt minus 2pt
% color used to shade song numbers.
\definecolor{SongbookShade}{HTML}{d1e4ae} \definecolor{SongbookShade}{HTML}{d1e4ae}
% %

Loading…
Cancel
Save