]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-extreme.ly
release: 1.5.8
[lilypond.git] / input / regression / beam-extreme.ly
index 653024e70c3619d084478b6bb05fd191f3f8b61a..2cdc7ae801c225aae342bfc8e659b0d51ea15e7f 100644 (file)
@@ -1,19 +1,31 @@
+\version "1.3.146"
 \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,]
-               [c16 c'' a f]
-               \stemUp 
-               [c,,32 c'' a f]
 
-       }
-       \paper{
-               linewidth=-1.;
-       }
+extreme = \notes\relative c'' {
+  \stemBoth
+  [g8 c c,]
+  [c16 c'' a f]
+  \stemUp 
+  [c,,32 c'' a f]
+  r4
+}
+\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.
+  }
 }