Use polyglossia with xelatex in beamer. Closes #85.
This commit is contained in:
parent
513c4388c3
commit
ab55684bc1
1 changed files with 6 additions and 1 deletions
|
@ -117,7 +117,12 @@ $if(verbatim-in-note)$
|
|||
\VerbatimFootnotes % allows verbatim text in footnotes
|
||||
$endif$
|
||||
$if(lang)$
|
||||
\usepackage[$lang$]{babel}
|
||||
\ifxetex
|
||||
\usepackage{polyglossia}
|
||||
\setmainlanguage{$mainlang$}
|
||||
\else
|
||||
\usepackage[shorthands=off,$lang$]{babel}
|
||||
\fi
|
||||
$endif$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
|
|
Loading…
Add table
Reference in a new issue