I have beamer
presentations I've been using for some years in class. This year, I discovered problems with the libertine
package and following advice from this forum (Libertine package options with boldface and emphasis change numeric text) switched to libertinus
. I now find that the various math arrows in my presentations fail to display.
Here's an MWE:
\documentclass{beamer}
\usetheme{Warsaw}
%EDIT: inserting \usefonttheme{professional fonts} here avoids the problem
\usepackage{libertinus}% works fine with libertine
\begin{document}
\begin{frame}{Frame name}
\begin{itemize}
\item This is text.
\item Rightarrow ($\Rightarrow$)
\end{itemize}
\end{frame}
\end{document}
I have determined that
- replacing
libertinus
withlibertine
works fine; or - replacing
xelatexmk
withpdflatexmk
works fine; or - replacing
beamer
with (say) article works fine.
It seems to be this particular combination.
xelatexmk
was part of the MacTeX
bistro and moved from the inactive engines folder. I do need XeLaTeX
but perhaps this is no longer the way to do this?
I am curious as to the nature of the conflict....
EDIT: the suggestion by jfbu below does indeed solve my problem. From the beamer
documentation regarding professionalfonts
:
Beamer normally replaces certain character glyphs in mathematical text by more appropriate versions. .... If your professional font package takes care of this already, Beamer’s meddling should be switched off [by using
\usefonttheme{professionalfonts}
].
I still wonder why the problem was introduced in this specific combination, however! (but can live in ignorance if need be :) )
EDIT #2: It would appear that the beamer
package issue which I reported earlier today has already been addressed (Turn off font substitution for unicode-math) and should be implemented shortly. In effect, `beamers changes will be also suppressed when a unicode-math is loaded.
libertinus
to the list of packages automatically triggering the equivalent of\usefonttheme{professionalfonts}
.