]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-extreme.ly
patch::: 1.3.140.jcn6
[lilypond.git] / input / regression / beam-extreme.ly
index 653024e70c3619d084478b6bb05fd191f3f8b61a..4a077562d319aed3c57a5dca52dbaa3e513fd67e 100644 (file)
@@ -1,10 +1,12 @@
 \header{
 texidoc="
 Beams should behave reasonably well, even under extreme circumstances.
-Stems may be short, but noteheads should never touch the beam.
+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.
 ";
 }
-\version "1.3.117";
+
 \score{
        \notes\relative c''{
                [g8 c c,]
@@ -15,5 +17,11 @@ Stems may be short, but noteheads should never touch the beam.
        }
        \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
+               }
        }
 }