summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--template.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.tex b/template.tex
index cae6bc3..9d9c958 100644
--- a/template.tex
+++ b/template.tex
@@ -122,7 +122,7 @@ $endif$
$if(lang)$
\ifxetex
\usepackage{polyglossia}
- \setmainlanguage{$lang$}
+ \setmainlanguage$if(langvariant)$[variant=$langvariant$]$endif${$lang$}
\else
\usepackage[$lang$]{babel}
\fi