2 % ideally, we should create a LaTeX/TeX class
3 % for setting music in different sizes.
8 \def\EndLilyPondOutput{\endinput}
18 % duh. LaTeX has a \title too.
19 \renewcommand*{\title}[1]{\def\thetitle{#1\\}}
20 \newcommand*{\subtitle}[1]{\def\thesubtitle{#1\\}}
21 \newcommand*{\composer}[1]{\def\thecomposer{#1\\}}
22 \newcommand*{\arranger}[1]{\def\thearranger{#1}}
23 \newcommand*{\instrument}[1]{\def\theinstrument{#1}}
24 \newcommand*{\opus}[1]{\def\theopus{#1}}
25 \newcommand*{\piece}[1]{\def\thepiece{#1}}
27 \newcommand*{\mudelatitle}[1]{\def\thetitle{#1\\}}
28 \newcommand*{\mudelasubtitle}[1]{\def\thesubtitle{#1\\}}
29 \newcommand*{\mudelacomposer}[1]{\def\thecomposer{#1\\}}
30 \newcommand*{\mudelaarranger}[1]{\def\thearranger{#1}}
31 \newcommand*{\mudelainstrument}[1]{\def\theinstrument{#1}}
32 \newcommand*{\mudelaopus}[1]{\def\theopus{#1}}
33 \newcommand*{\mudelapiece}[1]{\def\thepiece{#1}}
37 {\center\bfseries\center\sethuge{\thetitle}}
39 {\center\bfseries\setLarge{\thesubtitle}}
41 {\flushright\setlarge{\normalfont\scshape\thecomposer}\par}
43 \edef\saveparskip{\parskip}\parskip-5mm
44 {\flushright\settext{\theopus}\par}
45 {\flushright\settext{\thearranger}\par}
47 {\center\setlarge{\theinstrument}\par}
48 {\flushleft\setLarge{\normalfont\scshape\thepiece}}
50 \def\makelilypiecetitle
53 {\flushright\settext{\theopus}\par}
54 {\flushleft\setLarge{\normalfont\scshape\thepiece}}