aboutsummaryrefslogtreecommitdiff
path: root/default.beamer
diff options
context:
space:
mode:
Diffstat (limited to 'default.beamer')
-rw-r--r--default.beamer7
1 files changed, 4 insertions, 3 deletions
diff --git a/default.beamer b/default.beamer
index 3a0d76b43..dcbc16196 100644
--- a/default.beamer
+++ b/default.beamer
@@ -67,14 +67,15 @@ $endif$
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
$if(lang)$
-\ifxetex
+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
+ \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$$sep$,$endfor$,main=$babel-lang$]{babel}
+ $babel-newcommands$
+\else
\usepackage{polyglossia}
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
$for(polyglossia-otherlangs)$
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
$endfor$
-\else
- \usepackage[shorthands=off,$babel-lang$]{babel}
\fi
$endif$
$if(natbib)$