X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-shortened-lengths.ly;h=6cd91987a3c88d6ef9956e3cf8be7ce37b84e8ae;hb=37d7b502186aa491292325ff7abaf34e82989026;hp=c95d984695fcc1e01fdf95af508378d34adee0e0;hpb=d6ea2dbcdb39dd65c7fd423782fa31ccbdaf34a9;p=lilypond.git diff --git a/input/regression/beam-shortened-lengths.ly b/input/regression/beam-shortened-lengths.ly index c95d984695..6cd91987a3 100644 --- a/input/regression/beam-shortened-lengths.ly +++ b/input/regression/beam-shortened-lengths.ly @@ -1,18 +1,24 @@ -\version "1.9.1" +\version "2.12.0" \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} -}