]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / auto-change.ly
index 01567777e71948dc96e420a089b9b8641cd92157..c7c503a85f2d217747260ee251aec560cc24745e 100644 (file)
@@ -1,27 +1,24 @@
 
-\version "1.9.1"
+\version "2.14.0"
 
 \header {
 
 texidoc=" Auto change piano staff switches voices between up
-and down staves automatically rests are switched along with the coming
-note. When central C is reached, we don't switch (by default).
+and down staves automatically; rests are switched along with the coming
+note. When central C is reached, staff is not yet switched (by default).
 
 "
 }
-    \paper { raggedright= ##t }
+\layout { ragged-right= ##t }
 
-\score {
-       \notes \context PianoStaff <
-       \context Staff = "up" {
-               \autochange Staff \context Voice = VA < \relative c' { g4 c e d c r4 a g } >
-       }
-       \context Staff = "down" {
-               \clef bass 
-               s1*2
-       }
+\context PianoStaff <<
+  \context Staff = "up" {
+    \autochange  \new Voice << \relative c' { g4 c e d c r4 a g } >>
+  }
+  \context Staff = "down" {
+    \clef bass 
+    s1*2
+  }
 
-       >
-       
-}
+>>