muzimuzhi / thmtools

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

Support \listoftheorems in beamer #18

Open muzimuzhi opened 3 years ago

muzimuzhi commented 3 years ago

Compared to standard classes, beamer uses a different scheme for recording list-of entries, with which the \listoftheorems in thmtools is not compatible.

Example:

\documentclass[noamsthm]{beamer}
\usepackage{thmtools}
\declaretheorem{theorem}

\begin{document}
\begin{frame}
  \listoftheorems
\end{frame}

\begin{frame}
  \begin{theorem}
    content
  \end{theorem}

  \begin{theorem}
    content
  \end{theorem}
\end{frame}
\end{document}