summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
new file mode 100644
index 00000000000..638e23df611
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-xecjk-winfonts.def
@@ -0,0 +1,23 @@
+% ctex-xecjk-winfonts.def: Windows 的 xeCJK 字体设置,默认为六种中易字体
+% vim:ft=tex
+
+\setCJKmainfont[BoldFont={SimHei},ItalicFont={[simkai.ttf]}]
+ {SimSun}
+\setCJKsansfont{YouYuan}
+\setCJKmonofont{[simfang.ttf]}
+
+\setCJKfamilyfont{song}{SimSun}
+\setCJKfamilyfont{hei}{SimHei}
+\setCJKfamilyfont{kai}{[simkai.ttf]}
+\setCJKfamilyfont{fs}{[simfang.ttf]}
+\setCJKfamilyfont{li}{LiSu}
+\setCJKfamilyfont{you}{YouYuan}
+
+\newcommand*{\songti}{\CJKfamily{song}} % 宋体
+\newcommand*{\heiti}{\CJKfamily{hei}} % 黑体
+\newcommand*{\kaishu}{\CJKfamily{kai}} % 楷书
+\newcommand*{\fangsong}{\CJKfamily{fs}} % 仿宋
+\newcommand*{\lishu}{\CJKfamily{li}} % 隶书
+\newcommand*{\youyuan}{\CJKfamily{you}} % 幼圆
+
+\endinput