Here's a MWE:
\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage{lucidabr}
\usefonttheme{professionalfonts}
%\usefonttheme[stillsansseriftext,stillsansserifsmall,stillsansseriflarge,stillsansserifmath]{serif}
\begin{document}
\begin{frame}{Test}
123 and $123$ and $$123$$
\end{frame}
\end{document}
123 and $123$ look different because one is sans serif and the other is not. I want them to look the same. I can achieve this using the line which is currently commented out, but it seems a bit silly to use the serif font theme only to switch it off again via a long list of options. Is there a simpler, more canonical way to make both 123 and $123$ sans serif?
(Also, do I understand the Beamer documentation correctly in that I don't have to use the professionalfonts theme with lucidabr?)
\usepackage{mathastext}? – Davislor Sep 23 '20 at 14:05unicode-mathand Lucida Math, or the 8-bitlucimatx. – Davislor Sep 23 '20 at 14:09lucidabris the package needed to load them.lucimatxis a package MiKTeX doesn't seem to know about. – Frunobulax Sep 23 '20 at 16:26