summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty')
-rw-r--r--macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty11
1 files changed, 8 insertions, 3 deletions
diff --git a/macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty b/macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty
index c77970cd31..b3638febe5 100644
--- a/macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty
+++ b/macros/latex/contrib/beamer/base/beamerbaseauxtemplates.sty
@@ -190,8 +190,8 @@
% prevents the period to be printed with the first/last section option
\ifnum\beamer@tempcount>\beamer@toclastsection
\else
- \ifnum\beamer@tempcount>0
- \inserttocsectionnumber.
+ \ifnum\beamer@tempcount>0
+ \inserttocsectionnumber.
\fi\fi%
\inserttocsection\par%
}
@@ -854,7 +854,12 @@
\defbeamertemplate{theorem end}{numbered}
{\end{\inserttheoremblockenv}}
-
+\AtBeginDocument{%
+ \addtobeamertemplate{theorem begin}{%
+ \expandafter\GetTitleString\expandafter{\inserttheoremaddition}%
+ \let\@currentlabelname\GetTitleStringResult}{}%
+ }
+
\defbeamertemplate{theorem begin}{normal font}
{
\normalfont