lilypond-user
[Top][All Lists]
Advanced

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

Re: Key signature color one item


From: David Nalesnik
Subject: Re: Key signature color one item
Date: Tue, 7 Feb 2017 07:14:31 -0600

Tiago,

On Tue, Feb 7, 2017 at 6:39 AM, Tiago Morin <address@hidden> wrote:
> Is there a way to color just one of the accidentals of a key signature?
> For example: I'd like to color in red the d sharp of the "\key e \major" ,
> leaving the rest of the accidentals in default color.
>

Try the code here:
http://www.mail-archive.com/address@hidden/msg104047.html

For your example, you'd write

 \override Staff.KeySignature.stencil =
  #(key-signature::special-print `((2 . ,red)))
 \key e \major

Hope this helps!

David



reply via email to

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