lilypond-user
[Top][All Lists]
Advanced

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

Re: \override multiple properties?


From: David Kastrup
Subject: Re: \override multiple properties?
Date: Sun, 02 Feb 2020 11:26:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Aaron Hill <address@hidden> writes:

> Music functions certainly give you the most flexibility, although
> there are simple cases where you can use 2.19's \etc keyword as a
> shorthand to defining the function yourself:
>
> %%%%
> \version "2.19"
>
> stemColor = \override Stem.color = \etc
>
> { d'8 \stemColor #red e' f' \undo \stemColor ##f g' }
> %%%%
>
> Note the \undo command above is less ideal as one needs to provide a
> dummy argument to the function.

Why not \undo \stemColor #red here ?  ##f makes no sense.

-- 
David Kastrup



reply via email to

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