]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/auto-knee.ly
patch::: 1.3.124.jcn1
[lilypond.git] / input / test / auto-knee.ly
index 3a3fbf55d2698bf550dec6b0d187640a661b1ff1..209bd3f0a165881eee4083d6dee827429b7636c4 100644 (file)
@@ -1,13 +1,16 @@
+\header{
+texidoc="One automatic knee";
+}
 
 \score {
-         \context Staff \notes\relative c'{ 
-%              \property Voice.autoKneeGap = #13
-               [c8 e'] [c' c,,]
-       }
-       \paper{
-               \translator{
-                       \StaffContext
-                       autoKneeGap = #13
-               }
-       }
+  \context Staff \notes\relative c''{ 
+    [c'8 c,,] [c8 e']
+  }
+  \paper{
+    linewidth = 40*\staffspace;
+    \translator {
+      \VoiceContext
+      Beam \override #'auto-knee-gap = #13
+    }
+  }
 }