3 LilyPond has three modes for repeats: folded, unfolded and
4 semi-unfolded. Unfolded repeats are fully written out. Semi unfolded
5 repeats have the body written and all alternatives sequentially.
6 Folded repeats have the body written and all alternatives
7 simultaneo.ly. If the number of alternatives is larger than the
8 repeat count, the excess alternatives are ignored. If the number of
9 alternatives is smaller, the first alternative is multiplied to get to
10 the number of repeats.
18 \context Voice \notes\relative c'' {
19 \repeat unfold 3 { c^"3x 0a" d }
21 \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
23 \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g }