]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
Merge commit 'ce4b499'
[lilypond.git] / input / regression / auto-change.ly
index 231ddc07859ffa6d20b7ee4e94c1b54efb05c8f6..4613aea986a28c527113f4b04436061d9cf4cfa0 100644 (file)
@@ -1,27 +1,24 @@
 
-\version "2.3.22"
+\version "2.10.0"
 
 \header {
 
 texidoc=" Auto change piano staff switches voices between up
-and down staves automatically rests are switched along with the coming
+and down staves automatically; rests are switched along with the coming
 note. When central C is reached, staff is not yet switched (by default).
 
 "
 }
-    \layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
-\score {
-        \context PianoStaff <<
-       \context Staff = "up" {
-               \autochange  \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
+  }
 
-       >>
-       
-}
+>>