]> git.donarmstrong.com Git - lilypond.git/blob - input/new/volta-multi-staff.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / volta-multi-staff.ly
1 \version "2.11.61"
2 \header {
3   lsrtags = "repeats,staff-notation"
4   texidoc = "By adding the @code{Volta_engraver} to the relevant
5 staff, volte can be put over staves other than the topmost
6 one in a score."
7   doctitle = "Volta multi-staff"
8 }
9
10 voltaMusic = \relative c'' {
11   \repeat volta 2 {
12     c1
13   }
14   \alternative {
15     d1
16     e
17   }
18 }
19
20 <<
21   \new StaffGroup <<
22     \new Staff \voltaMusic
23     \new Staff \voltaMusic
24   >>
25   \new StaffGroup <<
26     \new Staff \with { \consists "Volta_engraver" }
27       \voltaMusic
28     \new Staff \voltaMusic
29   >>
30 >>