LaTeX, beamer: add setotherlanguages to polyglossia.
This commit is contained in:
parent
3370fd9f11
commit
4e72f2bff9
2 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,7 @@ $if(lang)$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setmainlanguage{$mainlang$}
|
\setmainlanguage{$mainlang$}
|
||||||
|
\setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
|
||||||
\else
|
\else
|
||||||
\usepackage[shorthands=off,$lang$]{babel}
|
\usepackage[shorthands=off,$lang$]{babel}
|
||||||
\fi
|
\fi
|
||||||
|
|
|
@ -53,6 +53,7 @@ $if(lang)$
|
||||||
\ifxetex
|
\ifxetex
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setmainlanguage{$mainlang$}
|
\setmainlanguage{$mainlang$}
|
||||||
|
\setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
|
||||||
\else
|
\else
|
||||||
\usepackage[shorthands=off,$lang$]{babel}
|
\usepackage[shorthands=off,$lang$]{babel}
|
||||||
\fi
|
\fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue