X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-shortened-lengths.ly;h=28b23fea18e481362cac7882256eb2d62ac9c32b;hb=25be0aa5e4481df77568b99357764f5b1ff46ceb;hp=49ef2e2bef2f4d01b4676319aed117a97efdd893;hpb=70048d99398924e7ca0eb481925145ec243700c5;p=lilypond.git diff --git a/input/regression/beam-shortened-lengths.ly b/input/regression/beam-shortened-lengths.ly index 49ef2e2bef..28b23fea18 100644 --- a/input/regression/beam-shortened-lengths.ly +++ b/input/regression/beam-shortened-lengths.ly @@ -1,18 +1,24 @@ -\version "1.9.4" +\version "2.14.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} -}