On Sun, Mar 30, 2014 at 03:15:13PM +0200, hoh...@arcor.de wrote: > > Peter Schaffter <pe...@schaffter.ca> wrote (Thu, 27 Mar 2014 19:29:13 > -0400): > > On Thu, Mar 27, 2014, Tadziu Hoffmann wrote: > > > > > > KP posits that the solution to getting it right is to scan the > > whole paragraph. The number of words on each line is determined by > > choosing a line arrangment for the whole paragraph that minimizes > > the sum of the squares of the spaces at the ends of lines. IOW, > > an arrangement that strives to equalize wordspacing throughout the > > whole paragraph. > > It might be useful to investigate if not minimizing the maximum demerits would give even better results than minimizing their (squared) sum. This should easily fit into the dynamic programming framework.
ulrich lauther