| 1 |
% Computer Modern Math Extension |
| 2 |
if unknown cmbase: input cmbase fi |
| 3 |
|
| 4 |
font_identifier:="CMEX"; font_size design_size * pt#; |
| 5 |
|
| 6 |
% This font has the same parameters as Computer Modern Roman, |
| 7 |
% plus a few, and a different set of characters. |
| 8 |
|
| 9 |
input c-cmr; |
| 10 |
|
| 11 |
if design_size <= 7pt#: |
| 12 |
letter_fit# := ((8pt# - design_size) * 4pt#) / 36pt#; |
| 13 |
fi; |
| 14 |
|
| 15 |
% the following font parameters are explained in {\sl The \TeX book}, Appendix G |
| 16 |
fontdimen 8: % parameters $\xi_8$ through $\xi_{13}$ will now be listed |
| 17 |
rule_thickness#, % default\_rule\_thickness |
| 18 |
|
| 19 |
% fontdimen 9 |
| 20 |
((design_size - 7pt#) * 4pt# + 28pt#) / 36pt#, % big\_op\_spacing1 |
| 21 |
|
| 22 |
% fontdimen 10 |
| 23 |
((design_size - 7pt#) * 6pt# + 42pt#) / 36pt#, % big\_op\_spacing2 |
| 24 |
|
| 25 |
% fontdimen 11 |
| 26 |
((design_size - 7pt#) * 7.2pt# + 50.4pt#) / 36pt#, % big\_op\_spacing3 |
| 27 |
|
| 28 |
% fontdimen 12 |
| 29 |
% cmex7=154, cmex8=175, cmex9=196, cmex=216. Argh. |
| 30 |
((design_size - 7pt#) * 21pt# + 154pt# |
| 31 |
- (if design_size >= 10pt#: 1pt# else: 0pt# fi)) |
| 32 |
/ 36pt#, % big\_op\_spacing4 |
| 33 |
|
| 34 |
% fontdimen 13 |
| 35 |
36 / 36pt#; % big\_op\_spacing5 |
| 36 |
|
| 37 |
generate mathex % switch to the driver file |
| 38 |
|