]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/stem-extend.ly
release commit
[lilypond.git] / input / test / stem-extend.ly
index 38cbdd87b53a810ca3fccf307cd2ba63b34a6779..8845b0830c41959c2c752eafd44097e8e28afdc4 100644 (file)
@@ -1,24 +1,24 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+\version "2.1.30"
 
 \header { texidoc = "@cindex Stem Extend
-You can stop LilyPond from extending stems to the center line. "
+Extending stems to the center line may be prevented using @code{no-stem-extend}.
+"
 }
 
 \score { 
   \context Voice \notes\relative c {
-       \context Staff <
-               \context Voice = "a" { 
+       \context Staff <<
+               \new Voice { 
                        f2 f8 g a b 
-                       \property Voice.Stem \set #'no-stem-extend = ##t
+                       \override Stem  #'no-stem-extend = ##t
                        f2 f8 g a b
                }
-               \context Voice = "b" { 
+               \new Voice { 
                        c''2 c8 b a g
-                       \property Voice.Stem \set #'no-stem-extend = ##t
+                       \override Stem  #'no-stem-extend = ##t
                        c2 c8 b a g
                }
-       >
+       >>
        
   }
   \paper { raggedright = ##t}