Justify text in work area does not work as expected

Daniel xracoonx at gmx.de
Thu Jun 25 17:53:06 UTC 2020


On 2020-06-25 19:34, Jean-Marc Lasgouttes wrote:
> Le 25/06/2020 à 19:28, Daniel a écrit :
>> By the way, non-greedy algorithms for text justification, i.e. those 
>> that do not just put as many words into each line as possible 
>> (starting from the first) but try to reach greater equality between 
>> length of spaces, are to slow, right? Both Writer and Word seem to use 
>> only the greedy algorithm. (Pages does some weird stuff by spacing out 
>> characters within words.) So, I guess that's the case. I was just 
>> curious.
> 
> I do ot know whether they are too slow, but they are definitely more 
> complicated. I am not sure that the gain is worth the effort.
> (TeX does this and much more for the final output, though)
> 
> JMarc

Yes, maybe it's not worth the effort. I just remembered that I set all 
my LyX documents to left aligned because, at least previously, the gaps 
between words were just to wide to be nicely readable. I don't remember 
exactly anymore what was the main cause of the gaps. I might try using 
justification again to see.

Daniel



More information about the lyx-devel mailing list