Dnia Thu, Mar 05, 2009 at 03:14:23PM +0100, Wolfgang Schuster napisał(a):
> 
> 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?

Well, obviously not:).  But I only wanted to show that it _is_ possible
to know in which line we are before we have the whole paragraph typeset
(although with limitations).  Sorry, it was a bit off-topic, but I
couldn't resist the temptation to point out that Wolfgang The Great TeX
Haxxor doesn't know something:P.
> 
> Wolfgang

regards

-- 
Marcin Borkowski (http://mbork.pl)

Szema Izrael: Adonai Elohenu, Adonai Ehad!
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to