Closed emalizia closed 1 month ago
Issue was found to be part of the makethm
definition. As opposed to thmtools
, the white space is after the theorem, not before.
Vertical space is caused by \write
in the definition of makethm
. See https://tex.stackexchange.com/questions/350339/texs-write-command-sometimes-induces-a-spurious-vertical-space.
Fixed with commit fdcfc283eab83131bd72a8c96b8c99c035059090. This will be included with version 1.2 as soon as https://github.com/JesseStraat/reptheorem/issues/3 is fixed, as well.
Hi @emalizia,
The bug has been fixed, and version 1.2 has been uploaded to CTAN (with better documentation this time...). It will soon be included in most major distributions besides Overleaf (they only update their packages once a year).
Great! Thanks
Hi,
It seems that additional vertical space is left between restatable theorems. Consider the following MWE:
In the output of the MWE above, for the initial sequence of theorem declarations, there is a bigger vertical space between the theorems, compared to the vertical space between the repeated theorems in the second part of the document. I don't know exactly why this happens. It seems to be something similar to what
thmtools
does for itsrestatable
theorems (see, e.g., https://tex.stackexchange.com/questions/111639/).