0

I'm curently working on an beamer presentation including equations. My problem is, that there aren't any amsmath symbols shown. The code is compiled without any error. Here are the used packages I identify as relevant:

\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[math-style=ISO, bold-style=ISO, sans-style=italic, nabla=upright, partial=upright]{unicode-math}
\setmathfont{Latin Modern Math}

The header is bascily an modified version of my normal COMA-class header, where all amsmath-symbols are working like a charm. Second problem is, that there are no german-special-characters like ä, ü, ö, ß shown if I use them directly. I have to type them manualy (\ss etc.).

Thanks in advance.

Edit: A small demonstration. \rho and \approx are not displayed in the .pdf, same with the umlauts.

\documentclass{beamer}
\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[math-style=ISO, bold-style=ISO, sans-style=italic, nabla=upright, partial=upright]{unicode-math}
\setmathfont{Latin Modern Math}
\usetheme{default}

\begin{document}
\maketitle
\frame{
\frametitle{Inhalt}
Lorem ipsum....
\begin{equation}
\rho \approx \frac{M}{V}
\end{equation}
Some umlauts: ä ö ü ß 
}
\end{document}
  • 2
    Show a complete (but small) document that demonstrates your problem. Your snippet is not enough. – Ulrike Fischer Oct 25 '17 at 19:55
  • Edited the main post. – RDom Oct 26 '17 at 11:20
5

The umlauts should work if your file is correctly encoded in utf8.

For the math symbols you must use the professionalfonts theme if you want to use unicode-math to avoid that beamer resets the math fonts.

\documentclass{beamer}
\usefonttheme{professionalfonts}


\usepackage{polyglossia}
\setmainlanguage{german}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[math-style=ISO, bold-style=ISO, sans-style=italic, nabla=upright, partial=upright]{unicode-math}
\setmathfont{Latin Modern Math}


\begin{document}
\maketitle
\frame{
\frametitle{Inhalt}
Lorem ipsum....
\begin{equation}
\rho \approx \frac{M}{V}
\end{equation}
Some umlauts: ä ö ü ß
}
\end{document}
| improve this answer | |
  • professionalfonts works like a charm, thanks! Last problem is, that there is no "ß" displaye. There are no problems with the other umlauts. I'm using: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{polyglossia} \setmainlanguage{german} (how ever I format something as code in comments, 4 indents wont work...) – RDom Oct 27 '17 at 10:39
  • Don't load inputenc and fontenc with xelatex. To mark code in comments use backticks ` ` . And did your example also had problems with umlauts? – Ulrike Fischer Oct 27 '17 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.