Am 05.03.2009 um 15:05 schrieb Marcin Borkowski:
You can test whether the last paragraph had 1 or more lines and make
your decision dependent on the result but this can be done only after
the paragraph ist finished.
Well, Wolfgang, you'll be surprised: it can be done (even in pure
vanilla TeX), at the expense of (possibly) nonuniform spacing. Google
for a file "meashor.tex":). (In Poland, we have a saying: "nasi
górą!"
-- roughly "our people win!" -- I can't resist citing it here, since
it
was Bogusław Jackowski who wrote that macros:)).
I found the information about display math in my TeX book (although my
TeX skills are not good enough to to write the code) but Alan want to
know the number of lines before the text is typeset to insert a lettrine
at the begin of the paragraph, can you also deliver code for this?
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________