JH tries
getting amsthm
to work in the template
(the standard approach will not work because of conflicts with cleveref
)
That's why
- if
amsthm
is loaded in the main document's preamble - the
newtheorem
statements have to either
- be called after
begin{document}
or - wrapped in
\AtBeginDocument{}
This merge requests includes
\usepackage{amsthm}
-
\newtheorem
Theorem/Lemma with\AtBeginDocument
- documentation and examples as Section 4.2. Math Environments