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: Tiago Morin
Subject: Re: Key signature color one item
Date: Tue, 7 Feb 2017 20:25:36 +0000

Hi David,

Thank's for the reply. It doesn't seem to work on 2.18.2:

 error: GUILE signaled an error for the _expression_ beginning here
  #
   (key-signature::special-print `((2 . ,red)))
Unbound variable: key-signature::special-print


Any guess?

Thank's

Tiago

On 7 February 2017 at 13:14, David Nalesnik <address@hidden> wrote:
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]