X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-multiple-cross-staff.ly;h=2a5f015283221801333b0d2c20c24289957c7820;hb=bdf808b1c2de11d29e09bb0fb94e83ee9ecc6957;hp=29b556388a0f04146b17dbfe66fe10ae1f2d8b68;hpb=e9bd265943d37689b1a6892217cb6f67bbe69f73;p=lilypond.git diff --git a/input/regression/beam-multiple-cross-staff.ly b/input/regression/beam-multiple-cross-staff.ly index 29b556388a..2a5f015283 100644 --- a/input/regression/beam-multiple-cross-staff.ly +++ b/input/regression/beam-multiple-cross-staff.ly @@ -1,31 +1,32 @@ -#(ly:set-option 'old-relative) -\version "1.9.1" +\version "2.10.0" \header { - texidoc = "Kneed beams (often happens with cross-staff beams) + texidoc = "Kneed beams (often happens with cross-staff beams) should look good when there are multiple beams: all the beams should -go on continuously at the staff change. Stems in both staffs reach up +go on continuously at the staff change. Stems in both staves reach up to the last beam. " } -\score { \notes - \context PianoStaff \relative c' < - \context Staff = SA { - \stemDown - c8[ c16 \translator Staff = SB \stemUp c16 ] - \stemBoth - f[ g \translator Staff = SA a c] - } - \context Staff = SB \relative c' { -\clef bass - b8[ b16 \stemUp b,,16 ] +\layout { + ragged-right= ##t +} + +\context PianoStaff \relative c' << + \new Staff = SA { + \stemDown + c8[ c16 \change Staff = SB \stemUp c16 ] + \stemNeutral + f[ g \change Staff = SA a c] + } + \new Staff = SB \relative c' { + \clef bass + b8[ b16 \stemUp b,,16 ] + + g'4\rest + b,8[ b16 \stemDown b''16 b ] + } + +>> - g'4\rest - b,8[ b16 \stemDown b''16 b ] - } - - > - \paper { raggedright= ##t } -}