X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fstem-extend.ly;h=ab3864b2f6952ade25179015260eba97f7640cd5;hb=3ee5a5b2e566aa1638b4cb2d883e8e2b99c3fce5;hp=7123d55e7d72fe2b3992cc4660aa0c7a43e75b85;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/test/stem-extend.ly b/input/test/stem-extend.ly index 7123d55e7d..ab3864b2f6 100644 --- a/input/test/stem-extend.ly +++ b/input/test/stem-extend.ly @@ -1,26 +1,26 @@ -#(ly:set-option 'old-relative) -\version "1.9.0" +\version "2.10.0" \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 Voice \relative c { + \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} + \layout { ragged-right = ##t} }