aboutsummaryrefslogtreecommitdiff
path: root/default.beamer
diff options
context:
space:
mode:
Diffstat (limited to 'default.beamer')
-rw-r--r--default.beamer7
1 files changed, 6 insertions, 1 deletions
diff --git a/default.beamer b/default.beamer
index 045f8c5db..faef00acc 100644
--- a/default.beamer
+++ b/default.beamer
@@ -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$