summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/cmcyralt/cmcyr.sty
blob: 20fef0ef4c585d577c65c9c1031d8c134a97dec6 (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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
%%
%%
\def\fileversion{v1.0}
\def\filedate{93/05/7}

\typeout{Style Option: `cmcyr'
  \fileversion\space <\filedate> (A. Harin)}
\@ifundefined{selectfont}
     {\@latexerr{`cmcyr' style option could only be used
                  with the new font selection scheme}\@eha
      \endinput}{}

\new@fontshape{cmcyr}{m}{n}{%
      <5>uczr5%
      <6>uczr6%
      <7>uczr7%
      <8>uczr8%
      <9>uczr9%
      <10>uczr10%
      <11>uczr10 at10.95pt%
      <12>uczr12%
      <14>uczr12 at14.4pt%
      <17>uczr17%
      <20>uczr17 at20.736pt%
      <25>uczr17 at24.8832pt}{}
\extra@def{cmcyr}{}{}
\new@fontshape{cmcyr}{m}{sl}{%
      <5>uczro8 at5pt%
      <6>uczro8 at6pt%
      <7>uczro8 at7pt%
      <8>uczro8%
      <9>uczro9%
      <10>uczro10%
      <11>uczro10 at10.95pt%
      <12>uczro12%
      <14>uczro12 at14.4pt%
      <17>uczro12 at17.28pt%
      <20>uczro12 at20.74pt%
      <25>uczro12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{m}{it}{%
      <5>uczri7 at5pt%
      <6>uczri7 at6pt%
      <7>uczri7%
      <8>uczri8%
      <9>uczri9%
      <10>uczri10%
      <11>uczri10 at10.95pt%
      <12>uczri12%
      <14>uczri12 at14.4pt%
      <17>uczri12 at17.28pt%
      <20>uczri12 at20.74pt%
      <25>uczri12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{m}{sc}{%
      <5>uczrc8 at5pt%
      <6>uczrc8 at6pt%
      <7>uczrc8 at7pt%
      <8>uczrc8%
      <9>uczrc9%
      <10>uczrc10%
      <11>uczrc10 at10.95pt%
      <12>uczrc10 at12pt%
      <14>uczrc10 at14.4pt%
      <17>uczrc10 at17.28pt%
      <20>uczrc10 at20.74pt%
      <25>uczrc10 at24.88pt%
      }{}
%%
%% Warning: please note that the upright shape below is used
%%          for the \pounds symbol of LaTeX. So this font
%%          definition shouldn't be removed.
%%
%          If cmu below 10pt is not available we substitute
%          cmti as far as possible (sizes 7, 8, 9). This is
%          done because cmu is used mainly for producing the
%          the \pound symbol and it is better to get a slanted
%          (or bigger) pound then to get a $ sign in such situations.
%%
\new@fontshape{cmcyr}{m}{u}{%
      <5>uczru10 at5pt%
      <6>uczru10 at6pt%
      <7>uczru10 at7pt%
      <8>uczru10 at8pt%
      <9>uczru10 at9pt%
      <10>uczru10%
      <11>uczru10 at10.95pt%
      <12>uczru10 at12pt%
      <14>uczru10 at14.4pt%
      <17>uczru10 at17.28pt%
      <20>uczru10 at20.74pt%
      <25>uczru10 at24.88pt%
      }{}

%%%%%%%% bold series

\new@fontshape{cmcyr}{b}{n}{%
      <5>uczb10 at5pt%
      <6>uczb10 at6pt%
      <7>uczb10 at7pt%
      <8>uczb10 at8pt%
      <9>uczb10 at9pt%
      <10>uczb10%
      <11>uczb10 at10.95pt%
      <12>uczb10 at12pt%
      <14>uczb10 at14.4pt%
      <17>uczb10 at17.28pt%
      <20>uczb10 at20.736pt%
      <25>uczb10 at24.8832pt%
      }{}

%%%%%%%%% bold extended series

\new@fontshape{cmcyr}{bx}{n}{%
      <5>uczbx5%
      <6>uczbx6%
      <7>uczbx7%
      <8>uczbx8%
      <9>uczbx9%
      <10>uczbx10%
      <11>uczbx10 at10.95pt%
      <12>uczbx12%
      <14>uczbx12 at14.4pt%
      <17>uczbx12 at17.28pt%
      <20>uczbx12 at20.74pt%
      <25>uczbx12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{bx}{sl}{%
      <5>uczbox10 at5pt%
      <6>uczbox10 at6pt%
      <7>uczbox10 at7pt%
      <8>uczbox10 at8pt%
      <9>uczbox10 at9pt%
      <10>uczbox10%
      <11>uczbox10 at10.95pt%
      <12>uczbox10 at12pt%
      <14>uczbox10 at14.4pt%
      <17>uczbox10 at17.28pt%
      <20>uczbox10 at20.74pt%
      <25>uczbox10 at24.88pt%
      }{}

\new@fontshape{cmcyr}{bx}{it}{%
      <5>uczbix10 at5pt%
      <6>uczbix10 at6pt%
      <7>uczbix10 at7pt%
      <8>uczbix10 at8pt%
      <9>uczbix10 at9pt%
      <10>uczbix10%
      <11>uczbix10 at10.95pt%
      <12>uczbix10 at12pt%
      <14>uczbix10 at14.4pt%
      <17>uczbix10 at17.28pt%
      <20>uczbix10 at20.74pt%
      <25>uczbix10 at24.88pt%
      }{}

%% Again this is necessary for a correct \pound symbol in the cmr fonts
%% Hopefully the dc/ec font layout will take over soon.
%%

\subst@fontshape{cmcyr}{bx}{u}{cmcyr}{m}{u}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  Sans serif font shapes
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\new@fontshape{cmcss}{m}{n}{%
      <5>uczrs8 at5pt%
      <6>uczrs8 at6pt%
      <7>uczrs8 at7pt%
      <8>uczrs8%
      <9>uczrs9%
      <10>uczrs10%
      <11>uczrs10 at10.95pt%
      <12>uczrs12%
      <14>uczrs12 at14.4pt%
      <17>uczrs17%
      <20>uczrs17 at20.74pt%
      <25>uczrs17 at24.88pt%
      }{}


\subst@fontshape{cmcss}{m}{it}{cmcss}{m}{sl}

\new@fontshape{cmcss}{m}{sl}{%
      <5>uczris8 at5pt%
      <6>uczris8 at6pt%
      <7>uczris8 at7pt%
      <8>uczris8%
      <9>uczris9%
      <10>uczris10%
      <11>uczris10 at10.95pt%
      <12>uczris12%
      <14>uczris12 at14.4pt%
      <17>uczris17%
      <20>uczris17 at20.74pt%
      <25>uczris17 at24.88pt%
      }{}

%%%%%%% Font/shape undefined, therefore substituted

\subst@fontshape{cmcss}{m}{sc}{cmcyr}{m}{sc}

%%%%%%%% semibold condensed series

\new@fontshape{cmcss}{sbc}{n}{%
      <5>uczdsc10 at5pt%
      <6>uczdsc10 at6pt%
      <7>uczdsc10 at7pt%
      <8>uczdsc10 at8pt%
      <9>uczdsc10 at9pt%
       <10>uczdsc10%
       <11>uczdsc10 at10.95pt%
       <12>uczdsc10 at12pt%
       <14>uczdsc10 at14.4pt%
       <17>uczdsc10 at17.28pt%
       <20>uczdsc10 at20.74pt%
       <25>uczdsc10 at24.88pt%
       }{}

%%%%%%%%% bold extended series

\new@fontshape{cmcss}{bx}{n}{%
      <5>uczbsx10 at5pt%
      <6>uczbsx10 at6pt%
      <7>uczbsx10 at7pt%
      <8>uczbsx10 at8pt%
      <9>uczbsx10 at9pt%
      <10>uczbsx10%
      <11>uczbsx10 at10.95pt%
      <12>uczbsx10 at12pt%
      <14>uczbsx10 at14.4pt%
      <17>uczbsx10 at17.28pt%
      <20>uczbsx10 at20.74pt%
      <25>uczbsx10 at24.88pt%
      }{}

\extra@def{cmcss}{}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  Typewriter font shapes
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\new@fontshape{cmctt}{m}{n}{%
      <5>uczrt8 at5pt%
      <6>uczrt8 at6pt%
      <7>uczrt8 at7pt%
      <8>uczrt8%
      <9>uczrt9%
      <10>uczrt10%
      <11>uczrt10 at10.95pt%
      <12>uczrt12%
      <14>uczrt12 at14.4pt%
      <17>uczrt12 at17.28pt%
      <20>uczrt12 at20.74pt%
      <25>uczrt12 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{it}{%
      <5>uczrit10 at5pt%
      <6>uczrit10 at6pt%
      <7>uczrit10 at7pt%
      <8>uczrit10 at8pt%
      <9>uczrit10 at9pt%
      <10>uczrit10%
      <11>uczrit10 at10.95pt%
      <12>uczrit10 at12pt%
      <14>uczrit10 at14.4pt%
      <17>uczrit10 at17.28pt%
      <20>uczrit10 at20.74pt%
      <25>uczrit10 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{sl}{%
      <5>uczrot10 at5pt%
      <6>uczrot10 at6pt%
      <7>uczrot10 at7pt%
      <8>uczrot10 at8pt%
      <9>uczrot10 at9pt%
      <10>uczrot10%
      <11>uczrot10 at10.95pt%
      <12>uczrot10 at12pt%
      <14>uczrot10 at14.4pt%
      <17>uczrot10 at17.28pt%
      <20>uczrot10 at20.74pt%
      <25>uczrot10 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{sc}{%
      <5>uczrct10 at5pt%
      <6>uczrct10 at6pt%
      <7>uczrct10 at7pt%
      <8>uczrct10 at8pt%
      <9>uczrct10 at9pt%
      <10>uczrct10%
      <11>uczrct10 at10.95pt%
      <12>uczrct10 at12pt%
      <14>uczrct10 at14.4pt%
      <17>uczrct10 at17.28pt%
      <20>uczrct10 at20.74pt%
      <25>uczrct10 at24.88pt%
      }{}

\extra@def{cmctt}{\hyphenchar #1\m@ne}{}

\renewcommand{\rmdefault}{cmcyr}
\renewcommand{\sfdefault}{cmcss}
\renewcommand{\ttdefault}{cmctt}
\let\@dqtmp\"
\def\"#1{{\def\@tmpzzz{#1}\def\@tmpye{¥}\def\@tmplt{<}\def\@tmpgt{>}%
        \if\@tmpzzz\@tmpye\char'361%
	\else\if\@tmpzzz\@tmplt\char'372%
	\else\if\@tmpzzz\@tmpgt\char'373%
	\else\@dqtmp#1\fi\fi\fi%
        \let\@tmpzzz\relax\let\@tmpye\relax\let\@tmplt\relax\let\@tmpgt\relax}}
\def\No{{\char'374}}