]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: fix missing pitch for \relative, thanks David!
authorGraham Percival <graham@percival-music.ca>
Sat, 3 Oct 2009 23:15:48 +0000 (00:15 +0100)
committerGraham Percival <graham@percival-music.ca>
Sat, 3 Oct 2009 23:15:48 +0000 (00:15 +0100)
Documentation/usage/running.itely

index a112a9124866ee6947e0e82796032758b60a89f2..03a822fd2b2ad409520068ceb60d2865a1b1feb7 100644 (file)
@@ -574,14 +574,16 @@ the first, because the @code{\repeat} command generates two
 and @code{Voice} blocks.
 
 @lilypond[quote,verbatim]
-\repeat unfold 2 \relative { c d e f }
+\repeat unfold 2 {
+  \relative c' { c d e f }
+}
 @end lilypond
 
 The correct way is to reverse the @code{\repeat} and
 @code{\relative} commands, like this:
 
 @lilypond[quote,verbatim]
-\relative {
+\relative c' {
   \repeat unfold 2 { c d e f }
 }
 @end lilypond