summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thuthesis/thufonts.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/thuthesis/thufonts.def')
-rw-r--r--Master/texmf-dist/tex/latex/thuthesis/thufonts.def21
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/thuthesis/thufonts.def b/Master/texmf-dist/tex/latex/thuthesis/thufonts.def
new file mode 100644
index 00000000000..c7a619ed07a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/thuthesis/thufonts.def
@@ -0,0 +1,21 @@
+% vim: set ft=tex:
+% This file is modified from ctex's ctex-xecjk-winfonts.def.
+
+\ProvidesFile{thufonts.def}
+\setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun}
+\setCJKsansfont{SimHei}
+\setCJKmonofont{FangSong}
+
+\setCJKfamilyfont{zhsong}{SimSun}
+\setCJKfamilyfont{zhhei}{SimHei}
+\setCJKfamilyfont{zhkai}{KaiTi}
+\setCJKfamilyfont{zhfs}{FangSong}
+\setCJKfamilyfont{zhli}{LiSu}
+\setCJKfamilyfont{zhyou}{YouYuan}
+
+\newcommand*{\songti}{\CJKfamily{zhsong}}
+\newcommand*{\heiti}{\CJKfamily{zhhei}}
+\newcommand*{\kaishu}{\CJKfamily{zhkai}}
+\newcommand*{\fangsong}{\CJKfamily{zhfs}}
+\newcommand*{\lishu}{\CJKfamily{zhli}}
+\newcommand*{\youyuan}{\CJKfamily{zhyou}}