]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/auto-knee.ly
release: 1.3.15
[lilypond.git] / input / test / auto-knee.ly
index 3a3fbf55d2698bf550dec6b0d187640a661b1ff1..e6541ec2ef0bd663a8475869e7ee22d50b882b14 100644 (file)
@@ -1,13 +1,26 @@
 
 \score {
-         \context Staff \notes\relative c'{ 
-%              \property Voice.autoKneeGap = #13
-               [c8 e'] [c' c,,]
-       }
+       \notes \context PianoStaff <
+               \context Staff = "up" {
+                       \autochange Staff \relative c' { 
+                               [c8 e'] [c' c,,]
+                               \stemdown
+                               c'8 c c g,
+                               g8 d' d d 
+                               \stemup
+                               b8 c d e
+                       }
+               }
+               \context Staff = "down" {
+                       \clef bass; 
+                       s1*2
+               }
+       >
        \paper{
                \translator{
                        \StaffContext
-                       autoKneeGap = #13
+                       autoKneeGap = "13.0";
+                       autoInterstaffKneeGap = "4.0";
                }
        }
 }