]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/auto-change.ly
* input/regression/markup-syntax.ly: remove \score.
[lilypond.git] / input / regression / auto-change.ly
index a7bfcc2cc7677bc4b6ebaea91e61dbc85513e8ff..3509e16d48637d14f8d0b8005de56af8b8a418e7 100644 (file)
@@ -1,24 +1,27 @@
-\version "1.5.68"
+
+\version "2.4.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).
+note. When central C is reached, staff is not yet switched (by default).
 
 "
 }
+    \layout { raggedright= ##t }
 
 \score {
-       \notes \context PianoStaff <
+        \context PianoStaff <<
        \context Staff = "up" {
-               \autochange Staff \context Voice = VA < \relative c' { g4 c e d c r4 a g } >
+               \autochange  \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
        }
        \context Staff = "down" {
                \clef bass 
                s1*2
        }
 
-       >
+       >>
        
 }
+