| 1 |
|
| 2 |
input Sym-Init; |
| 3 |
|
| 4 |
if bold_weight: |
| 5 |
u# := interpolate(1/36pt#)(12.5, 14, 15.5, 17, 18.5, 20, 23.5); |
| 6 |
asc_height# := interpolate(1/36pt#)( 120, 144, 168, 192, 216, 240, 288); |
| 7 |
desc_depth# := interpolate(1/36pt#)( 35, 42, 49, 56, 63, 70, 84); |
| 8 |
x_height# := interpolate(1/36pt#)( 77, 92, 107, 123, 138, 154, 184); |
| 9 |
math_axis# := interpolate(1/36pt#)( 46, 55, 64, 73, 82, 92, 110); |
| 10 |
rule_thickness# := 1.5 * interpolate(1/100pt#)( 31, 34, 38, 40, 42, 45, 54); |
| 11 |
|
| 12 |
side_bearing# := 1.5u#; |
| 13 |
small_op_size# := 7u#; % radius of small operators |
| 14 |
med_op_size# := 12u#; % radius of medium operators |
| 15 |
plus_size# := 4/5med_op_size#-11/5rule_thickness#; |
| 16 |
large_op_size# := 18u#; % radius of large operators |
| 17 |
order_width# := 7u#; % width of equal sign |
| 18 |
equal_spread# := .7math_axis#; % distance between the lines of the equal sign |
| 19 |
greater_spread# := 10/4equal_spread#; % distance between the ends of the greater sign |
| 20 |
arrow_horiz_len# := 12u#; % length of horizontal arrows |
| 21 |
arrow_vert_len# := 3math_axis#; % length of vertical arrows |
| 22 |
arrow_diag_len# := 0.5(arrow_horiz_len# + arrow_vert_len#); |
| 23 |
arrow_spread# := 1.6equal_spread#; |
| 24 |
delim_height# := 15/20asc_height#; |
| 25 |
|
| 26 |
dot_size# := 1.5 * 35/36u#; |
| 27 |
else: |
| 28 |
u# := interpolate(1/36pt#)(12.5, 14, 15.5, 17, 18.5, 20, 23.5); |
| 29 |
asc_height# := interpolate(1/36pt#)( 120, 144, 168, 192, 216, 240, 288); |
| 30 |
desc_depth# := interpolate(1/36pt#)( 35, 42, 49, 56, 63, 70, 84); |
| 31 |
x_height# := interpolate(1/36pt#)( 77, 92, 107, 123, 138, 154, 184); |
| 32 |
math_axis# := interpolate(1/36pt#)( 46, 55, 64, 73, 82, 92, 110); |
| 33 |
rule_thickness# := interpolate(1/100pt#)( 31, 34, 38, 40, 42, 45, 54); |
| 34 |
|
| 35 |
side_bearing# := 1.5u#; |
| 36 |
small_op_size# := 7u#; % radius of small operators |
| 37 |
med_op_size# := 12u#; % radius of medium operators |
| 38 |
plus_size# := 4/5med_op_size#-11/5rule_thickness#; |
| 39 |
large_op_size# := 18u#; % radius of large operators |
| 40 |
order_width# := 7u#; % width of equal sign |
| 41 |
equal_spread# := .7math_axis#; % distance between the lines of the equal sign |
| 42 |
greater_spread# := 10/4equal_spread#; % distance between the ends of the greater sign |
| 43 |
arrow_horiz_len# := 12u#; % length of horizontal arrows |
| 44 |
arrow_vert_len# := 3math_axis#; % length of vertical arrows |
| 45 |
arrow_diag_len# := 0.5(arrow_horiz_len# + arrow_vert_len#); |
| 46 |
arrow_spread# := 1.6equal_spread#; |
| 47 |
delim_height# := 15/20asc_height#; |
| 48 |
|
| 49 |
dot_size# := 35/36u#; |
| 50 |
fi; |
| 51 |
|