]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/tex-snippet-options.lytex
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / lilypond-book / tex-snippet-options.lytex
1 \documentclass[a4paper, 12pt]{article}
2
3 \begin{document}
4
5 \section{Snippet options}
6
7 Fragment:
8 \begin{lilypond}[fragment]
9 c d e %\score
10 \end{lilypond}
11
12 This shows the verbatim option:
13 \begin{lilypond}[fragment,verbatim]
14 c' d' e'
15 \end{lilypond}
16
17 printfilename:
18 \lilypondfile[printfilename]{include.ly}
19
20 staffsize:
21 \begin{lilypond}[staffsize=7,fragment]
22 \context Voice <<c' e' g'>>
23 \end{lilypond}
24 \lilypond[fragment,staffsize=7]{\context Voice <<c' es' g'>>}
25
26 relative:
27 \lilypond[relative=1]{ c4 f b e }
28
29 quote:
30 \lilypond[quote,fragment]{\relative c' c1 }
31
32 fragment, quote, staffsize=26, verbatim:
33 \begin{lilypond}[fragment,quote,staffsize=26,verbatim]
34   c'4 f16
35 \end{lilypond}
36
37
38 \end{document}