]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
*** empty log message ***
[lilypond.git] / input / regression / volta-multi-staff.ly
1 \header {
2
3     texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put on more staffs in a score."
4
5 }
6 \version "2.1.22"
7
8
9 vmus = \notes { \repeat volta 2 c1 \alternative { d e } } 
10
11 \score  {
12
13     \notes \relative c'' <<
14         \new StaffGroup <<
15             \context Staff \vmus
16             \new Staff \vmus
17         >>
18         \new StaffGroup <<
19             \new Staff <<
20                 \set Staff.voltaOnThisStaff =  ##t
21                 \vmus >>
22             \new Staff \vmus
23         >>
24     >>
25
26     \paper { raggedright = ##t }
27 }