Skip to content

Commit

Permalink
disable beamer's meddling
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
wspr committed Sep 13, 2009
1 parent 4cdb3bc commit 3749099
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions unicode-math.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2596,6 +2596,21 @@ This work consists of the files unicode-math.dtx and unicode-math-table.tex
% \end{macrocode}
% \end{macro}
%
% Interaction with \textsf{beamer}:
% \begin{macrocode}
\AtBeginDocument{
\@ifpackageloaded{beamer}{
\ifbeamer@suppressreplacements\else
\PackageWarningNoLine{unicode-math}{
Disabling~ beamer's~ math~ setup.^^J
Please~ load~ beamer~ with~ the~ [professionalfont]~ class~ option
}
\beamer@suppressreplacementstrue
\fi
}{}
}
% \end{macrocode}
%
% The end.
% \begin{macrocode}
\ExplSyntaxOff
Expand Down

0 comments on commit 3749099

Please sign in to comment.