diff options
Diffstat (limited to 'default.beamer')
-rw-r--r-- | default.beamer | 7 |
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$ |