]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-volta.ly
Imported Upstream version 2.19.45
[lilypond.git] / input / regression / repeat-volta.ly
1 \version "2.19.21"
2 #(ly:set-option 'warning-as-error #f)
3 #(ly:expect-warning (_ "More alternatives than repeats.  Junking excess alternatives"))
4
5 \header{
6   texidoc="
7 Volta (Semi folded) behavior.  Voltas can start on non-barline moments.
8 If they don't barlines should still be shown.
9 "
10 }
11
12 %%  no alts.
13
14 \context Voice \relative {
15   %% repeat non aligning with barlines.
16   \repeat volta 3 { c''^"3x 0alt" d e }
17   %% less alts than body
18   \repeat volta 4 { c^"4x 2alt" d } \alternative { e f }
19   %% more alts than body
20   \repeat volta 2 { c^"2x 3alt" d } \alternative { e f g }
21 }
22
23