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".
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".
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.
\documentclass{article}
\usepackage{arevmath,arevtext}
\begin{document}
Some text before the display
\[
3x^7i + \sqrt{9}{y} = \cos z^4
\]
and after.
\end{document}

\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}

\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}

beamermath to look likearticlemath – Werner Jan 12 '15 at 22:04\sfdefault, the sans-serif default family, which is Computer Modern Sans. So just\renewcommand*{\familydefault}{\sfdefault}. – musarithmia Jan 12 '15 at 22:05\renewcommand*{\mathfamilydefault}{\sfdefault}(seebeamer.cls, lines 255-256) – musarithmia Jan 12 '15 at 22:28beamercommand and attempting to redefine it that way inarticlewill just give an error. Moreover using\newcommand*instead, while it wouldn't give you an error, would not, just in itself, have any effect. – cfr Jan 13 '15 at 02:36