|
@ -7,15 +7,18 @@ |
|
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01] |
|
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01] |
|
|
\ProvidesPackage{crepbook}[2014/04/13 Crepbook Package, version 0.1] |
|
|
\ProvidesPackage{crepbook}[2014/04/13 Crepbook Package, version 0.1] |
|
|
|
|
|
|
|
|
\RequirePackage{SongbookUtils} |
|
|
|
|
|
|
|
|
|
|
|
\newif{\iffancycapo} |
|
|
\newif{\iffancycapo} |
|
|
\DeclareOption{fancy-capo}{\iffancycapotrue} |
|
|
\DeclareOption{fancy-capo}{\fancycapotrue} |
|
|
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{SongbookUtils}} |
|
|
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{SongbookUtils}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\ProcessOptions\relax |
|
|
\ProcessOptions\relax |
|
|
|
|
|
|
|
|
|
|
|
\RequirePackage{SongbookUtils} |
|
|
|
|
|
|
|
|
|
|
|
\ifpictures |
|
|
|
|
|
\fancycapotrue |
|
|
|
|
|
\fi |
|
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
|
|
% Multilanguage management |
|
|
% Multilanguage management |
|
|
|
|
|
|
|
@ -119,13 +122,14 @@ |
|
|
\newlength{\capoheight} |
|
|
\newlength{\capoheight} |
|
|
\setlength{\capoheight}{1.5cm} |
|
|
\setlength{\capoheight}{1.5cm} |
|
|
\renewcommand\capo[1]{% |
|
|
\renewcommand\capo[1]{% |
|
|
\iftranscapos% |
|
|
\iftranscapos% |
|
|
\transpose{#1}% |
|
|
\transpose{#1}% |
|
|
\fi% |
|
|
\fi% |
|
|
\mbox{% |
|
|
\mbox{% |
|
|
\includegraphics[height=\capoheight]{capodastre}% |
|
|
\includegraphics[height=\capoheight]{capodastre}% |
|
|
\put(-22,8){\Large #1} |
|
|
\put(-22,8){\Large #1} |
|
|
}% |
|
|
}% |
|
|
|
|
|
} |
|
|
\fi |
|
|
\fi |
|
|
|
|
|
|
|
|
% Fonts definitions |
|
|
% Fonts definitions |
|
|