dikdirk

Unregistered less info
51 reputation
12
bio website
location
age
visits member for 2 years, 5 months
seen Apr 9 '12 at 18:54

Jul
28
awarded  Notable Question
Apr
9
awarded  Popular Question
Apr
9
asked Reduce vertical spacing itemize and multicols
Mar
2
answered Making an environment that stores stuff in a box
Feb
29
comment Making an environment that stores stuff in a box
If I remove the \BODY and just put some text there it works, but if for some reason I can't get it to work like this... do you guys have any suggestions?
Feb
29
comment Making an environment that stores stuff in a box
\documentclass{article} \usepackage{environ} \NewEnviron{patternn}[1] {% \textbf{Pattern} \BODY \newsavebox#1% \expandafter\lrbox#1 \BODY \endlrbox } \begin{document} \begin{patternn}{\aaa} test2 \end{patternn} \end{document}
Feb
29
comment Making an environment that stores stuff in a box
Thank you all for the responses, I'm really learning a lot about how this macro/environment stuff works. I combined your answers into the following:
Feb
26
awarded  Student
Feb
26
asked Making an environment that stores stuff in a box