| 1 |
% Based on the American Mathematical Society's bsymbols.mf |
| 2 |
|
| 3 |
% Edited by Ariel Barton to produce better sans serif symbols |
| 4 |
|
| 5 |
% Date: 2013/03/22 |
| 6 |
|
| 7 |
def char_negate(suffix c,t,b) = %c is center point; t is top point; b is bottom |
| 8 |
pickup rule.nib; |
| 9 |
w-x.t=x.b; y.t-y.c=y.c-y.b; draw z.t--z.b; |
| 10 |
penlabels(t,c,b); enddef; |
| 11 |
def char_center(suffix c) = % find center of type character |
| 12 |
x.c=w/2; y.c=.5[-d,h]; enddef; |
| 13 |
|
| 14 |
cmchar "Less than or not (double) equals sign"; |
| 15 |
compute_spread(.45x_height#,.55x_height#); |
| 16 |
spread#':=spread#; spread':=spread; |
| 17 |
compute_spread(5/4x_height#,3/2x_height#); |
| 18 |
beginchar(oct"000",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 19 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 20 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; |
| 21 |
y2=.5[y1,y3]; top y1=h; |
| 22 |
x2=x9=x7; x1=x8=x6; y7=y6; y8=y9; |
| 23 |
y7-y9=spread'; top y3-bot y6=spread'; |
| 24 |
draw z1--z2--z3; % diagonals |
| 25 |
draw z6--z7; draw z8--z9; % equal sign |
| 26 |
z.c=.5[z7,z8]; x.t=x.c; y.t=2/3[y6,y3]; |
| 27 |
char_negate(c,t,b); |
| 28 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 29 |
|
| 30 |
cmchar "Greater than or not (double) equals sign"; |
| 31 |
compute_spread(.45x_height#,.55x_height#); |
| 32 |
spread#':=spread#; spread':=spread; |
| 33 |
compute_spread(5/4x_height#,3/2x_height#); |
| 34 |
beginchar(oct"001",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 35 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 36 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; y1-y3=spread; |
| 37 |
x2=x7=x9; x1=x6=x8; y6=y7; y8=y9; |
| 38 |
y2=.5[y1,y3]; top y3-bot y6=spread'; top y1=h; |
| 39 |
y7-y9=spread'; |
| 40 |
draw z1--z2--z3; % diagonals |
| 41 |
draw z6--z7; draw z8--z9; |
| 42 |
z.c=.5[z7,z8]; x.t=x.c; y.t=2/3[y6,y3]; |
| 43 |
char_negate(c,t,b); |
| 44 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 45 |
|
| 46 |
cmchar "Not less than or equal to sign"; |
| 47 |
compute_spread(.45x_height#,.55x_height#); |
| 48 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 49 |
compute_spread(5/4x_height#,3/2x_height#); |
| 50 |
beginchar(oct"002",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 51 |
italcorr h#*slant-u#; |
| 52 |
adjust_fit(0,0); pickup rule.nib; |
| 53 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 54 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 55 |
draw z1--z2--z3; % diagonals |
| 56 |
x8=x1; x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % bar |
| 57 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 58 |
char_negate(100,101,102); |
| 59 |
labels(1,2,3,8,9,99,100); endchar; |
| 60 |
|
| 61 |
cmchar "Not greater than or equal to sign"; |
| 62 |
compute_spread(.45x_height#,.55x_height#); |
| 63 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 64 |
compute_spread(5/4x_height#,3/2x_height#); |
| 65 |
beginchar(oct"003",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 66 |
italcorr h#*slant-u#; |
| 67 |
adjust_fit(0,0); pickup rule.nib; |
| 68 |
lft x1=hround 1.5u-eps; x2=w-x1; x3=x1; |
| 69 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 70 |
draw z1--z2--z3; % diagonals |
| 71 |
x8=x1; x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % bar |
| 72 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 73 |
char_negate(100,101,102); |
| 74 |
labels(1,2,3,8,9,99,100); endchar; |
| 75 |
|
| 76 |
cmchar "Not less than sign"; |
| 77 |
compute_spread(5/4x_height#,3/2x_height#); |
| 78 |
beginchar(oct"004",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 79 |
italcorr h#*slant-u#; |
| 80 |
adjust_fit(0,0); pickup rule.nib; |
| 81 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 82 |
y1-y3=spread; y2=.5[y1,y3]=math_axis; |
| 83 |
draw z1--z2--z3; % diagonals |
| 84 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 85 |
char_negate(100,101,102); |
| 86 |
labels(1,2,3); endchar; |
| 87 |
|
| 88 |
cmchar "Not greater than sign"; |
| 89 |
compute_spread(5/4x_height#,3/2x_height#); |
| 90 |
beginchar(oct"005",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 91 |
italcorr math_axis#*slant-u#; |
| 92 |
adjust_fit(0,0); pickup rule.nib; |
| 93 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; |
| 94 |
y1-y3=spread; y2=.5[y1,y3]=math_axis; |
| 95 |
draw z1--z2--z3; % diagonals |
| 96 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 97 |
char_negate(100,101,102); |
| 98 |
labels(1,2,3,99,100); endchar; |
| 99 |
|
| 100 |
cmchar "Not precedes sign"; |
| 101 |
compute_spread(5/4x_height#,3/2x_height#); |
| 102 |
beginchar(oct"006",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 103 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 104 |
lft x2=hround 1.5u-epsilon; x1=x3=w-x2; |
| 105 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 106 |
draw z1{-u,-spread}...{left}z2; % upper diagonal |
| 107 |
draw z3{-u,spread}...{left}z2; % lower diagonal |
| 108 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 109 |
char_negate(100,101,102); |
| 110 |
labels(1,2,3,99,100); endchar; |
| 111 |
|
| 112 |
cmchar "Not follows sign"; |
| 113 |
compute_spread(5/4x_height#,3/2x_height#); |
| 114 |
beginchar(oct"007",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 115 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 116 |
lft x1=hround 1.5u-epsilon; x2=w-x1; x3=x1; |
| 117 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 118 |
draw z1{u,-spread}...{right}z2; % upper diagonal |
| 119 |
draw z3{u,spread}...{right}z2; % lower diagonal |
| 120 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 121 |
char_negate(100,101,102); |
| 122 |
labels(1,2,3,99,100); endchar; |
| 123 |
|
| 124 |
cmchar "Less than or slanted not (double) equals sign"; |
| 125 |
compute_spread(.45x_height#,.55x_height#); |
| 126 |
spread#':=spread#; spread':=spread; |
| 127 |
compute_spread(5/4x_height#,3/2x_height#); |
| 128 |
beginchar(oct"010",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 129 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 130 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; |
| 131 |
y2=.5[y1,y3]; top y1=h; |
| 132 |
x2=x9=x7; x1=x8=x6; y7=y6; y8=y9; |
| 133 |
y7-y9=spread'; top y3-bot y6=spread'; |
| 134 |
draw z1--z2--z3; % diagonals |
| 135 |
draw z6--z7; draw z8--z9; % equal sign |
| 136 |
z.c=.5[z7,z8]; x.t=2/3[x.c, x3]; y.t=2/3[y6,y3]; |
| 137 |
char_negate(c,t,b); |
| 138 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 139 |
|
| 140 |
cmchar "Greater than or slanted not (double) equals sign"; |
| 141 |
compute_spread(.45x_height#,.55x_height#); |
| 142 |
spread#':=spread#; spread':=spread; |
| 143 |
compute_spread(5/4x_height#,3/2x_height#); |
| 144 |
beginchar(oct"011",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 145 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 146 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; y1-y3=spread; |
| 147 |
x2=x7=x9; x1=x6=x8; y6=y7; y8=y9; |
| 148 |
y2=.5[y1,y3]; top y3-bot y6=spread'; top y1=h; |
| 149 |
y7-y9=spread'; |
| 150 |
draw z1--z2--z3; % diagonals |
| 151 |
draw z6--z7; draw z8--z9; |
| 152 |
z.c=.5[z7,z8]; x.t=2/3[x.c, w-x3]; y.t=2/3[y6,y3]; |
| 153 |
char_negate(c,t,b); |
| 154 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 155 |
|
| 156 |
cmchar "Not less than or (slanted) equal sign"; |
| 157 |
compute_spread(.45x_height#,.55x_height#); |
| 158 |
spread#':=spread#; spread':=spread; |
| 159 |
compute_spread(5/4x_height#,3/2x_height#); |
| 160 |
beginchar(oct"012",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 161 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 162 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; |
| 163 |
y2=.5[y1,y3]; y3-y8=y2-y9=spread'; top y1=h-3u; |
| 164 |
x2=x9; x1=x8; |
| 165 |
draw z1--z2--z3; % diagonals |
| 166 |
draw z8--z9; % equal sign |
| 167 |
char_center(c); x.t=w-3u; y.t=y1+3u; |
| 168 |
char_negate(c,t,b); |
| 169 |
penlabels(1,2,3,8,9); endchar; |
| 170 |
|
| 171 |
cmchar "Not greater than or (slanted) equal sign"; |
| 172 |
compute_spread(.45x_height#,.55x_height#); |
| 173 |
spread#':=spread#; spread':=spread; |
| 174 |
compute_spread(5/4x_height#,3/2x_height#); |
| 175 |
beginchar(oct"13",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 176 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 177 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; y1-y3=spread; |
| 178 |
x2=x9; x1=x8; |
| 179 |
y2=.5[y1,y3]; y3-y8=y2-y9=spread'; top y1=h-3u; |
| 180 |
draw z1--z2--z3; % diagonals |
| 181 |
draw z8--z9; |
| 182 |
char_center(c); x.t=w-3u; y.t=y1+3u; |
| 183 |
char_negate(c,t,b); |
| 184 |
penlabels(1,2,3,8,9); endchar; |
| 185 |
|
| 186 |
cmchar "Less than or not equal to sign"; |
| 187 |
compute_spread(.45x_height#,.55x_height#); |
| 188 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 189 |
compute_spread(5/4x_height#,3/2x_height#); |
| 190 |
beginchar(oct"014",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 191 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; lft |
| 192 |
x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; y2=.5[y1,y3]; |
| 193 |
top y1=h; draw z1--z2--z3; % diagonals |
| 194 |
x8=x1; x9=x2; y8=y9; |
| 195 |
y3-y9=spread'; draw z8--z9; % bar |
| 196 |
x100=w/2; y100=y8; % center point |
| 197 |
y101=.5[y8,y3]; x101-x100=y101-y100; |
| 198 |
char_negate(100,101,102); |
| 199 |
labels(1,2,3,8,9); endchar; |
| 200 |
|
| 201 |
cmchar "Greater than or not equal to sign"; |
| 202 |
compute_spread(.45x_height#,.55x_height#); |
| 203 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 204 |
compute_spread(5/4x_height#,3/2x_height#); |
| 205 |
beginchar(oct"015",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 206 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; lft |
| 207 |
x1=hround 1.5u-eps; x2=w-x1; x3=x1; y1-y3=spread; |
| 208 |
y2=.5[y1,y3]; top y1=h; draw z1--z2--z3; % diagonals |
| 209 |
x8=x1; |
| 210 |
x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % bar |
| 211 |
x100=w/2; y100=y8; % center point |
| 212 |
y101=.5[y8,y3]; x101-x100=y101-y100; |
| 213 |
char_negate(100,101,102); |
| 214 |
labels(1,2,3,8,9); endchar; |
| 215 |
|
| 216 |
cmchar "Not precedes or equals sign"; |
| 217 |
compute_spread(.45x_height#,.55x_height#); |
| 218 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 219 |
compute_spread(5/4x_height#,3/2x_height#); |
| 220 |
beginchar(oct"016",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 221 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x2=hround |
| 222 |
1.5u-eps; x1=x3=w-x2; y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 223 |
draw z1{-u,-spread}...{left}z2; % upper diagonal |
| 224 |
draw z3{-u,spread}...{left}z2; % lower diagonal |
| 225 |
x8=x1; x9=x2; |
| 226 |
y8=y9; y3-y9=spread'; draw z8--z9; % bar |
| 227 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 228 |
char_negate(100,101,102); |
| 229 |
labels(1,2,3,8,9,99,100); endchar; |
| 230 |
|
| 231 |
cmchar "Not follows or equals sign"; |
| 232 |
compute_spread(.45x_height#,.55x_height#); |
| 233 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 234 |
compute_spread(5/4x_height#,3/2x_height#); |
| 235 |
beginchar(oct"017",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 236 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x1=hround |
| 237 |
1.5u-eps; x2=w-x1; x3=x1; y1-y3=spread; y2=.5[y1,y3]; top |
| 238 |
y1=h-3u; draw z1{u,-spread}...{right}z2; % upper diagonal |
| 239 |
draw z3{u,spread}...{right}z2; % lower diagonal |
| 240 |
x8=x1; x9=x2; |
| 241 |
y8=y9; y3-y9=spread'; draw z8--z9; % bar |
| 242 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 243 |
char_negate(100,101,102); |
| 244 |
labels(1,2,3,8,9,99,100); endchar; |
| 245 |
|
| 246 |
cmchar "Precedes or not approximately equals sign"; |
| 247 |
compute_spread(.45x_height#,.55x_height#); |
| 248 |
spread#':=spread#; spread':=spread; |
| 249 |
compute_spread(.54x_height#,.55x_height#); |
| 250 |
spread#'':=spread#; spread'':=spread; |
| 251 |
compute_spread(5/4 x_height#,3/2 x_height#); |
| 252 |
beginchar(oct"020",14u#,v_center(spread#'+spread#+spread#'')); |
| 253 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 254 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 255 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 256 |
draw z1{-u,-spread}...{left}z2; %upper `diagonal' |
| 257 |
draw z3{-u,spread}...{left}z2; % lower diagonal |
| 258 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 259 |
1.4rule_thickness; |
| 260 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 261 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 262 |
bot y11=bot y13; top y12=top y14; |
| 263 |
top y12-bot y11=spread''; |
| 264 |
y3-y14=spread'; |
| 265 |
draw z11{up}...z12{right}..{right}z13...{up}z14; |
| 266 |
x.c=w/2; y.c=.5[y12,y13]; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 267 |
char_negate(c,t,b); |
| 268 |
penlabels(1,2,3,11,12,13,14); endchar; |
| 269 |
|
| 270 |
cmchar "Follows or not equals sign"; |
| 271 |
compute_spread(.45x_height#,.55x_height#); |
| 272 |
spread#':=spread#; spread':=spread; % spread of similarity sign |
| 273 |
compute_spread(.54 x_height#,.66 x_height#); |
| 274 |
spread#'':=spread#; spread'':=spread; % spread between symbols |
| 275 |
compute_spread(5/4 x_height#,3/2 x_height#); % spread of follows sign |
| 276 |
beginchar(oct"021",14u#,v_center(spread#'+spread#+spread#'')); |
| 277 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 278 |
lft x1=hround 1.5u-eps; x1=x3; x2=w-x1; |
| 279 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 280 |
draw z1{u,-spread}...{right}z2; %upper `diagonal' |
| 281 |
draw z3{u,spread}...{right}z2; % lower diagonal |
| 282 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 283 |
1.4rule_thickness; |
| 284 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 285 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 286 |
bot y11=bot y13; top y12=top y14; |
| 287 |
top y12-bot y11=spread''; |
| 288 |
y3-y14=spread'; |
| 289 |
draw z11{up}...z12{right}..{right}z13...{up}z14; |
| 290 |
x.c=w/2; y.c=.5[y12,y13]; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 291 |
char_negate(c,t,b); |
| 292 |
penlabels(1,2,3,11,12,13,14); endchar; |
| 293 |
|
| 294 |
|
| 295 |
|
| 296 |
cmchar "Less than or not similar to sign"; |
| 297 |
compute_spread(.45x_height#,.55x_height#); |
| 298 |
spread#':=spread#; spread':=spread; |
| 299 |
compute_spread(.54x_height#,.55x_height#); |
| 300 |
spread#'':=spread#; spread'':=spread; |
| 301 |
compute_spread(5/4 x_height#,3/2 x_height#); |
| 302 |
beginchar(oct"022",14u#,v_center(spread#'+spread#+spread#'')); |
| 303 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 304 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 305 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 306 |
draw z1--z2--z3; |
| 307 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 308 |
1.4rule_thickness; |
| 309 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 310 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 311 |
bot y11=bot y13; top y12=top y14; |
| 312 |
top y12-bot y11=spread''; |
| 313 |
y3-y14=spread'; |
| 314 |
draw z11{up}...z12{right}..{right}z13...{up}z14; |
| 315 |
x.c=w/2; y.c=.5[y12,y13]; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 316 |
char_negate(c,t,b); |
| 317 |
penlabels(1,2,3,4,11,12,13,14); endchar; |
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
cmchar "Greater than or not similar to sign"; |
| 322 |
compute_spread(.45x_height#,.55x_height#); |
| 323 |
spread#':=spread#; spread':=spread; |
| 324 |
compute_spread(.54x_height#,.66x_height#); |
| 325 |
spread#'':=spread#; spread'':=spread; |
| 326 |
compute_spread(5/4 x_height#,3/2 x_height#); |
| 327 |
beginchar(oct"023",14u#,v_center(spread#'+spread#+spread#'')); |
| 328 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 329 |
lft x1=hround 1.5u-eps; x1=x3; x2=w-x1; |
| 330 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 331 |
draw z1--z2--z3; |
| 332 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 333 |
1.4rule_thickness; |
| 334 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 335 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 336 |
bot y11=bot y13; top y12=top y14; |
| 337 |
top y12-bot y11=spread''; |
| 338 |
y3-y14=spread'; |
| 339 |
draw z11{up}...z12{right}..{right}z13...{up}z14; |
| 340 |
z.c=.5[z12,z13]; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 341 |
char_negate(c,t,b); |
| 342 |
penlabels(1,2,3,4,11,12,13,14); endchar; |
| 343 |
|
| 344 |
|
| 345 |
cmchar "Negated less than or (double) equals sign"; |
| 346 |
compute_spread(.45x_height#,.55x_height#); |
| 347 |
spread#':=spread#; spread':=spread; |
| 348 |
compute_spread(5/4x_height#,3/2x_height#); |
| 349 |
beginchar(oct"024",14u#,v_center(2spread#'+spread#+2rule_thickness#+6u#)); |
| 350 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 351 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; |
| 352 |
y2=.5[y1,y3]; top y1=h-3u; |
| 353 |
x2=x9=x7; x1=x8=x6; y7=y6; y8=y9; |
| 354 |
y7-y9=spread'; top y3-bot y6=spread'; |
| 355 |
draw z1--z2--z3; % diagonals |
| 356 |
draw z6--z7; draw z8--z9; % equal sign |
| 357 |
char_center(c); x.t=w-3u; y.t=y1+3u; |
| 358 |
char_negate(c,t,b); |
| 359 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 360 |
|
| 361 |
cmchar "Negated greater than or (double) equals sign"; |
| 362 |
compute_spread(.45x_height#,.55x_height#); |
| 363 |
spread#':=spread#; spread':=spread; |
| 364 |
compute_spread(5/4x_height#,3/2x_height#); |
| 365 |
beginchar(oct"025",14u#,v_center(2spread#'+spread#+2rule_thickness#+6u#)); |
| 366 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 367 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; y1-y3=spread; |
| 368 |
x2=x7=x9; x1=x6=x8; y6=y7; y8=y9; |
| 369 |
y2=.5[y1,y3]; top y3-bot y6=spread'; top y1=h-3u; |
| 370 |
y7-y9=spread'; |
| 371 |
draw z1--z2--z3; % diagonals |
| 372 |
draw z6--z7; draw z8--z9; |
| 373 |
char_center(c); x.t=w-3u; y.t=y1+3u; |
| 374 |
char_negate(c,t,b); |
| 375 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 376 |
|
| 377 |
cmchar "Precedes or slanted not (double) equals sign"; |
| 378 |
compute_spread(.45x_height#,.55x_height#); |
| 379 |
spread#':=spread#; spread':=spread; |
| 380 |
compute_spread(5/4x_height#,3/2x_height#); |
| 381 |
beginchar(oct"026",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 382 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 383 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; y1-y3=spread; |
| 384 |
y2=.5[y1,y3]; top y1=h; |
| 385 |
x2=x9=x7; x1=x8=x6; y7=y6; y8=y9; |
| 386 |
y7-y9=spread'; top y3-bot y6=spread'; |
| 387 |
draw z1{-u,-spread}..{left}z2; % diagonals |
| 388 |
draw z3{-u, spread}..{left}z2; |
| 389 |
draw z6--z7; draw z8--z9; % equal sign |
| 390 |
z.c=.5[z7,z8]; x.t=2/3[x.c, x3]; y.t=2/3[y6,y3]; |
| 391 |
char_negate(c,t,b); |
| 392 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 393 |
|
| 394 |
cmchar "Follows or slanted not (double) equals sign"; |
| 395 |
compute_spread(.45x_height#,.55x_height#); |
| 396 |
spread#':=spread#; spread':=spread; |
| 397 |
compute_spread(5/4x_height#,3/2x_height#); |
| 398 |
beginchar(oct"027",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 399 |
italcorr h#*slant-u#; adjust_fit(0,0); pickup rule.nib; |
| 400 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; y1-y3=spread; |
| 401 |
x2=x7=x9; x1=x6=x8; y6=y7; y8=y9; |
| 402 |
y2=.5[y1,y3]; top y3-bot y6=spread'; top y1=h; |
| 403 |
y7-y9=spread'; |
| 404 |
draw z1{u,-spread}..{right}z2; % diagonals |
| 405 |
draw z3{u,spread}..{right}z2; |
| 406 |
draw z6--z7; draw z8--z9; |
| 407 |
z.c=.5[z7,z8]; x.t=2/3[x.c, w-x3]; y.t=2/3[y6,y3]; |
| 408 |
char_negate(c,t,b); |
| 409 |
penlabels(1,2,3,6,7,8,9); endchar; |
| 410 |
|
| 411 |
cmchar "Precedes with not approximate equality sign"; |
| 412 |
compute_spread(.45x_height#,.55x_height#); |
| 413 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 414 |
compute_spread(.54 x_height#,.66 x_height#); |
| 415 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 416 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 417 |
beginchar(oct"030",14u#,v_center(2spread#''+spread#+2rule_thickness#)); |
| 418 |
adjust_fit(0,0); |
| 419 |
% now for precedes sign, using z9 (top), z10 (vertex), & z11 (bot) |
| 420 |
pickup rule.nib; |
| 421 |
lft x10= hround 1.5u-eps; x9=x11=w-x10; |
| 422 |
y9-y11=spread; y10=.5[y9,y11]; top y9=h; |
| 423 |
draw z9{-u,-spread}...{left}z10; |
| 424 |
draw z11{-u,spread}...{left}z10; |
| 425 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 426 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 427 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 428 |
top y3=top y1=bot y11-spread''; top y2=top y4=bot y1+spread'; |
| 429 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread''); |
| 430 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 431 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 432 |
z.c=.5[z2,z7]; x.t=3/8[x.c,x4]; y.t=1/3[y2,y11]; |
| 433 |
char_negate(c,t,b); |
| 434 |
labels(1,2,3,4,5,6,7,8,9,10,11); endchar; |
| 435 |
|
| 436 |
|
| 437 |
cmchar "Follows with not approximate equality sign"; |
| 438 |
compute_spread(.45x_height#,.55x_height#); |
| 439 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 440 |
compute_spread(.54 x_height#,.66 x_height#); |
| 441 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 442 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 443 |
beginchar(oct"031",14u#,v_center(2spread#''+spread#+2rule_thickness#)); |
| 444 |
adjust_fit(0,0); |
| 445 |
% now for follow sign, using z9 (top), z10 (vertex), & z11 (bot) |
| 446 |
pickup rule.nib; |
| 447 |
lft x9 = hround 1.5u-eps; x10=w-x9; x11=x9; |
| 448 |
y9-y11=spread; y10=.5[y9,y11]; top y9=h; |
| 449 |
draw z9{u,-spread}...{right}z10; |
| 450 |
draw z11{u,spread}...{right}z10; |
| 451 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 452 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 453 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 454 |
top y3=top y1=bot y11-spread''; top y2=top y4=bot y1+spread'; |
| 455 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread''); |
| 456 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 457 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 458 |
z.c=.5[z2,z7]; x.t=3/8[x.c,x4]; y.t=1/3[y2,y11]; |
| 459 |
char_negate(c,t,b); |
| 460 |
labels(1,2,3,4,5,6,7,8,9,10,11); endchar; |
| 461 |
|
| 462 |
|
| 463 |
cmchar "Less than or not approximately equal to sign"; |
| 464 |
compute_spread(.45x_height#,.55x_height#); |
| 465 |
spread#':=spread#; spread':=spread; |
| 466 |
compute_spread(.54 x_height#,.66 x_height#); |
| 467 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 468 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 469 |
beginchar(oct"032",14u#,v_center(2spread#''+spread#+2rule_thickness#)); |
| 470 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 471 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 472 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 473 |
draw z1--z2--z3; |
| 474 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 475 |
1.4rule_thickness; |
| 476 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 477 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 478 |
top y13=top y11=bot y3-spread''; top y12=top y14=bot y11+spread'; |
| 479 |
path p; p=z11{up}...z12{right}..{right}z13...{up}z14; |
| 480 |
draw p; draw p shifted (0,-spread''); |
| 481 |
x.c=w/2; y.c=.5[y12, y13-spread'']; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 482 |
char_negate(c,t,b); |
| 483 |
penlabels(1,2,3,4,11,12,13,14); endchar; |
| 484 |
|
| 485 |
cmchar "Greater than or not approximately equal to sign"; |
| 486 |
compute_spread(.45x_height#,.55x_height#); |
| 487 |
spread#':=spread#; spread':=spread; |
| 488 |
compute_spread(.54 x_height#,.66 x_height#); |
| 489 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 490 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 491 |
beginchar(oct"033",14u#,v_center(2spread#''+spread#+2rule_thickness#)); |
| 492 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 493 |
lft x1=hround 1.5u-eps; x1=x3; x2=w-x1; |
| 494 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 495 |
draw z1--z2--z3; |
| 496 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 497 |
1.4rule_thickness; |
| 498 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi |
| 499 |
lft x11=hround u; x12=4u; x13=w-x12; x14=w-x11; |
| 500 |
bot y11=bot y13; top y12=top y14; |
| 501 |
top y12-bot y11=spread'; |
| 502 |
bot y3- spread''=top y11; |
| 503 |
path p; p=z11{up}...z12{right}..{right}z13...{up}z14; |
| 504 |
draw p; draw p shifted (0,-spread''); |
| 505 |
x.c=w/2; y.c=.5[y12,y13-spread'']; x.t=3/8[x.c,x14]; y.t=2/3[y12,y3]; |
| 506 |
char_negate(c,t,b); |
| 507 |
penlabels(1,2,3,4,11,12,13,14); endchar; |
| 508 |
|
| 509 |
cmchar "Thick not similar to sign"; |
| 510 |
compute_spread(.45x_height#,.55x_height#); |
| 511 |
beginchar(oct"034",14u#,v_center(spread#+rule_thickness#)); |
| 512 |
adjust_fit(0,0); pickup pencircle xscaled .8rule_thickness |
| 513 |
yscaled 1.87rule_thickness; if vair#>.8curve#: pickup |
| 514 |
rule.nib; autorounded; fi % monoline |
| 515 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 516 |
bot y1=bot y3=-d; top y2=top y4=h; |
| 517 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % stroke |
| 518 |
char_center(100); x101=w-4u; y101=y1+5u; |
| 519 |
char_negate(100,101,102); |
| 520 |
labels(1,2,3,4,99,100); endchar; |
| 521 |
|
| 522 |
|
| 523 |
cmchar "Not approximately equal to sign"; |
| 524 |
compute_spread(.45x_height#,.55x_height#); |
| 525 |
beginchar(oct"035",14u#,v_center(3spread#+2rule_thickness#+8u#)); |
| 526 |
adjust_fit(0,0); |
| 527 |
pickup pencircle xscaled .7rule_thickness yscaled |
| 528 |
1.4rule_thickness; |
| 529 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % |
| 530 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 531 |
y1=y3; top y2=top y4=h-4u; top y2-bot y1=spread; |
| 532 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % stroke |
| 533 |
pickup rule.nib; |
| 534 |
lft x5=lft x7=hround u-eps; x6=x8=w-x5; |
| 535 |
y5=y6=y1-spread; y7=y8=y5-spread; |
| 536 |
draw z5--z6; draw z7--z8; % double equal sign |
| 537 |
char_center(100); x101=w-3u; y101=y1+4u; |
| 538 |
char_negate(100,101,102); |
| 539 |
labels(1,2,3,4,5,6,7,8,99,100); endchar; |
| 540 |
|
| 541 |
cmchar "45 degree angle line"; |
| 542 |
beginchar(oct"036",16u#,asc_height#,asc_depth#); |
| 543 |
adjust_fit(0,0); pickup rule.nib; |
| 544 |
bot y1 =-d-eps; .5[y1,y2]=math_axis; |
| 545 |
lft x1 = 0+eps =x0; % rt x2=; |
| 546 |
z0-z1=(z2-z1) rotated 45; |
| 547 |
draw z1--z2; |
| 548 |
labels(0,1,2); endchar; |
| 549 |
|
| 550 |
cmchar "135 degree angle line"; |
| 551 |
beginchar(oct"037",16u#,body_height#,asc_depth#); |
| 552 |
adjust_fit(0,0); pickup rule.nib; |
| 553 |
bot y1 =-d-eps; .5[y1,y2]=math_axis; |
| 554 |
lft x2 = 0+eps= x0; % rt x2=; |
| 555 |
z0-z2=(z1-z2) rotated -45; |
| 556 |
draw z1--z2; |
| 557 |
labels(0,1,2); endchar; |
| 558 |
|
| 559 |
cmchar "Negated subset or equal to sign"; |
| 560 |
compute_spread(.45x_height#,.55x_height#); |
| 561 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 562 |
compute_spread(5/4x_height#,3/2x_height#); |
| 563 |
beginchar(oct"040",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 564 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 565 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 566 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 567 |
x4=x5=.5w; y4=y1; y5=y3; |
| 568 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 569 |
x8=x1; lft x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 570 |
x100=w/2; y100=.5[y3,y8]; x101=x3-2u; y101=y3+2u; |
| 571 |
char_negate(100,101,102); |
| 572 |
labels(1,2,3,4,5,8,9); endchar; |
| 573 |
|
| 574 |
cmchar "Negated superset or equal to sign"; |
| 575 |
compute_spread(.45x_height#,.55x_height#); |
| 576 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 577 |
compute_spread(5/4x_height#,3/2x_height#); |
| 578 |
beginchar(oct"041",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 579 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 580 |
lft x1=hround 1.5u-eps; x2=w-x1; x3=x1; |
| 581 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 582 |
x4=x5=.5w; y4=y1; y5=y3; |
| 583 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 584 |
x8=x1; rt x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 585 |
x100=x3+2.5u; y100=.5[y8,y3]; x101=x100+2.5u; y101=y3+2u; |
| 586 |
y101-y100=y100-y102; x101-x100=x100-x102; draw z101--z102; |
| 587 |
labels(1,2,3,4,5,8,9); endchar; |
| 588 |
|
| 589 |
cmchar "Negated subset or (double) equal to sign"; |
| 590 |
compute_spread(.45x_height#,.55x_height#); |
| 591 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 592 |
compute_spread(5/4x_height#,3/2x_height#); |
| 593 |
beginchar(oct"042",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 594 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x2=hround |
| 595 |
1.5u-eps; x1=x3=w-x2; y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 596 |
x4=x5=.5w; y4=y1; y5=y3; draw z1---z4...z2{down}...z5---z3; |
| 597 |
% arc and bars |
| 598 |
x8=x1; x9=x2; |
| 599 |
y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 600 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 601 |
char_center(c); x.t=w-2.5u; y.t=h+u; char_negate(c,t,b); |
| 602 |
penlabels(1,2,3,4,5,8,9,8',9'); endchar; |
| 603 |
|
| 604 |
cmchar "Negated superset or (double) equal to sign"; |
| 605 |
compute_spread(.45x_height#,.55x_height#); |
| 606 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 607 |
compute_spread(5/4x_height#,3/2x_height#); |
| 608 |
beginchar(oct"043",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 609 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x1=hround |
| 610 |
1.5u-eps; x2=w-x1; x3=x1; y1-y3=spread; y2=.5[y1,y3]; top |
| 611 |
y1=h; x4=x5=.5w; y4=y1; y5=y3; draw |
| 612 |
z1---z4...z2{down}...z5---z3; % arc and bars |
| 613 |
x8=x1; |
| 614 |
x9=x2; |
| 615 |
y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 616 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 617 |
char_center(c); x.t=w-2.5u; y.t=h+u; char_negate(c,t,b); |
| 618 |
labels(1,2,3,4,5,8,9); endchar; |
| 619 |
|
| 620 |
cmchar "Subset or not (double) equal to sign"; |
| 621 |
compute_spread(.45x_height#,.55x_height#); |
| 622 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 623 |
compute_spread(5/4x_height#,3/2x_height#); |
| 624 |
beginchar(oct"044",14u#,v_center(2.33spread#'+spread#+2rule_thickness#)); |
| 625 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x2=hround |
| 626 |
1.5u-eps; x1=x3=w-x2; y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 627 |
x4=x5=.5w; y4=y1; y5=y3; draw z1---z4...z2{down}...z5---z3; |
| 628 |
% arc and bars |
| 629 |
x8=x1; x9=x2; |
| 630 |
y8=y9; y3-y9=1.33spread'; draw z8--z9; % lower bar |
| 631 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 632 |
x.c=w/2; y.c=.5[y9,y9']; x.t=1/2[x.c,w]; y.t=.5[y8,y3]; |
| 633 |
char_negate(c,t,b); |
| 634 |
penlabels(1,2,3,4,5,8,9,8',9'); endchar; |
| 635 |
|
| 636 |
cmchar "Superset or not (double) equal to sign"; |
| 637 |
compute_spread(.45x_height#,.55x_height#); |
| 638 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 639 |
compute_spread(5/4x_height#,3/2x_height#); |
| 640 |
beginchar(oct"045",14u#,v_center(2.33spread#'+spread#+2rule_thickness#)); |
| 641 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x1=hround |
| 642 |
1.5u-eps; x2=w-x1; x3=x1; y1-y3=spread; y2=.5[y1,y3]; top |
| 643 |
y1=h; x4=x5=.5w; y4=y1; y5=y3; draw |
| 644 |
z1---z4...z2{down}...z5---z3; % arc and bars |
| 645 |
x8=x1; |
| 646 |
x9=x2; |
| 647 |
y8=y9; y3-y9=1.33spread'; draw z8--z9; % lower bar |
| 648 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 649 |
x.c=w/2; y.c=.5[y9,y9']; x.t=1/2[x.c,w]; y.t=.5[y8,y3]; |
| 650 |
char_negate(c,t,b); |
| 651 |
labels(1,2,3,4,5,8,9); endchar; |
| 652 |
|
| 653 |
cmchar "Another not subset or (double) equal to sign"; |
| 654 |
compute_spread(.45x_height#,.55x_height#); |
| 655 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 656 |
compute_spread(5/4x_height#,3/2x_height#); |
| 657 |
beginchar(oct"046",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 658 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x2=hround |
| 659 |
1.5u-eps; x1=x3=w-x2; y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 660 |
x4=x5=.5w; y4=y1; y5=y3; draw z1---z4...z2{down}...z5---z3; |
| 661 |
% arc and bars |
| 662 |
x8=x1; x9=x2; |
| 663 |
y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 664 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 665 |
x.t=w-2.5u; y.t=y3+2u; x.b=.5[x2,x5]; y.b=y9'-2u; z.c=.5[z.b,z.t]; |
| 666 |
draw z.b--z.t; labels(c,b,t); |
| 667 |
penlabels(1,2,3,4,5,8,9,8',9'); endchar; |
| 668 |
|
| 669 |
cmchar "Another superset or (double) equal to sign"; |
| 670 |
compute_spread(.45x_height#,.55x_height#); |
| 671 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 672 |
compute_spread(5/4x_height#,3/2x_height#); |
| 673 |
beginchar(oct"047",14u#,v_center(2spread#'+spread#+2rule_thickness#)); |
| 674 |
adjust_fit(0,0); pickup rule.nib; autorounded; lft x1=hround |
| 675 |
1.5u-eps; x2=w-x1; x3=x1; y1-y3=spread; y2=.5[y1,y3]; top |
| 676 |
y1=h; x4=x5=.5w; y4=y1; y5=y3; draw |
| 677 |
z1---z4...z2{down}...z5---z3; % arc and bars |
| 678 |
x8=x1; |
| 679 |
x9=x2; |
| 680 |
y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 681 |
x9'=x9; x8'=x8; y9'=y8'; y9-y9'=spread'; draw z8'--z9'; |
| 682 |
x.t=x5; y.t=y3+2u; x.b=2.5u; y.b=y9'-2u; z.c=.5[z.b,z.t]; |
| 683 |
draw z.b--z.t; labels(c,b,t); |
| 684 |
labels(1,2,3,4,5,8,9); endchar; |
| 685 |
|
| 686 |
cmchar "Subset or not equal to sign"; |
| 687 |
compute_spread(.45x_height#,.55x_height#); |
| 688 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 689 |
compute_spread(5/4x_height#,3/2x_height#); |
| 690 |
beginchar(oct"050",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 691 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 692 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 693 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 694 |
x4=x5=.5w; y4=y1; y5=y3; |
| 695 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 696 |
x8=x1; lft x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 697 |
z100=.5[z8,z9]; y101=.5[y8,y3];x101-x100=y101-y100; |
| 698 |
char_negate(100,101,102); |
| 699 |
labels(1,2,3,4,5,8,9); endchar; |
| 700 |
|
| 701 |
cmchar "Superset or not equal to sign"; |
| 702 |
compute_spread(.45x_height#,.55x_height#); |
| 703 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 704 |
compute_spread(5/4x_height#,3/2x_height#); |
| 705 |
beginchar(oct"051",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 706 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 707 |
lft x1=hround 1.5u-eps; x2=w-x1; x3=x1; |
| 708 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h; |
| 709 |
x4=x5=.5w; y4=y1; y5=y3; |
| 710 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 711 |
x8=x1; rt x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 712 |
z100=.5[z8,z9]; y101=.5[y8,y3];x101-x100=y101-y100; |
| 713 |
char_negate(100,101,102); |
| 714 |
labels(1,2,3,4,5,8,9); endchar; |
| 715 |
|
| 716 |
cmchar "Not subset or equal to sign"; |
| 717 |
compute_spread(.45x_height#,.55x_height#); |
| 718 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 719 |
compute_spread(5/4x_height#,3/2x_height#); |
| 720 |
beginchar(oct"052",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 721 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 722 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 723 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 724 |
x4=x5=.5w; y4=y1; y5=y3; |
| 725 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 726 |
x8=x1; lft x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 727 |
char_center(100); y101=y1+3u; x101=w-3u; |
| 728 |
char_negate(100,101,102); |
| 729 |
labels(1,2,3,4,5,8,9); endchar; |
| 730 |
|
| 731 |
cmchar "Not superset or equal to sign"; |
| 732 |
compute_spread(.45x_height#,.55x_height#); |
| 733 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 734 |
compute_spread(5/4x_height#,3/2x_height#); |
| 735 |
beginchar(oct"053",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 736 |
adjust_fit(0,0); pickup rule.nib; autorounded; |
| 737 |
lft x1=hround 1.5u-eps; x2=w-x1; x3=x1; |
| 738 |
y1-y3=spread; y2=.5[y1,y3]; top y1=h-3u; |
| 739 |
x4=x5=.5w; y4=y1; y5=y3; |
| 740 |
draw z1---z4...z2{down}...z5---z3; % arc and bars |
| 741 |
x8=x1; rt x9=x2; y8=y9; y3-y9=spread'; draw z8--z9; % lower bar |
| 742 |
char_center(100); y101=y1+3u; x101=w-3u; |
| 743 |
char_negate(100,101,102); |
| 744 |
labels(1,2,3,4,5,8,9); endchar; |
| 745 |
|
| 746 |
cmchar "Negated double vertical line (norm or cardinality)"; |
| 747 |
beginchar(oct"054",9u#,body_height#,paren_depth#); |
| 748 |
adjust_fit(0,0); pickup rule.nib; |
| 749 |
x1=x2; top y1=h; .5[y1,y2]=math_axis; |
| 750 |
x3=x4=w-x1; y3=y1; y4=y2; |
| 751 |
compute_spread(.45x_height#,.55x_height#); x3-x1=spread; |
| 752 |
draw z1--z2; draw z3--z4; % stems |
| 753 |
char_center(c); x.t=w; y.t=2/3h; |
| 754 |
char_negate(c,t,b); |
| 755 |
labels(1,2,3,4); endchar; |
| 756 |
|
| 757 |
cmchar "Negated vertical line"; |
| 758 |
beginchar(oct"055",5u#,body_height#,paren_depth#); |
| 759 |
italcorr body_height#*slant+.5rule_thickness#-2u#; |
| 760 |
adjust_fit(0,0); pickup rule.nib; |
| 761 |
x1=x2=good.x .5w; top y1=h+eps; bot y2=-d-eps; |
| 762 |
draw z1--z2; % stem |
| 763 |
x.t=w; x.b=w-x.t; y.t=2/3h; y.b=1/3h; |
| 764 |
draw z.b--z.t; |
| 765 |
labels(1,2,b,t); endchar; |
| 766 |
|
| 767 |
cmchar "Negated cute vertical bar"; |
| 768 |
beginchar(oct"056",4u#,6u#+math_axis#,6u#-math_axis#); |
| 769 |
italcorr math_axis#*slant - .5u#; |
| 770 |
adjust_fit(0,0); pickup rule.nib; |
| 771 |
x1=x2=hround(w/2); top y1=x_height; bot y2=-o; |
| 772 |
draw z1--z2; |
| 773 |
char_center(c); x.t=w; y.t=5/8h; |
| 774 |
char_negate(c,t,b); |
| 775 |
labels(1,2); endchar; |
| 776 |
|
| 777 |
cmchar "Negated pair of cute vertical bars"; |
| 778 |
beginchar(oct"057",7u#,6u#+math_axis#,6u#-math_axis#); |
| 779 |
italcorr math_axis#*slant - .5u#; |
| 780 |
adjust_fit(0,0); pickup rule.nib; |
| 781 |
lft x1=u; x2=x1; top y1=x_height; bot y2=-o; |
| 782 |
x3=w-x1; x4=x3; y3=y1; y4=y2; |
| 783 |
draw z1--z2; draw z3--z4; |
| 784 |
char_center(c); x.t=w; y.t=5/8h; |
| 785 |
char_negate(c,t,b); |
| 786 |
labels(1,2,3,4); endchar; |
| 787 |
|
| 788 |
cmchar "Negated left turnstile"; |
| 789 |
beginchar(oct"060",11u#,asc_height#,0); |
| 790 |
adjust_fit(0,0); pickup rule.nib; |
| 791 |
.5[y1,y2]=y3=y4; x1=x2=x3; |
| 792 |
lft x3=hround u; x4=w-x3; top y1=h; bot y2=0; |
| 793 |
draw z1--z2; % stem |
| 794 |
draw z3--z4; % bar |
| 795 |
top rt z.t=(w-u,h); bot lft z.b=(-u,0); draw z.t--z.b; |
| 796 |
labels(1,2,3,4,b,t); endchar; |
| 797 |
|
| 798 |
cmchar "Negated forces symbol"; |
| 799 |
beginchar(oct"061",13u#,asc_height#,0); |
| 800 |
adjust_fit(0,0); pickup rule.nib; |
| 801 |
top y1=h; bot y2=0; y3=y4=good.y .5h; y5=y1; y6=y2; |
| 802 |
lft x5=hround u; x4=w-x5; |
| 803 |
compute_spread(.45x_height#,.55x_height#); |
| 804 |
x1=x5+spread; x1=x2=x3; x6=x5; |
| 805 |
draw z6--z5; draw z2--z1; draw z3--z4; |
| 806 |
top rt z.t=(w-u,h); bot lft z.b=(-u,0); draw z.t--z.b; |
| 807 |
penlabels(1,2,3,4,5,6,b,t); endchar; |
| 808 |
|
| 809 |
cmchar "Negated satisfies symbol"; |
| 810 |
beginchar(oct"062",11u#,asc_height#,0); |
| 811 |
adjust_fit(0,0); pickup rule.nib; |
| 812 |
compute_spread(.45x_height#,.55x_height#); |
| 813 |
top y1=h; bot y2=0; y0=good.y .5[y1,y2]; |
| 814 |
y3=vround y0+.5spread; |
| 815 |
y5=vround y0- .5spread; y4=y3; y6=y5; |
| 816 |
lft x1=hround u; x4=w-x1; |
| 817 |
x1=x2=x3=x5; x4=x6; x0=x1; |
| 818 |
draw z1--z2; % vertical line |
| 819 |
draw z3--z4; % draw top horizontal piece |
| 820 |
draw z5--z6; % draw bottom horizontal piece |
| 821 |
top rt z.t=(w-u,h); bot lft z.b=(-u,0); draw z.t--z.b; |
| 822 |
penlabels(0,1,2,3,4,5,6,b,t); endchar; |
| 823 |
|
| 824 |
cmchar "Negated forces symbol with extra bar"; |
| 825 |
beginchar(oct"063",13u#,asc_height#,0); |
| 826 |
adjust_fit(0,0); pickup rule.nib; |
| 827 |
top y1=h; bot y2=0; y3=y4=good.y .5h; y5=y1; y6=y2; |
| 828 |
lft x5=hround u; x4=w-x5; |
| 829 |
compute_spread(.45x_height#,.55x_height#); |
| 830 |
x1=x5+spread; x1=x2=x3; x6=x5; |
| 831 |
x3'=x3; x4'=x4; y3:=y3+.5spread; y4:=y3; |
| 832 |
y3'=y4'=y3-spread; |
| 833 |
draw z6--z5; draw z2--z1; draw z3--z4; |
| 834 |
draw z3'--z4'; % extra bar |
| 835 |
top rt z.t=(w-u,h); bot lft z.b=(-u,0); draw z.t--z.b; |
| 836 |
penlabels(1,2,3,4,5,6,b,t); endchar; |
| 837 |
|
| 838 |
|
| 839 |
cmchar "Negated rightward isosceles triangle with lower bar"; |
| 840 |
compute_spread(.45x_height#,.55x_height#); |
| 841 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 842 |
compute_spread(5/4x_height#,3/2x_height#); |
| 843 |
beginchar(oct"064",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 844 |
adjust_fit(0,0); pickup rule.nib; lft x2=hround(1.5u); |
| 845 |
x3=x2; x1=hround(w-x2); |
| 846 |
top y2=h-3u; y2-y3=spread; y1=.5[y2,y3]; |
| 847 |
x4=x2; x5=x1; y3-y4=spread'; y5=y4; |
| 848 |
draw z1--z2--z3--cycle; draw z4--z5; |
| 849 |
char_center(c); x.t=1/2[x.c,w]; y.t=y2+3u; |
| 850 |
char_negate(c,t,b); |
| 851 |
penlabels(1,2,3,4,5); endchar; |
| 852 |
|
| 853 |
cmchar "Negated leftward isosceles triangle with lower bar"; |
| 854 |
compute_spread(.45x_height#,.55x_height#); |
| 855 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 856 |
compute_spread(5/4x_height#,3/2x_height#); |
| 857 |
beginchar(oct"065",14u#,v_center(spread#'+spread#+rule_thickness#+6u#)); |
| 858 |
adjust_fit(0,0); pickup rule.nib; rt x2=hround(w-1.5u-eps); |
| 859 |
x3=x2; x1=hround(w-x2); |
| 860 |
top y2=h-3u; y2-y3=spread; y1=.5[y2,y3]; |
| 861 |
x4=x2; x5=x1; y3-y4=spread'; y5=y4; |
| 862 |
draw z1--z2--z3--cycle; draw z4--z5; |
| 863 |
char_center(c); x.t=1/2[x.c,w]; y.t=y2+3u; |
| 864 |
char_negate(c,t,b); |
| 865 |
penlabels(1,2,3,4,5); endchar; |
| 866 |
|
| 867 |
cmchar "Negated leftward pointing isosceles triangle"; |
| 868 |
compute_spread(.45x_height#,.55x_height#); |
| 869 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 870 |
compute_spread(5/4x_height#,3/2x_height#); |
| 871 |
beginchar(oct"066",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 872 |
adjust_fit(0,0); pickup rule.nib; rt x2=hround(w-1.5u-eps); |
| 873 |
x3=x2; x1=hround(w-x2); |
| 874 |
top y2=h-3u; y2-y3=spread; y1=.5[y2,y3]; |
| 875 |
draw z1--z2--z3--cycle; |
| 876 |
char_center(c); x.t=1/2[x.c,w]; y.t=y2+3u; |
| 877 |
char_negate(c,t,b); |
| 878 |
penlabels(1,2,3); endchar; |
| 879 |
|
| 880 |
cmchar "Negated rightward pointing isosceles triangle"; |
| 881 |
compute_spread(.45x_height#,.55x_height#); |
| 882 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 883 |
compute_spread(5/4x_height#,3/2x_height#); |
| 884 |
beginchar(oct"067",14u#,v_center(spread#+rule_thickness#+6u#)); |
| 885 |
adjust_fit(0,0); pickup rule.nib; lft x2=hround(1.5u); |
| 886 |
x3=x2; x1=hround(w-x2); |
| 887 |
top y2=h-3u; y2-y3=spread; y1=.5[y2,y3]; |
| 888 |
draw z1--z2--z3--cycle; |
| 889 |
char_center(c); x.t=1/2[x.c,w]; y.t=y2+3u; |
| 890 |
char_negate(c,t,b); |
| 891 |
penlabels(1,2,3); endchar; |
| 892 |
|
| 893 |
cmchar "Negated leftward arrow"; |
| 894 |
compute_spread(.45x_height#,.55x_height#); |
| 895 |
beginchar(oct"070",18u#,v_center(spread#+rule_thickness#)); |
| 896 |
adjust_fit(0,0); pickup crisp.nib; |
| 897 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(min(bar,rule_thickness),0); pos4(min(bar,rule_thickness),0); |
| 898 |
y0=y1=y2=math_axis; x1+.5rule_thickness=hround(w-u); lft x0=hround u; |
| 899 |
y3-y0=y0-y4=.24asc_height+eps; x3=x4=x0+3u+eps; |
| 900 |
pos5(min(bar,rule_thickness),angle(z4-z0)); z5l=z0; pos6(min(bar,rule_thickness),angle(z3-z0)); z6l=z0; |
| 901 |
z9=.381966[.5[z3,z4],z0]; |
| 902 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 903 |
t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; |
| 904 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 905 |
--z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3r{z9-z3}..z5r) |
| 906 |
--z3l{z9-z3}..z0 & cycle; % arrowhead and stem |
| 907 |
char_center(100); top y101=top y3; x101=x100+2u; |
| 908 |
char_negate(100,101,102); |
| 909 |
penlabels(0,1,2,3,4,5,6,9); endchar; |
| 910 |
|
| 911 |
cmchar "Negated rightward arrow"; |
| 912 |
compute_spread(.45x_height#,.55x_height#); |
| 913 |
beginchar(oct"071",18u#,v_center(spread#+rule_thickness#)); |
| 914 |
adjust_fit(0,0); pickup crisp.nib; |
| 915 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(min(bar,rule_thickness),0); pos4(min(bar,rule_thickness),0); |
| 916 |
y0=y1=y2=math_axis; x1-.5rule_thickness=hround u; rt x0=hround(w-u); |
| 917 |
y3-y0=y0-y4=.24asc_height+eps; x3=x4=x0-3u-eps; |
| 918 |
pos5(min(bar,rule_thickness),angle(z4-z0)); z5l=z0; pos6(min(bar,rule_thickness),angle(z3-z0)); z6l=z0; |
| 919 |
z9=.381966[.5[z3,z4],z0]; |
| 920 |
numeric t; path p; p=z4l{z9-z4}..z6r; |
| 921 |
t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; |
| 922 |
filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) |
| 923 |
--z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3l{z9-z3}..z5r) |
| 924 |
--z3r{z9-z3}..z0 & cycle; % arrowhead and stem |
| 925 |
char_center(100); top y101=top y3; x101=x100+2u; |
| 926 |
char_negate(100,101,102); |
| 927 |
penlabels(0,1,2,3,4,5,6,9); endchar; |
| 928 |
|
| 929 |
cmchar "Negated left-and-right arrow"; |
| 930 |
compute_spread(.45x_height#,.55x_height#); |
| 931 |
beginchar(oct"075",18u#, |
| 932 |
v_center(if monospace:.6asc_height#+fi spread#+rule_thickness#)); |
| 933 |
adjust_fit(0,0); pickup crisp.nib; |
| 934 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(min(bar,rule_thickness),0); pos4(min(bar,rule_thickness),0); |
| 935 |
y0=y1=y2=math_axis if monospace:+vround.3asc_height fi; lft x0=hround u; |
| 936 |
if monospace: x1+.5rule_thickness=hround(w-u) else: x1=.5w fi; |
| 937 |
y3-y0=y0-y4=.24asc_height+eps; x3=x4=x0+3u+eps; |
| 938 |
pos5(min(bar,rule_thickness),angle(z4-z0)); z5l=z0; pos6(min(bar,rule_thickness),angle(z3-z0)); z6l=z0; |
| 939 |
z9=.381966[.5[z3,z4],z0]; |
| 940 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 941 |
t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; |
| 942 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 943 |
--z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3r{z9-z3}..z5r) |
| 944 |
--z3l{z9-z3}..z0 & cycle; % left arrowhead and stem |
| 945 |
pos11(rule_thickness,90); pos12(rule_thickness,90); pos13(min(bar,rule_thickness),0); pos14(min(bar,rule_thickness),0); |
| 946 |
y10=y11=y12=math_axis if monospace:-vround.3asc_height fi; |
| 947 |
rt x10=hround(w-u); |
| 948 |
if monospace: x11-.5rule_thickness=hround u else: x11=.5w fi; |
| 949 |
y13-y10=y10-y14=.24asc_height+eps; x13=x14=x10-3u-eps; |
| 950 |
pos15(min(bar,rule_thickness),angle(z14-z10)); z15l=z10; pos16(min(bar,rule_thickness),angle(z13-z10)); z16l=z10; |
| 951 |
z19=.381966[.5[z13,z14],z10]; |
| 952 |
numeric t; path p; p=z14l{z19-z14}..z16r; |
| 953 |
t=xpart(p intersectiontimes((0,y12l)--(w,y12l))); x12=xpart point t of p; |
| 954 |
filldraw z10..{z14-z19}z14r--subpath (0,t) of\\(z14l{z19-z14}..z16r) |
| 955 |
--z12l---z11l..z11r---z12r--subpath (t,0) of\\(z13l{z19-z13}..z15r) |
| 956 |
--z13r{z19-z13}..z10 & cycle; % right arrowhead and stem |
| 957 |
char_center(100); top y101=top y3; x101=x100+2u; |
| 958 |
char_negate(100,101,102); |
| 959 |
penlabels(0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19); endchar; |
| 960 |
|
| 961 |
cmchar "Negated double leftward arrow"; |
| 962 |
compute_spread(.45x_height#,.55x_height#); |
| 963 |
beginchar(oct"072",18u#,v_center(spread#+rule_thickness#)); |
| 964 |
adjust_fit(0,0); pickup rule.nib; |
| 965 |
lft x7=hround u-eps; x8=x7; x1=x2=w-x7; |
| 966 |
y1=y7; y2=y8; y1-y2=spread; .5[y1,y2]=math_axis; |
| 967 |
draw z1--z7; draw z2--z8; % bars |
| 968 |
pickup crisp.nib; lft x0=hround u-eps; y0=good.y math_axis; |
| 969 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 970 |
y3-y1=y2-y4=.24asc_height+eps; x3=x4=x0+6u+eps; |
| 971 |
pos5(rule_thickness,angle(z4-z0)); z5l=z0; |
| 972 |
pos6(rule_thickness,angle(z3-z0)); z6l=z0; |
| 973 |
z9=.381966[.5[z3,z4],z0]; |
| 974 |
erase filldraw z0..{z3-z9}z3--(0,y3) |
| 975 |
--(0,y4)--z4{z9-z4}..z0 & cycle; % erase excess |
| 976 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 977 |
t=xpart(p intersectiontimes((0,y0)--(w,y0))); |
| 978 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 979 |
--subpath (t,0) of\\(z3r{z9-z3}..z5r)--z3l{z9-z3}..z0 & cycle; % arrowhead |
| 980 |
pickup rule.nib; x100=.5[x9,x1]; y100=y9; x101=x100+2u; top y101=top y3; |
| 981 |
y101-y100=y100-y102; x101-x100=x100-x102; draw z101--z102; |
| 982 |
penlabels(0,1,2,3,4,5,6,7,8,9); endchar; |
| 983 |
|
| 984 |
cmchar "Negated double rightward arrow"; |
| 985 |
compute_spread(.45x_height#,.55x_height#); |
| 986 |
beginchar(oct"073",18u#,v_center(spread#+rule_thickness#)); |
| 987 |
adjust_fit(0,0); pickup rule.nib; |
| 988 |
lft x1=hround u-eps; x2=x1; x7=x8=w-x1; |
| 989 |
y1=y7; y2=y8; y1-y2=spread; .5[y1,y2]=math_axis; |
| 990 |
draw z1--z7; draw z2--z8; % bars |
| 991 |
pickup crisp.nib; rt x0=hround(w-u)+eps; y0=good.y math_axis; |
| 992 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 993 |
y3-y1=y2-y4=.24asc_height+eps; x3=x4=x0-6u-eps; |
| 994 |
pos5(rule_thickness,angle(z4-z0)); z5l=z0; |
| 995 |
pos6(rule_thickness,angle(z3-z0)); z6l=z0; |
| 996 |
z9=.381966[.5[z3,z4],z0]; |
| 997 |
erase filldraw z0..{z3-z9}z3--(w,y3) |
| 998 |
--(w,y4)--z4{z9-z4}..z0 & cycle; % erase excess |
| 999 |
numeric t; path p; p=z4l{z9-z4}..z6r; |
| 1000 |
t=xpart(p intersectiontimes((0,y0)--(w,y0))); |
| 1001 |
filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) |
| 1002 |
--subpath (t,0) of\\(z3l{z9-z3}..z5r)--z3r{z9-z3}..z0 & cycle; % arrowhead |
| 1003 |
pickup rule.nib; x100=.5[x9,x1]; y100=y9; x101=x100+2u; top y101=top y3; |
| 1004 |
y101-y100=y100-y102; x101-x100=x100-x102; draw z101--z102; |
| 1005 |
penlabels(0,1,2,3,4,5,6,7,8,9); endchar; |
| 1006 |
|
| 1007 |
cmchar "Negated double left-and-right arrow"; |
| 1008 |
compute_spread(.45x_height#,.55x_height#); |
| 1009 |
beginchar(oct"074",18u#,v_center(spread#+rule_thickness#)); |
| 1010 |
adjust_fit(if monospace: -u#,-u# else: 0,0 fi); pickup rule.nib; |
| 1011 |
lft x7=hround u-eps; x8=x7; x1=x2=w-x7; |
| 1012 |
y1=y7; y2=y8; y1-y2=spread; .5[y1,y2]=math_axis; |
| 1013 |
draw z1--z7; draw z2--z8; % bars |
| 1014 |
pickup crisp.nib; lft x0=hround u-o; y0=good.y math_axis; |
| 1015 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1016 |
y3-y1=y2-y4=.24asc_height+eps; x3=x4=x0+5u+eps; |
| 1017 |
pos5(rule_thickness,angle(z4-z0)); z5l=z0; |
| 1018 |
pos6(rule_thickness,angle(z3-z0)); z6l=z0; |
| 1019 |
z9=.381966[.5[z3,z4],z0]; |
| 1020 |
erase filldraw z0..{z3-z9}z3--(0,y3) |
| 1021 |
--(0,y4)--z4{z9-z4}..z0 & cycle; % erase excess at left |
| 1022 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 1023 |
t=xpart(p intersectiontimes((0,y0)--(w,y0))); |
| 1024 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 1025 |
--subpath (t,0) of\\(z3r{z9-z3}..z5r) |
| 1026 |
--z3l{z9-z3}..z0 & cycle; % left arrowhead |
| 1027 |
rt x10=hround(w-u)+o; y10=good.y math_axis; |
| 1028 |
pos13(rule_thickness,0); pos14(rule_thickness,0); |
| 1029 |
y13=y3; y14=y4; x13=x14=x10-5u-eps; |
| 1030 |
pos15(rule_thickness,angle(z14-z10)); z15l=z10; |
| 1031 |
pos16(rule_thickness,angle(z13-z10)); z16l=z10; |
| 1032 |
z19=.381966[.5[z13,z14],z10]; |
| 1033 |
erase filldraw z10..{z13-z19}z13--(w,y13) |
| 1034 |
--(w,y14)--z14{z19-z14}..z10 & cycle; % erase excess at right |
| 1035 |
numeric t; path p; p=z14l{z19-z14}..z16r; |
| 1036 |
t=xpart(p intersectiontimes((0,y10)--(w,y10))); |
| 1037 |
filldraw z10..{z14-z19}z14r--subpath (0,t) of\\(z14l{z19-z14}..z16r) |
| 1038 |
--subpath (t,0) of\\(z13l{z19-z13}..z15r) |
| 1039 |
--z13r{z19-z13}..z10 & cycle; % right arrowhead |
| 1040 |
char_center(100); top y101=top y13; x101=x100+1.5u; char_negate(100,101,102); |
| 1041 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,13,14,15,16,19); endchar; |
| 1042 |
|
| 1043 |
cmchar "Times-division symbol"; |
| 1044 |
beginarithchar(oct"076"); |
| 1045 |
pickup rule.nib; |
| 1046 |
x11=good.x(1/sqrt2)[.5w,rt u]; y11=good.y(1/sqrt2)[math_axis,bot h]; |
| 1047 |
x12=x13=w-x11; x14=x11; .5[y11,y12]=.5[y13,y14]=math_axis; y12=y14; |
| 1048 |
draw z11--z12; draw z13--z14; % diagonals |
| 1049 |
x3-.5dot_size=hround(.5w-.5dot_size); %center_on(x3); |
| 1050 |
y3+.5dot_size=vround(math_axis+math_spread[.5x_height,.6x_height]+.5dot_size); |
| 1051 |
lft x1=hround u-eps; x2=w-x1; y1=y2=math_axis; |
| 1052 |
draw z1--z2; % bar |
| 1053 |
pos3(dot_size,0); pos4(dot_size,90); z3=z4; |
| 1054 |
pos5(dot_size,0); pos6(dot_size,90); z5=z6; x5=x3; .5[y3,y5]=math_axis; |
| 1055 |
dot(3,4); dot(5,6); % dots |
| 1056 |
penlabels(1,2,3,4,5,6,11,12,13,14); endchar; |
| 1057 |
|
| 1058 |
cmchar "Null set symbol"; |
| 1059 |
beginarithchar(oct"077"); |
| 1060 |
pickup rule.nib; |
| 1061 |
z0=(w/2,h/2); % center of circle |
| 1062 |
rt x1-lft x0=hround(h/2 + o); y1=y0; |
| 1063 |
numeric theta; theta=45; |
| 1064 |
for i=2 upto 8: z[i]-z0=(z1-z0) rotated ((i-1)*theta); endfor |
| 1065 |
draw z8...z1 for i=2 upto 8: ...z[i] endfor; |
| 1066 |
lft x9=u; x10=w-x9; bot y9=bot y7; top y10=top y3; draw z9--z10; |
| 1067 |
labels(range 0 thru 10); endchar; |
| 1068 |
|
| 1069 |
cmchar "Negated existential quantifier"; |
| 1070 |
beginchar(oct"100",10u#,asc_height#,0); |
| 1071 |
italcorr asc_height#*slant; |
| 1072 |
adjust_fit(0,0); pickup rule.nib; |
| 1073 |
lft x1=hround u-eps; x2=x3=x5=w-x1; x4=x6-.25u=x1; |
| 1074 |
top y1=h; bot y4=0; y2=y1; y5=y6=.5[y1,y3]; y3=y4; |
| 1075 |
draw z1--z2--z3--z4; % upper bar, stem, lower bar |
| 1076 |
draw z5--z6; % middle bar |
| 1077 |
char_center(100); x101=w-3u; y101=y1+3u; |
| 1078 |
char_negate(100,101,102); |
| 1079 |
labels(1,2,3,4,5,6); endchar; |
| 1080 |
|
| 1081 |
charlist oct"133": oct"134"; |
| 1082 |
charlist oct"135": oct"136"; |
| 1083 |
|
| 1084 |
cmchar"Wider than widest circumflex (hat) accent"; |
| 1085 |
beginchar(oct"133",34u#,1.1body_height#,0); |
| 1086 |
adjust_fit(0,0); |
| 1087 |
pickup crisp.nib; |
| 1088 |
pos2(.7[vair,curve],90); top y2r=h+o; x2=.5w; |
| 1089 |
x1=w-x3=good.x-eps; y1=y3=.45[x_height,y2]; |
| 1090 |
pos1(1.2min(hair,rule_thickness),angle(z2-z1)+90); |
| 1091 |
pos3(1.2min(hair,rule_thickness),angle(z3-z2)+90); |
| 1092 |
filldraw stroke z1e--z2e--z3e; |
| 1093 |
penlabels(1,2,3); |
| 1094 |
%big_hat; |
| 1095 |
endchar; |
| 1096 |
|
| 1097 |
cmchar"Very Widest circumflex (hat) accent"; |
| 1098 |
beginchar(oct"134",42u#,1.1body_height#,0); |
| 1099 |
adjust_fit(0,0); |
| 1100 |
pickup crisp.nib; |
| 1101 |
pos2(.7[vair,curve],90); top y2r=h+o; x2=.5w; |
| 1102 |
x1=w-x3=good.x-eps; y1=y3=.45[x_height,y2]; |
| 1103 |
pos1(1.2min(hair,rule_thickness),angle(z2-z1)+90); |
| 1104 |
pos3(1.2min(hair,rule_thickness),angle(z3-z2)+90); |
| 1105 |
filldraw stroke z1e--z2e--z3e; |
| 1106 |
penlabels(1,2,3); |
| 1107 |
%big_hat; |
| 1108 |
endchar; |
| 1109 |
|
| 1110 |
cmchar"Even wider tilde (squiggle) accent"; |
| 1111 |
beginchar(oct"135",34u#,1.1body_height#,0); |
| 1112 |
%big_tilde; |
| 1113 |
adjust_fit(0,0); pickup crisp.nib; |
| 1114 |
numeric theta; theta=angle(1/6(w-vair),1/4(h-x_height)); |
| 1115 |
numeric mid_width; mid_width=.4[vair,stem]; |
| 1116 |
pos1(1.5min(vair,rule_thickness),theta+80); |
| 1117 |
pos2(2min(vair,rule_thickness),theta+80); |
| 1118 |
pos3(2min(vair,rule_thickness),theta+80); |
| 1119 |
pos4(1.5min(vair,rule_thickness),theta+80); |
| 1120 |
z2-z1=z4-z3 = (mid_width-crisp)*dir theta; |
| 1121 |
lft x1r=w-rt x4l=0; top y4r=h; |
| 1122 |
bot y1l=vround(bot y1l+min(.6[x_height,h],y3l-.25vair)-top y1r); |
| 1123 |
pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta; |
| 1124 |
filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l |
| 1125 |
--z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle; |
| 1126 |
penlabels(1,2,3,4); |
| 1127 |
endchar; |
| 1128 |
|
| 1129 |
cmchar"Very widest tilde (squiggle) accent"; |
| 1130 |
beginchar(oct"136",42u#,1.2body_height#,0); |
| 1131 |
%big_tilde; |
| 1132 |
adjust_fit(0,0); pickup crisp.nib; |
| 1133 |
numeric theta; theta=angle(1/6(w-vair),1/4(h-x_height)); |
| 1134 |
numeric mid_width; mid_width=.4[vair,stem]; |
| 1135 |
pos1(1.5min(vair,rule_thickness),theta+80); pos2(2min(vair,rule_thickness),theta+80); |
| 1136 |
pos3(2min(vair,rule_thickness),theta+80); pos4(1.5min(vair,rule_thickness),theta+80); |
| 1137 |
z2-z1=z4-z3 = (mid_width-crisp)*dir theta; |
| 1138 |
lft x1r=w-rt x4l=0; top y4r=h; |
| 1139 |
bot y1l=vround(bot y1l+min(.6[x_height,h],y3l-.25vair)-top y1r); |
| 1140 |
pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta; |
| 1141 |
filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l |
| 1142 |
--z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle; |
| 1143 |
penlabels(1,2,3,4); |
| 1144 |
endchar; |
| 1145 |
|
| 1146 |
cmchar "Reversed turned F"; |
| 1147 |
beginchar(oct"140",10u#,asc_height#,0); |
| 1148 |
italcorr asc_height#*slant; |
| 1149 |
adjust_fit(0,0); pickup rule.nib; |
| 1150 |
lft x4=hround u-eps; x2=x3=x5=w-x4; x6=x4+.27w; |
| 1151 |
top y2=h; bot y4=0; y5=y6=.5[y2,y3]; y3=y4; |
| 1152 |
draw z2--z3--z4; % upper bar, stem, lower bar |
| 1153 |
draw z5--z6; % middle bar |
| 1154 |
labels(2,3,4,5,6); endchar; |
| 1155 |
|
| 1156 |
cmchar "The Reversed inverted letter G"; |
| 1157 |
beginchar(oct"141",12u#,cap_height#,0); |
| 1158 |
italcorr cap_height#*slant-.5u#; adjust_fit(0,0); |
| 1159 |
pickup rule.nib; |
| 1160 |
rt x1=hround(w-1.35u); x2=x4=.5w+u; |
| 1161 |
lft x3=hround max(u,2u-.5cap_curve); rt x5=hround(w-1.2u); |
| 1162 |
top y1=vround .93h+o; top y2=h+o; y3=.5h; |
| 1163 |
bot y4=-o; bot y5=vround .07h-o; |
| 1164 |
draw z1...{left}z2...{down}z3{down}...{right}z4...{up}z5; |
| 1165 |
z7=z5; x0=x7; top y0=1+vround .35[bar_height,x_height]; |
| 1166 |
draw z0--z7; % stem |
| 1167 |
z0=z9; y8=y9; lft x8=hround x4; |
| 1168 |
draw z8--z9; % bar |
| 1169 |
math_fit(-.3cap_height#*slant-.5u#,.5ic#); |
| 1170 |
picture rvchar; |
| 1171 |
rvchar=currentpicture reflectedabout((.5w,0),(.5w,h)); |
| 1172 |
currentpicture:= rvchar; |
| 1173 |
penlabels(0,1,1',2,3,4,5,6,7,8,9); endchar; |
| 1174 |
|
| 1175 |
cmchar "Upsidedown, uppercase Greek Omega"; |
| 1176 |
beginchar(oct"146",13u#,cap_height#,0); |
| 1177 |
italcorr .75cap_height#*slant-.5u#; |
| 1178 |
adjust_fit(0,0); |
| 1179 |
pickup tiny.nib; pos1(vair,90); pos2(cap_curve,180); |
| 1180 |
pos3(vair,180); pos4(cap_curve,0); pos5(vair,0); |
| 1181 |
x1=.5w; top y1r=h+o; lft x2r=hround u; y2=y4=2/3h; x4=w-x2; |
| 1182 |
rt x3l=hround(1/3(w+.5u)+.5hair); bot y3=bot y5=0; x5=w-x3; |
| 1183 |
filldraw stroke z3e{up}...{up}z2e |
| 1184 |
& pulled_super_arc.e(2,1)(.5superpull) |
| 1185 |
& pulled_super_arc.e(1,4)(.5superpull) |
| 1186 |
& z4e{down}...{down}z5e; % bowl |
| 1187 |
numeric arm_thickness; path p; p=z3{up}...{up}z2; |
| 1188 |
arm_thickness=Vround(if hefty:slab+2stem_corr else:.75[slab,cap_vstem] fi); |
| 1189 |
pickup crisp.nib; pos6(arm_thickness,-90); pos7(fudged.hair,-180); |
| 1190 |
bot y6r=0; x6=x3; lft x7r=hround .8u; y7=good.y(y6l+.5beak)+eps; |
| 1191 |
(x,y)=p intersectionpoint((0,y6l)--(w,y6l)); x6l:=x; |
| 1192 |
arm(6,7,a,.5beak_darkness,-1.2beak_jut); % left arm and beak |
| 1193 |
pos8(arm_thickness,-90); pos9(fudged.hair,0); |
| 1194 |
y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; |
| 1195 |
arm(8,9,b,.5beak_darkness,1.2beak_jut); % right arm and beak |
| 1196 |
%math_fit(0,.5ic#); |
| 1197 |
picture v; v:=currentpicture; |
| 1198 |
numeric t; t=h-d; |
| 1199 |
v:=v reflectedabout((0,0),(w,0)); |
| 1200 |
currentpicture:=v shifted(0,aspect_ratio*cap_height); |
| 1201 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 1202 |
|
| 1203 |
cmchar "The letter Edh (Old English rune, like thorn)"; |
| 1204 |
% adapted from cm partial differential sign, vol E, p 233. |
| 1205 |
beginchar(oct"147",10u#,asc_height#,0); |
| 1206 |
italcorr .7asc_height#*slant+.5curve#-1.5u#; |
| 1207 |
adjust_fit(0,0); |
| 1208 |
numeric top_thickness,bot_thickness,side_thickness,pull; |
| 1209 |
top_thickness=max(fine.breadth,vround(slab-2vair_corr)); |
| 1210 |
bot_thickness=max(fine.breadth,vround(slab-vair_corr)); |
| 1211 |
side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); |
| 1212 |
pull=min(.25,1.5superpull); |
| 1213 |
pickup fine.nib; pos2(top_thickness,90); |
| 1214 |
pos3(side_thickness,0); pos4(bot_thickness,-90); |
| 1215 |
pos5(side_thickness,-180); pos6(vair,-270); |
| 1216 |
lft x5r=w-rt x3r=hround max(.75u,1.5u-.5side_thickness); |
| 1217 |
x4=x6+.1u=x2+u=.5w; |
| 1218 |
top y2r=h+o; y3=.5[y2,y4]; bot y4r=-o; |
| 1219 |
y5=.5[y4,y6]; top y6=vround 5/8h+o; |
| 1220 |
path p; p=pulled_super_arc.l(3,4)(pull); |
| 1221 |
numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); |
| 1222 |
pos7(thin_join,0); z7l=point t of p; |
| 1223 |
(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); |
| 1224 |
x2:=x5; x2l:=x2r:=x2; |
| 1225 |
filldraw stroke pulled_super_arc.e(2,3)(pull) |
| 1226 |
& {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} |
| 1227 |
& {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} |
| 1228 |
& z6e{right}...{direction t of p}z7e; % arc and bowl |
| 1229 |
%pos1(hair,180); pos0(flare,180); % commenting out the arc and bulb |
| 1230 |
%lft x0r=min(lft x2-eps,hround 1.2u); |
| 1231 |
%y0=vround min(.85h-.5flare,.8h+.5flare)+o; |
| 1232 |
%{{less_tense; bulb(2,1,0)}}; % arc and bulb |
| 1233 |
%math_fit(-.3x_height#*slant+.5curve#-u#,ic#-u#); |
| 1234 |
pickup pencircle xscaled 1.4rule_thickness yscaled .5rule_thickness; |
| 1235 |
x10=x11=x5; x12=x13=w-x10; y10=y13; |
| 1236 |
y10-y11=y12-y13=cap_stem; .5[y11,y10]=.5[y6,y2]; |
| 1237 |
draw z10--z11--z12--z13; % cross piece |
| 1238 |
penlabels(2,3,4,5,6,7,10,11,12,,13); endchar; |
| 1239 |
|
| 1240 |
cmchar "Equal or similar symbol"; |
| 1241 |
compute_spread(.45x_height#,.55x_height#); |
| 1242 |
beginchar(oct"150",14u#,v_center(2spread#+rule_thickness#)); |
| 1243 |
adjust_fit(0,0); |
| 1244 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 1245 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1246 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1247 |
bot y1=bot y3=-d; top y2=top y4=y1+spread; |
| 1248 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % stroke |
| 1249 |
pickup rule.nib; |
| 1250 |
lft x5=hround u-eps; x6=w-x5; top y5=top y6=h; |
| 1251 |
draw z5--z6; |
| 1252 |
labels(1,2,3,4,5,6); endchar; |
| 1253 |
|
| 1254 |
|
| 1255 |
%% parameters for Hebrew letters Beth, Gimel, Dalet |
| 1256 |
numeric theta; theta=45; |
| 1257 |
cmchar "Hebrew letter Beth"; |
| 1258 |
beginchar(oct"151", 12u#, asc_height#, 0); |
| 1259 |
%currenttransform:=identity rotated -45 shifted (.75h, 0); |
| 1260 |
adjust_fit(0,0); |
| 1261 |
pickup rule.nib; |
| 1262 |
top y0=1.1h; lft x0=u; |
| 1263 |
pos1(cap_curve,90); x1=2.5u; y1r=h; |
| 1264 |
pos2(cap_curve,90); x2=w-x1; y2r=y1r; |
| 1265 |
rt x3=w-u; y2l-y3=y0-y1r; |
| 1266 |
x4=x3; |
| 1267 |
% now for the base. |
| 1268 |
pos12(cap_curve/cosd theta, theta); pos11(cap_curve/cosd theta, theta); |
| 1269 |
y11r=y12r=y4; y11l=0; |
| 1270 |
x12=u; x11=w-x12; |
| 1271 |
filldraw z0{down}..tension.8..z1l{right}..{right}z2l..{down}z3& |
| 1272 |
z3{up}..tension.8..z2r{left}..{left}z1r..z0..cycle; % top |
| 1273 |
pickup rule.nib; draw z3..z4; % down stroke at right of letter |
| 1274 |
filldraw stroke z11e{left}..{left}z12e; |
| 1275 |
penlabels(0,1,2,3,4,11,12); |
| 1276 |
endchar; |
| 1277 |
|
| 1278 |
cmchar "Hebrew letter Gimel"; |
| 1279 |
beginchar(oct"152", 8u#, asc_height#, 0); |
| 1280 |
%currenttransform:=identity rotated -45 shifted (.75h, 0); |
| 1281 |
adjust_fit(0,0); |
| 1282 |
pickup rule.nib; |
| 1283 |
top y0=1.1h; lft x0=u; |
| 1284 |
pos1(cap_curve,90); x1=2.5u; y1r=h; |
| 1285 |
pos2(cap_curve,90); x2=w-x1+.5u; y2r=y1r; |
| 1286 |
filldraw z0{down}..tension.8..z1l{right}..{right}z2l..tension.8..{left}z2r |
| 1287 |
..{left}z1r..z0..cycle; % top slab |
| 1288 |
z3=z2l;x4=x3+.2stem; y4=-o; x5=x4+.3stem; y5=y3c; |
| 1289 |
x3a=x3b=x3c=x3; y3a=.8h; y3b=.5h; y3c=cap_curve; |
| 1290 |
y5:=.5y5; % reset y5 |
| 1291 |
path p, q; p=(z3---z3c..z4); q=(z4{1,1}..z5..{-.005,1}z3); % vertical |
| 1292 |
filldraw p&q&cycle; |
| 1293 |
% now for the base. |
| 1294 |
pos12(cap_curve/cosd theta, theta); pos11(cap_curve/cosd theta, theta); |
| 1295 |
pos13(cap_curve/cosd theta, theta); y13=y12; x13=w; |
| 1296 |
% z13 is a dummy point for getting intersection |
| 1297 |
y11r=y12r; y11l=0; |
| 1298 |
x12=u; |
| 1299 |
z10=p intersectionpoint (z12r--z13r); z11r=z10; |
| 1300 |
filldraw stroke z11e{left}..{left}z12e; |
| 1301 |
penlabels(0,1,2,3,3c,4,5,11,12); |
| 1302 |
endchar; |
| 1303 |
|
| 1304 |
cmchar "Hebrew letter Daleth"; |
| 1305 |
beginchar(oct"153", 12u#, asc_height#, 0); |
| 1306 |
%currenttransform:=identity rotated -45 shifted (.75h, 0); |
| 1307 |
adjust_fit(0,0); |
| 1308 |
pickup rule.nib; |
| 1309 |
top y0=1.1h; lft x0=u; |
| 1310 |
pos1(cap_curve,90); x1=2.5u; y1r=h; |
| 1311 |
pos2(cap_curve,90); x2=w-x1+.5u; y2r=y1r; |
| 1312 |
filldraw z0{down}..tension.8..z1l{right}..{right}z2l..tension.8..{left}z2r |
| 1313 |
..{left}z1r..z0..cycle; % top slab |
| 1314 |
z3=z2l;x4=x3+.2stem; y4=-o; x5=x4+.3stem; y5=y3c; |
| 1315 |
x3a=x3b=x3c=x3; y3a=.8h; y3b=.5h; y3c=cap_curve; |
| 1316 |
y5:=.5y5; % reset y5 |
| 1317 |
path p, q; p=(z3---z3c..z4); q=(z4{1,1}..z5..{-.005,1}z3); % vertical |
| 1318 |
filldraw p&q&cycle; |
| 1319 |
penlabels(0,1,2,3,3c,4,5); |
| 1320 |
endchar; |
| 1321 |
|
| 1322 |
cmchar "Dotted less than sign"; |
| 1323 |
compute_spread(5/4x_height#,3/2x_height#); |
| 1324 |
beginchar(oct"154",14u#,v_center(spread#+rule_thickness#)); |
| 1325 |
italcorr h#*slant-u#; |
| 1326 |
adjust_fit(0,0); pickup rule.nib; |
| 1327 |
lft x2=hround 1.5u-eps; x1=x3=w-x2; |
| 1328 |
y1-y3=spread; y2=.5[y1,y3]=math_axis; |
| 1329 |
draw z1--z2--z3; % diagonals |
| 1330 |
y4=y2; x4=.75[x2, x1]; z5=z4; |
| 1331 |
pos4(dot_size,0); pos5(dot_size,90); dot(4,5); |
| 1332 |
labels(1,2,3,4,5); endchar; |
| 1333 |
|
| 1334 |
cmchar "Dotted greater than sign"; |
| 1335 |
compute_spread(5/4x_height#,3/2x_height#); |
| 1336 |
beginchar(oct"155",14u#,v_center(spread#+rule_thickness#)); |
| 1337 |
italcorr math_axis#*slant-u#; |
| 1338 |
adjust_fit(0,0); pickup rule.nib; |
| 1339 |
rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; |
| 1340 |
y1-y3=spread; y2=.5[y1,y3]=math_axis; |
| 1341 |
draw z1--z2--z3; % diagonals |
| 1342 |
y4=y2; x4=.75[x2, x1]; z5=z4; |
| 1343 |
pos4(dot_size,0); pos5(dot_size,90); dot(4,5); |
| 1344 |
labels(1,2,3,4,5); endchar; |
| 1345 |
|
| 1346 |
cmchar "Times operator with left vertical"; |
| 1347 |
beginarithchar(oct"156"); pickup rule.nib; |
| 1348 |
x1=good.x(1/sqrt2)[.5w,rt u]; y1=good.y(1/sqrt2)[math_axis,bot h]; |
| 1349 |
x2=x3=w-x1; x4=x1; .5[y1,y2]=.5[y3,y4]=math_axis; y2=y4; |
| 1350 |
draw z1--z2; draw z3--z4; % diagonals |
| 1351 |
draw z1--z4; |
| 1352 |
labels(1,2,3,4); endchar; |
| 1353 |
|
| 1354 |
cmchar "Times operator with right vertical"; |
| 1355 |
beginarithchar(oct"157"); pickup rule.nib; |
| 1356 |
x1=good.x(1/sqrt2)[.5w,rt u]; y1=good.y(1/sqrt2)[math_axis,bot h]; |
| 1357 |
x2=x3=w-x1; x4=x1; .5[y1,y2]=.5[y3,y4]=math_axis; y2=y4; |
| 1358 |
draw z1--z2; draw z3--z4; % diagonals |
| 1359 |
draw z2--z3; |
| 1360 |
labels(1,2,3,4); endchar; |
| 1361 |
|
| 1362 |
cmchar "Cute vertical bar"; |
| 1363 |
beginchar(oct"160",4u#,6u#+math_axis#,6u#-math_axis#); |
| 1364 |
italcorr math_axis#*slant - .5u#; |
| 1365 |
adjust_fit(0,0); pickup rule.nib; |
| 1366 |
x1=x2=hround(w/2); top y1=x_height; bot y2=-o; |
| 1367 |
draw z1--z2; |
| 1368 |
labels(1,2); endchar; |
| 1369 |
|
| 1370 |
cmchar "Two cute vertical bars"; |
| 1371 |
beginchar(oct"161",7u#,6u#+math_axis#,6u#-math_axis#); |
| 1372 |
italcorr math_axis#*slant - .5u#; |
| 1373 |
adjust_fit(0,0); pickup rule.nib; |
| 1374 |
lft x1=u; x2=x1; top y1=x_height; bot y2=-o; |
| 1375 |
x3=w-x1; x4=x3; y3=y1; y4=y2; |
| 1376 |
draw z1--z2; draw z3--z4; |
| 1377 |
labels(1,2,3,4); endchar; |
| 1378 |
|
| 1379 |
cmchar "Integer division (reverse quotient) symbol"; |
| 1380 |
beginarithchar(oct"162"); pickup rule.nib; |
| 1381 |
x1=2u; top y1=x_height;% |
| 1382 |
x2=x3=w-x1; x4=x1; bot y2=-o; |
| 1383 |
draw z1--z2; % diagonal |
| 1384 |
labels(1,2,3,4); endchar; |
| 1385 |
|
| 1386 |
|
| 1387 |
cmchar "Thick similarity sign";% taken from symbol.mf |
| 1388 |
compute_spread(.45x_height#,.55x_height#); |
| 1389 |
beginchar(oct"163",14u#,v_center(spread#+rule_thickness#)); |
| 1390 |
adjust_fit(0,0); |
| 1391 |
pickup pencircle xscaled .8rule_thickness yscaled 1.87rule_thickness; |
| 1392 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1393 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1394 |
bot y1=bot y3=-d; top y2=top y4=h; |
| 1395 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % stroke |
| 1396 |
labels(1,2,3,4); endchar; |
| 1397 |
|
| 1398 |
|
| 1399 |
cmchar "Approximate equality sign"; % taken fron symbol.mf |
| 1400 |
compute_spread(.45x_height#,.55x_height#); |
| 1401 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 1402 |
compute_spread(.54x_height#,.66x_height#); |
| 1403 |
beginchar(oct"164",14u#,v_center(spread#'+spread#+rule_thickness#)); |
| 1404 |
adjust_fit(0,0); |
| 1405 |
pickup pencircle xscaled .8rule_thickness yscaled 1.87rule_thickness; |
| 1406 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1407 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1408 |
y1=y3; top y2=top y4=h; top y2-bot y1=spread'; |
| 1409 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 1410 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread); |
| 1411 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 1412 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 1413 |
|
| 1414 |
cmchar "Approximate equality plus lower bar sign"; |
| 1415 |
compute_spread(.45x_height#,.55x_height#); |
| 1416 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 1417 |
compute_spread(.54x_height#,.66x_height#); |
| 1418 |
beginchar(oct"165",14u#,v_center(2spread#'+spread#+rule_thickness#)); |
| 1419 |
adjust_fit(0,0); |
| 1420 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 1421 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1422 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1423 |
y1=y3; top y2=top y4=h; top y2-bot y1=spread'; |
| 1424 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 1425 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread); |
| 1426 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 1427 |
y9=y10; x9=x1; x10=x8; y5-y9=spread'; |
| 1428 |
pickup rule.nib; draw z9--z10; |
| 1429 |
labels(1,2,3,4,5,6,7,8,9,10); endchar; |
| 1430 |
|
| 1431 |
|
| 1432 |
cmchar "Follows with approximate equality sign"; |
| 1433 |
compute_spread(.45x_height#,.55x_height#); |
| 1434 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 1435 |
compute_spread(.54 x_height#,.66 x_height#); |
| 1436 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 1437 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 1438 |
beginchar(oct"166",14u#,v_center(2spread#''+spread#+2rule_thickness#)); |
| 1439 |
adjust_fit(0,0); |
| 1440 |
% now for follow sign, using z9 (top), z10 (vertex), & z11 (bot) |
| 1441 |
pickup rule.nib; |
| 1442 |
lft x9 = hround 1.5u-eps; x10=w-x9; x11=x9; |
| 1443 |
y9-y11=spread; top y9=h; y10=.5[y11, y9]; |
| 1444 |
draw z9{u,-spread}...{right}z10; |
| 1445 |
draw z11{u,spread}...{right}z10; |
| 1446 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 1447 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1448 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1449 |
top y1=top y3=bot y11-spread''; top y2=top y4=bot y1+spread'; |
| 1450 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread''); |
| 1451 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 1452 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 1453 |
labels(1,2,3,4,5,6,7,8,9,10,11); endchar; |
| 1454 |
|
| 1455 |
cmchar "Precedes with approximate equality sign"; |
| 1456 |
compute_spread(.45x_height#,.55x_height#); |
| 1457 |
spread#':=spread#; spread':=spread; % the spread of `$=$' |
| 1458 |
compute_spread(.54x_height#,.66x_height#); |
| 1459 |
spread#'':=spread#; spread'':=spread; % the spread of `$=$' |
| 1460 |
compute_spread(1.111 x_height#,1.333 x_height#); |
| 1461 |
beginchar(oct"167",14u#,v_center(spread#+2spread#''+2rule_thickness#)); |
| 1462 |
adjust_fit(0,0); |
| 1463 |
% now for precedes sign, using z9 (top), z10 (vertex), & z11 (bot) |
| 1464 |
pickup rule.nib; |
| 1465 |
x9=x11=w-x10; lft x10=hround 1.5u-eps; |
| 1466 |
y9-y11=spread; top y9=h; y10=.5[y11, y9]; |
| 1467 |
draw z9{-u,-spread}...{left}z10; |
| 1468 |
draw z11{-u,spread}...{left}z10; |
| 1469 |
pickup pencircle xscaled .7rule_thickness yscaled 1.4rule_thickness; |
| 1470 |
if vair#>.8curve#: pickup rule.nib; autorounded; fi % monoline |
| 1471 |
lft x1=hround u; x2=4u; x3=w-x2; x4=w-x1; |
| 1472 |
top y3=top y1=bot y11-spread''; top y2=top y4=bot y1+spread'; |
| 1473 |
z1-z5=z2-z6=z3-z7=z4-z8=(0,spread''); |
| 1474 |
draw z1{up}...z2{right}..{right}z3...{up}z4; % upper stroke |
| 1475 |
draw z5{up}...z6{right}..{right}z7...{up}z8; % lower stroke |
| 1476 |
labels(1,2,3,4,5,6,7,8,9,10,11); endchar; |
| 1477 |
|
| 1478 |
cmchar "Arch with left downward arrowhead"; |
| 1479 |
beginchar(oct"170",18u#,x_height#,0); |
| 1480 |
adjust_fit(0,0); pickup crisp.nib; |
| 1481 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 1482 |
pos3(min(bar,rule_thickness),90); pos4(min(bar,rule_thickness),90); |
| 1483 |
lft x1l=hround(.5w-.5rule_thickness); y1+.5rule_thickness=h; |
| 1484 |
x0=x1=x2; bot y0=-d; x0-x3=x4-x0=3u+eps; |
| 1485 |
y3=y4=y0+.24asc_height+eps; |
| 1486 |
pos5(min(bar,rule_thickness),angle(z4-z0)); z5l=z0; |
| 1487 |
pos6(min(bar,rule_thickness),angle(z3-z0)); z6l=z0; |
| 1488 |
z9=.381966[.5[z3,z4],z0]; |
| 1489 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 1490 |
t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p; |
| 1491 |
for i=0 upto 6: x[i]:=x[i]-5.5u; x[i]l:=x[i]l-5.5u; x[i]r:=x[i]r-5.5u; endfor |
| 1492 |
x9:=x9-5.5u; |
| 1493 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 1494 |
--z2r---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) |
| 1495 |
--z3l{z9-z3}..z0 & cycle; % arrowhead |
| 1496 |
% arch represented by z2, z11 (top) z12 |
| 1497 |
rt x12=w-1u; bot y12=y0; top y11=h+o; x11=.5[x2, x12]; |
| 1498 |
pickup rule.nib; draw z2{up}...{right}z11...{down}z12; |
| 1499 |
penlabels(0,1,2,3,4,5,6,9,11,12); endchar; |
| 1500 |
|
| 1501 |
cmchar "Arch with right downward arrowhead"; |
| 1502 |
beginchar(oct"171",18u#,x_height#,0); |
| 1503 |
adjust_fit(0,0); pickup crisp.nib; |
| 1504 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 1505 |
pos3(min(bar,rule_thickness),90); pos4(min(bar,rule_thickness),90); |
| 1506 |
lft x1l=hround(.5w-.5rule_thickness); y1+.5rule_thickness=h; |
| 1507 |
x0=x1=x2; bot y0=-d; x0-x3=x4-x0=3u+eps; |
| 1508 |
y3=y4=y0+.24asc_height+eps; |
| 1509 |
pos5(min(bar,rule_thickness),angle(z4-z0)); z5l=z0; |
| 1510 |
pos6(min(bar,rule_thickness),angle(z3-z0)); z6l=z0; |
| 1511 |
z9=.381966[.5[z3,z4],z0]; |
| 1512 |
numeric t; path p; p=z4r{z9-z4}..z6r; |
| 1513 |
t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p; |
| 1514 |
for i=0 upto 6: x[i]:=x[i]+5.5u; x[i]l:=x[i]l+5.5u; x[i]r:=x[i]r+5.5u; endfor |
| 1515 |
x9:=x9+5.5u; |
| 1516 |
filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) |
| 1517 |
--z2r---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) |
| 1518 |
--z3l{z9-z3}..z0 & cycle; % arrowhead |
| 1519 |
% arch represented by z2, z11 (top) z12 (right) |
| 1520 |
lft x12=u; bot y12=y0; top y11=h+o; x11=.5[x2, x12]; |
| 1521 |
pickup rule.nib; draw z2{up}...{left}z11...{down}z12; |
| 1522 |
penlabels(0,1,2,3,4,5,6,9,11,12); endchar; |
| 1523 |
|
| 1524 |
cmchar "Stylized F"; |
| 1525 |
beginarithchar(oct"172"); |
| 1526 |
pickup pencircle xscaled 2.5rule_thickness yscaled .5rule_thickness; |
| 1527 |
bot y1=-d; top y2=top y3=h+o; y4=y5=.5[y1, y2]; lft x1=u; x3=w-x1; |
| 1528 |
numeric t; t=4; % t=slope of thick stem |
| 1529 |
y2-y1=t*(x2-x1); |
| 1530 |
z4=whatever[z1, z2]; x5-x4=.6(x3-x2); |
| 1531 |
draw z1--z2--z3; draw z4--z5; |
| 1532 |
penlabels(1,2,3,4,5); endchar; |
| 1533 |
|
| 1534 |
transform tt; tt:=currenttransform; |
| 1535 |
currenttransform:=tt slanted 1/4; |
| 1536 |
cmchar "Lowercase variation of Greek kappa"; |
| 1537 |
% will use same dimensions as standard Greek lowercase kappa |
| 1538 |
% see vol E, p 155. |
| 1539 |
beginchar(oct"173", 12u#, x_height#, 0); |
| 1540 |
italcorr 1/3x_height#*slant+.5hair#+.5u#; |
| 1541 |
adjust_fit(0,0); pickup rule.nib; |
| 1542 |
pos1(stem,0); pos2(stem,0);x1l=hround(2u-.5stem); x2r=w-x1l; |
| 1543 |
top y2+.3stem=h+oo; bot y1-.3stem=-oo; |
| 1544 |
filldraw z1l---z2l...z2r---z1r...cycle; |
| 1545 |
pickup crisp.nib; |
| 1546 |
pos3(hair,180); x3=lft x1l; y3=3/4h; pos4(stem,90); |
| 1547 |
top y4r+.15stem=h+oo; x4-x3=.05[x1,x2]; |
| 1548 |
pos4'(min(hair,rule_thickness),0); y4'=y3; |
| 1549 |
if hefty: x4l = x4'l; else: x4'=1/4[x1,x2]; fi |
| 1550 |
pos5(hair,90); z5=z1; |
| 1551 |
filldraw super_arc.r(3,4)&super_arc.r(4,4')...{z1-z2}z5&z5{z2-z1} |
| 1552 |
...super_arc.l(4',4)&super_arc.l(4,3)---cycle; % left arm |
| 1553 |
pos8(hair,-90); pos6(hair,0); |
| 1554 |
z8=z2; pos7(stem, -90); bot y7r-.15stem=-oo; x6-x7=x4-x3; |
| 1555 |
x6=w-x3; |
| 1556 |
pos7'(min(hair,rule_thickness),180); y7'=y6; x7'=w-x4'; |
| 1557 |
y6=h-y3; |
| 1558 |
filldraw super_arc.r(6,7)&super_arc.r(7,7')...{z2-z1}z8&z8{z1-z2} |
| 1559 |
...super_arc.l(7',7)&super_arc.l(7,6)---cycle; % right arm |
| 1560 |
%filldraw z8{z1-z2}..z7l...{up}z6r---z6l{-u,-2u}...z7r..{z2-z1}z8---cycle; %right arm |
| 1561 |
penlabels(range 1 thru 8,4',7'); endchar; |
| 1562 |
|
| 1563 |
cmchar "H-bar symbol, slanted bar"; |
| 1564 |
beginchar(oct"175",if serifs: 9u# else: 10u# fi,asc_height#,0); |
| 1565 |
if serifs: |
| 1566 |
italcorr 1/3x_height#*slant+.5hair#+.5u#; |
| 1567 |
adjust_fit(0,0); pickup tiny.nib; |
| 1568 |
pos1(stem,0); pos2(stem,0); x1=x2; |
| 1569 |
lft x1l=hround(1.5u-.5stem); top y1=h; y2-.5stem=-oo; |
| 1570 |
filldraw circ_stroke z2e--z1e; % left stem |
| 1571 |
sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif |
| 1572 |
pickup fine.nib; x4+.5stem=hround(w-2.5u+.5stem); |
| 1573 |
x5=x4-.25u; ital_arch(2,3,4); % arch |
| 1574 |
x7=w; hook_out(5,6,7)(skewed); % closing hook |
| 1575 |
filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem |
| 1576 |
else: |
| 1577 |
italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; |
| 1578 |
adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); |
| 1579 |
pickup tiny.nib; pos1(stem,0); pos2(stem,0); |
| 1580 |
pos1'(stem',0); pos2'(stem',0); pos3(stem,0); |
| 1581 |
lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; |
| 1582 |
top y1=h; bot y2=0; y1=y1'; y2=y2'; |
| 1583 |
filldraw stroke z1'e--z2'e; % left stem |
| 1584 |
h_stroke(2,a,3,4); % arch and right stem |
| 1585 |
fi |
| 1586 |
pickup light_rule.nib; |
| 1587 |
if serifs: x8=x.a2; else: x8 = x1l; fi y8=.7h; x9=x4l; y9=7/8h; |
| 1588 |
draw z8--z9; |
| 1589 |
math_fit(0,ic#); penlabels(1,2,3,4,5,6,7,8,9); |
| 1590 |
endchar; |
| 1591 |
|
| 1592 |
cmchar "H-bar symbol, vertical bar"; |
| 1593 |
beginchar(oct"176",if serifs: 9u# else: 10u# fi,asc_height#,0); |
| 1594 |
if serifs: |
| 1595 |
italcorr 1/3x_height#*slant+.5hair#+.5u#; |
| 1596 |
adjust_fit(0,0); pickup tiny.nib; |
| 1597 |
pos1(stem,0); pos2(stem,0); x1=x2; |
| 1598 |
lft x1l=hround(1.5u-.5stem); top y1=h; y2-.5stem=-oo; |
| 1599 |
filldraw circ_stroke z2e--z1e; % left stem |
| 1600 |
sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif |
| 1601 |
pickup fine.nib; x4+.5stem=hround(w-2.5u+.5stem); |
| 1602 |
x5=x4-.25u; ital_arch(2,3,4); % arch |
| 1603 |
x7=w; hook_out(5,6,7)(skewed); % closing hook |
| 1604 |
filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem |
| 1605 |
else: |
| 1606 |
italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; |
| 1607 |
adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); |
| 1608 |
pickup tiny.nib; pos1(stem,0); pos2(stem,0); |
| 1609 |
pos1'(stem',0); pos2'(stem',0); pos3(stem,0); |
| 1610 |
lft x1l=hround(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; |
| 1611 |
top y1=h; bot y2=0; y1=y1'; y2=y2'; |
| 1612 |
filldraw stroke z1'e--z2'e; % left stem |
| 1613 |
h_stroke(2,a,3,4); % arch and right stem |
| 1614 |
fi |
| 1615 |
pickup light_rule.nib; |
| 1616 |
if serifs: x8=x.a2; else: x8 = x1l; fi y8=y9=.81h; rt x9=x4l; draw z8--z9; |
| 1617 |
math_fit(0,ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 1618 |
|
| 1619 |
cmchar "Reversed, reflected, lowercase Greek epsilon"; |
| 1620 |
beginchar(oct"177",8u#,x_height#,0); |
| 1621 |
italcorr x_height#*slant+.5hair#-2u#; |
| 1622 |
adjust_fit(0,0); pickup fine.nib; |
| 1623 |
if serifs: |
| 1624 |
pos0(bar,90); pos4(hair,300); |
| 1625 |
x0=x1+u; x6=x0; x3=.5[x0,x1]; |
| 1626 |
top y0r=top y1r=h; |
| 1627 |
else: |
| 1628 |
pos0(bar,75); pos4(if hefty: vair else: hair fi,310); |
| 1629 |
x6=x1+u; x3=.5[x6,x1]; x0=x6+bar/2; |
| 1630 |
top y1r=h; |
| 1631 |
y0 = 0.3[y1,y1l]; |
| 1632 |
fi |
| 1633 |
pos1(bar,90); pos2(curve,180); |
| 1634 |
pos3(vair,270); pos6(bar,90); pos7(bar,90); |
| 1635 |
x1=.5w+.5u; lft x2r=hround(1.5u-.5curve); |
| 1636 |
x4r=good.x(w-u); x5=w+.5u; z7=z2l; |
| 1637 |
y2=y5=y6=bar_height; bot y3r=-oo; |
| 1638 |
path p; p=z3r{right}...{up}z5; |
| 1639 |
numeric t; t=ypart(((x4r,y3r)--(x4r,y5))intersectiontimes p); |
| 1640 |
y4r=ypart point t of p; |
| 1641 |
filldraw sans_circ_stroke z0e..pulled_arc.e(1,2) & pulled_arc.e(2,3) |
| 1642 |
...z4e{direction t of p}; % arc |
| 1643 |
filldraw sans_circ_stroke z6e--z7e; % bar |
| 1644 |
math_fit(-.3x_height#*slant+.5curve#-u#,ic#); |
| 1645 |
% Identical to \epsilon up to here |
| 1646 |
picture v; |
| 1647 |
v:=currentpicture; |
| 1648 |
v:=v reflectedabout((0,h*aspect_ratio/2),(w,h*aspect_ratio/2)); |
| 1649 |
v:=v reflectedabout((w/2,-d),(w/2,h)); |
| 1650 |
currentpicture:=v shifted (2u,0); |
| 1651 |
penlabels(0,1,2,3,4,5,6,7); endchar; |
| 1652 |
|
| 1653 |
currenttransform:=tt; %restore currenttrnasform |
| 1654 |
|