diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-12-06 04:10:33 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-12-06 04:10:33 +0100 |
commit | e46238f50fec94890f58a07cbae7e073776422e1 (patch) | |
tree | 120c0c33de6ef4243b009d096ffe0e7755739a5c | |
parent | a6b09c19af43109b1377c1bd7d6afdabfcc02266 (diff) |
Add support for langvariant variable with XeTeX.
-rw-r--r-- | template.tex | 2 |
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 |