Debian Codegraph @

texmf-dist/fonts/source/public/cmbright/msb.mf

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