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