CTAN has a new package: environ
Date: September 23, 2007 10:23:56 AM CEST
A new package has been installed at tug.ctan.org and should soon be
at your favorite mirror.
Thank you,
Jim Hefferon
Saint Michael's College
......................................................................
The following information was provided by our fellow contributor:
Name of contribution: environ
Author's name: Will Robertson
Location on CTAN: /macros/latex/contrib/environ
Summary description: A new environment interface
License type: lppl
Announcement text:
This package defines amsmath's \collect at body, as well as a \long version \Collect at Body, for collecting the body text inside an environment. These are used to define a new author interface for creating new environments that might be useful on occassion. For example, \NewEnvironment{test}{[#1]} wraps the entire environment body in square brackets, doing the right thing in ignoring leading and trailing spaces.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/environ . More information is at http://tug.ctan.org/pkg/environ (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
This package defines amsmath's \collect at body, as well as a \long version \Collect at Body, for collecting the body text inside an environment. These are used to define a new author interface for creating new environments that might be useful on occassion. For example, \NewEnvironment{test}{[#1]} wraps the entire environment body in square brackets, doing the right thing in ignoring leading and trailing spaces.
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/environ . More information is at http://tug.ctan.org/pkg/environ (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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.
Package | environ |
Version | 0.3 |
Copyright | 2007, 2013 Will Robertson |
Maintainer | Will Robertson |