]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/stem-extend.ly
release commit
[lilypond.git] / input / test / stem-extend.ly
index ba251243f614cc55519b8ed1b91ed80850a3ba78..8845b0830c41959c2c752eafd44097e8e28afdc4 100644 (file)
@@ -1,14 +1,26 @@
-\version "1.7.16"
-\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.30"
+
+\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 { raggedright = ##t}
-\score {\notes \relative c \context Voice {
-  \grace a'8 a4
-  \property Voice.Stem \set #'no-stem-extend = ##t
-  \grace g8 g4 [g8 g]
-}}
-%% new-chords-done %%