Previous: Manual repeat marks, Up: Long repeats
By using the unfold
command, repeats can be used to simplify
the writing out of repetitious music. The syntax is
\repeat unfold repeatcount musicexpr
where musicexpr is a music expression and repeatcount is the number of times musicexpr is repeated.
c1 \repeat unfold 2 { c4 d e f } c1
Unfold repeats can be made with alternate endings. If there are more repeats than there are alternate endings, the first alternative ending is applied to the earliest endings.
c1 \repeat unfold 2 { g4 f e d } \alternative { { cis2 g' } { cis,2 b } } c1
Snippets: Repeats.
Internals Reference: RepeatedMusic, UnfoldedRepeatedMusic.
Diese Seite ist für LilyPond-2.11.58 (Entwicklungszweig).
Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.
Ihre Vorschläge für die Dokumentation sind willkommen.
Andere Sprachen: español.