Commits

Joseph Wright  committed 73834bc

Load accent-kerned CMSS directly (fixes issue #213)

The sansmathaccent package delays this until \AtBeginDocument, but this
breaks the bm package.

Open question: should I fix the fact that the resulting output is upright
not slanted in bold?

  • Participants
  • Parent commits 97e5b36

Comments (0)

Files changed (1)

File base/beamerbasefont.sty

 
 % Some font fixes
 \ifbeamer@sansmath
-  \IfFileExists{sansmathaccent.sty}
-    {\RequirePackage{sansmathaccent}}
-    {}
+  \def\@tempa{cmss}
+  \ifx\mathfamilydefault\@tempa
+    \IfFileExists{sansmathaccent.sty}
+      {\DeclareSymbolFont{pureletters}{OT1}{mathkerncmss}{m}{sl}}
+      {}
+  \fi
 \fi
 
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}