# Set Math Font like in Beamer

How can I set the Beamer math font in a non-Beamer class (e.g., article)?

The motivation is that I prepare a poster and a presentation for a workshop which I would like to look as similar as possible, i.e. both should have a "Beamer style".

• – Werner Jan 12 '15 at 22:04
• Beamer uses the \sfdefault, the sans-serif default family, which is Computer Modern Sans. So just \renewcommand*{\familydefault}{\sfdefault}. – musarithmia Jan 12 '15 at 22:05
• @Werner Related in the sense of opposite problem. Unfortunately, I do not see how the suggestions there should help here. – gTcV Jan 12 '15 at 22:14
• @AndrewCashner This only works for the text font, not the math font. – gTcV Jan 12 '15 at 22:15
• @gTcV: That's why it's related, nothing else... – Werner Jan 12 '15 at 22:15

Given Andrew Cashner's comment, I think you probably just need the sfmath package. For example:

\documentclass{article}
\usepackage{sfmath}
\begin{document}
$3x^7i + \sqrt{9}{y} = \cos z^4$
\end{document}


Three choices with “real” sans serif math fonts.

## Option 1, Arev fonts

\documentclass{article}
\usepackage{arevmath,arevtext}
\begin{document}
Some text before the display
$3x^7i + \sqrt{9}{y} = \cos z^4$
and after.
\end{document}


## Option 2, Helvetica

\documentclass{article}
\usepackage[scale=.85]{tgheros}
\usepackage{newtxsf}
\renewcommand{\familydefault}{\sfdefault}
\DeclareSymbolFont{operators}{OT1}{\sfdefault}{m}{n}
\SetSymbolFont{operators}{bold}{OT1}{\sfdefault}{b}{n}
\begin{document}
Some text before the display $y$
$3x^7i + \sqrt{9}{y} = \cos z^4$
and after.
\end{document}


## Option 3, Iwona

\documentclass{article}
\usepackage[math]{iwona}
\begin{document}
Some text before the display $y$
$3x^7i + \sqrt{9}{y} = \cos z^4$
and after.
\end{document}