1

I cannot determine why this does not compile unless I remove amsthm which I normally include, though I don't exactly know why.

\documentclass{article}
\usepackage{amsthm}
\usepackage{mathtools, thmtools}

\usepackage[capitalize]{cleveref}


\declaretheorem[style=plain,numberwithin=section,name=Theorem]{theorem}
\declaretheorem[style=plain,sibling=theorem,name=Lemma]{lemma}
\usepackage{hyperref}

\begin{document}

\begin{theorem}
This is a test.
\end{theorem}

\begin{lemma}
This is a test.
\end{lemma}

\end{document}
D.R.
  • 111

0 Answers0