X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fbeam-control.ly;h=f9b7b6d1c7b71f2f584d13c3763c8fb4d3694197;hb=0c289671d105bea58592607cb508aef59aee882b;hp=13e73881474b5a287baed23619d806aace9dc9b8;hpb=38bf0bef16bc2bd839f9dc488b472925eb85600a;p=lilypond.git diff --git a/input/test/beam-control.ly b/input/test/beam-control.ly index 13e7388147..f9b7b6d1c7 100644 --- a/input/test/beam-control.ly +++ b/input/test/beam-control.ly @@ -1,24 +1,21 @@ -\version "1.7.18" -% similiar to beam-position, but keep this one. + +\version "2.10.0" \header{ texidoc="@cindex Beam Position Control -Controlling beam positions. + +Beam positions may be controlled manually, by overriding the @code{positions} setting of the @code{Beam} grob. + " } \score { - \context Voice \notes\relative c { + \context Voice \relative c { %% from upper staffline (position 4) to centre (position 0) - \property Voice.Beam \override #'positions = #'(2 . 0) - c'8-[ c] + \override Beam #'positions = #'(2 . 0) + c'8[ c] %% from center to one above centre (position 2) - \property Voice.Beam \override #'positions = #'(0 . 1) - c-[ c] - - %% normal beam-algorithm - \property Voice.Beam \revert #'positions - \property Voice.Beam \revert #'positions - c-[ e] e-[ c] + \override Beam #'positions = #'(0 . 1) + c[ c] } -\paper{raggedright = ##t} +\layout{ragged-right = ##t} } -%% new-chords-done %% +