Now I see what you mean. I don't know the exact details
of the collision avoidance mechanisms in LilyPond, but
I'm sure that this extra displacement to the right is done
intentionally to provide a pleasing layout.

  /Mats

Tao Cumplido wrote:

Hey Mats,

of course I know that if two notes are a second apart one is moved a little to 
keep readability (that's what you mean right?).
But in my example in the second voice, both notes are moved a little to the 
right (still being a readable second) in comparison to the melody and the notes 
in the lower staff.

Well, I hope that was more clear now.

regards,

Tao

-------- Original-Nachricht --------
Datum: Fri, 08 Jun 2007 16:03:01 +0200
Von: Mats Bengtsson <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED]
CC: lilypond-user@gnu.org
Betreff: Re: moving notes on x-axis

[EMAIL PROTECTED] wrote:

Hello,

in the output of the following code the notes of the second voice in the
second and sixth bar are placed a little to the right in comparison to the
other voices.
I tried to fix it with \override NoteHead #'X-offset but whether I used
positive or negative arguments didn't make a difference and moved always
further to the right.


The notes would collide and create an unreadable score if you
make them completely aligned along the X axis. Therefore, it's
common notation practice to move one note somewhat to the side
(in the case of notes with stems, you get one note on each side
of the stem, however since you have whole notes, you get one
that's centered on the stem as usual and one that's moved
to the side). The solution that LilyPond gives you in bars 10 and 14
cannot be used in bars 2 and 6 it would cause a collision with
the note in the upper voice. I don't understand what layout
you want to achieve that is still readable.

  /Mats



--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to