diff options
-rw-r--r-- | data/templates/default.latex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 73d98988e..4ceca434c 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -9,6 +9,9 @@ $if(latex-dir-rtl)$ \PassOptionsToPackage{RTLdocument}{bidi} $endif$ $endif$ +$if(CJKmainfont)$ +\PassOptionsToPackage{space}{xeCJK} +$endif$ % \documentclass[ $if(fontsize)$ @@ -137,7 +140,7 @@ $endif$ $endif$ $if(CJKmainfont)$ \ifxetex - \usepackage[space]{xeCJK} + \usepackage{xeCJK} \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} \fi $endif$ |