]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/mudela-book.tely
release: 1.3.83
[lilypond.git] / Documentation / user / mudela-book.tely
index e9953bcbce1902878c4cada6941fb2676fb4ca75..65ef7fa7366c78baf7bd3a91a9e16d229ea096cf 100644 (file)
@@ -150,12 +150,12 @@ will set the @code{linewidth} variable to -1, so Lilypond
 will make the music as short as possible but without breaking the
 line. Here is a well know harmonic progression:
 @mudela[veryverbatim, intertext="produce a well known harmonic progression:"]
-  <c' e g> <b d g> <c2 e g>
+  \context Voice { <c' e g> <b d g> <c2 e g> }
 @end mudela
 
 If you want to place music examples in the text,
 @mudela[eps]
-  <c' e g> <b d g> <c2 e g>
+\context Voice {  <c' e g> <b d g> <c2 e g>}
 @end mudela
 , you can use the @code{eps} option. This will create the music as
 eps graphics and include it into the document with the 
@@ -163,9 +163,9 @@ eps graphics and include it into the document with the
 
 The code used look like this:
 @example
-@mudela[eps]
-  <c' e g> <b d g> <c2 e g>
-@end mudela
+@@mudela[eps]
+ \context Voice { <c' e g> <b d g> <c2 e g> }
+@@end mudela
 @end example
 
 You can also use the @code{eps} option if the block is a complete
@@ -178,12 +178,12 @@ mudela source. This 5 cm long empty line,
 @end mudela
 was created with this code:
 @example
-@mudela[eps]
-\score{
-  \notes{s}
-  \paper{ linewidth = 5.\cm;}
-}
-@end mudela
+@@mudela[eps]
+\score@{
+  \notes@{s@}
+  \paper@{ linewidth = 5.\cm;@}
+@}
+@@end mudela
 @end example
 
 To avoid that La@TeX{} places the music on a line of its one, there should
@@ -199,9 +199,9 @@ included in the middle of the text, 11pt or 13pt is probably better.
 
 The code can look like this:
 @example
-@mudela[13pt, eps]
+@@mudela[13pt, eps]
 <c' e g>
-@end mudela
+@@end mudela
 @end example
 
 The following options set the fontsize: