| 1 |
%% This is file LMSMB8 copied and modified from MSAM10 by American Mathematical |
| 2 |
%% Society, so as to change all the parameters and see what happens with the slides-font |
| 3 |
%% parameters; hopefully a new font is obtained that better matches the slides fonts |
| 4 |
% with their characteristic large x-height and small ascender height; with math symbols |
| 5 |
% this should not be so important, but ... |
| 6 |
%% |
| 7 |
%% Claudio Beccari 2007 |
| 8 |
% |
| 9 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 10 |
if unknown cmbase: input cmbase fi |
| 11 |
|
| 12 |
font_identifier:="LMSBM"; font_size 8pt#; |
| 13 |
|
| 14 |
u#:=20/36pt#; % unit width |
| 15 |
width_adj#:=0/36pt#; % width adjustment for certain characters |
| 16 |
serif_fit#:=-10/36pt#; % extra sidebar near lowercase serifs |
| 17 |
cap_serif_fit#:=-14/36pt#; % extra sidebar near uppercase serifs |
| 18 |
letter_fit#:=0pt#; % extra space added to all sidebars |
| 19 |
|
| 20 |
body_height#:=220/36pt#; % height of tallest characters |
| 21 |
asc_height#:=200/36pt#; % height of lowercase ascenders |
| 22 |
cap_height#:=197/36pt#; % height of caps |
| 23 |
fig_height#:=190/36pt#; % height of numerals |
| 24 |
x_height#:=150/36pt#; % height of lowercase without ascenders |
| 25 |
math_axis#:=80/36pt#; % axis of symmetry for math symbols |
| 26 |
bar_height#:=80/36pt#; % height of crossbar in lowercase e |
| 27 |
comma_depth#:=40/36pt#; % depth of comma below baseline |
| 28 |
desc_depth#:=40/36pt#; % depth of lowercase descenders |
| 29 |
|
| 30 |
crisp#:=18/36pt#; % diameter of serif corners |
| 31 |
tiny#:=18/36pt#; % diameter of rounded corners |
| 32 |
fine#:=8/36pt#; % diameter of sharply rounded corners |
| 33 |
thin_join#:=8/36pt#; % width of extrafine details |
| 34 |
hair#:=23/36pt#; % lowercase hairline breadth |
| 35 |
stem#:=23/36pt#; % lowercase stem breadth |
| 36 |
curve#:=23/36pt#; % lowercase curve breadth |
| 37 |
ess#:=23/36pt#; % breadth in middle of lowercase s |
| 38 |
flare#:=21/36pt#; % diameter of bulbs or breadth of terminals |
| 39 |
dot_size#:=28/36pt#; % diameter of dots |
| 40 |
cap_hair#:=23/36pt#; % uppercase hairline breadth |
| 41 |
cap_stem#:=27/36pt#; % uppercase stem breadth |
| 42 |
cap_curve#:=27/36pt#; % uppercase curve breadth |
| 43 |
cap_ess#:=27/36pt#; % breadth in middle of uppercase s |
| 44 |
rule_thickness#:=20/36pt#; % thickness of lines in math symbols |
| 45 |
|
| 46 |
dish#:=0/36pt#; % amount erased at top or bottom of serifs |
| 47 |
bracket#:=00/36pt#; % vertical distance from serif base to tangent |
| 48 |
jut#:=0/36pt#; % protrusion of lowercase serifs |
| 49 |
cap_jut#:=0/36pt#; % protrusion of uppercase serifs |
| 50 |
beak_jut#:=0/36pt#; % horizontal protrusion of beak serifs |
| 51 |
beak#:=00/36pt#; % vertical protrusion of beak serifs |
| 52 |
vair#:=18/36pt#; % vertical diameter of hairlines |
| 53 |
notch_cut#:=23/36pt#; % maximum breadth above or below notches |
| 54 |
bar#:=18/36pt#; % lowercase bar thickness |
| 55 |
slab#:=19/36pt#; % serif and arm thickness |
| 56 |
cap_bar#:=19/36pt#; % uppercase bar thickness |
| 57 |
cap_band#:=19/36pt#; % uppercase thickness above/below lobes |
| 58 |
cap_notch_cut#:=23/36pt#; % max breadth above/below uppercase notches |
| 59 |
serif_drop#:=0/36pt#; % vertical drop of sloped serifs |
| 60 |
stem_corr#:=.5/36pt#; % for small refinements of stem breadth |
| 61 |
vair_corr#:=.5/36pt#; % for small refinements of hairline height |
| 62 |
apex_corr#:=4/36pt#; % extra width at diagonal junctions |
| 63 |
|
| 64 |
o#:=6/36pt#; % amount of overshoot for curves |
| 65 |
apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions |
| 66 |
|
| 67 |
slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ |
| 68 |
fudge:=.95; % factor applied to weights of heavy characters |
| 69 |
math_spread:=.4; % extra openness of math symbols |
| 70 |
superness:=1/sqrt2; % parameter for superellipses |
| 71 |
superpull:=1/10; % extra openness inside bowls |
| 72 |
beak_darkness:=0; % fraction of triangle inside beak serifs |
| 73 |
ligs:=2; % level of ligatures to be included |
| 74 |
|
| 75 |
square_dots:=true; % should dots be square? |
| 76 |
hefty:=true; % should we try hard not to be overweight? |
| 77 |
serifs:=false; % should serifs and bulbs be attached? |
| 78 |
monospace:=false; % should all characters have the same width? |
| 79 |
variant_g:=false; % should an italic-style g be used? |
| 80 |
low_asterisk:=false; % should the asterisk be centered at the axis? |
| 81 |
math_fitting:=true; % should math-mode spacing be used? |
| 82 |
|
| 83 |
% the following font parameters are explained in {\sl The \TeX book}, Appendix G |
| 84 |
subs:=6/8; % subscripts to 10pt will normally be in 7pt type |
| 85 |
rth#:=.4pt#; % assume that rules will come from cmex10 |
| 86 |
fontdimen 8: % parameters $\sigma_8$ through $\sigma_{22}$ will now be listed |
| 87 |
math_axis#+3.51rth#+36/36pt#+subs*desc_depth#, % num1 |
| 88 |
math_axis#+1.51rth#+24/36pt#, % num2 |
| 89 |
math_axis#+1.51rth#+38/36pt#, % num3 |
| 90 |
-(math_axis#-3.51rth#-subs*fig_height#-98/36pt#), % denom1 |
| 91 |
-(math_axis#-1.51rth#-subs*fig_height#-24/36pt#), % denom2 |
| 92 |
7.99pt#-subs*asc_height#, % sup1 |
| 93 |
6.99pt#-subs*asc_height#, % sup2 |
| 94 |
82/36pt#, % sup3 |
| 95 |
36/36pt#, % sub1 |
| 96 |
72/36pt#, % sub2 |
| 97 |
subs*asc_height#-36/36pt#, % sup\_drop |
| 98 |
18/36pt#, % sub\_drop |
| 99 |
11.9pt#, % delim1 |
| 100 |
9.1pt#, % delim2 |
| 101 |
math_axis#; % axis\_height |
| 102 |
|
| 103 |
def diagonal (suffix ne, sw)= draw z.ne--z.sw enddef; |
| 104 |
|
| 105 |
generate lamsyb % switch to the driver file |