Closed ghost closed 6 years ago
Your second MWE goes well with the latest version of beamer
. You can provide the version information of beamer
you're using (probably with version of your TeX distribution) to help us deal with this problem.
P.S. The option is indeed 'professionalfonts', which is right in current version of beameruserguide. I'm not sure whether the old version has some error here.
The beamer version is (from the log file) Document Class: beamer 2015/01/05 3.36 A class for typesetting presentations (rcs-revision 8a39122e1f63)
and the user guide is The beamer class; User Guide for version 3.36.
Now I see that my version is pretty outdated, sorry for the inconvenience.
I think this is 'worksforme' (so 'invalid'): I get the same results as @louisstuart96.
Dear developers,
the Beamer class doesn't print trigonometric functions in combination with unicode-math and lualatex if the option
\usefonttheme{professionalfonts}
is not set.So the code without the option
\usefonttheme{professionalfonts}
does NOT compile with lualatexwhereas the code with the option
\usefonttheme{professionalfonts}
compiles with lualatexAs the LM Math seems like a "standard font" for more modern compilers as xelatex/lualatex could you add it to the list of fonts mentioned in the paragraph "\usefonttheme{professionalfont}" of chapter 18.1 "Font Themes" of your documentation?
Regards
PS: Using the option
\usefonttheme{professionalfont}
gives me error messagewhereas the option
\usefonttheme{professionalfonts}
does work. So the documentation and the implementation seems to differ in this point!