# MinionPro is erroneous when using beamer

I've installed MinionPro on OSX using the instructions here, after getting the free version of the font. The code generated too much output to paste here, but it appeared ok. I've then tried the following small working example:

% !TeX document-id = {ab57b317-99c9-42bf-84cf-986427da740b}
% !TEX encoding = UTF-8 Unicode
\documentclass{beamer}
\usepackage{MinionPro}
\begin{document}
\begin{frame}
This is a dot: $\dot a$.
\end{frame}
\end{document}


Unfortunately, the \dot is erroneously compiled for me, as can be seen by the following picture. Which part of the installation did I mess up - what can I do to fix this?

• It seems to be a problem with beamer: with, say, the article class, there's no problem. – Bernard Aug 11 '19 at 11:10
• @Bernard This is a strange one: If you use MinionPro without beamer, it works. If you use beamer with another font, it works as well. MWE here: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{MinionPro} \begin{document} \begin{frame}{titel} \begin{theorem} This is a dot: $\dot{a}$ \end{theorem} \end{frame} \end{document} – Keks Dose Aug 11 '19 at 11:20
• It doesn't work that well with, say, lmodern: beamer, unconcernedly, still uses its sans maths font, and the dot is ill-placed. – Bernard Aug 11 '19 at 11:47
• Try \usefonttheme{professionalfonts} (untested). – Ulrike Fischer Aug 11 '19 at 13:18
• @UlrikeFischer For whatever reason, that worked! You can set that up as an answer if you wish – FooBar Aug 11 '19 at 14:54

Load the professionalfonts theme. To quote the documentation:
\usefonttheme{professionalfonts}