\header {
- texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
- on more staves in a score."
+ texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
+ also over other staves than the topmost one in a score."
}
-\version "2.1.26"
+\layout { ragged-right = ##t }
+\version "2.7.39"
-vmus = \notes { \repeat volta 2 c1 \alternative { d e } }
-\score {
+vmus = { \repeat volta 2 c1 \alternative { d e } }
+
+
+
+\relative c'' <<
+ \new StaffGroup <<
+ \context Staff \vmus
+ \new Staff \vmus
+ >>
+ \new StaffGroup <<
+ \new Staff <<
+ \set Staff.voltaOnThisStaff = ##t
+ \vmus >>
+ \new Staff \vmus
+ >>
+>>
+
- \notes \relative c'' <<
- \new StaffGroup <<
- \context Staff \vmus
- \new Staff \vmus
- >>
- \new StaffGroup <<
- \new Staff <<
- \set Staff.voltaOnThisStaff = ##t
- \vmus >>
- \new Staff \vmus
- >>
- >>
- \paper { raggedright = ##t }
-}