summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty')
-rw-r--r--Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty41
1 files changed, 3 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
index f2c6104ec20..f62ab535a52 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
@@ -334,33 +334,6 @@
}
%
-% Address the lack of a proper galley structure in LaTeX2e for dealing
-% with colour on the MVL (cf. xgalley for a long-term solution)
-%
-\newcommand*\if@minipage@and@vmode@TF{%
- \relax % In case we are in an alignment
- \ifvmode
- \if@minipage
- \expandafter\expandafter\expandafter\@firstoftwo
- \else
- \expandafter\expandafter\expandafter\@secondoftwo
- \fi
- \else
- \expandafter\@secondoftwo
- \fi
-}
-\newcommand*\set@minipage@color{}
-\def\@setminipage{%
- \@minipagetrue
- \everypar{%
- \@minipagefalse % Before the hook so \if@minipage is FALSE
- \set@minipage@color
- \gdef\set@minipage@color{}%
- \everypar{}%
- }%
-}
-
-%
% Allow mixins to survive groups:
%
@@ -373,17 +346,7 @@
\def\set@color{%
\edef\beamer@current@colorhook{\beamer@colorhook}%
- \if@minipage@and@vmode@TF
- {%
- \begingroup
- \let\reset@color\relax
- \edef\@tempa{\beamerorig@set@color}% Force colour value to be saved
- % Add the colour setting to the minipage hook
- \expandafter\endgroup
- \expandafter\g@addto@macro\expandafter\set@minipage@color
- \expandafter{\@tempa}%
- }
- {\beamerorig@set@color}}
+ \beamerorig@set@color}
\def\reset@color{%
\beamer@lastskip=\lastskip%
\edef\beamer@lastskiptexta{\the\lastskip}%
@@ -407,6 +370,8 @@
\fi%
}
+
+
% compatibility:
\AtBeginDocument{