\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 "2.1.7"
+\layout { ragged-right = ##t }
+\version "2.14.0"
-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'' <<
- \new StaffGroup <<
- \context Staff \vmus
- \new Staff \vmus
- >>
- \new StaffGroup <<
- \new Staff <<
- \property Staff.voltaOnThisStaff = ##t
- \vmus >>
- \new Staff \vmus
- >>
- >>
- \paper { raggedright = ##t }
-}