summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thuthesis/thufonts.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-09 23:19:39 +0000
committerKarl Berry <karl@freefriends.org>2014-12-09 23:19:39 +0000
commit92b35aa42d6d9f68b1d1f730dd47da06d2d3aa23 (patch)
treed80cb8f985bd2df827dbe0ab0e6469185f46a7b9 /Master/texmf-dist/tex/latex/thuthesis/thufonts.def
parentf0f34a06c43fb2be455aaeac0d7e2808e4617970 (diff)
thuthesis (9dec14)
git-svn-id: svn://tug.org/texlive/trunk@35774 c570f23f-e606-0410-a88d-b1316a301751
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}}