I have the following really specific issue, which is probably just a bug in the thmtools package, but I'm wondering if I can work around it.
Basically, if I include the parskip
package and try to use the shaded
style of the thmtools
package, then the vertical spacing inside the theorem environment gets messed up, with all the blank space disappearing between paragraphs and between items of enumerated lists, like this:
Is there a way that I can fix this issue?
Here's the MWE code:
\documentclass{article}
\usepackage{amsthm}
\usepackage{thmtools}
\declaretheorem[shaded]{theorem}
\usepackage{parskip}
\begin{document}
\begin{theorem}
The following is an enumerated list:
\begin{enumerate}
\item one
\item two
\item three
\end{enumerate}
This is a paragraph.
This is another paragraph.
\end{theorem}
Here is the same content outside of a theorem environment:
\begin{enumerate}
\item one
\item two
\item three
\end{enumerate}
This is a paragraph.
This is another paragraph.
\end{document}