Hi Jérôme,

> 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’m sure there is. I just don’t have time right now to figure out how. Sorry!

> 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.

Well, you could always do something hacky, like the following:

%%%  SNIPPET BEGINS
\version "2.19.80"

{
  c'1
  \once \override Score.Clef.color = #red \clef bass
  c1
}

clefchangebass = { \once \override Score.Clef.color = #red \clef bass }
clefchangetreble = { \once \override Score.Clef.color = #red \clef treble }

{
  c'1
  \clefchangebass
  c1
}
%%%  SNIPPET ENDS

> Also, same question for KeySignature.

Same would apply.

Hope this helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to