Hello,
Let it be a simple environment with one parameter
\newenvironment{testenv}[1]
{
#1
}
Used like this
\begin{testenv}{Any text}
\label{testenv1}
The parameter is '#1'
\end{testvenv}
Is there a way to have access to the to parameter #1 using the environment label? Something like ...
Search found 1 match
- Fri Mar 04, 2022 5:58 pm
- Forum: General
- Topic: Getting an environment parameter outside the environment
- Replies: 1
- Views: 2411