| 1 |
LaTeX package 'multienv' |
| 2 |
======================== |
| 3 |
Copyright (c) 2012 by Martin Scharrer <[email protected]> |
| 4 |
CTAN: <http://www.ctan.org/pkg/multienv> |
| 5 |
Code repository: <https://bitbucket.org/martin_scharrer/multienv> |
| 6 |
|
| 7 |
This package provides a multienv environment which allows to easily |
| 8 |
add multiple environments using a key=value syntax. Macros to define |
| 9 |
environments using this syntax are also provided. |
| 10 |
|
| 11 |
Example: |
| 12 |
-------- |
| 13 |
|
| 14 |
The following 'multienv' environment: |
| 15 |
|
| 16 |
\begin{multienv}{enva,envb=arg,add code={code before}{code after}, |
| 17 |
envc=[oarg]{marg}} |
| 18 |
content |
| 19 |
\end{multienv} |
| 20 |
|
| 21 |
is basically identical to: |
| 22 |
|
| 23 |
\begin{enva} |
| 24 |
\begin{envb}{arg} |
| 25 |
code before |
| 26 |
\begin{enc}[oarg]{marg} |
| 27 |
content |
| 28 |
\end{enc} |
| 29 |
code after |
| 30 |
\end{envb} |
| 31 |
\end{enva} |
| 32 |
|
| 33 |
except that actually the "plain" form together with explicit groups |
| 34 |
is used: \begingroup\enva .. \endenva\endgroup. |
| 35 |
|