There are similar questions on this site, but nothing quite fixed this problem for me.
When using amsmath
with ntheorem
I get either a missing end of theorem symbol (when my theorem ends with an equation) or my cross-referencing gets screwed up.
Here is a minimal example of the missing end of theorem mark:
\documentclass{article}
\usepackage{amsmath}
\usepackage[thmmarks,amsmath]{ntheorem}
\theoremsymbol{*}
\newtheorem{myDefinition}{Definition}
\begin{document}
\begin{myDefinition}
I don't get my end of definition mark \ldots
\begin{equation}
x=y
\label{test}
\end{equation}
\end{myDefinition}
\ldots but the equation cross-reference works: \eqref{test}.
\end{document}
Here is a minimal example of the screwed-up cross-referencing (the argument amsmath
has been omitted from the ntheorem
package call):
\documentclass{article}
\usepackage{amsmath}
\usepackage[thmmarks]{ntheorem}
\theoremsymbol{*}
\newtheorem{myDefinition}{Definition}
\begin{document}
\begin{myDefinition}
Now I get my end of definition mark \ldots
\begin{equation}
x=y
\label{test}
\end{equation}
\end{myDefinition}
\ldots but the equation cross-reference fails: \eqref{test}.
\end{document}
I'm probably missing something obvious.