lilypond-user
[Top][All Lists]
Advanced

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

Re: Left/right noteheads in chord containing second


From: Mark Polesky
Subject: Re: Left/right noteheads in chord containing second
Date: Wed, 8 Apr 2009 01:30:38 -0700 (PDT)

Nick, 

this is a little less awkward, but you still have
to adjust the 'length and 'extra-offset properties
of Stem in some cases. But now you don't have to 
guess the X-offsets. The macro calculates the 
appropriate X-offsets based on the note-values. 
There are still some quirks though. It fails if 
the chord's first inputted note is NOT /tweak'ed. 
No idea why. In fact, there are some combinations
that just don't seem to work. Still a little
buggy I guess.

Incidentally, you can use a numeric value if you
want to do anything different:

<\tweak #'X-offset #-1.324984 d e gis>

You can also use the macro to deduce the correct 
X-offsets. In caseyou're curious, here they are:

quarter-notes and shorter:
  move-left  = -1.324984
  move-right =  1.324984

half-notes:
  move-left  = -1.251178
  move-right =  1.251178

whole-notes:
  move-left  = -1.720008
  move-right =  1.720008

Don't forget, this is especially *bad* notation.
Maybe it's a good thing it's so hard to implement!

Good luck.
- Mark

_________________________________________________



      

Attachment: switch-sides.ly
Description: Text Data

Attachment: switch-sides.png
Description: PNG image


reply via email to

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