Browse Source

Ajout d 'une option 'nocustomfonts' pour désactiver la redéfinition des fontes

pull/32/head
Louis 11 years ago
parent
commit
3ea3be98a1
  1. 7
      songbook_core/data/latex/crepbook.sty

7
songbook_core/data/latex/crepbook.sty

@ -17,6 +17,11 @@
\customtitletrue \customtitletrue
\DeclareOption{nocustomtitle}{\customtitlefalse} \DeclareOption{nocustomtitle}{\customtitlefalse}
% nocustomfonts: Disable fancy fonts definition (back to LaTeX default)
\newif{\ifcustomfonts}
\customfontstrue
\DeclareOption{nocustomfonts}{\customfontsfalse}
% Remaining options are passed to the SongbookUtils package % Remaining options are passed to the SongbookUtils package
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{SongbookUtils}} \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{SongbookUtils}}
@ -177,6 +182,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts definitions % Fonts definitions
\ifcustomfonts
\def\chordfont#1{\gdef\@chordfont{#1}} \def\chordfont#1{\gdef\@chordfont{#1}}
\def\@chordfont{\small\it} \def\@chordfont{\small\it}
@ -191,6 +197,7 @@
\renewcommand{\showauthors}{% \renewcommand{\showauthors}{%
\hbox{\normalsize\songauthors}% \hbox{\normalsize\songauthors}%
} }
\fi
\titleprefixword{} \titleprefixword{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Loading…
Cancel
Save