O documento a seguir funciona bem ao usar document class article
:
\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage[variant=british]{english}
\setotherlanguage{hebrew}
\setotherlanguage{greek}
\newfontfamily\hebrewfont{SBL Hebrew}
\newfontfamily\greekfont{SBL Greek}
\begin{document}
\section{First}
A greek word \textgreek{αταραξία} and a hebrew word \texthebrew{קֹהֶלֶת}
\end{document}
Mas então, quando mudo para o Beamer. Parece que começamos a ignorar as fontes (e acabamos com caracteres em branco em vez do grego ou hebraico:
\documentclass{beamer}
\usepackage{polyglossia}
\setmainlanguage[variant=british]{english}
\setotherlanguage{hebrew}
\setotherlanguage{greek}
\newfontfamily\hebrewfont{SBL Hebrew}
\newfontfamily\greekfont{SBL Greek}
\begin{document}
\begin{frame}{First}
A greek word \textgreek{αταραξία} and a hebrew word \texthebrew{קֹהֶלֶת}
\end{frame}
\end{document}
Observe que podemos adicionar \setsansfont{Arial}
ao exemplo do beamer, e parece dizer globalmente ao beamer para usar a Arial
fonte, em vez das fontes hebraicas/gregas que foram especificadas:
Responder1
\documentclass{beamer}
\usepackage{polyglossia}
\setmainlanguage[variant=british]{english}
\setotherlanguage{hebrew}
\setotherlanguage{greek}
\newfontfamily{\hebrewfontsf}{SBL Hebrew}
\newfontfamily{\greekfontsf}{SBL Greek}
\begin{document}
\begin{frame}{First}
A greek word \textgreek{αταραξία} and a hebrew word \texthebrew{קֹהֶלֶת}
\end{frame}
\end{document}