summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ctex/fontset/ctex-cjk-winfonts.def
blob: e79a250b42c00ecb729a8e716220dfa3a1c88434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
% ctex-cjk-winfonts.def: Windows 的 CJK 字体设置,默认为 CTeX 套装的六种字体
% vim:ft=tex

\ifCTEX@zhmap
  \AtBeginDvi{\input{zhwinfonts}}
\fi

\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}{zhsong}
  \CJKpunctmapfamily{C19}{rm}{b}{n}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{bx}{n}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{m}{sl}{zhsong}
  \CJKpunctmapfamily{C19}{rm}{b}{sl}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{bx}{sl}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{m}{it}{zhkai}
  \CJKpunctmapfamily{C19}{rm}{b}{it}{zhkei}
  \CJKpunctmapfamily{C19}{rm}{bx}{it}{zhkai}
% see also: c19sf.fd
  \CJKpunctmapfamily{C19}{sf}{m}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{m}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{m}{it}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{it}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{it}{zhyou}
% see also: c19tt.fd
  \CJKpunctmapfamily{C19}{tt}{m}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{m}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{m}{it}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{it}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{it}{zhfs}
% see also: c70rm.fd
  \CJKpunctmapfamily{C70}{rm}{m}{n}{zhsong}
  \CJKpunctmapfamily{C70}{rm}{b}{n}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{bx}{n}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{m}{sl}{zhsong}
  \CJKpunctmapfamily{C70}{rm}{b}{sl}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{bx}{sl}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{m}{it}{zhkai}
  \CJKpunctmapfamily{C70}{rm}{b}{it}{zhkei}
  \CJKpunctmapfamily{C70}{rm}{bx}{it}{zhkai}
% see also: c70sf.fd
  \CJKpunctmapfamily{C70}{sf}{m}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{m}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{m}{it}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{it}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{it}{zhyou}
% see also: c70tt.fd
  \CJKpunctmapfamily{C70}{tt}{m}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{m}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{m}{it}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{it}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{it}{zhfs}
\fi

\newcommand*{\songti}{\CJKfamily{zhsong}} % 宋体
\newcommand*{\heiti}{\CJKfamily{zhhei}}   % 黑体
\newcommand*{\kaishu}{\CJKfamily{zhkai}}  % 楷书
\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 仿宋
\newcommand*{\lishu}{\CJKfamily{zhli}}    % 隶书
\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 幼圆

\endinput