lilypond-user
[Top][All Lists]
Advanced

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

Re: Change the color of ledger lines


From: Nick Payne
Subject: Re: Change the color of ledger lines
Date: Mon, 18 Apr 2011 19:53:11 +1000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

On 18/04/11 19:33, Xavier Scheuer wrote:
Hi,

Maybe this question has already been answered but I did not find a
solution while searching through the mailing lists.

   \override NoteHead #'color = #red
changes the color of the note heads but not the color of the ledger
lines.  I tried

   \override Staff.LedgerLineSpanner #'color = #red

but it does not work.

Any idea how I could change the color of the ledger lines (ledger lines
only, I do not want to change the whole staff's color).

Using

\override Staff.LedgerLineSpanner #'color = #red

works for me in making the ledger lines and not the staff red.

\version "2.13.59"
\score {
   \new Staff {
          \override Staff.LedgerLineSpanner #'color = #red
          c c' c'' c'''
   }
}

Nick



reply via email to

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