X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=8cbaa3db20fcaed8dc203f00e52dd7d11ff201c6;hb=b4af54cb24ef6879771323ee0797862a96be885e;hp=72b94934c35960cb402108aa7787a4a6c18d61b3;hpb=15e565fef41ab50d140c3028bc6d9cff1a43a56a;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index 72b94934c3..8cbaa3db20 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,25 +1,24 @@ -\version "1.7.16" + +\version "2.12.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). +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 { ragged-right= ##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 \new Voice << \relative c' { g4 c e d c r4 a g } >> + } + \context Staff = "down" { + \clef bass + s1*2 + } + +>> - > - -} -%% new-chords-done %%