[NTG-context] Environments
Manuel Blanco
manuelbl at ucm.es
Tue Jul 7 16:37:13 CEST 2015
Your code in the .sty is a little bit unconventional. In any case, the
most common in LaTeX is to use etoolbox package.
\usepackage{etoolbox}
\newenvironment{env}{whatever goes here}{whatever goes here}
\AtBeginEnvironment{env}{<begin environment>}
\AtEndEnvironment{env}{<end environment>}
\BeforeBeginEnvironment{<before environment>}
\AfterEndEnvironment{<after environment>}
More information about the ntg-context
mailing list