lilypond-user
[Top][All Lists]
Advanced

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

Re: Shifting down-stemmed notes rightwards


From: James E. Bailey
Subject: Re: Shifting down-stemmed notes rightwards
Date: Thu, 9 Jul 2009 18:00:58 +0200


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




reply via email to

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