]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/stem-extend.ly
*** empty log message ***
[lilypond.git] / input / test / stem-extend.ly
index bf552b641175054f5292806840c68f07489734f7..5f8e7a9dec7976e10ab63a23dbe877646b4e66ff 100644 (file)
@@ -1,13 +1,26 @@
-\version "1.5.68"
-\header { texidoc = "
-Conventionally, stems and beams extend to the middle staff line.  This
-extension can be controlled through @code{Voice.Stem}'s grob-property
-@code{no-stem-extend}:
-"}
+\version "2.1.28"
+
+\header { texidoc = "@cindex Stem Extend
+Extending stems to the center line may be prevented using @code{no-stem-extend}.
+"
+}
+
+\score { 
+  \context Voice \notes\relative c {
+       \context Staff <<
+               \new Voice { 
+                       f2 f8 g a b 
+                       \override Stem  #'no-stem-extend = ##t
+                       f2 f8 g a b
+               }
+               \new Voice { 
+                       c''2 c8 b a g
+                       \override Stem  #'no-stem-extend = ##t
+                       c2 c8 b a g
+               }
+       >>
+       
+  }
+  \paper { raggedright = ##t}  
+}
 
-\paper { linewidth = -1.}
-\score {\notes \relative c \context Voice {
-  \grace a'8 a4
-  \property Voice.Stem \set #'no-stem-extend = ##t
-  \grace g8 g4 [g8 g]
-}}