groff
[Top][All Lists]
Advanced

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

Re: [Groff] Formatting algorithm


From: Werner LEMBERG
Subject: Re: [Groff] Formatting algorithm
Date: Thu, 24 Apr 2014 06:55:11 +0200 (CEST)

> BTW--does anyone know how KP/TeX handles paragraphs with "spread"
> (.brp) lines?

You simply insert

   \penalty -10000

to force a line break at this very place (while still retaining
justification).

On the other hand, the equivalent to `.br' (and the end of a
paragraph) is to insert an infinitely stretchable space (e.g. `\hskip
0pt plus 1fil') before `\penalty -10000' to squeeze everything at the
start of the line as much as possible.


    Werner



reply via email to

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