At 10:47 18/09/2003 +0200, you wrote:
Thursday, September 18, 2003 Hans Hagen wrote:
this 'using a fake formula' is more or less the way i determine the last line length, but keep in mind that this only works in situations like:
some text \measline
and not in
some text \par (or empty line) \measline
Hans, that is *not* supposed to work in those cases because a \par or an empty line determine an end-of-paragraph, so the formula starts a new paragraph and the lenght of the previous line is *irrelevant* --you don't have a mid-paragraph display.
I know that you like those freeform spacey sources, but they are not really 100% compatible with the empty line => paragraph concept of TeX :)
well, the problem is that in both cases: text $$math$$ text text \par $$math$$ \par text one wants to optimize spacing, so the limitation of not having access to the last line length is a pitty (i understand that it can be tricky in cases like: text \par somevboxmanipulation $$math$$ since then one may wonder what the last line length applies to Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------