]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/volta-multi-staff.ly
* lily/my-lily-lexer.cc: add \accacciatura and \appoggiatura
[lilypond.git] / input / regression / volta-multi-staff.ly
1 #(ly:set-option 'old-relative)
2 \header {
3
4     texidoc = "By setting @code{voltaOnThisStaff}, repeats can be put on more staffs in a score."
5
6 }
7 \version "1.9.2"
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                 \property Staff.voltaOnThisStaff = ##t
22                 \vmus >
23             \new Staff \vmus
24         >
25     >
26
27     \paper { raggedright = ##t }
28 }