1 \documentclass[a4paper, 12pt]{article}
5 \section{verb and verbatim}
7 This file should not contain (and produce) any lilypond images!
9 Snippets inside a verbatim environment or a comment are not run through
10 lilypond, but left as is.
12 You should see the begin/end lilypond commands in all three of the below tests.
14 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
15 % \verb|\lilypond[fragment]{c' d' e'}|
19 The verbatim environment does not confuse lilypond-book:
28 % TODO: These do not yet work, as \verb is explicitly disabled in lilypond-book for now!
29 % \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
31 % \verb+\lilypondfile[quote,noindent]{screech-and-boink.ly}+
33 Neither does a verbatim inside verb:
35 \verb|\begin{verbatim}\begin{lilypond}[fragment]c d e\end{lilypond}\end{verbatim}|
37 or verb inside verbatim:
40 \verb|\begin{lilypond}[fragment]c d e\end{lilypond}|
43 But these are just to stress \verb|lilypond-book|.