lilypond-0.1.58
[lilypond.git] / tex / titledefs.tex
blobf134e99e2a86ca3a3162f989d04d63ca42632a7c
2 % ideally, we should create a LaTeX/TeX class
3 % for setting music in different sizes.
5 % Version 0.1
7 \input lilyponddefs
8 \def\EndLilyPondOutput{\endinput}
10 \def\thetitle{}
11 \def\thesubtitle{}
12 \def\thecomposer{}
13 \def\thearranger{}
14 \def\theinstrument{}
16 % duh. LaTeX has a \title too.
17 \renewcommand*{\title}[1]{\def\thetitle{#1\\}}
18 \newcommand*{\subtitle}[1]{\def\thesubtitle{#1\\}}
19 \newcommand*{\composer}[1]{\def\thecomposer{#1\\}}
20 \newcommand*{\arranger}[1]{\def\thearranger{#1}}
21 \newcommand*{\instrument}[1]{\def\theinstrument{#1}}
23 \newcommand*{\mudelatitle}[1]{\def\thetitle{#1\\}}
24 \newcommand*{\mudelasubtitle}[1]{\def\thesubtitle{#1\\}}
25 \newcommand*{\mudelacomposer}[1]{\def\thecomposer{#1\\}}
26 \newcommand*{\mudelaarranger}[1]{\def\thearranger{#1}}
27 \newcommand*{\mudelainstrument}[1]{\def\theinstrument{#1}}
29 \def\makelilytitle
31 {\center\bfseries\huge\center\thetitle}
32 \par
33 {\center\bfseries\large\thesubtitle}
34 %\bigskip
35 {\flushleft\theinstrument\hfill\scshape\thecomposer}{\hfill\thearranger}
37 \endinput