[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic coloring clef/key signature changes
From: |
David Kastrup |
Subject: |
Re: Automatic coloring clef/key signature changes |
Date: |
Wed, 02 Jan 2019 16:49:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Jérôme Plût <address@hidden> writes:
> Is there a way to change the color of all clef changes in a score (and
> only these, not the clef that is at the beginning of each staff line)?
> I cannot manage to change even one of these (I tried \once \override
> Staff.Clef.color, to no avail), and what I really want is to change
> all of these by a one-time incantation at the beginning of the score.
>
> Also, same question for KeySignature.
Well, since you don't include any example code and I don't feel like
typing up a whole example by myself, you could replace the color
property by a callback looking at the 'non-default property of its grob
for deciding the color. Should work for both Clef and KeySignature
grobs.
--
David Kastrup