Scientific typography makes an important distinction between italic type and roman (upright) type (exemplary source).
The symbol for kinetisch energy is E_k with E printed in italic type, k printed in roman type.
Normally, I would write that as E_{\mathrm{k}}
.
However, that does not work with beamer
. The package changes normal math to a sans-serif font, but leaves \mathrm
a serif-font. The subscript k will be typeset in a serif-font, but it should simply match the default math font, just being upright.
So how do I get the intended behavior in beamer?
\documentclass{beamer}
\begin{document}
\begin{frame}
$E_{\mathrm{k}}$
\end{frame}
\end{document}
(Other packages that switch to sans-serif math fonts also redefine mathrm
to be sans-serif and, of course, upright, e.g. cmbright, sfmath and arevmath.)