]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/latex-example.latex
68a861072a96014963980897cec15552226966cf
[lilypond.git] / Documentation / user / latex-example.latex
1 \documentclass[a4paper]{article}
2
3
4
5 %\def\preLilypondExample{}}
6 %\def\postLilypondExample{}
7
8
9 \begin{document}
10
11 \begin{lilypond}
12 \score {
13  \notes\relative c' { c d e f g a b c }
14 }
15 \end{lilypond}
16
17
18 \begin[fragment]{lilypond}
19 c d e
20 \end{lilypond}
21
22
23 % generate standard lilypond titles
24 \input titledefs.tex
25 \def\preLilypondExample{\def\mustmakelilypondtitle{}}
26
27 \begin{lilypond}
28 \header {
29   title =       "Title"
30   subtitle =    "Subtitle"
31   subsubtitle = "Subsubtitle"
32   opus =  "Opus 1"
33   piece = "Piece"
34   composer =     "Composer"
35   enteredby =    "JCN"
36   instrument = "instrument"
37 }
38 \paper { linewidth = -1. }
39 \score {
40   \notes \relative c'' { a b c d }
41 }
42 \end{lilypond}
43
44 \begin{enumerate}
45 \item Vers one.  aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa 
46 \item Vers two.  bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb 
47 \end{enumerate}
48
49 \end{document}