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.sty2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
index f62ab535a52..33fc7276499 100644
--- a/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
+++ b/Master/texmf-dist/tex/latex/beamer/beamerbasecolor.sty
@@ -305,6 +305,8 @@
\def\underline#1{{\donotcoloroutermaths\beamer@orig@underline{#1}}}
% Fix $ usage in underline:
+ \let\beamer@orig@@textsubscript=\@textsubscript
+ \def\@textsubscript#1{{\donotcoloroutermaths\beamer@orig@@textsubscript{#1}}}
\let\beamer@orig@@textsuperscript=\@textsuperscript
\def\@textsuperscript#1{{\donotcoloroutermaths\beamer@orig@@textsuperscript{#1}}}