X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Flilypond-book%2Ftex-snippet-options.lytex;h=17f41dc8b709a9913d6b2b35045ac8ff5df16f6e;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=1f175af37e2131830f2f547a35f67ffc37876641;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/input/regression/lilypond-book/tex-snippet-options.lytex b/input/regression/lilypond-book/tex-snippet-options.lytex index 1f175af37e..17f41dc8b7 100644 --- a/input/regression/lilypond-book/tex-snippet-options.lytex +++ b/input/regression/lilypond-book/tex-snippet-options.lytex @@ -4,32 +4,41 @@ \section{Snippet options} -Fragment: +This document shows the effect of various snippet options. + +The fragment option: + \begin{lilypond}[fragment] -c d e %\score +c' d' e' %\score \end{lilypond} -This shows the verbatim option: +The verbatim option: + \begin{lilypond}[fragment,verbatim] c' d' e' \end{lilypond} -printfilename: +The printfilename option: + \lilypondfile[printfilename]{include.ly} -staffsize: +The staffsize option: + \begin{lilypond}[staffsize=7,fragment] \context Voice <> \end{lilypond} \lilypond[fragment,staffsize=7]{\context Voice <>} -relative: +The relative option: + \lilypond[relative=1]{ c4 f b e } -quote: -\lilypond[quote,fragment]{\relative c' c1 } +The quote option: + +\lilypond[quote,fragment]{\relative c' c1 d4 c d e} + +Combining fragment, quote, staffsize=26, and verbatim options: -fragment, quote, staffsize=26, verbatim: \begin{lilypond}[fragment,quote,staffsize=26,verbatim] c'4 f16 \end{lilypond}