Pass options to CJKmainfont (CJKoption)

This commit is contained in:
Xavier Olive 2015-06-24 22:49:33 +02:00
parent 63ac9416c8
commit 742d658f5f

View file

@ -40,7 +40,7 @@ $if(mathfont)$
$endif$
$if(CJKmainfont)$
\usepackage{xeCJK}
\setCJKmainfont{$CJKmainfont$}
\setCJKmainfont[$CJKoption$]{$CJKmainfont$}
$endif$
\fi
% use upquote if available, for straight quotes in verbatim environments