4 texidoc
="LilyPond has two modes for repeats: unfolded and semi-unfolded.
5 Unfolded repeats are fully written out. Semi unfolded repeats have the body
6 written and all alternatives sequentially. If the number of alternatives is
7 larger than the repeat count, the excess alternatives are ignored. If the
8 number of alternatives is smaller, the first alternative is multiplied to
9 get to the number of repeats.
14 \context Voice
\relative c'' {
15 \repeat unfold
3 { c^"3x 0a" d }
16 %% less alts than body
17 \repeat unfold
4 { c^"4x 0a" d } \alternative { e f }
18 %% more alts than body
19 \repeat unfold
2 { c^"2x 3a" d } \alternative { e f g }