]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
574f78c7b32d6469c0b473ceb4b99e22321c0acd
[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 \version "2.6.0"
8
9
10 vmus =  { \repeat volta 2 c1 \alternative { d e } } 
11
12 \score  {
13
14      \relative c'' <<
15         \new StaffGroup <<
16             \context Staff \vmus
17             \new Staff \vmus
18         >>
19         \new StaffGroup <<
20             \new Staff <<
21                 \set Staff.voltaOnThisStaff = ##t
22                 \vmus >>
23             \new Staff \vmus
24         >>
25     >>
26
27     \layout { raggedright = ##t }
28 }