muzimuzhi / thmtools

New home for LaTeX package bundle thmtools
LaTeX Project Public License v1.3c
18 stars 3 forks source link

thmtools equivalent to \theoremseparator? #1

Closed dbitouze closed 4 years ago

dbitouze commented 4 years ago

While one could expect thmtools' postheadhook to be analogous to ntheorem's \theoremseparator, that's not the case as shown by the following MCE:

\documentclass{article}
\usepackage{ntheorem}
\usepackage{thmtools}
%
\declaretheorem[title=Foo,postheadhook=separator]{foo}
%
\theoremstyle{plain}
\theoremseparator{separator}
\newtheorem{foobis}{Foo}
%
\begin{document}
\begin{foo}
Bar
\end{foo}
\begin{foobis}
Bar
\end{foobis}
\end{document}

test

Would be nice for thmtools to provide an equivalent to \theoremseparator.

dbitouze commented 4 years ago

Sigh... Done by headpunct.