summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty
index 64105e3a4ef..f07dab62601 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty
@@ -90,8 +90,10 @@
%
% Fix for older versions of geometry
-%
-\ifx\ifGm@compatii\@undefined%
+% We used to test \ifGm@compatii,
+% but as of geometry v5.0, it is no longer provided.
+%
+\ifx\Gm@lmargin\@undefined
\def\Gm@lmargin{\Geom@lmargin}\def\Gm@rmargin{\Geom@rmargin}
\else
\geometry{includeheadfoot}