]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / volta-multi-staff.ly
1 \header {
2
3     texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put
4     on more staves in a score."
5
6 }
7 \version "2.1.26"
8
9
10 vmus = \notes { \repeat volta 2 c1 \alternative { d e } } 
11
12 \score  {
13
14     \notes \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     \paper { raggedright = ##t }
28 }