]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/latex-example.latex
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / Documentation / user / latex-example.latex
index 68a861072a96014963980897cec15552226966cf..da9c12b871d7423c951ac39bc8601aff2f6a20ee 100644 (file)
@@ -1,17 +1,13 @@
 \documentclass[a4paper]{article}
 
-
-
-%\def\preLilypondExample{}}
-%\def\postLilypondExample{}
+%\def\preLilyPondExample{}}
+%\def\postLilyPondExample{}
 
 
 \begin{document}
 
 \begin{lilypond}
-\score {
- \notes\relative c' { c d e f g a b c }
-}
+\relative { c' d e f g a b c }
 \end{lilypond}
 
 
@@ -20,9 +16,12 @@ c d e
 \end{lilypond}
 
 
+% show interaction of margins lilypond+verses
+
+% outdated
 % generate standard lilypond titles
 \input titledefs.tex
-\def\preLilypondExample{\def\mustmakelilypondtitle{}}
+\def\preLilyPondExample{\def\mustmakelilypondtitle{}}
 
 \begin{lilypond}
 \header {
@@ -35,15 +34,13 @@ c d e
   enteredby =   "JCN"
   instrument = "instrument"
 }
-\paper { linewidth = -1. }
-\score {
-  \notes \relative c'' { a b c d }
-}
+\layout { linewidth = -1. }
+\relative c'' { a b c d }
 \end{lilypond}
 
 \begin{enumerate}
-\item Vers one.  aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa 
-\item Vers two.  bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb 
+\item Vers one.  aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa
+\item Vers two.  bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb
 \end{enumerate}
 
 \end{document}