When working in latex I can do an environment like
\begin{some}
stuff
\end{some}
and stuff happen and I can define my own environments, I am working on something and what I want to do is essentially to grab everything that was "stuff" in the example and do something to it during the end part of the definition, how would I go about that?
environ
package then do\NewEnviron{some}{Do things with \BODY}
. Then when you call\begin{some} stuff \end{some}
you getDo things with stuff
.