X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fauto-change.ly;h=c89034362ca242c49a39a54896db9f2d5296b67a;hb=0200dabbc6e9bfa91c38f1199a2cdf9bfb43d026;hp=ee0b5d18ba8dbfacfb10adef9655219d65f483f9;hpb=5d5ca8642dca9169ddf78949c41381e5f1380975;p=lilypond.git diff --git a/input/regression/auto-change.ly b/input/regression/auto-change.ly index ee0b5d18ba..c89034362c 100644 --- a/input/regression/auto-change.ly +++ b/input/regression/auto-change.ly @@ -1,20 +1,24 @@ -\header{ -texidoc=" -Auto change piano staff switches voices between up and down staffs -automatically; rests are switched along with the coming note. -"; -} -\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 - } +\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, staff is not yet switched (by default). - > - +" } +\layout { ragged-right= ##t } + +\context PianoStaff << + \context Staff = "up" { + \autochange \new Voice << \relative { g4 c e d c r4 a g } >> + } + \context Staff = "down" { + \clef bass + s1*2 + } + +>> +