Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/environ

___________________
The ENVIRON package
v0.3

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:

  \NewEnviron{test}[3][]{"#1,#2,\BODY,#3"}
  \begin{test}[zero]{one}{last}
    three\par four
  \end{test}

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

Files

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:
  \NewEn­v­i­ron{test}
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.

Doc­u­men­ta­tion
Ver­sion0.3
Li­censeThe LaTeX Project Public Li­cense
Copy­right2007, 2013 Will Robert­son
Main­tainerWill Robert­son
TDS archiveenviron.tds.zip
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-20 07:45 CEST