X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-shortened-lengths.ly;h=efbbfe10d95073e4a664814152b1ad95cfd60b42;hb=af4acb9a3e67c63bc339fa22325c4b640b4441ac;hp=a06f2c0e3d656bc72351be2f58890b4033ddf64b;hpb=e9bd265943d37689b1a6892217cb6f67bbe69f73;p=lilypond.git diff --git a/input/regression/beam-shortened-lengths.ly b/input/regression/beam-shortened-lengths.ly index a06f2c0e3d..efbbfe10d9 100644 --- a/input/regression/beam-shortened-lengths.ly +++ b/input/regression/beam-shortened-lengths.ly @@ -1,18 +1,24 @@ -#(ly:set-option 'old-relative) -\version "1.9.1" + +\version "2.7.39" \header{ - texidoc="Beams in unnatural direction, have shortened stems, but do not look too short." - } + texidoc="Beams in unnatural direction, have shortened stems, but do not look too short." +} +\layout{ ragged-right = ##t } + + +\relative c'{ + \override Beam #'positions = + #(ly:make-simple-closure + (ly:make-simple-closure + (list chain-grob-member-functions + `(,cons 0 0) + ly:beam::calc-least-squares-positions + ly:beam::slope-damping + ly:beam::shift-region-to-valid + ))) + + \stemUp + f'4 f8[ f] f16[ f] f32[ f] f64[ f] f128[ f] +} -\score{ - \notes\relative c'{ - \property Voice.Beam \set #'position-callbacks = - #`(,Beam::least_squares - ,Beam::check_concave - ,Beam::slope_damping) - \stemUp - f'4 f8[ f] f16[ f] f32[ f] f64[ f] f128[ f] - } - \paper{ raggedright = ##t} -}