lilypond-user
[Top][All Lists]
Advanced

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

Re: „Anonymous” properties, deafening engravers and font features


From: Lukas-Fabian Moser
Subject: Re: „Anonymous” properties, deafening engravers and font features
Date: Thu, 18 Nov 2021 22:00:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Valentin,
For example we might have Staves that should behave differently if certain
other Staves are present. E.g. if we have some splitted staves and we want to
have voices behave differently depending on whether they are in a separate
staff or in the common staff. So for this it would be nice if we could simply
save information in the Staff context that tells us things like how many
different Parts we currently have in the Staff, for example.

For example we could handle properties that begin with „custom” as custom
properties, so we could say \override Staff.custom-my-property = something.

Can't we already do this within the details property of grobs? So not for a whole context (as in your Staff example), but you can already do

\override Staff.StaffSymbol.details.my-property = "I am too hard to play"

or in very much any other grob.

Lukas




reply via email to

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