2 % ideally, we should create a LaTeX/TeX class
3 % for setting music in different sizes.
8 \def\EndLilyPondOutput{\endinput}
20 % duh. LaTeX has a \title too.
21 \renewcommand*
{\title}[1]{\def\thetitle{#1}}
22 \newcommand*
{\subtitle}[1]{\def\thesubtitle{#1}}
23 \newcommand*
{\composer}[1]{\def\thecomposer{#1}}
24 \newcommand*
{\arranger}[1]{\def\thearranger{#1}}
25 \newcommand*
{\instrument}[1]{\def\theinstrument{#1}}
26 \newcommand*
{\opus}[1]{\def\theopus{#1}}
27 \newcommand*
{\piece}[1]{\def\thepiece{#1}}
28 \newcommand*
{\meter}[1]{\def\themeter{#1}}
29 \newcommand*
{\poet}[1]{\def\thepoet{#1}}
31 \newcommand*
{\mudelatitle}[1]{\def\thetitle{#1}}
32 \newcommand*
{\mudelasubtitle}[1]{\def\thesubtitle{#1}}
33 \newcommand*
{\mudelacomposer}[1]{\def\thecomposer{#1}}
34 \newcommand*
{\mudelaarranger}[1]{\def\thearranger{#1}}
35 \newcommand*
{\mudelainstrument}[1]{\def\theinstrument{#1}}
36 \newcommand*
{\mudelaopus}[1]{\def\theopus{#1}}
37 \newcommand*
{\mudelapiece}[1]{\def\thepiece{#1}}
38 \newcommand*
{\mudelametre}[1]{\def\themeter{#1}}
39 \newcommand*
{\mudelameter}[1]{\def\themeter{#1}}
40 \newcommand*
{\mudelapoet}[1]{\def\thepoet{#1}}
48 \ifx\mudelanull\thetitle\else{\huge\thetitle}\\
\fi
49 \ifx\mudelanull\thesubtitle\else{\Large\thesubtitle}\\
\fi
53 \edef\saveparskip{\parskip}\parskip-
5mm
54 \begin{minipage
}[t
]{0.45\textwidth}
55 \ifx\mudelanull\thepoet\else{\thepoet}\\
\fi
56 \ifx\mudelanull\themeter\else{\themeter}\\
\fi
57 \end{minipage
}\hspace*
{\fill}
58 \begin{minipage
}[t
]{0.45\textwidth}
60 \ifx\mudelanull\thecomposer\else{\large\normalfont\scshape\thecomposer}\\
\fi
61 \ifx\mudelanull\theopus\else{\theopus}\\
\fi
62 \ifx\mudelanull\thearranger\else{\thearranger}\\
\fi
66 {\center{\large\theinstrument}\par}
67 {\flushleft{\large\normalfont\scshape\thepiece}}
69 \global\let\theopus\relax%
70 \global\let\thepiece\relax%
72 \def\makelilypiecetitle
75 {\flushright{\theopus}\par}
76 {\flushleft{\large\normalfont\scshape\thepiece}}
77 \global\let\theopus\relax%
78 \global\let\thepiece\relax%