-\version "2.3.16"
+\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 {
- \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 c8 r r4 a g } >>
+ }
+ \context Staff = "down" {
+ \clef bass
+ s1*2
+ }
- >>
-
-}
+>>