X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fnew%2Fvolta-multi-staff.ly;h=a45dddec74b2de89683fefdcb9db09cd83acf312;hb=eeec992b7029d0982bf4ed0eb3995e9ca99c10e9;hp=e04c46fd0db55abac32b4b489d8ae2f881616655;hpb=f96e38fbbbfba9cf4729323beb518a65ae77d562;p=lilypond.git diff --git a/input/new/volta-multi-staff.ly b/input/new/volta-multi-staff.ly index e04c46fd0d..a45dddec74 100644 --- a/input/new/volta-multi-staff.ly +++ b/input/new/volta-multi-staff.ly @@ -1,24 +1,30 @@ -\version "2.11.36" -\layout { ragged-right= ##t } +\version "2.12.0" \header { lsrtags = "repeats,staff-notation" - texidoc = "By adding @code{Volta_engraver}, repeat brackets -can be put over staves other than the topmost one in a score." + texidoc = "By adding the @code{Volta_engraver} to the relevant +staff, volte can be put over staves other than the topmost +one in a score." doctitle = "Volta multi-staff" } -vmus = \relative c'' { - \repeat volta 2 c1 \alternative { d e } -} +voltaMusic = \relative c'' { + \repeat volta 2 { + c1 + } + \alternative { + d1 + e + } +} << \new StaffGroup << - \context Staff \vmus - \new Staff \vmus + \new Staff \voltaMusic + \new Staff \voltaMusic >> \new StaffGroup << - \new Staff \with { \consists Volta_engraver } - \vmus - \new Staff \vmus + \new Staff \with { \consists "Volta_engraver" } + \voltaMusic + \new Staff \voltaMusic >> >>