]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/tex-snippet-options.lytex
Build: Run regression tests for lilypond-book (issue 2223).
[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 This document shows the effect of various snippet options.
8
9 The fragment option:
10
11 \begin{lilypond}[fragment]
12 c' d' e' %\score
13 \end{lilypond}
14
15 The verbatim option:
16
17 \begin{lilypond}[fragment,verbatim]
18 c' d' e'
19 \end{lilypond}
20
21 The printfilename option:
22
23 \lilypondfile[printfilename]{include.ly}
24
25 The staffsize option:
26
27 \begin{lilypond}[staffsize=7,fragment]
28 \context Voice <<c' e' g'>>
29 \end{lilypond}
30 \lilypond[fragment,staffsize=7]{\context Voice <<c' es' g'>>}
31
32 The relative option:
33
34 \lilypond[relative=1]{ c4 f b e }
35
36 The quote option:
37
38 \lilypond[quote,fragment]{\relative c' c1 d4 c d e}
39
40 Combining fragment, quote, staffsize=26, and verbatim options:
41
42 \begin{lilypond}[fragment,quote,staffsize=26,verbatim]
43   c'4 f16
44 \end{lilypond}
45
46
47 \end{document}