X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-extreme.ly;h=d3a8e53bd212120e96574cd754aaa8ae0cf6388a;hb=cbe8d2abe715acc718b4531535145256ef1802c8;hp=754553c765b512a77b98e486f456dfe4c40a1a6b;hpb=cebb2444373e19ff9ad0319b6f95a49225a0bee0;p=lilypond.git diff --git a/input/regression/beam-extreme.ly b/input/regression/beam-extreme.ly index 754553c765..d3a8e53bd2 100644 --- a/input/regression/beam-extreme.ly +++ b/input/regression/beam-extreme.ly @@ -1,47 +1,40 @@ -\version "1.3.146" + +\version "2.11.51" \header{ texidoc=" Beams should behave reasonably well, even under extreme circumstances. Stems may be short, but noteheads should never touch the beam. Note that -under normal circumstances, these beams would get knees here -Beam.auto-knee-gap was set to false. +under normal circumstances, these beams would get knees. Here +@code{Beam.auto-knee-gap} was set to false. " } -extreme = \notes\relative c'' { - \stemBoth - [g8 c c,] - [c16 c'' a f] +\layout{ + %% ragged-right = ##t + ragged-right = ##t +} + +extreme = \relative c'' { + \stemNeutral + g8[ c c,] + c16[ c'' a f] \stemUp - [c,,32 c'' a f] + c,,32[ c'' a f] %%%%%%% - \stemBoth - \times 2/3{[d16 fis' d,]} \times 2/3{[cis g'' cis,,]} + \stemNeutral + \times 2/3{ d16[ fis' d,]} \times 2/3{ cis[ g'' cis,,]} a'16 cis a, g''' % Used to give a nice beam directed upwards. - \stemBoth + \stemNeutral - \transpose c' { - \stemDown [e'8 e e'] + \transpose c c { + \stemDown e'8[ e e'] } } -\score { - { - % If we want to test extreme beams, - % we should not have them auto-kneed - \property Voice.Beam \override #'auto-knee-gap = ##f - \extreme - - - %% what does this test? --hwn -%{ - \property Voice.Beam \override #'slope-limit = #1000 - \extreme - %} - } - \paper{ -% raggedright = ##t - linewidth = -1 - } +{ + % If we want to test extreme beams, + % we should not have them auto-kneed + \override Beam #'auto-knee-gap = ##f + \extreme }