-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Mittwoch, 13. Januar 2010 17:02:18 schrieb David Kastrup: > Alexander Kobel <n...@a-kobel.de> writes: > > Wilbert Berendsen wrote: > >> LilyPond 2.12.2 and 2.13.1 display the Lyrics lines correctly, at > >> regular distances. > >> > >> It seems the new vertical spacing engine in 2.13.10 has not (yet) > >> sensible defaults for Lyrics contexts? > > > > I suppose it's because the spacing in 2.12 only relied on the Y-extent > > property, which defaults to a value including usual extenders of the > > glyphs? > > TeX's algorithm is that the baselines of successive lines are placed > \baselineskip apart, unless that makes the depth of the previous line > and the height of the current come closer than \lineskiplimit, in which > case the separation is chosen as \lineskip.
That's basically the approach taken by Joe for spacing staves: Place the center lines minimum-spacing apart, except if the skylines would (almost?) overlap (including a padding). In the latter case add space until no overlap occurs. Of course, when stretching is enabled, things are a little more involved. I just don't know how Joe aligns lyrics, in particular, whether only the extents are used or whether the baseline is used like the center line for staves. Without looking at the code, I would say the basic functionality is there, it just needs to be adjusted for and/or extended to the lyrics context, too. Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFLTfMPTqjEwhXvPN0RAuNrAJ9q1UZ3FHJ2TwaRUpRceOaG0foKGwCfRWtE hcRojulzJXRd6K76pF7VUDo= =Pk8T -----END PGP SIGNATURE----- _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user