musixlyr has no idea about the notes spacing surrounding the attachment of a specific syllable. All it knows is the horizontal position of the related note, the width of the current syllable and the available space to the previous syllable.

Hello Rainer,

thank you for the explanation.
If I understand it correct, this means at the start of a melisma musixlyr does not know the position of the ending note of this melisma.


It's
...
unfortunately impossible to anticipate collisions that will take
place on the right side of the current syllable.

Avoiding or reducing collision was not my primary intention, although the left justification leads to more collisions.


IMHO it does not look good if long syllables are left justified at a melisma while normally syllables are centered at single notes, even without collisions.

You may either resort to a generally wider music spacing (e.g. by requesting a greater \linegoal) or, if that's not feasible, by manual corrections to the lyrics or notes spacing.

I think I will use manual corrections if necessary, because I have to fulfill two somewhat contradictory requirements: Use as little pages as possible to avoid turning over the pages while singing and use large text and notes size because several choir members' eyesight is not so good.



I looked at musixlyr.tex and think I partially understand how it works.

Would it be possible to implement the placing of a syllable below a group of notes as follows?
At the start of a melisma save the current position and the syllable.
If the end of the melisma is reached and the syllable is not yet placed, try to center it below the group of notes.
If a line break is reached and the syllable is not yet placed, try to center it below the notes from the start of the melisma up to the last note before the line break. Start a line or hyphens (lyrrule) at the first note after the line break until end of melisma.
If the note spacing up to the current note is wider then the space needed for the syllable, left justify the syllable at the saved position of the first note. Continue with line or hyphens (lyrrule) until end of melisma.
(If there is a collision on the left side, the syllable must be shifted to the right as usual.)



Bodo _______________________________________________ TeX-music mailing list [EMAIL PROTECTED] http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to