]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
release commit
[lilypond.git] / input / regression / volta-multi-staff.ly
1 \header {
2
3   texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
4     also over other staves than the topmost one in a score."
5
6 }
7
8 \layout { ragged-right = ##t }
9 \version "2.8.0"
10
11
12 vmus =  { \repeat volta 2 c1 \alternative { d e } } 
13
14
15
16 \relative c'' <<
17   \new StaffGroup <<
18     \context Staff \vmus
19     \new Staff \vmus
20   >>
21   \new StaffGroup <<
22     \new Staff <<
23       \set Staff.voltaOnThisStaff = ##t
24       \vmus >>
25     \new Staff \vmus
26   >>
27 >>
28
29
30