X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-extreme.ly;h=bb7a8f81b501a3c3be0b81b8bf8ebdc2e74193e6;hb=79c17e0eaedca79e5f7605f5b9f92db27c68e679;hp=2cdc7ae801c225aae342bfc8e659b0d51ea15e7f;hpb=eb6cf5c0c4db23f26a3ac0fb229e8aff4448a7e4;p=lilypond.git diff --git a/input/regression/beam-extreme.ly b/input/regression/beam-extreme.ly index 2cdc7ae801..bb7a8f81b5 100644 --- a/input/regression/beam-extreme.ly +++ b/input/regression/beam-extreme.ly @@ -1,31 +1,40 @@ -\version "1.3.146" + +\version "2.19.21" \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 { + \stemNeutral + g'8[ c c,] + c16[ c'' a f] \stemUp - [c,,32 c'' a f] - r4 + c,,32[ c'' a f] + + %%%%%%% + \stemNeutral + \tuplet 3/2{ d16[ fis' d,]} \tuplet 3/2{ 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'] + } } -\score { - { - % If we want to test extreme beams, - % we should not have them auto-kneed - \property Voice.Beam \override #'auto-knee-gap = ##f - \extreme - \property Voice.Beam \override #'slope-limit = #1000 - \extreme - } - \paper{ - linewidth=-1. - } + +{ + % If we want to test extreme beams, + % we should not have them auto-kneed + \override Beam.auto-knee-gap = ##f + \extreme }