When using the LaTeX class siamltx
(from the SIAM page) together with amsthm (which I need for its theoremstyle
command), I'm getting the error message
! LaTeX Error: No counter 'Theorem' defined.
The following code reproduces the error.
\documentclass{siamltex}
\let\proof\relax
\let\endproof\relax
\usepackage{amsthm}
\begin{document}
\begin{theorem}
dasdas
\end{theorem}
\end{document}
Any way around this?
siamltex
is not compatible withamsthm
, because it redefines macros such as\@begintheorem
in a way thatamsthm
can't deal with.\newtheorem
was defined by theamsthm
package. My mistake. I'll delete my earlier comment.texdoc source2e
to see what is in the core.