I've been looking into this and I'm not sure I'm going to be able to
hack my way around it.
The thing is that LaTeX places elements of a line vertically based on
the line's baseline. For a gregoriotex score, that baseline is the
baseline of the lyrics (or translation, if there is one). Since the
placement of glyphs and syllables is done from right to left across the
line, the vertical separation between the lyrics and the staff lines has
to be known at the very beginning of the line. Currently Gregorio
accomplishes this by simply declaring at the beginning of the score what
the lowest note is.
A dynamic spacing like you described would require two passes over each
line. The first to determine what's in the line (and thus what the
lowest note of the line is) and the second to actually typeset the line.
This would require a complete rewrite of the score setting algorithms,
and isn't practical at the moment. I have some ideas as to how it might
be accomplished, but it'll be a whole lot of work that I don't have the
time for at the moment.
One way you might be able to get a similar effect is to put each line of
the score in its own gabc file. This requires you to know your line
width and to manually break each line (a process that may require some
trial and error). You also may need to employ this trick:
http://www.mail-archive.com/[email protected]/msg02149.html
It's not a pretty solution, but it's the best I can come up with at the
moment.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users