CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/environ

The ENVIRON package

Provides two things: a new way of defining
environments that read their contents before
processing; and, a \long version of amsmath's
\collect@body macro called \Collect@Body.

Here's an example:

    three\par four

Produces the equivalent of:

  "zero,one,three\par four,last"

Will Robertson
wspr 81 [at] gmail [dot] com

Copyright 2007-2014
Distributed under the LaTeX Project Public License
%% ^^A Test that \RenewEnvironment works correctly:

Down­load the con­tents of this pack­age in one zip archive (158.0k).

en­v­i­ron – A new in­ter­face for en­vi­ron­ments in

The pack­age pro­vides the \col­lect@body com­mand (as in ams­math), as well as a \long ver­sion \Col­lect@Body, for col­lect­ing the body text of an en­vi­ron­ment.

Th­ese com­mands are used to de­fine a new au­thor in­ter­face to cre­at­ing new en­vi­ron­ments. For ex­am­ple:
wraps the en­tire en­vi­ron­ment body in square brack­ets, do­ing the right thing in ig­nor­ing lead­ing and trail­ing spaces.

Li­censesThe Project Public Li­cense
Copy­right2007, 2013 Will Robert­son
Main­tainerWill Robert­son
TDS archiveenviron.tds.zip
Con­tained inTeX Live as en­v­i­ron
MiKTeX as en­v­i­ron
TopicsMacro sup­port
Guest Book Sitemap Contact Contact Author