summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty15
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty b/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
index 5ef37d761b9..8e092968dd6 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
@@ -9,7 +9,7 @@
%
% See the file doc/licenses/LICENSE for more details.
-\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaseoverlay.sty,v 6afbc49b1109 2012/11/11 20:09:38 joseph $
+\ProvidesPackageRCS $Header: /Users/joseph/Documents/LaTeX/beamer/base/beamerbaseoverlay.sty,v 39bc573c5bfc 2013/11/17 16:36:53 joseph $
%
%
@@ -840,5 +840,18 @@
}
}
+% Make sure \pause is correctly ended when used inside a TikZ picutre
+\AtBeginDocument
+ {
+ \begingroup\expandafter\expandafter\expandafter\endgroup
+ \expandafter\ifx\csname endtikzpicture\endcsname\relax
+ \else
+ \begingroup
+ \toks0\expandafter{\endtikzpicture}%
+ \xdef\endtikzpicture{\noexpand\beamer@endcovered\the\toks0}%
+ \endgroup
+ \fi
+ }
+
\mode
<all>