You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
The text was updated successfully, but these errors were encountered:
The
restate
key fails if used with beamer. Therestatable
environment works fine. Something to do with the way beamer grabs the contents of a frame, I assume.The text was updated successfully, but these errors were encountered: