Debian Codegraph @

texmf-dist/tex/fontinst/latinetx/t1cj.etx

raw
1 \relax
2
3 % t1cj.etx -- install a T1-encoded faked small-caps & oldstyle font
4 %
5 % This is used to install expertized or faked small-caps fonts;
6 % real small caps fonts built from fonts with variant c8r are
7 % installed using the default t1.etx.
8
9 \encoding
10
11 % We define the parameters for t1.etx to produce a c&sc font.
12
13 \setcommand\lc#1#2{#1small}
14 \setcommand\uc#1#2{#1}
15 \setcommand\lctop#1#2{#1small}
16 \setcommand\uctop#1#2{#1}
17 \setcommand\lclig#1#2{#1small}
18 \setcommand\uclig#1#2{#1spaced}
19 \setcommand\digit#1{#1oldstyle}
20
21 % The default letter spacing is 1/10 of the design size, with small
22 % caps 80% the size of large caps.
23
24 \setint{smallcapsscale}{800}
25
26 \ifisglyph{space}\then
27 \setint{interword}{\width{space}}
28 \else\ifisglyph{i}\then
29 \setint{interword}{\width{i}}
30 \else
31 \setint{interword}{333}
32 \fi\fi
33
34 \ifisint{monowidth}\then
35 \setint{smallcapsextraspace}
36 {\div{\scale{\int{interword}}{\sub{1000}{\int{smallcapsscale}}}}{2}}
37 \setint{smallcapsspacing}{0}
38 \else
39 \setint{smallcapsextraspace}{50}
40 \setint{smallcapsspacing}{50}
41 \fi
42
43 \ifisint{capspacing}\then
44 \setint{letterspacing}{\int{capspacing}}
45 \fi
46
47 % Then we call t1.etx.
48
49 \inputetx{t1}
50
51 \endencoding