\gdef
to define a macro globally inside the environment. But note: In case of nested usage of the environment, the last \gdef
will be the valid one independent of the nest level.\gdef
to define a macro globally inside the environment. But note: In case of nested usage of the environment, the last \gdef
will be the valid one independent of the nest level.\sloppy
ends within the group in which it is used. So if you do use it inside \begin{document}…\end{document}
but not inside an additional environment or group, it does not really end before termination of TeX, because document
is an environment, that does not start and end a group.|\\
from your code.