]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/repeat-fold.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / repeat-fold.ly
1 \version "2.1.26"
2
3 \header{
4 texidoc="
5 Folded repeat may not make sense without alternatives, and there
6 should not be more alternatives than repeats.
7 "
8 }
9
10 \score {
11   \context Staff \notes \relative c'' {
12     \repeat fold 3 { c^"3$\\times$ 0alt" d }
13     % less alts than body
14     \repeat fold 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
15     % more alts than body
16     \repeat fold 2 { c^"2$\\times$ 3alt" d } \alternative { e f g }
17   }
18 }
19
20