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

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to