[texhax] making LaTeX-environment from existing command

Alexander Grahn A.Grahn at fzd.de
Thu Aug 16 11:37:48 CEST 2007


>Unfortunately, I cannot put unbalanced {'s and }'s into the begdef and
>enddef parameters of \newenvironment.

I must correct myself, the begdef and enddef parameters tolerate opening
and closing braces. The following code seems to work as expected:

\newenvironment{storetoks}{\global\mytoks{}{}}

Yours,
Alexander


More information about the texhax mailing list