lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table of contents broken?


From: Nicolas Sceaux
Subject: Re: Table of contents broken?
Date: Thu, 13 Dec 2007 21:02:16 +0100


Le 9 déc. 07 à 14:52, Joe Neeman a écrit :
I remember the rationale, but it's too late right now for me to find a proper fix. The problem is with spacing single-staff systems. Suppose you have two
systems, the first has staff-extent '(-2.0 . -2.0) and the second has
staff-extent '(-5.0 . -5.0). Then the original function would put too much space between the lines because of the inner "(max 0 ...)". Also, there is a
problem in that line-minimum-distance uses the extents while
line-ideal-distance uses the staff-extents, but these aren't directly
comparable.

You're welcome to revert it; that will only cause some uneven spacing in a few situations and I'll have another look at fixing it later. Or if you want to
figure out the correct solution, you're welcome to do that too :) It
shouldn't need any special casing, it's just a matter of getting the
arithmetic right.

Still, text lines and musical systems are different wrt staff extents, the arithmetic cannot be the same. In the case of a text line, the staff extent is always flat, you always have to deal with its extent. However, in the case of a music system, the staff extent maybe flat (in the case of a single line system), but you will probably want to use the staff extent anyway to compute
the ideal distance.

nicolas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]