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