]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-extreme.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / regression / beam-extreme.ly
index 3c3bb28577e083789e57030644a4449157ffacc6..d1f81f4004f8568c165b897a6e2bac0aad68e248 100644 (file)
@@ -1,27 +1,48 @@
+
+\version "2.4.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.
+"
 }
-\version "1.3.117";
-\score{
-       \notes\relative c''{
-               [g8 c c,]
-               [c16 c'' a f]
-               \stemUp 
-               [c,,32 c'' a f]
 
-       }
-       \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
-               }
-       }
+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']
+      }
+}
+
+\score {
+  {
+    % If we want to test extreme beams,
+    % we should not have them auto-kneed
+    \override Beam  #'auto-knee-gap = ##f
+    \extreme
+
+
+    %% what does this test? --hwn
+%{
+    \override Beam  #'slope-limit = #1000
+    \extreme
+    %}
+  }
+  \layout{
+%    raggedright = ##t
+    raggedright = ##t
+  }
 }