[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Coloring of key signature accidentals based on their pitch
From: |
Heikki Junes |
Subject: |
Coloring of key signature accidentals based on their pitch |
Date: |
Mon, 17 Aug 2015 12:13:58 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi,
in Lilypond 2.19.25 notes and accidental before notes can be colored based
on their pitch:
\override NoteHead.color = #color-notehead
\override Accidental.color = #color-notehead
Here is an example on NoteHeads:
http://www.lilypond.org/doc/v2.19/Documentation/snippets-big-page#pitches-coloring-notes-depending-on-their-pitch
What I am looking for is to be able to color the individual key signature
accidentals based on their pitch.
Currently, key signature seems to be a single grob (?) so that only one
color can be assigned to it:
\override Staff.KeySignature #'color = #red
Would it be possible to split the key signature grob to parts in such a
manner that the individual accidentals could be colored, using a kind of
similar code:
\override Staff.KeySignature.color = #color-notehead
best regards,
Heikki Junes
- Coloring of key signature accidentals based on their pitch,
Heikki Junes <=
- Re: Coloring of key signature accidentals based on their pitch, David Kastrup, 2015/08/17
- Re: Coloring of key signature accidentals based on their pitch, Heikki Junes, 2015/08/17
- Re: Coloring of key signature accidentals based on their pitch, David Nalesnik, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, Heikki Junes, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, David Nalesnik, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, Thomas Morley, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, Thomas Morley, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, Paul Morris, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, David Nalesnik, 2015/08/18
- Re: Coloring of key signature accidentals based on their pitch, Paul Morris, 2015/08/18
- Prev by Date:
Re: format-mark function for A, B, C, …, X, Y, Z, Aa, Bb, Cc, …
- Next by Date:
Re: Coloring of key signature accidentals based on their pitch
- Previous by thread:
format-mark function for A, B, C, …, X, Y, Z, Aa, Bb, Cc, …
- Next by thread:
Re: Coloring of key signature accidentals based on their pitch
- Index(es):