Hello Rainer!
Bodo Meissner wrote: > Would it be possible to implement the placing of a syllable below a > group of notes as follows?
I add numbers to reference these instructions and notes describing the different cases.
1. (preparation)
> At the start of a melisma save the current position and the > syllable.
2. (melisma complete without line break, syllable wider than note spacing -> center syllable below complete melisma phrase)
> If the end of the melisma is reached and the syllable is not yet > placed, try to center it below the group of notes.
Am 2004.11.03 23:06 schrieb(en) Rainer Dunker:
Objection: Consider long melismas, like baroque 'Koloraturen' (don't
know the English word) which may easily span more than one line. Centering the syllable unter the melisma would place it too far away from the melisma beginning
...
In this case the syllable will already have been placed left justified according to instruction 4. So instruction 2 will not apply.
3. (line break during melisma, syllable wider than note spacing on first line -> center syllable below this first part)
> 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.
4. (no line break until now, note spacing wider than syllable -> left justify with first note)
> 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.
Instructions 2, 3 and 4 will compute the default position of the syllable depending on the note spacing and the space needed for the syllable. This default position, regardless if centered or left justified, may collide with the syllable to the left.
> (If there is a collision on the left side, the syllable must be > shifted to the right as usual.)
I see what you're aiming at. I agree it should be feasible to delay
the syllable placement until the ending position of the melisma phrase is known, but I keep insisting that making the syllable placement dependent on subsequent syllables is too complicated.
I agree.
My wish is a default placement based solely on the width of the syllable and the note spacing of the melisma phrase or it's first part up to a line break. The centering of syllables wider than the note spacing should always be done, not depending on a possible collision on the right side. No left shifting to avoid a collision on the right side. IMHO it simply looks bad even if no collision occurs.
I'll put your suggestion on the wish list, but please don't ask when
it will be implemented ... :-) Should you become impatient, please feel free to go ahead yourself!
I wish I could do that. I'm happy that I partially understand TeX code and can make simple changes. Since I don't know which variables or macros are available, I would need some example code or good documentation covering internals of MusiXTeX.
Bodo _______________________________________________ TeX-music mailing list [EMAIL PROTECTED] http://icking-music-archive.org/mailman/listinfo/tex-music

