Closed mbertucci47 closed 1 year ago
Sorry, this is an ntheorem
bug, not a thmtools
bug.
\documentclass{article}
\usepackage[thmmarks]{ntheorem}
\theoremsymbol{*}
\newtheorem{example}{Example}
\def\blub{blub}
\begin{document}
\begin{example}
\dots
\end{example}
\begin{example}
Not a command
\end{example}
\begin{example}
\blub
\end{example}
\end{document}
If the last thing in a theorem environment is a command without arguments, it seems ntheorem
suppresses the theorem symbol and adds extra vertical space. If thmtools
is loaded, a silly way to fix this is adding
\addtotheoremprefoothook{ }
to the preamble.
In thm-ntheorem.sty, there is
So the
qed
option should work in\declaretheoremstyle
as long as ntheorem is loaded with the thmmarks option. However,shows no qed symbol.
P.S. In
\thmt@notsupported
, "headindent" should be replaced with "qed" (addressed in #46).