[Top][All Lists]

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

Re: Repeat alternative count

From: David Kastrup
Subject: Re: Repeat alternative count
Date: Sun, 30 Aug 2020 20:58:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Heckman <> writes:

> How about allowing modifying the syntax of \alternative to include the
> possibility of a number, which means to repeat that ending? This would
> look like
> \alternative {
>   { c1 }
>   1
>   { d1 }
>   1
>    }
> Which would be interpretted as: the 1st, 2nd, and 4th endings are c,
> and the 3nd  ending is d.

That is already valid syntax and makes the first and second alternative
c1 and the third and fourth alternative d1 .

Extending LilyPond syntax is not really a matter of arbitrarily
inventing something: a lot of stuff is already taken.

David Kastrup

reply via email to

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