# Math symbols in beamer frame

I am trying to write a presentation with beamer. I have a problem with the symbol of "lim" as you can see in the attachment file. What is happening? Thank you in advance for your help. My file is:

\documentclass[aspectratio=169]{beamer}
\mode<presentation>
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{unicode-math}
\begin{document}
\setmainfont{Palatino Linotype}
\setsansfont{Palatino Linotype}
\setmonofont{Verdana}
\setmathfont{Asana-Math}
\begin{frame}
$\displaystyle\lim_{x\to 0}f(x)$,
\end{frame}
\end{document}

• What is with lim? – user11232 Jan 20 '15 at 14:17
• The code worked for me compiled with MikTeX-xelatex. – Ignasi Jan 20 '15 at 14:20
• Please reduce your code to the minimum. For example I can not compile it due to proprietary fonts. You should make it as simple as possible to us, to reproduce your error. And as short as possible: If you have a problem with the \lim, the MWE should read like \documentclass{... \begin{document}\begin{frame}$\displaystyle\lim_{x\to 0}f(x)$\end{frame}\end{document} – LaRiFaRi Jan 20 '15 at 15:31
• Term "lim" isn't dispayed. – tassos Jan 21 '15 at 6:18
• When I have removed package unicode-math in combination with Asna -Math the problem with "\dipslaystyle\lim_{x\to 0} in resolved, that is lim is dispalyed, but I have lost some greek characters. – tassos Jan 21 '15 at 8:21

The problem appears due to the use of unicode-math (deleting line by line and all the extra fonts showed this...).

You will have to put \usefonttheme{professionalfonts} to your preamble. For more information see here.

% arara: xelatex

\documentclass[aspectratio=169]{beamer}
\usefonttheme{professionalfonts}
\usepackage{fontspec}
\usepackage{unicode-math}

\begin{document}
\begin{frame}
$\displaystyle\lim_{x\to 0}$
\end{frame}
\end{document}