On 9-May-06, at 10:40 AM, Xiaoyu Ding wrote:

But when I try to color a note using:
    <bes
    \override NoteHead #'color = #blue
    g
    \override NoteHead #'color = #black>4 |

I got an error:
    error: syntax error, unexpected \override, expecting DRUM_PITCH or
NOTENAME_PITCH or '>'

Is this because that I'm trying to color a note within a chord? Is that allowed? If not, is there a way to color (or change the look of) one note
within a chord/phrase, etc.?

Notes within a chord must be colored with \tweak; see "Objects connected to the input" in "changing defaults". I'll add a warning to the doc page on colors.

Cheers,
- Graham



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

Reply via email to