Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restate key incompatible with beamer #58

Open
mbertucci47 opened this issue Dec 15, 2023 · 0 comments
Open

restate key incompatible with beamer #58

mbertucci47 opened this issue Dec 15, 2023 · 0 comments

Comments

@mbertucci47
Copy link
Collaborator

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}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant