Forum How do I...?

Avoiding word widows

marimbus
Is there a way to specify how many words need to follow the last natural line-break in a paragraph?
mikeday
Not yet. Is the paragraph justified or unjustified?
marimbus
The paragraph is unjustified.
mikeday
For unjustified paragraphs Prince will use the standard "greedy" line-breaking algorithm used by web browsers, fitting as many words as possible on each line with equal-sized spaces between words. This gives no control over the number of words appearing on the last line of a paragraph, which depends purely on chance.