| 1 |
|
| 2 |
% The Computer Modern Symbols family (by D. E. Knuth, 1979--1985) |
| 3 |
% Modification of original mathsy.mf by Knuth |
| 4 |
% Claudio Beccari (1999) |
| 5 |
|
| 6 |
font_coding_scheme:="TeX math symbols"; |
| 7 |
mode_setup; font_setup; |
| 8 |
|
| 9 |
if not (boolean boldlsymbol): math_spread:=0; fi |
| 10 |
autorounding:=hair; |
| 11 |
input calu; % upper case calligraphic alphabet |
| 12 |
autorounding:=0; |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
font_slant slant; font_x_height x_height#; |
| 17 |
font_quad 18u# if not monospace:+4letter_fit# fi; |
| 18 |
% (The spacing is zero so that \TeX\ will always add the italic correction.) |
| 19 |
% (The calling file should give the other math symbol font parameters.) |
| 20 |
|
| 21 |
slant:=mono_charic#:=0; % the remaining characters will not be slanted |
| 22 |
currenttransform:=identity yscaled aspect_ratio scaled granularity; |
| 23 |
input symbol; % the symbols |
| 24 |
|
| 25 |
% Correction for the empty big circle that otherwise turns out oval |
| 26 |
|
| 27 |
cmchar "Circle for copyright, etc."; |
| 28 |
beginchar(oct"015",18u#,math_axis#+8u#,8u#-math_axis#); autorounded; |
| 29 |
adjust_fit(0,0); pickup rule.nib; |
| 30 |
lft x6=hround u; x2=w-x6; |
| 31 |
top y8 - bot y4 = rt x2 - lft x6; y2=math_axis; |
| 32 |
circle_points; draw_circle; % circle |
| 33 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
if not monospace: |
| 38 |
skewchar=oct"060"; skew#=.5u#; |
| 39 |
ligtable "I": "T": "V": skewchar kern skew#; |
| 40 |
ligtable "K": skewchar kern 2skew#; |
| 41 |
ligtable "D": "N": "P": "R": "U": "W": "Y": skewchar kern 3skew#; |
| 42 |
ligtable "E": "F": "G": "H": "O": "Q": skewchar kern 4skew#; |
| 43 |
ligtable "B": "C": "L": "M": "S": "X": "Z": skewchar kern 5skew#; |
| 44 |
ligtable "J": skewchar kern 6skew#; |
| 45 |
ligtable "A": skewchar kern 7skew#; |
| 46 |
fi; |
| 47 |
bye. |