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