]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/coloring-objects.ly
The IR guide
[lilypond.git] / input / lsr / coloring-objects.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.38"
4
5 \header {
6   lsrtags = "editorial-and-educational-use, tweaks-and-overrides"
7  texidoc = "
8 LilyPond gives you the ability to assign different colors to any grob
9 in your score, such as NoteHeads, Alterations, Beams and so on, by
10 simply overriding the #'color property and choosing your color (over
11 200 colors are available, see the \"List of Colors\" Appendix in the
12 Manual).
13 " }
14 % begin verbatim
15 \relative {
16   \override Accidental #'color = #darkgreen
17   \override Beam #'color = #cyan
18   \override NoteHead #'color = #darkyellow
19   c4
20   \override NoteHead #'color = #red
21   f
22   \override NoteHead #'color = #darkmagenta
23   g
24   \override NoteHead #'color = #darkblue
25   b
26   \override NoteHead #'color = #green
27   \override Stem #'color = #blue
28   e8 es d dis e4 r
29 }