Skip to content

restate key incompatible with beamer #58

@mbertucci47

Description

@mbertucci47

The restate key fails if used with beamer. The restatable environment works fine. Something to do with the way beamer grabs the contents of a frame, I assume.

\documentclass{beamer}
\setbeamertemplate{theorems}[numbered]
\usepackage{thmtools}

\declaretheorem{MyTheorem}

\begin{document}

\begin{frame}%[fragile] % "fragile" does not fix it

\begin{MyTheorem}[restate=foo]
text
\end{MyTheorem}

%% This works fine.
%\begin{restatable}{MyTheorem}{foo}
%text
%\end{restatable}

\foo*

\end{frame}

\end{document}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions