I would like to have the claims in the proof of a given theorem or proposition numbered independently from those in a different theorem or proposition. This question has already been asked here: ntheorem: numbering of claim and its proof. However, I must be doing something wrong as it does not work for me. Typing
\documentclass[11pt]{amsart}
\theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \newtheorem{prop}[thm]{Proposition} \newtheorem{claim}[thm]{Claim}
\begin{document}
\section{blah}
\begin{thm}
\begin{claim}
\end{claim}
\end{thm}
\begin{prop}
\begin{claim}
\end{claim}
\end{prop}
\end{document}
does not number claims within the theorem or proposition they refer to but sequentially to them. I tried also with \usepackage[thmmarks]{ntheorem}
, but it gives me an error:
(Package ntheorem Error: Theorem style plain already defined.)
What am I doing wrong?
amsart
class which defines many featuresntheorem
wants to provide as well -- and this must conflict. It is stated in the documentation ofntheorem
, thatamsthm
shouldn't be used withntheorem
, the same is true foramsart