[texhax] \lettrine in \everypar?

Paul Isambert zappathustra at free.fr
Mon Nov 23 12:34:04 CET 2009


Hello,

You can't have \lettrine in \everypar because \lettrine takes the 
following two letters and then creates a new paragraph, which will 
execute \everypar, etc., and here comes the loop...
What you can do is:

\def\neweverypar{\everypar={\everypar={\neweverypar\lettrine}}}
\everypar={\neweverypar\lettrine}

So the new paragraph created after the lettrine has an \everypar whose 
content is simply to redefine \everypar with a lettrine, recursively... 
if you see what I mean.
But \everypar in LaTeX is far from fixed, so it might get redefined anaway.

Best,

Paul



More information about the texhax mailing list