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$ $endif$
$if(CJKmainfont)$ $if(CJKmainfont)$
\usepackage{xeCJK} \usepackage{xeCJK}
\setCJKmainfont{$CJKmainfont$} \setCJKmainfont[$CJKoption$]{$CJKmainfont$}
$endif$ $endif$
\fi \fi
% use upquote if available, for straight quotes in verbatim environments % use upquote if available, for straight quotes in verbatim environments