X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=9b294e03820c9f4e740523e31ebe767df9913818;hb=1ee79e6b8d4386a5885960a3eafb87db933d7f63;hp=733864f02d0b5f3ff24d4e1d752948e9fa77d1ee;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index 733864f02d..9b294e0382 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,21 +1,24 @@ -\header{ -texidoc=" -Auto change piano staff switches voices between up and down staffs -automatically; rests are switched along with the coming note. -"; -} +\version "2.11.51" + +\header { -\score { - \notes \context PianoStaff < - \context Staff = "up" { - \autochange Staff \context Voice = VA < \relative c' { g4 a b c d r4 a g } > - } - \context Staff = "down" { - \clef bass; - s1*2 - } +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, staff is not yet switched (by default). - > - +" } +\layout { ragged-right= ##t } + +\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 + } + +>> +