]> git.donarmstrong.com Git - lilypond.git/blob - tex/titledefs.tex
release: 0.1.35
[lilypond.git] / tex / titledefs.tex
1 %
2 % ideally, we should create a LaTeX/TeX class
3 % for setting music in different sizes.
4 %
5 % Version 0.1
6 %
7 \input lilyponddefs
8 \def\EndLilyPondOutput{\endinput}
9 %
10 \def\thetitle{}
11 \def\thesubtitle{}
12 \def\thecomposer{}
13 \def\thearranger{}
14 \def\theinstrument{}
15 %
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}}
22 %
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}}
28 %
29 \def\makelilytitle
30 {
31   {\center\bfseries\huge\center\thetitle}
32         \par
33        {\center\bfseries\large\thesubtitle}
34   %\bigskip
35   {\flushleft\theinstrument\hfill\scshape\thecomposer}{\hfill\thearranger}
36 }
37 \endinput