]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
* python/lilylib.py (make_ps_images): bugfixes.
[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 "1.7.22"
7
8
9 vmus = \notes { \repeat volta 2 c1 \alternative { d e } } 
10
11 \score  {
12
13     \notes \relative c'' <
14         \context StaffGroup = SGA <
15             \context Staff \vmus
16             \context Staff = SB \vmus
17         >
18         \context StaffGroup = SGB <
19             \context Staff =SC <
20                 \property Staff.voltaOnThisStaff = ##t
21                 \vmus >
22             \context Staff = SD \vmus
23         >
24     >
25
26     \paper { raggedright = ##t }
27 }