Re: Accidental Notes in different colour

2014-11-01 Thread Paul Morris
ing. -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-Notes-in-different-colour-tp168088p168276.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org h

Re: Accidental Notes in different colour

2014-11-01 Thread Jay Vara
veral key signature changes in my music and I realised that by the time Lilypond gets to printing the NoteNames, it seems to have lost knowledge of the key signatures and only remembers the very last one. Jay -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-Not

Re: Accidental Notes in different colour

2014-10-31 Thread Jay Vara
Jay, Thanks. That works very well. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-Notes-in-different-colour-tp168088p168120.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing

Re: Accidental Notes in different colour

2014-10-31 Thread Jay Vara
>I am not top-posting Paul, Thanks. I was able to use the snippets you pointed out to get it almost working. Check out this snippet: > > Using ly:grob-object to access grobs with \tweak > http://lsr.di.unimi.it/LSR/Item?id=621 > This is the program I wrote. It does colour the note heads for

Re: Accidental Notes in different colour

2014-10-31 Thread Jay Vara
Paul Thanks. I modified your snippet and was able to get it to work for the note heads. For some reason the stems and accidentals do not work. I even tried a separate function to set Stem.color - also did not work. The stem does not seem to see accidentals. When I tried the color-acci in my p

Re: Accidental Notes in different colour

2014-10-31 Thread Jay Vara
acci \override Stem.color = #color-stem c4 b d dis ees f g aes } } %%% Here is the output: <http://lilypond.1069038.n5.nabble.com/file/n168111/Color-Acci.jpg> -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-Notes-in-different-colou

Re: Accidental Notes in different colour

2014-10-31 Thread Paul Morris
(ly:grob-set-property! notehead 'color red) \score { \new Staff \relative c' { \override NoteHead.before-line-breaking = #color-acci c4 b d dis ees f g aes } } %%% -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accident

Re: Accidental Notes in different colour

2014-10-29 Thread Paul Morris
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. ___ lilypond-user mailing list

Accidental Notes in different colour

2014-10-29 Thread Jay Vara
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 c