How do I enumerate theorems in a beamer using \newtheorem
with the amsthm package?
1 Answer
You need to add \setbeamertemplate{theorems}[numbered]
to your preamble:
Here is a full minimal working example:
\documentclass{beamer}
\setbeamertemplate{theorems}[numbered]
\begin{document}
\begin{frame}
\begin{theorem}
This is the beginning of Theorem 1.
\end{theorem}
\end{frame}
\end{document}
-
Thanks! Do you know how I make the beamer number the definitions in the same way as the theorems? Sep 15, 2016 at 3:17
-
1@FrodeBjørdal Did you try? When the numbering of theorems is enabled all of the pre-defined theorem-like environments share a common counter. When asking questions please, at a minimum, test a minimal working example. This will help you fine-tune your question and make it easier for people to understand what you are asking and make it easier for them to help you.– user30471Sep 15, 2016 at 5:26