Polyglossia
与主题一起使用Madrid
会产生尴尬的标题页标题。
MWE1-没有Madrid
主题也能正常工作:
\documentclass{beamer}
%:Language
\usepackage{fontspec}
\setsansfont{Arial}
\usepackage{polyglossia}
%%%%%%%%%%%%%%%%%%%%
%:Hebrew Main
%%%%%%%%%%%%%%%%%%%%
\setotherlanguage{english}
\setmainlanguage{hebrew}
%%%%%%%%%%%%%%%%%%%%
\newfontfamily\hebrewfont[Script=Hebrew]{Arial}
\title{Alexander}
\begin{document}
\frame{\titlepage}
\end{document}
MWE2 - 尴尬的标题页标题,Madrid
主题为:
\documentclass{beamer}
\usetheme{Madrid}
%:Language
\usepackage{fontspec}
\setsansfont{Arial}
\usepackage{polyglossia}
%%%%%%%%%%%%%%%%%%%%
%:Hebrew Main
%%%%%%%%%%%%%%%%%%%%
\setotherlanguage{english}
\setmainlanguage{hebrew}
%%%%%%%%%%%%%%%%%%%%
\newfontfamily\hebrewfont[Script=Hebrew]{Arial}
\title{Alexander}
\begin{document}
\frame{\titlepage}
\end{document}