]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix \relative madness in strict-grace-spacing snippet.
authorNeil Puttock <n.puttock@gmail.com>
Fri, 30 May 2008 22:31:18 +0000 (23:31 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Fri, 30 May 2008 22:31:18 +0000 (23:31 +0100)
Documentation/user/rhythms.itely

index a6b736c6651c639645a3eab7504a20084be74a18..f2365278cc47700acf4a6bd8ae7b21c24a277359 100644 (file)
@@ -2486,20 +2486,16 @@ Grace notes may be forced to use align with regular notes
 in other staves by setting @code{strict-grace-spacing} to
 ##t:
 
-@lilypond[relative=2,ragged-right]
+@lilypond[verbatim,quote,relative=2]
 <<
   \override Score.SpacingSpanner #'strict-grace-spacing = ##t
   \new Staff {
-     c'4
-     \afterGrace
-     c'4
-     { c'16[ c'8 c'16] }
-     c'4
+    c4
+    \afterGrace c4 { c16[ c8 c16] }
+    c4 r
   }
   \new Staff {
-     c'16[ c'16 c'16 c'16]
-     c'16[ c'16 c'16 c'16]
-     c'4
+    c16 c c c c c c c c4 r
   }
 >>
 @end lilypond