Skip to content

Commit

Permalink
Use polyglossia with xelatex in beamer. Closes #85.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed May 27, 2015
1 parent 513c438 commit ab55684
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion default.beamer
Expand Up @@ -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$
Expand Down

0 comments on commit ab55684

Please sign in to comment.