]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / auto-change.ly
index 959941f65153297658750e6e6a49734b55f4a380..c89034362ca242c49a39a54896db9f2d5296b67a 100644 (file)
@@ -1,27 +1,24 @@
 
-\version "2.1.26"
+\version "2.19.21"
 
 \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).
 
 "
 }
-    \paper { raggedright= ##t }
+\layout { ragged-right= ##t }
 
-\score {
-       \notes \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 { g4 c e d c r4 a g } >>
+  }
+  \context Staff = "down" {
+    \clef bass 
+    s1*2
+  }
 
-       >>
-       
-}
+>>