[Top][All Lists]

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

Re: Shortcut for \repeat unfold

From: David Kastrup
Subject: Re: Shortcut for \repeat unfold
Date: Sat, 25 Sep 2021 16:28:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Abou Samra <> writes:

> Le 25/09/2021 à 09:46, Lukas-Fabian Moser a écrit :
>> Hi,
>>> In short, I propose to make the first argument to
>>> \repeat optional, making \repeat n music equivalent to
>>> \repeat unfold n music.
>> Thanks for working on that!
>> The issue I have with your idea is that to me, \repeat unfold and
>> \repeta volta/tremolo have slightly different semantics:
>> \repeat volta and \repeat tremolo create "time-honored" visual
>> indicators for repeated music, so they are commands that correspond
>> to special music layouts.
>> \repeat unfold saves typing while inputting music.
>> Of course, the distinction is not very strict, in particular since
>> there's \unfoldRepeats. But still I'm not sure it's ideal
>> syntax-wise if users have to use the same command for "saving
>> typing" and for "creating musical repeat signs / tremolo
>> notation". And this, I think, is exacerbated with your suggestion,
>> because if \repeat alone is the keystroke-saving command, then
>> \repeat volta and \repeat tremolo look like variants of that: Adding
>> a qualifier turns the command into something completely different.
> The musical validity of this approach might
> be questionable, but LilyPond thinks of these
> types of repeats in similar ways. \repeat unfold
> does not copy the music n times, it just wraps it
> in UnfoldedRepeatedMusic.

It's worth remembering that \repeat unfold , like all \repeat variants,
accepts an \alternative clause.  And will probably be able to heed it.
I am not sure whether \repeat percent does so, but actually
interspersing material like <>\< <>\p or so would be perfectly
legitimate uses.  Whether they make for great syntax is a different

David Kastrup

reply via email to

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