lilypond-user
[Top][All Lists]
Advanced

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

Re: Accidental Notes in different colour


From: Paul Morris
Subject: Re: Accidental Notes in different colour
Date: Wed, 29 Oct 2014 18:34:29 -0700 (PDT)

Jay Vara wrote
> 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.

Hi Jay,  Check out this snippet:

Using ly:grob-object to access grobs with \tweak
http://lsr.di.unimi.it/LSR/Item?id=621

It shows how to access the accidental grob and stem grob from an override of
the notehead grob, and then you can change their color as well as the
notehead color.

There's also this one, which is a different version of the one you linked:
http://lsr.di.unimi.it/LSR/Snippet?id=897

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Accidental-Notes-in-different-colour-tp168088p168102.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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