[texhax] question about newline

M.E. Diedrich m.e.diedrich at econ.keele.ac.uk
Sat Oct 23 21:34:22 CEST 2004

Philip G. Ratcliff WROTE:
> \def\mymacro#1 \par{blah blah #1 blah blah}
> The space before \par will caise the implicit trailing space to be eaten.

I agree.  I've used a simple construction of this type routinely in
countless macros in many contexts, including fairly complex book packages.
There's very little that can go wrong with it, except of course if
you forget the empty line, in which case the macro swallows rather
more text than planned! :-)

m.e.diedrich at econ.keele.ac.uk

More information about the texhax mailing list