X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-extreme.ly;h=3c8bfd14adc5097b67a526832beaab6d0883106f;hb=13f193697667e90e5c8d283de9a200a27340456b;hp=4d241f305ea6184245aff1e3d729120c1dcd88a5;hpb=68a168bff1fec7f8011b2afa82d4fc89182c4bf7;p=lilypond.git diff --git a/input/regression/beam-extreme.ly b/input/regression/beam-extreme.ly index 4d241f305e..3c8bfd14ad 100644 --- a/input/regression/beam-extreme.ly +++ b/input/regression/beam-extreme.ly @@ -1,28 +1,40 @@ -\version "1.3.146" + +\version "2.14.0" \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. " } -\score{ - \notes\relative c''{ - [g8 c c,] - [c16 c'' a f] - \stemUp - [c,,32 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] + + %%%%%%% + \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. + \stemNeutral + + \transpose c c { + \stemDown e'8[ e e'] + } +} - } - \paper{ - linewidth=-1. - \translator { - \VoiceContext - % If we want to test extreme beams, - % we should not have them auto-kneed - Beam \override #'auto-knee-gap = ##f - } - } +{ + % If we want to test extreme beams, + % we should not have them auto-kneed + \override Beam #'auto-knee-gap = ##f + \extreme }