lilypond-user
[Top][All Lists]
Advanced

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

Accidental Notes in different colour


From: Jay Vara
Subject: Accidental Notes in different colour
Date: Wed, 29 Oct 2014 19:59:19 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Is there a way to make the accidental notes in a different colour?

I can make a particular note a different colour by:

\tweak NoteHead.color #red
\tweak Stem.color #red
\tweak Accidental.color #red
c4

However, I would like to have all the accidentals to be coloured. Perhaps, 
override NoteHead colouring somehow - not sure how to know if it is an 
accidental.

There is a snippet that shows how to colour based on pitch 
http://lsr.di.unimi.it/LSR/Snippet?id=572 - I was not able to figure out 
how to use this to capture accidentals.






reply via email to

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