diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.latex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index d86e62573..357549d98 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -64,8 +64,21 @@ $else$ $endif$ $endif$ $if(CJKmainfont)$ + \ifxetex \usepackage{xeCJK} \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi +$endif$ +$if(luatexjapresetoptions)$ + \ifluatex + \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} + \fi +$endif$ +$if(CJKmainfont)$ + \ifluatex + \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} + \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} + \fi $endif$ \fi % use upquote if available, for straight quotes in verbatim environments |