X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-concave.ly;h=5d15aa480e6c06f3110b45fc09973cd9671b03c2;hb=edf17353d89f4f6bd831466262402bb9151a26ca;hp=4b6ec3887efc29b135e16079276119e5420bb843;hpb=06b1da466f99f6c4a01ee6a3e611d25bd5359d4c;p=lilypond.git diff --git a/input/regression/beam-concave.ly b/input/regression/beam-concave.ly index 4b6ec3887e..5d15aa480e 100644 --- a/input/regression/beam-concave.ly +++ b/input/regression/beam-concave.ly @@ -1,21 +1,20 @@ - -\version "2.3.17" +\version "2.11.51" \header{ -texidoc = "Fully concave beams should be horizontal. Informally spoken, + texidoc = "Fully concave beams should be horizontal. Informally spoken, concave refers to the shape of the notes that are opposite a beam. If an up-beam has high notes on its center stems, then we call it concave. + If a beam is fails a test, the desired slope is printed next to it. - If a beam is fails a test, the desired slope is printed -next to it." +" } resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1) -% examples from +%% examples from Ross. rossFourBeams =\relative c'' { \time 2/4 c8[ e b c] @@ -31,7 +30,7 @@ rossFourBeams =\relative c'' { f,,[ b a g] f[g g e] a[ d, b' g] - } +} rossThreeBeams = \relative c'' { \time 6/8 e[ a, c] f[ d g] @@ -47,22 +46,23 @@ rossThreeBeams = \relative c'' { rossBeams = \relative c'' { \rossFourBeams \rossThreeBeams - } +} + +\layout{ + ragged-right = ##t + #(define debug-beam-quanting #t) +} #(define (<> x y) (not (= x y))) -\score{ - \new Voice { - \override Beam #'position-callbacks = #(check-slope-callbacks =) - \rossBeams - - } - \paper{ - raggedright = ##t - #(define debug-beam-quanting #t) - } +\new Voice { + \override Beam #'positions = #(ly:make-simple-closure + (ly:make-simple-closure + (append + (list chain-grob-member-functions `(,cons 0 0)) + (check-slope-callbacks =)))) + \rossBeams + } - -