[texhax] Checking the length of paragraph last line [fun]

Joel jc517 at wmi.com
Thu Nov 10 13:29:44 CET 2005

Uwe Lück wrote:

> At 21:33 14.10.05, William F. Adams wrote:
> ...
>> and Uwe Lück (uwe.lueck at web.de) had the following charming response 
>> which you could query him on if need be:
>> At 16:49 07.09.05, Florian Knorn wrote:
>>> could anybody plz tell me a macro that returns the remaing space in the
>>> current text line ? like \remainingspace would contain the length like
>>> "3cm" if the remaining space to the end of the line is 3cm.
>> I have a really miraculous algorithm for this general problem,
>> yet the present e-mail is too short to hold it
>> (cf. Simon Singh, Lueck's Last Algorithm, chap. 2.4 :-)

Many years ago there was a posting to comp.text.tex that my disk drive
and memory were to small to hold. There was a set of macros to have the
indent of a paragraph start where the last paragraph ended. I've looked
for it on google without luck. (Can't say I was much motivated to really
find it) I'm sure this could be apapted for this task. If anyone locates
this posting it would be nice to see it again.

  - Joel

More information about the texhax mailing list