]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/lilypond-book/tex-verbatim.lytex
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / lilypond-book / tex-verbatim.lytex
1 \documentclass[a4paper, 12pt]{article}
2
3 \begin{document}
4
5 \section{verb and verbatim}
6
7 This file should not contain (and produce) any lilypond images!
8
9 Snippets inside a verbatim environment or a comment are not run through
10 lilypond, but left as is.
11
12 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
13 % \verb|\lilypond[fragment]{c' d' e'}|
14 %
15 % and
16
17 \begin{verbatim}
18 \begin{lilypond}
19 c d e
20 \end{lilypond}
21 \end{verbatim}
22
23
24 As you can see, the begin/end lilypond commands inside
25 do not confuse lilypond-book.
26
27 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
28 % \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
29
30 % \verb+\lilypondfile[quote,noindent]{screech-boink.ly}+
31
32 Neither does a verbatim inside verb:
33
34 \verb|\begin{verbatim}\begin{lilypond}[fragment]c d e\end{lilypond}\end{verbatim}|
35
36 or verb inside verbatim:
37
38 \begin{verbatim}
39 \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
40 \end{verbatim}
41
42 But these are just to stress \verb|lilypond-book|.
43
44
45 \end{document}