-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfontsize.tex
198 lines (174 loc) · 5.75 KB
/
fontsize.tex
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
% fontsize.tex -- select the fonts in various sizes
%
% borrowed from manmac, and extended.
\catcode`\@=11
\font\seventeenbf=cmbx12 scaled\magstep2
\font\twelvecsc=cmcsc10 at 12pt
\font\tencsc=cmcsc10 % Caps and small caps
\font\ninecsc=cmcsc9
\font\eightcsc=cmcsc8
\font\sixcsc=cmcsc8 at 6pt
\font\tentex=cmtex10 % Math extention
\font\twelverm=cmr12
\font\ninerm=cmr9 % Roman
\font\eightrm=cmr8
\font\sixrm=cmr6
\font\twelvei=cmmi12
\font\ninei=cmmi9 % Math italic
\font\eighti=cmmi8
\font\sixi=cmmi6
\skewchar\ninei='177 \skewchar\eighti='177 \skewchar\sixi='177
\font\twelvesy=cmsy10 at 12pt
\font\ninesy=cmsy9 % Symbol
\font\eightsy=cmsy8
\font\sixsy=cmsy6
\skewchar\ninesy='60 \skewchar\eightsy='60 \skewchar\sixsy='60
\font\eightss=cmssq8 % Sans-Serif
\font\eightssi=cmssqi8
\font\twelvebf=cmbx12
\font\ninebf=cmbx9 % Boldface
\font\eightbf=cmbx8
\font\sixbf=cmbx6
\font\twelvett=cmtt12
\font\ninett=cmtt9 % Typewriter type
\font\eighttt=cmtt8
\font\sixtt=cmtt8 at 6pt
\hyphenchar\tentt=-1 % inhibit hyphenation in typewriter type
\hyphenchar\ninett=-1
\hyphenchar\eighttt=-1
\font\twelvesl=cmsl12
\font\ninesl=cmsl9
\font\eightsl=cmsl8
\font\sixsl=cmsl8 at 6pt
\font\twelveit=cmti12
\font\nineit=cmti9
\font\eightit=cmti8
\font\sixit=cmti7 at 6pt
% point sizes
%
% text s ss bl
% 12 8 6 13
% 10 7 5 12
% 9 6 5 11
% 8 6 5 9
% 6 5 5 7
%
% family assignments:
% 0 roman
% 1 math italic
% 2 math symbol
% 3 math extention
% text italic
% slanted
% boldface
% typewriter type
\newskip\ttglue
\def\twelvepoint{\def\rm{\fam0\twelverm}%
\textfont0=\twelverm \scriptfont0=\eightrm \scriptscriptfont0=\sixrm
\textfont1=\twelvei \scriptfont1=\eighti \scriptscriptfont1=\sixi
\textfont2=\twelvesy \scriptfont2=\eightsy \scriptscriptfont2=\sixsy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
\def\it{\fam\itfam\twelveit}%
\textfont\itfam=\twelveit
\def\sl{\fam\slfam\twelvesl}%
\textfont\slfam=\twelvesl
\def\bf{\fam\bffam\twelvebf}%
\textfont\bffam=\twelvebf \scriptfont\bffam=\eightbf
\scriptscriptfont\bffam=\sixbf
\def\tt{\fam\ttfam\twelvett}%
\textfont\ttfam=\twelvett
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=13pt
\let\sc=\twelvecsc
\let\big=\twelvebig
\setbox\strutbox=\hbox{\vrule height9pt depth4pt width\z@}%
\normalbaselines\rm}
\def\tenpoint{\def\rm{\fam0\tenrm}%
\textfont0=\tenrm \scriptfont0=\sevenrm \scriptscriptfont0=\fiverm
\textfont1=\teni \scriptfont1=\seveni \scriptscriptfont1=\fivei
\textfont2=\tensy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
\def\it{\fam\itfam\tenit}%
\textfont\itfam=\tenit
\def\sl{\fam\slfam\tensl}%
\textfont\slfam=\tensl
\def\bf{\fam\bffam\tenbf}%
\textfont\bffam=\tenbf \scriptfont\bffam=\sevenbf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\tentt}%
\textfont\ttfam=\tentt
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=12pt
\let\sc=\tencsc
\let\big=\tenbig
\setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@}%
\normalbaselines\rm}
\def\ninepoint{\def\rm{\fam0\ninerm}%
\textfont0=\ninerm \scriptfont0=\sixrm \scriptscriptfont0=\fiverm
\textfont1=\ninei \scriptfont1=\sixi \scriptscriptfont1=\fivei
\textfont2=\ninesy \scriptfont2=\sixsy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
\def\it{\fam\itfam\nineit}%
\textfont\itfam=\nineit
\def\sl{\fam\slfam\ninesl}%
\textfont\slfam=\ninesl
\def\bf{\fam\bffam\ninebf}%
\textfont\bffam=\ninebf \scriptfont\bffam=\sixbf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\ninett}%
\textfont\ttfam=\ninett
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=11pt
\let\sc=\ninecsc
\let\big=\ninebig
\setbox\strutbox=\hbox{\vrule height8pt depth3pt width\z@}%
\normalbaselines\rm}
\def\eightpoint{\def\rm{\fam0\eightrm}%
\textfont0=\eightrm \scriptfont0=\sixrm \scriptscriptfont0=\fiverm
\textfont1=\eighti \scriptfont1=\sixi \scriptscriptfont1=\fivei
\textfont2=\eightsy \scriptfont2=\sixsy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
\def\it{\fam\itfam\eightit}%
\textfont\itfam=\eightit
\def\sl{\fam\slfam\eightsl}%
\textfont\slfam=\eightsl
\def\bf{\fam\bffam\eightbf}%
\textfont\bffam=\eightbf \scriptfont\bffam=\sixbf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\eighttt}%
\textfont\ttfam=\eighttt
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=9pt
\let\sc=\eightcsc
\let\big=\eightbig
\setbox\strutbox=\hbox{\vrule height7pt depth2pt width\z@}%
\normalbaselines\rm}
\def\sixpoint{\def\rm{\fam0\sixrm}%
\textfont0=\sixrm \scriptfont0=\fiverm \scriptscriptfont0=\fiverm
\textfont1=\sixi \scriptfont1=\fivei \scriptscriptfont1=\fivei
\textfont2=\sixsy \scriptfont2=\fivesy \scriptscriptfont2=\fivesy
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
\def\it{\fam\itfam\sixit}%
\textfont\itfam=\sixit
\def\sl{\fam\slfam\sixsl}%
\textfont\slfam=\sixsl
\def\bf{\fam\bffam\sixbf}%
\textfont\bffam=\sixbf \scriptfont\bffam=\fivebf
\scriptscriptfont\bffam=\fivebf
\def\tt{\fam\ttfam\sixtt}%
\textfont\ttfam=\sixtt
\tt \ttglue=.5em plus.25em minus.15em
\normalbaselineskip=7pt
\let\sc=\sixcsc
\let\big=\sixbig
\setbox\strutbox=\hbox{\vrule height5.5pt depth1.5pt width\z@}%
\normalbaselines\rm}
\def\tenmath{\tenpoint\fam-1 } % use after $ in ninepoint sections
\def\tenbig#1{{\hbox{$\left#1\vbox to8.5pt{}\right.\n@space$}}}
\def\ninebig#1{{\hbox{$\textfont0=\tenrm\textfont2=\tensy
\left#1\vbox to7.25pt{}\right.\n@space$}}}
\def\eightbig#1{{\hbox{$\textfont0=\ninerm\textfont2=\ninesy
\left#1\vbox to6.5pt{}\right.\n@space$}}}
\catcode`\@=12
\tenpoint
% end of fontsize.tex