Settings Help
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/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-2008, 2013
Distributed under the LaTeX Project Public License


Name Size Date Notes
README 551 2013-04-01 01:48:23
environ.dtx 18119 2013-04-01 01:48:23
environ.ins 1664 2013-04-01 01:48:23
environ.pdf 144919 2013-04-01 01:48:23

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (147.0k).

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

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­censeThe LaTeX Project Public Li­cense
Copy­right2007, 2013 Will Robert­son
Main­tainerWill Robert­son
Con­tained inTeXLive as en­v­i­ron
MiKTeX as en­v­i­ron
Topics sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact 2014-04-19 15:16 CEST