-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The theorem printed by the restatable
has extra vertical space above it. The same goes for the restated theorem from a restatable*
(but not the restatable*
itself). There is no issue with the restated theorems from a restatable
environment or theorems using the restate
key. Here's an example:
\documentclass{article}
\usepackage{amsthm,thmtools,kantlipsum}
\declaretheorem{theorem}
\begin{document}
\begin{theorem}
\kant[2][1]
\end{theorem}
\begin{theorem}[restate=foo]
\kant[1][2]
\end{theorem}
\begin{theorem}
\kant[2][1]
\end{theorem}
\foo*
\begin{theorem}
\kant[2][1]
\end{theorem}
\begin{restatable}{theorem}{foobar}
\kant[1][3]
\end{restatable}
\begin{theorem}
\kant[2][1]
\end{theorem}
\foobar*
\begin{theorem}
\kant[2][1]
\end{theorem}
\begin{restatable*}{theorem}{blub}
\kant[1][4]
\end{restatable*}
\begin{theorem}
\kant[2][1]
\end{theorem}
\blub
\begin{theorem}
\kant[2][1]
\end{theorem}
\end{document}
Apologies for the length; I wanted to show all possible behaviors with normal theorems interspersed. The space above the restatable
environment theorem and the restated \blub
is too big.
Metadata
Metadata
Assignees
Labels
No labels