entering repetitious music.
@item percent
-Make beat or measure repeats. These look like percent signs.
+Write beat or measure repeats. These look like percent signs.
Percent repeats must be declared within a @code{Voice} context.
@item tremolo
-Make tremolo beams.
+Write tremolo beams.
@end table
+@ignore
LilyPond has one syntactic construct for specifying different
types of repeats. The syntax is
@var{alternative} is a music expression. If you give fewer
alternatives than @var{repeatcount}, the first alternative is assumed
to be played more than once.
+@end ignore
@menu
@menu
* Normal repeats::
* Manual repeat marks::
+* Written-out repeats::
@end menu
@cindex volta
@node Normal repeats
@subsubsection Normal repeats
-FIXME: this example needs to go by itself.
-@verbatim
+The syntax for a simple repeat is
+
+@example
+\repeat @var{variant} @var{repeatcount} @var{repeatbody}
+@end example
+
+where @var{repeabody} is a music expression.
+
+Normal repeats, without alternate endings:
+
+@lilypond[quote,ragged-right,fragment,verbatim,relative=2]
\repeat volta 2 { c4 d e f }
-@end verbatim
+c1
+@end lilypond
-Normal repeats, with or without alternate repeats:
+Normal repeats, with alternate endings:
@lilypond[quote,ragged-right,fragment,verbatim,relative=2]
\repeat volta 2 { g f e d }
}
c1
@end lilypond
+
+
Repeats with upbeats:
@lilypond[quote,ragged-right,fragment,verbatim,relative=2]
@end lilypond
By default, the volta brackets will be drawn over all of the
-alternative music, but it is possible to shorten them by
-setting @code{voltaSpannerDuration}. In the next example, the
-bracket only lasts one measure, which is a duration of 3/4.
+alternative music, but it is possible to shorten them by setting
+@code{voltaSpannerDuration}. In the next example, the bracket only
+lasts one measure, which is a duration of 3/4.
@lilypond[verbatim,ragged-right,quote]
\relative c''{
}
@end lilypond
-The @code{Volta_engraver} by default resides in the Score context,
-and brackets for the repeat are thus normally only printed over
-the topmost staff. This can be adjusted by adding
-@code{Volta_engraver} to the Staff context where you want the
-brackets to appear; see @ref{Modifying context plug-ins} and
+The @code{Volta_engraver} by default resides in the Score context, and
+brackets for the repeat are thus normally only printed over the
+topmost staff. This can be adjusted by adding @code{Volta_engraver}
+to the Staff context where you want the brackets to appear; see
+@ref{Modifying context plug-ins} and
@c @lsr{repeats,volta@/-multi@/-staff@/.ly}.
@lilypond[verbatim,ragged-right,quote]
@c Is there a way to have a final bar ("|.") at the end of the
@c previous line? Doesn't seem to be.
-If you want to start a repeat at the beginning of a line and have
-a double bar at the end of the previous line, use
+If you want to start a repeat at the beginning of a line and have a
+double bar at the end of the previous line, use
@example
@dots{} \bar "||:" \break
@seealso
+Music Glossary: @rglos{repeat};
+@c FIXME : add @rglos{volta} after glossary addition
+
+Notation Reference: @ref{Bar lines}; @ref{Modifying context plug-ins}.
+
Snippets: @lsrdir{Repeats,Repeats}
Internals Reference: @internalsref{VoltaBracket},
having the @code{\alternative} belong to the inner @code{\repeat}.
For clarity, it is advisable to use braces in such situations.
-Timing information is not remembered at the start of an
-alternative, so after a repeat timing information must be reset by
-hand; for example, by setting @code{Score.measurePosition} or
-entering @code{\partial}. Similarly, slurs or ties are also not
-repeated.
+Timing information is not remembered at the start of an alternative,
+so after a repeat timing information must be reset by hand; for
+example, by setting @code{Score.measurePosition} or entering
+@code{\partial}. Similarly, slurs or ties are also not repeated.
and @internalsref{UnfoldedRepeatedMusic}.
+@node Written-out repeats
+@subsubsection Written-out repeats
+
+unfold
+
+
+
+
@node Short repeats
@subsection Short repeats