Some definitions and theorems end with an itemize. When I use pure amsthm this looks good, but when I use thmtools+amsthm it looks ugly with too much space below the theorem. I do not see what I have done wrong in my \declaretheoremstyle.
Could somebody please help me?
\documentclass{article}
\usepackage{amsthm}
%%%%%%%%%%% Uncomment to use pure amsthm %%%%%%%%%%%%
% \newtheorem{mytheorem}{Mytheorem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%% Comment out to use pure amsthm %%%%%%%%%%
\usepackage{thmtools}
% Set all vertical spaces I know of to zero to illustrate issue.
\declaretheoremstyle[
spaceabove=0pt,
spacebelow=0pt,
headfont=\normalfont\bfseries,
notefont=\bfseries,
notebraces={(}{)},
bodyfont=\normalfont,
qed={},
headpunct={.}
]{mytheoremstyle}
\declaretheorem[style=mytheoremstyle, name=MyTheorem]{mytheorem}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\noindent
Text before theorem without indent for clarity.
\begin{mytheorem}
Here is my theorem with itemize inside it.
\begin{itemize}
\item My item A.
\item My item B.
\end{itemize}
\end{mytheorem}
\noindent
Text after the theorem without indent for clarity.
\begin{mytheorem}
Here is another theorem without any itemize inside it.
\end{mytheorem}
\noindent
Final text here without indent for clarity.
\end{document}
qed={}
. If you remove that, things get much more squished.