From f84eab93e732ed2b9aa50436202a28f34243c658 Mon Sep 17 00:00:00 2001 From: James Lowe Date: Thu, 15 Sep 2011 22:44:42 +0100 Subject: [PATCH] Doc: NR Clarify finer point of repeat unfold This is for tracker issue 1801. Explain as an example, that \repeat unfold 2 {music expression} is not always the same as writing out the music expression twice - especially in a \relative context. --- Documentation/notation/repeats.itely | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/notation/repeats.itely b/Documentation/notation/repeats.itely index d3f473fa82..7af38d2d29 100644 --- a/Documentation/notation/repeats.itely +++ b/Documentation/notation/repeats.itely @@ -471,6 +471,21 @@ where @code{@var{musicexpr}} is a music expression and c1 @end lilypond +In some cases, especially in a @code{\relative} context, the +@code{\repeat unfold} function is not the same as writing out the +music expression multiple times. E.g, + +@example +\repeat unfold 2 @{ a'4 b c @} +@end example + +is not equivalent to + +@example +a'4 b c | a'4 b c +@end example + + Unfold repeats can be made with alternate endings. @lilypond[verbatim,quote,relative=2] -- 2.39.2