lilypond-user
[Top][All Lists]
Advanced

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

again a defining problem


From: Roland Goretzki
Subject: again a defining problem
Date: Fri, 30 Mar 2007 02:04:02 +0200
User-agent: Mutt/1.5.9i

Hi,

using version 2.10.20
it is possible to define a variable to change the color of NoteHeads.

So after defining the variable "rot" (as done in the attached file) the
changing of NoteHeads with the color red can be notated as

  \rot d
instead of
  \once\override NoteHead #'color = #red d

and is saving lots of typing.
This works so far.

Now the expression at changing colors in chords is shorter, but
nevertheless too long for many changes and is making chords quite
unreadable:

  <b \tweak #'color #blue d>

I would prefer to notate e.g. like this:

  <b \blau d>

The attached example shows both definitions, the first one is working as
expected, but the second one gives an error after incommenting the
outcommented \blau

I don't know, weather the second one is possible at all, because
manipulating notes in chords is a very special feature (but a good, I
think).

Can sombody give me more information or tips, please?

Thanks in advance and
Best Regards           Roland

Attachment: tweak-definition.ly
Description: Text document


reply via email to

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