Closed muzimuzhi closed 4 years ago
From this TeX-SX question: https://tex.stackexchange.com/q/555412
Currently, \listoftheorems always typeset
\listoftheorems
\numberline{1} Theorem ... \numberline{2} Definition ... \numberline{3} Definition ...
but user might want
Theorem 1 ... Definition 2 ... Definition 3 ...
\documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem{theorem} \declaretheorem[sibling=theorem]{definition} \begin{document} \section{Section} \begin{theorem}[Named Theorem] \end{theorem} \begin{definition}[Named Definition] \end{definition} \begin{definition} \end{definition} \listoftheorems \end{document}
From this TeX-SX question: https://tex.stackexchange.com/q/555412
Currently,
\listoftheorems
always typesetbut user might want