Directory 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 |
Download the complete
contents of this directory in one zip archive
(147.0k).
environ – A new interface for environments in LaTeX
The package provides the \collect@body command (as in
amsmath), as well as a \long
version \Collect@Body, for collecting the body text of an
environment.
These commands are used to define a new author interface to
creating new environments. For example:
\NewEnviron{test}
wraps the entire environment body in square brackets, doing the
right thing in ignoring leading and trailing spaces.
| Documentation |
Readme Package documentation |
| Version | 0.3 |
| License | The LaTeX Project Public License |
| Copyright | 2007, 2013 Will Robertson |
| Maintainer | Will Robertson |
| Contained in | TeXLive as environ |
| MiKTeX as environ | |
| Topics |
support for development of TeX macros |
