X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-shortened-lengths.ly;h=5fee53bc3800f0d013c09001fd7709d0ef04e1bc;hb=20b8c1519bbba8728457aa98e59993837bedfb04;hp=f1b27a17d0b36a924e063a5a86843fc61c8ce339;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/regression/beam-shortened-lengths.ly b/input/regression/beam-shortened-lengths.ly index f1b27a17d0..5fee53bc38 100644 --- a/input/regression/beam-shortened-lengths.ly +++ b/input/regression/beam-shortened-lengths.ly @@ -1,18 +1,24 @@ -\version "2.1.30" +\version "2.11.51" \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'{ - \override Beam #'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} -}