Proper Treatment 正當作法/ blog/ posts/ Beamer and mathdesign
標籤 Tags:
2008-08-17 19:19

I like to use the Beamer presentation class and the mathdesign font package in LaTeX. However, it’s a bit tricky to use the two together, because beamer loads amssymb, which mathdesign supercedes and is incompatible with. The solution below fools beamer into thinking that amssymb is loaded but comforts mathdesign that amssymb is not loaded.

% beamer shouldn't load amssymb given mathdesign
\expandafter\let\csname ver@amssymb.sty\endcsname\empty
\documentclass{beamer}
\expandafter\let\csname ver@amssymb.sty\endcsname\relax
\usefonttheme{serif}
\usepackage{charter}
\usepackage[charter]{mathdesign}