\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.Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis