[texhax] texhax Digest, Vol 2009, Issue 379

Susan Dittmar Susan.Dittmar at gmx.de
Tue Oct 6 16:55:04 CEST 2009

Quoting Toby Cubitt (tsc25 at cantab.net):
> Really? I just tried \renewenvironment{paragraph}{foo}{bar} and it
> happily defines the new paragraph environment (redefining the \paragraph
> command behind the scenes, with no complaints).

No complaints only because you did not put it through tests. With \re...
you circumvented exactly the tests the others ran into. But your code will
break a lot of existing examples -- anything using the standard \paragraph
syntax. Probably without any helpful error messages -- TeX will just be
missing \end's. It's much safer to give it a unique name as it differs
quite a bit from the standard \paragraph.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20091006/c0e25c3b/attachment.bin>

More information about the texhax mailing list