]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/latex-example.latex
(main): use commands.mkarg () to quote
[lilypond.git] / Documentation / user / latex-example.latex
index 68a861072a96014963980897cec15552226966cf..4a8e1fcb937765436c64edc1252f257cb573da3e 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,10 +34,8 @@ 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}