|
From: | Han-Wen Nienhuys |
Subject: | Re: Page and line penalties |
Date: | Fri, 07 Apr 2006 14:59:59 +0200 |
User-agent: | Thunderbird 1.5 (X11/20060313) |
Joe Neeman wrote:
On Fri, 7 Apr 2006 20:02, Han-Wen Nienhuys wrote:Juergen Reuter wrote:Maybe I am totally wrong, but this discussion reminds me of an issue that I raised on Nov 18, last year; see the thread starting here: http://lists.gnu.org/archive/html/lilypond-devel/2005-11/msg00088.html I am mentioning this thread just in case that you are looking for interesting test examples.This is really something different. To solve this, we should rather introduce some convexity in the penalties, so one perfect plus two extremes is much worse than three so-so lines.In constrained-breaking, I use the square of the force rather than its absolute value -- I made the change for precisely this reason.
Hmm, doesn't that introduce scaling/dimension problems? Or does everything else also use square(force) as a dimension? It would be better if we could figure out a scaling constant, and then introduce an arbitrary convex function, which may be set separately. I would guess that the scaling should depend on line-width and spacing-increment.
FWIW, I used x^{1.1} for a similar problem with cross-staff knee beaming. -- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com
[Prev in Thread] | Current Thread | [Next in Thread] |