]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
* lily/main.cc (setup_paths)[__MINGW32__]: Do not assume argv0 is
[lilypond.git] / input / regression / auto-change.ly
index 5585613c218a8e0d201803e3ef262f5b86e7bd46..2148042df056bbc5a728a9e8de2162b997378e80 100644 (file)
@@ -1,27 +1,24 @@
-#(ly:set-option 'old-relative)
-\version "1.9.1"
+
+\version "2.7.13"
 
 \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).
+note. When central C is reached, staff is not yet switched (by default).
 
 "
 }
-    \paper { raggedright= ##t }
+\layout { raggedright= ##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  \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
+  }
+  \context Staff = "down" {
+    \clef bass 
+    s1*2
+  }
 
-       >
-       
-}
+>>