X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-shortened-lengths.ly;h=084cd9abf1ea774240298e6b97745dbe3215b659;hb=aa0d40a1c751626db12bedb806e32bf1d4270876;hp=01088abf39829f028af8820271032e03a5d10054;hpb=d765f3af45be51f15da55cf570a4b172200e1035;p=lilypond.git diff --git a/input/regression/beam-shortened-lengths.ly b/input/regression/beam-shortened-lengths.ly index 01088abf39..084cd9abf1 100644 --- a/input/regression/beam-shortened-lengths.ly +++ b/input/regression/beam-shortened-lengths.ly @@ -1,17 +1,24 @@ -\version "1.5.68" + +\version "2.10.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{ linewidth = -1.0 } -}