[OS X TeX] Embedding environment contents in a macro

ccr-mactex at creutzig.de ccr-mactex at creutzig.de
Mon Sep 2 11:29:05 EDT 2002



Michael Jeffries <mj at cds.caltech.edu> writes:

> The problem now is this: I've defined the environment
> -------------
> \newenvironment{env}{\begin{envcomment}\begin{innerenv}}
> {\end{innerenv}\end{envcomment}}
> -------------

\newenvironment{env}{\envcomment\innerenv}%
{\endinnerenv\endenvcomment}

should work.  See the documentation of verbatim.sty for why.

-- 
    +--+
   +--+|   
   |+-|+            Christopher Creutzig (ccr at mupad.de)
   +--+                     Tel.: 05251-60-5525

-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the MacOSX-TeX mailing list