-#(ly:set-option 'old-relative)
\header {
-
- texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put on more staffs in a score."
-
+ texidoc = "By default, the volta brackets appear only in the topmost staff."
}
-\version "1.9.1"
+\layout { ragged-right = ##t }
+\version "2.11.51"
-vmus = \notes { \repeat volta 2 c1 \alternative { d e } }
+vmus = { \repeat volta 2 c1 \alternative { d e } }
+
+\relative c'' <<
+ \new StaffGroup <<
+ \new Staff \vmus
+ \new Staff \vmus
+ >>
+ \new StaffGroup <<
+ \new Staff \vmus
+ \new Staff \vmus
+ >>
+>>
-\score {
- \notes \relative c'' <
- \context StaffGroup = SGA <
- \context Staff \vmus
- \context Staff = SB \vmus
- >
- \context StaffGroup = SGB <
- \context Staff =SC <
- \property Staff.voltaOnThisStaff = ##t
- \vmus >
- \context Staff = SD \vmus
- >
- >
- \paper { raggedright = ##t }
-}