summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def')
-rw-r--r--Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def78
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
new file mode 100644
index 00000000000..12e956cf7cd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
@@ -0,0 +1,78 @@
+% ctex-cjk-winfonts.def: Windows 的 CJK 字体设置,默认为 CTeX 套装的六种字体
+% vim:ft=tex
+
+\renewcommand*\CTEX@rm@family{rm}
+\renewcommand*\CTEX@sf@family{sf}
+\renewcommand*\CTEX@tt@family{tt}
+
+\ifCTEX@punct
+% see also: c19rm.fd
+ \CJKpunctmapfamily{C19}{rm}{m}{n}{song}
+ \CJKpunctmapfamily{C19}{rm}{b}{n}{hei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{n}{hei}
+ \CJKpunctmapfamily{C19}{rm}{m}{sl}{song}
+ \CJKpunctmapfamily{C19}{rm}{b}{sl}{hei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{sl}{hei}
+ \CJKpunctmapfamily{C19}{rm}{m}{it}{kai}
+ \CJKpunctmapfamily{C19}{rm}{b}{it}{kei}
+ \CJKpunctmapfamily{C19}{rm}{bx}{it}{kai}
+% see also: c19sf.fd
+ \CJKpunctmapfamily{C19}{sf}{m}{n}{you}
+ \CJKpunctmapfamily{C19}{sf}{b}{n}{you}
+ \CJKpunctmapfamily{C19}{sf}{bx}{n}{you}
+ \CJKpunctmapfamily{C19}{sf}{m}{sl}{you}
+ \CJKpunctmapfamily{C19}{sf}{b}{sl}{you}
+ \CJKpunctmapfamily{C19}{sf}{bx}{sl}{you}
+ \CJKpunctmapfamily{C19}{sf}{m}{it}{you}
+ \CJKpunctmapfamily{C19}{sf}{b}{it}{you}
+ \CJKpunctmapfamily{C19}{sf}{bx}{it}{you}
+% see also: c19tt.fd
+ \CJKpunctmapfamily{C19}{tt}{m}{n}{fs}
+ \CJKpunctmapfamily{C19}{tt}{b}{n}{fs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{n}{fs}
+ \CJKpunctmapfamily{C19}{tt}{m}{sl}{fs}
+ \CJKpunctmapfamily{C19}{tt}{b}{sl}{fs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{sl}{fs}
+ \CJKpunctmapfamily{C19}{tt}{m}{it}{fs}
+ \CJKpunctmapfamily{C19}{tt}{b}{it}{fs}
+ \CJKpunctmapfamily{C19}{tt}{bx}{it}{fs}
+% see also: c70rm.fd
+ \CJKpunctmapfamily{C70}{rm}{m}{n}{song}
+ \CJKpunctmapfamily{C70}{rm}{b}{n}{hei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{n}{hei}
+ \CJKpunctmapfamily{C70}{rm}{m}{sl}{song}
+ \CJKpunctmapfamily{C70}{rm}{b}{sl}{hei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{sl}{hei}
+ \CJKpunctmapfamily{C70}{rm}{m}{it}{kai}
+ \CJKpunctmapfamily{C70}{rm}{b}{it}{kei}
+ \CJKpunctmapfamily{C70}{rm}{bx}{it}{kai}
+% see also: c70sf.fd
+ \CJKpunctmapfamily{C70}{sf}{m}{n}{you}
+ \CJKpunctmapfamily{C70}{sf}{b}{n}{you}
+ \CJKpunctmapfamily{C70}{sf}{bx}{n}{you}
+ \CJKpunctmapfamily{C70}{sf}{m}{sl}{you}
+ \CJKpunctmapfamily{C70}{sf}{b}{sl}{you}
+ \CJKpunctmapfamily{C70}{sf}{bx}{sl}{you}
+ \CJKpunctmapfamily{C70}{sf}{m}{it}{you}
+ \CJKpunctmapfamily{C70}{sf}{b}{it}{you}
+ \CJKpunctmapfamily{C70}{sf}{bx}{it}{you}
+% see also: c70tt.fd
+ \CJKpunctmapfamily{C70}{tt}{m}{n}{fs}
+ \CJKpunctmapfamily{C70}{tt}{b}{n}{fs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{n}{fs}
+ \CJKpunctmapfamily{C70}{tt}{m}{sl}{fs}
+ \CJKpunctmapfamily{C70}{tt}{b}{sl}{fs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{sl}{fs}
+ \CJKpunctmapfamily{C70}{tt}{m}{it}{fs}
+ \CJKpunctmapfamily{C70}{tt}{b}{it}{fs}
+ \CJKpunctmapfamily{C70}{tt}{bx}{it}{fs}
+\fi
+
+\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