summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/font-change/font_utopia.tex
blob: 61475ea55d79c58b2ec2f79c6753a05615b76cad (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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
% The author of this work is Amit Raj Dhawan
% This work has been released under
% Creative Commons Attribution-Share Alike 3.0 Unported License
% on July 19, 2010. For details visit:
% http://creativecommons.org/licenses/by-sa/3.0/.
%
% roman text (Family 0)
\def\twentyrm{\font\fzzozznzzt=mdputr7t at20pt \fzzozznzzt}%
\def\eighteenrm{\font\fzzozznzzt=mdputr7t at18pt \fzzozznzzt}%
\def\sixteenrm{\font\fzzozznzzt= mdputr7t at16pt \fzzozznzzt}%
\def\fourteenrm{\font\fzzozznzzt=mdputr7t at14pt \fzzozznzzt}%
\def\twelverm{\font\fzzozznzzt=  mdputr7t at12pt \fzzozznzzt}%
\font\tenrm=        mdputr7t % futr8r of fourier, as putr8r of adobe misses \Delta
\def\ninerm{\font\fzzozznzzt=       mdputr7t at9pt \fzzozznzzt}%
\def\eightrm{\font\fzzozznzzt=      mdputr7t at8pt \fzzozznzzt}%
\font\sevenrm=      mdputr7t at7pt
\def\sixrm{\font\fzzozznzzt=        mdputr7t at6pt \fzzozznzzt}%
\font\fiverm=       mdputr7t at5pt
%
% math italic (Family 1)
\def\twentyi{\font\fzzozznzzt=   futmii at21.68pt \fzzozznzzt}%
\def\eighteeni{\font\fzzozznzzt= futmii at19.51pt \fzzozznzzt}%
\def\sixteeni{\font\fzzozznzzt=  futmii at17.34pt \fzzozznzzt}%
\def\fourteeni{\font\fzzozznzzt= futmii at15.18pt \fzzozznzzt}%
\def\twelvei{\font\fzzozznzzt=   futmii at13.01pt \fzzozznzzt}%
\font\teni=         futmii at10.84pt% To compensate with mdutopia height. mdputri7m  of mathdesign works but spacing problem needs \fontdimen2\teni (e.g. dx)
\def\ninei{\font\fzzozznzzt=        futmii at9.76pt \fzzozznzzt}%
\def\eighti{\font\fzzozznzzt=       futmii at8.67pt \fzzozznzzt}%
\font\seveni=       futmii at7.59pt
\def\sixi{\font\fzzozznzzt=         futmii at6.5pt \fzzozznzzt}%
\font\fivei=        futmii at5.42pt
%
% math symbols (Family 2)
\def\twentysy{\font\fzzozznzzt=  futsy at21.68pt \fzzozznzzt}%
\def\eighteensy{\font\fzzozznzzt=futsy at19.51pt \fzzozznzzt}%
\def\sixteensy{\font\fzzozznzzt= futsy at17.34pt \fzzozznzzt}%
\def\fourteensy{\font\fzzozznzzt=futsy at15.18pt \fzzozznzzt}%
\def\twelvesy{\font\fzzozznzzt=  futsy at13.01pt \fzzozznzzt}%
\font\tensy=        futsy at10.84pt% md-utr7y of mathdesign also works
\def\ninesy{\font\fzzozznzzt=       futsy at9.76pt \fzzozznzzt}%
\def\eightsy{\font\fzzozznzzt=      futsy at8.67pt \fzzozznzzt}%
\font\sevensy=      futsy at7.59pt
\def\sixsy{\font\fzzozznzzt=        futsy at6.5pt \fzzozznzzt}%
\font\fivesy=       futsy at5.42pt
%
% math extension (Family 3)
\def\twentyex{\font\fzzozznzzt=  mdputr7v at20pt \fzzozznzzt}%
\def\eighteenex{\font\fzzozznzzt=mdputr7v at18pt \fzzozznzzt}%
\def\sixteenex{\font\fzzozznzzt= mdputr7v at16pt \fzzozznzzt}%
\def\fourteenex{\font\fzzozznzzt=mdputr7v at14pt \fzzozznzzt}%
\def\twelveex{\font\fzzozznzzt=  mdputr7v at12pt \fzzozznzzt}%
\font\tenex=        mdputr7v % fourier-mex of fourier works too
\def\nineex{\font\fzzozznzzt=       mdputr7v at9pt \fzzozznzzt}%
\def\eightex{\font\fzzozznzzt=      mdputr7v at8pt \fzzozznzzt}%
\font\sevenex=      mdputr7v at7pt
\def\sixex{\font\fzzozznzzt=        mdputr7v at6pt \fzzozznzzt}%
\font\fiveex=       mdputr7v at5pt
%
% italic text (Family 4)
\def\twentyit{\font\fzzozznzzt=  mdputri7t at20pt \fzzozznzzt}%
\def\eighteenit{\font\fzzozznzzt=mdputri7t at18pt \fzzozznzzt}%
\def\sixteenit{\font\fzzozznzzt= mdputri7t at16pt \fzzozznzzt}%
\def\fourteenit{\font\fzzozznzzt=   mdputri7t at14pt \fzzozznzzt}%
\def\twelveit{\font\fzzozznzzt=  mdputri7t at12pt \fzzozznzzt}%
\font\tenit=        mdputri7t
\def\nineit{\font\fzzozznzzt=       mdputri7t at9pt \fzzozznzzt}%
\def\eightit{\font\fzzozznzzt=      mdputri7t at8pt \fzzozznzzt}%
\font\sevenit=      mdputri7t at7pt
\def\sixit{\font\fzzozznzzt=        mdputri7t at6pt \fzzozznzzt}%
\font\fiveit=       mdputri7t at5pt
%
% slanted text (Family 5)
\def\twentysl{\font\fzzozznzzt=  mdputro7t at20pt \fzzozznzzt}%
\def\eighteensl{\font\fzzozznzzt=mdputro7t at18pt \fzzozznzzt}%
\def\sixteensl{\font\fzzozznzzt= mdputro7t at16pt \fzzozznzzt}%
\def\fourteensl{\font\fzzozznzzt=   mdputro7t at14pt \fzzozznzzt}%
\def\twelvesl{\font\fzzozznzzt=  mdputro7t at12pt \fzzozznzzt}%
\font\tensl=        mdputro7t
\def\ninesl{\font\fzzozznzzt=       mdputro7t at9pt \fzzozznzzt}%
\def\eightsl{\font\fzzozznzzt=      mdputro7t at8pt \fzzozznzzt}%
\font\sevensl=      mdputro7t at7pt
\def\sixsl{\font\fzzozznzzt=        mdputro7t at6pt \fzzozznzzt}%
\font\fivesl=       mdputro7t at5pt
%
% boldface text (Family 6)
\def\twentybf{\font\fzzozznzzt=  mdputb7t at20pt \fzzozznzzt}%
\def\eighteenbf{\font\fzzozznzzt=   mdputb7t at18pt \fzzozznzzt}%
\def\sixteenbf{\font\fzzozznzzt= mdputb7t at16pt \fzzozznzzt}%
\def\fourteenbf{\font\fzzozznzzt=   mdputb7t at14pt \fzzozznzzt}%
\def\twelvebf{\font\fzzozznzzt=  mdputb7t at12pt \fzzozznzzt}%
\font\tenbf=        mdputb7t
\def\ninebf{\font\fzzozznzzt=       mdputb7t at9pt \fzzozznzzt}%
\def\eightbf{\font\fzzozznzzt=      mdputb7t at8pt \fzzozznzzt}%
\font\sevenbf=      mdputb7t at7pt
\def\sixbf{\font\fzzozznzzt=        mdputb7t at6pt \fzzozznzzt}%
\font\fivebf=       mdputb7t at5pt
%
% typewriter text (Family 7)
\def\twentytt{\font\fzzozznzzt=  ly1-zi4r-1 at20pt \fzzozznzzt}%
\def\eighteentt{\font\fzzozznzzt=   ly1-zi4r-1 at18pt \fzzozznzzt}%
\def\sixteentt{\font\fzzozznzzt= ly1-zi4r-1 at16pt \fzzozznzzt}%
\def\fourteentt{\font\fzzozznzzt=ly1-zi4r-1 at14pt \fzzozznzzt}%
\def\twelvett{\font\fzzozznzzt=  ly1-zi4r-1 at12pt \fzzozznzzt}%
\font\tentt=        ly1-zi4r-1
\def\ninett{\font\fzzozznzzt=       ly1-zi4r-1 at9pt \fzzozznzzt}%
\def\eighttt{\font\fzzozznzzt=      ly1-zi4r-1 at8pt \fzzozznzzt}%
\font\seventt=      ly1-zi4r-1 at7pt
\def\sixtt{\font\fzzozznzzt=        ly1-zi4r-1 at6pt \fzzozznzzt}%
\font\fivett=       ly1-zi4r-1 at5pt
%
% Family 0 (roman text)
\textfont0=\tenrm
\scriptfont0=\sevenrm
\scriptscriptfont0=\fiverm
\def\rm{\fam=0 \tenrm}%
%
% Family 1 (math italic)
\textfont1=\teni
\scriptfont1=\seveni
\scriptscriptfont1=\fivei
\def\mit{\fam=1}%
%
% Family 2 (math symbol)
\textfont2=\tensy
\scriptfont2=\sevensy
\scriptscriptfont2=\fivesy
\def\cal{\fam=2}%
%
% Family 3 (math extension)
\textfont3=\tenex
\scriptfont3=\sevenex
\scriptscriptfont3=\fiveex
%
% Family 4 (italic text)
\def\it{\fam=\itfam \tenit}%
\textfont\itfam=\tenit
\scriptfont\itfam=\sevenit
\scriptscriptfont\itfam=\fiveit
%
% Family 5 (slanted text)
\def\sl{\fam=\slfam \tensl}%
\textfont\slfam=\tensl
\scriptfont\slfam=\sevensl
\scriptscriptfont\slfam=\fivesl
%
% Family 6 (boldface text)
\def\bf{\fam=\bffam \tenbf}%
\textfont\bffam=\tenbf
\scriptfont\bffam=\sevenbf
\scriptscriptfont\bffam=\fivebf
%
% Family 7 (typewriter text)
\def\tt{\fam=\ttfam \tentt}%
\textfont\ttfam=\tentt
\scriptfont\ttfam=\seventt
\scriptscriptfont\ttfam=\fivett
%
% italic boldface
\def\twentyitbf{\font\fzzozznzzt=   mdputbi7t at20pt \fzzozznzzt}%
\def\eighteenitbf{\font\fzzozznzzt= mdputbi7t at18pt \fzzozznzzt}%
\def\sixteenitbf{\font\fzzozznzzt=  mdputbi7t at16pt \fzzozznzzt}%
\def\fourteenitbf{\font\fzzozznzzt=    mdputbi7t at14pt \fzzozznzzt}%
\def\twelveitbf{\font\fzzozznzzt=   mdputbi7t at12pt \fzzozznzzt}%
\font\itbf=            mdputbi7t
\def\nineitbf{\font\fzzozznzzt=        mdputbi7t at9pt \fzzozznzzt}%
\def\eightitbf{\font\fzzozznzzt=       mdputbi7t at8pt \fzzozznzzt}%
\font\sevenitbf=       mdputbi7t at7pt
\def\sixitbf{\font\fzzozznzzt=         mdputbi7t at6pt \fzzozznzzt}%
\font\fiveitbf=        mdputbi7t at5pt
%
% slanted boldface
\def\twentyslbf{\font\fzzozznzzt=   mdputbo7t at20pt \fzzozznzzt}%
\def\eighteenslbf{\font\fzzozznzzt= mdputbo7t at18pt \fzzozznzzt}%
\def\sixteenslbf{\font\fzzozznzzt=  mdputbo7t at16pt \fzzozznzzt}%
\def\fourteenslbf{\font\fzzozznzzt=    mdputbo7t at14pt \fzzozznzzt}%
\def\twelveslbf{\font\fzzozznzzt=   mdputbo7t at12pt \fzzozznzzt}%
\font\slbf=            mdputbo7t
\def\nineslbf{\font\fzzozznzzt=        mdputbo7t at9pt \fzzozznzzt}%
\def\eightslbf{\font\fzzozznzzt=       mdputbo7t at8pt \fzzozznzzt}%
\font\sevenslbf=       mdputbo7t at7pt
\def\sixslbf{\font\fzzozznzzt=         mdputbo7t at6pt \fzzozznzzt}%
\font\fiveslbf=        mdputbo7t at5pt
%
% caps
\def\twentycaps{\font\fzzozznzzt=   mdputrfc8t at20pt \fzzozznzzt}%
\def\eighteencaps{\font\fzzozznzzt= mdputrfc8t at18pt \fzzozznzzt}%
\def\sixteencaps{\font\fzzozznzzt=  mdputrfc8t at16pt \fzzozznzzt}%
\def\fourteencaps{\font\fzzozznzzt=    mdputrfc8t at14pt \fzzozznzzt}%
\def\twelvecaps{\font\fzzozznzzt=   mdputrfc8t at12pt \fzzozznzzt}%
\font\caps=            mdputrfc8t % putrc7t from Adobe can be used to get \l etc.
\def\ninecaps{\font\fzzozznzzt=        mdputrfc8t at9pt \fzzozznzzt}%
\def\eightcaps{\font\fzzozznzzt=       mdputrfc8t at8pt \fzzozznzzt}%
\font\sevencaps=       mdputrfc8t at7pt
\def\sixcaps{\font\fzzozznzzt=         mdputrfc8t at6pt \fzzozznzzt}%
\font\fivecaps=        mdputrfc8t at5pt
%
% caps bold
\def\twentycapsbf{\font\fzzozznzzt=   mdputbfc8t at20pt \fzzozznzzt}%
\def\eighteencapsbf{\font\fzzozznzzt= mdputbfc8t at18pt \fzzozznzzt}%
\def\sixteencapsbf{\font\fzzozznzzt=  mdputbfc8t at16pt \fzzozznzzt}%
\def\fourteencapsbf{\font\fzzozznzzt=    mdputbfc8t at14pt \fzzozznzzt}%
\def\twelvecapsbf{\font\fzzozznzzt=       mdputbfc8t at12pt \fzzozznzzt}%
\font\capsbf=            mdputbfc8t
\def\ninecapsbf{\font\fzzozznzzt=        mdputbfc8t at9pt \fzzozznzzt}%
\def\eightcapsbf{\font\fzzozznzzt=       mdputbfc8t at8pt \fzzozznzzt}%
\font\sevencapsbf=       mdputbfc8t at7pt
\def\sixcapsbf{\font\fzzozznzzt=         mdputbfc8t at6pt \fzzozznzzt}%
\font\fivecapsbf=        mdputbfc8t at5pt
%
\fontdimen2\teni=-0.01pt % needed with md... mathdesign family, this even improves futmii and gives best results
%
\skewchar\teni='177 \skewchar\seveni='177 \skewchar\fivei='177%
\skewchar\tensy='60 \skewchar\sevensy='60 \skewchar\fivesy='60%
%
\rm