lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Percent repeats at line breaks (v2.7.12)


From: Erik Sandberg
Subject: Re: Percent repeats at line breaks (v2.7.12)
Date: Thu, 20 Oct 2005 23:43:48 +0200
User-agent: KMail/1.8.3

On Wednesday 19 October 2005 15.39, Thies Albrecht wrote:
> Hi everybody!
>
> Any idea or hint on how to automatically expand percent repeats once at
> line breaks. For example
>
>     \repeat percent 50 {c d e f}
>
> should lead to several line breaks. At each new line the repeat should
> be unfolded instead of printing a percent symbol.
>
> A question about that by someone in an earlier thread never led to an
> answer.

Line breaks are calculated after the repeats have been expanded, so this isn't 
possible unless you do manual line breaks after the repeat (it could be 
possible to invent a \percentBreak, which forces percent repeats to be 
unfolded once after the break).

Insertion of such breaks _could_ be automated with hacks similar to 
LaTeX's .aux files, but that solution is probably too dirty/inelegant to be 
implemented in lilypond.

-- 
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]