]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/tex-fragment.lytex
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / regression / lilypond-book / tex-fragment.lytex
1 \documentclass[a4paper, 12pt]{article}
2
3 \begin{document}
4
5 \section{Using lilypond-book's fragment option}
6
7 If a snippet is not a fully valid LilyPond file, you have
8 to use the \verb|fragment| option:
9
10 \begin{lilypond}[fragment]
11 c d e
12 \end{lilypond}
13
14 % TODO: \verb does not yet work!!!
15 There is also a shorthand version %\verb|\lilypond[fragment]{c' e' g'}|:
16
17 \lilypond[fragment]{c' e' g'}
18
19 \end{document}