On 07.07.2009, at 20:53, Richard Sabey wrote:


How can I shift down-stemmed notes rightwards?
I don't mind the alto and tenor notes sharing a stem as they do in the third chord, but I need to tease them apart horizontally when they are a second apart, as in the second chord. I have tried adding the following to the
definition of RH, to no avail:

        \voiceFour

This shifts the notes horizontally, but it shifts them leftwards, which looks wrong because the tenor noteheads are lower than the alto noteheads
and thus collide with the alto notes' stems.

        \shiftOn

This also shifts the notes leftwards.

        \override NoteColumn #'force-hshift = #1.0

This does not shift those notes which are on the upper stave with stems
down. Why not?

So in summary, how can I get an effect similar to \voiceFour or \shiftOn on down-stemmed notes, but shifting them to the right rather than the left?


A wonderful example of this kind of modification can be found in the Learning Manual, section 4.5.3 Tweaking output > Collisions of objects > Real music example. This is one part of that example.

To answer your question, you need to both set the voice to \voiceFour and then manually shift the notes to the right:

g \change Staff = rh \voiceFour \override NoteColumn #'force-hshift = #1.0 f' e' \change Staff = lh \voiceOne \revert NoteColumn #'force- hshift g

That should get you considerably closer to what you're looking for.
James E. Bailey



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

Reply via email to