summaryrefslogtreecommitdiff
path: root/fonts/cmolddig/source/instcmrj.tex
blob: 0cccad3e99cbfa34535161176ab2fb8a6b1bdc5b (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
%&Plain
% File instcmrj.tex
% copyright Rowland McDonnell 1998
% rowland.mcdonnell@physics.org
%
% Part of the cmolddig package
%
% This file can redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
% archives in directory macros/latex/base/lppl.txt; either
% version 1 of the License, or (at your option) any later version.
%
%
% version history
% ===============
%
% Oh God I don't know.  Buggered around with it for ages.  Shall I 
% call this version 1?

\input fontinst.sty

%
% A vital addition to correct a bug in fontinst.sty 1.801
%
\declareencoding{TEX TEXT WITHOUT F-LIGATURES}{OT1NOFLIG}

\installfonts
%
\installfamily{OT1}{cmrj}{\hyphenchar\font45 }
       \installfont {cmrj10} {cmr10, kernoff, cmmi10, kernon, dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<10> <10.95>}
% This doesn't work:
%        \installfont {cmrj5} {cmr5, cmmi5,dostretch} {OT1j}
%                     {OT1} {cmrj}{m}{n} {<5>}
% This does:
       \installfont {cmrj5} {cmr5, kernoff, cmmi5,kernon,dostretch} {OT1NOFLIGj}
                    {OT1} {cmrj}{m}{n} {<5>}
       \installfont {cmrj6} {cmr6,  kernoff, cmmi6,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<6>}
       \installfont {cmrj7} {cmr7,  kernoff, cmmi7,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<7>}
       \installfont {cmrj8} {cmr8,  kernoff, cmmi8,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<8>}
       \installfont {cmrj9} {cmr9,  kernoff, cmmi9,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<9>}
       \installfont {cmrj12} {cmr12,  kernoff, cmmi12,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<12>}
       \installfont {cmrj17} {cmr17,  kernoff, cmmi12,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{m}{n} {<17.28> <20.74> <24.88>}
                  
       \installfont {cmbj10} {cmb10,  kernoff, cmmib10,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{b}{n} {<5><6><7><8><9><10><10.95><12>
                                         <14.4><17.28><20.74><24.88>}

       \installfont {cmbxj10} {cmbx10,  kernoff, cmmib10,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<10> <10.95>}
       \installfont {cmbxj5} {cmbx5,  kernoff, cmmib5,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<5>}
       \installfont {cmbxj6} {cmbx6,  kernoff, cmmib6,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<6>}
       \installfont {cmbxj7} {cmbx7,  kernoff, cmmib7,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<7>}
       \installfont {cmbxj8} {cmbx8,  kernoff, cmmib8,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<8>}
       \installfont {cmbxj9} {cmbx9,  kernoff, cmmib9,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<9>}
       \installfont {cmbxj12} {cmbx12,  kernoff, cmmib10,kernon,dostretch} {OT1j}
                    {OT1} {cmrj}{bx}{n} {<12> <17.28> <20.74> <24.88>}

% This doesn't work:
%
%        \installfont {cmcscj10} {cmcsc10,  kernoff, cmmi10,kernon,dostretch} {OT1cj}
%                     {OT1} {cmrj}{m}{sc} {<5><6><7><8><9><10><10.95><12>
%                                          <14.4><17.28><20.74><24.88>}
                                         
%% This does...

\installfont {cmcscj10} {cmcsc10,  kernoff, cmmi10,kernon,dostretch} {OT1NOFLIGj}
             {OT1} {cmrj}{m}{sc} {<10><10.95><12><14.4><17.28>
                                                 <20.74><24.88>}
% These don't work:
%              
%        \installfont {cmcscj10} {cmcsc10,  kernoff, cmmi10,kernon,dostretch} {OT1cj}
%                     {OT1} {cmrj}{m}{sc} {<10><10.95><12><14.4><17.28>
%                                                         <20.74><24.88>}
%        \installfont {cmcscj9} {cmcsc9,  kernoff, cmmi9,kernon,dostretch} {OT1cj}
%                     {OT1} {cmrj}{m}{sc} {<9>}
%        \installfont {cmcscj8} {cmcsc8,  kernoff, cmmi8,kernon,dostretch} {OT1cj}
%                     {OT1} {cmrj}{m}{sc} {<5><6><7><8>}
% 
% This works:
%
       \installfont {cmcscj9} {cmcsc9,  kernoff, cmmi9,kernon,dostretch} {OT1NOFLIGj}
                    {OT1} {cmrj}{m}{sc} {<9>}
       \installfont {cmcscj8} {cmcsc8,  kernoff, cmmi8,kernon,dostretch} {OT1NOFLIGj}
                    {OT1} {cmrj}{m}{sc} {<5><6><7><8>}

% Note: cmcsc8 and cmcsc9 are extra founts that come with the AMS 
% founts.  Not everyone has them.  If you don't have cmcsc9 and 
% cmcsc8, comment out the lines above.
                                                 
\substitutenoisy{ui}{it}

\endinstallfonts

\bye

% How do I tell fontinst to write a fd file that does:
% \DeclareFontShape{OT1}{cmrj}{bx}{it}
%      {<->sub*cmr/bx/it}{}

%
%