changeset 281:544eec95c0f1

Merge pull request #99 from xoolive/master Support for Asian languages, CJKmainfont label
author John MacFarlane <jgm@berkeley.edu>
date Sat, 13 Jun 2015 09:34:43 -0700
parents af1b5b521f3b (current diff) 6925103a3c60 (diff)
children f60bc59d9dcf ff7fd8715414 c0e6e8c740c0
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/default.latex	Sat Jun 13 09:32:06 2015 -0700
+++ b/default.latex	Sat Jun 13 09:34:43 2015 -0700
@@ -38,6 +38,10 @@
 $if(mathfont)$
     \setmathfont(Digits,Latin,Greek){$mathfont$}
 $endif$
+$if(CJKmainfont)$
+    \usepackage{xeCJK}
+    \setCJKmainfont{$CJKmainfont$}
+$endif$
 \fi
 % use upquote if available, for straight quotes in verbatim environments
 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}