diff options
author | mb21 <mb21@users.noreply.github.com> | 2015-10-17 17:48:06 +0200 |
---|---|---|
committer | mb21 <mb21@users.noreply.github.com> | 2015-10-18 16:48:55 +0200 |
commit | e3cfba292613faa21c61d539f6e33929fd08fade (patch) | |
tree | de22b431541ee2427523191c174fcf262daf1d01 /default.beamer | |
parent | 319b641365d23a3a5f84c569a35dbaeef4362b9b (diff) | |
download | pandoc-e3cfba292613faa21c61d539f6e33929fd08fade.tar.gz |
LaTeX and beamer templates: add babel-otherlangs and babel-newcommands
Diffstat (limited to 'default.beamer')
-rw-r--r-- | default.beamer | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/default.beamer b/default.beamer index 8cab25b8e..f3f038833 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)$ |