X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=493e97c12fdea31d57af5e49d87a2325e70f7c7b;hb=b5de1ca579bc679f69b5df30803fda31a74075d5;hp=98ee678409eda318321f840d26195355936e2bf2;hpb=92d6547c55c4b085948e0571da9fbc7eef7beacd;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index 98ee678409..493e97c12f 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,24 +1,24 @@ -\version "1.7.6" + +\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 -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 { g4 c e d c8 r r4 a g } >> + } + \context Staff = "down" { + \clef bass + s1*2 + } + +>> - > - -}