Debian Codegraph @

texmf-dist/fonts/source/public/drm/drmgrkpunct.mf

raw
1 % +AMDG This document was begun on 26 April 11EX, the feast
2 % of St. Catherine of Siena, and it is humbly dedicated to
3 % her and the Immaculate Heart of Mary for their prayers,
4 % and to the Sacred Heart of Jesus for His mercy.
5
6 picture hyphen;
7 picture paren;
8 picture period;
9 picture opendoublequote;
10 picture questionmark;
11 picture bang;
12 picture leftsinguill;
13 picture leftdoubguill;
14 picture slash;
15 picture lessthan;
16 picture opensquare;
17
18 beginchar(oct"056",pwid#,pwid#,0); "The period .";
19
20 z0 = (w/2,dotwid);
21 z1 = z0 shifted (dotwid,0);
22 z2 = z0 shifted (0,dotwid);
23 z3 = z0 shifted (-dotwid,0);
24 z4 = z0 shifted (0,-dotwid);
25
26 path period;
27 period = z1..z2..z3..z4..cycle;
28 fill period;
29
30 %period := currentpicture;
31
32 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
33 endchar;
34
35 beginchar(oct"046",pwid#,pwid#,0); "Raised, smaller dot";
36
37 z0 = (w/2,dotwid);
38 z1 = z0 shifted (dotwid,0);
39 z2 = z0 shifted (0,dotwid);
40 z3 = z0 shifted (-dotwid,0);
41 z4 = z0 shifted (0,-dotwid);
42
43 path period;
44 period = z1..z2..z3..z4..cycle;
45 fill period scaled 0.75 shifted (0,ex-2dotwid);
46
47 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
48 endchar;
49
50 beginchar(oct"073",pwid#,pwid#,0); "Raised, period-sized dot";
51
52 z0 = (w/2,dotwid);
53 z1 = z0 shifted (dotwid,0);
54 z2 = z0 shifted (0,dotwid);
55 z3 = z0 shifted (-dotwid,0);
56 z4 = z0 shifted (0,-dotwid);
57
58 path period;
59 period = z1..z2..z3..z4..cycle;
60 fill period shifted (0,ex-2dotwid);
61
62 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
63 endchar;
64
65 beginchar(oct"054",pwid#,pwid#,0); "The comma ,";
66
67 z0 = (w/2,dotwid);
68 z1 = z0 shifted (dotwid,0);
69 z2 = z0 shifted (0,dotwid);
70 z3 = z0 shifted (-dotwid,0);
71 z4 = z0 shifted (0,-dotwid/2);
72 z5 = z3 shifted (-dotwid/2,-3dotwid);
73 z6 = z1 shifted (-o,-2.0dotwid);
74
75 path commapost;
76 commapost = z4..{dir -165}z5{right}..z6..z1..z2..z3..z4--cycle;
77 fill commapost;
78
79 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
80 endchar;
81
82 beginchar(oct"035",pwid#,cap#,0); "The apostrophe";
83
84 fill commapost shifted (0,h-2dotwid+o/2);
85
86 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
87 endchar;
88
89 beginchar(oct"074",pwid#,cap#,0); "rough breathing";
90
91 fill commapost shifted (0,h-2dotwid+o/2)
92 reflectedabout ((w/2,h),(w/2,0));
93 picture roughbreath;
94 roughbreath := currentpicture;
95
96 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
97 endchar;
98
99 beginchar(oct"076",pwid#,cap#,0); "The apostrophe";
100
101 fill commapost shifted (0,h-2dotwid+o/2);
102
103 picture smoothbreath; smoothbreath := currentpicture;
104
105 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
106 endchar;
107
108 thinwid# = 0.4pt#;
109 define_pixels(thinwid);
110
111 beginchar("-",2pwid#,ex#,0); "The hyphen, -";
112
113 z0 = (ss,3h/4);
114 z1 = (w-ss,y0);
115 z2 = z0 shifted (thinwid/2,thinwid/2);
116 z3 = z2 shifted (0,-thinwid);
117 z4 = z1 shifted (-thinwid/2,thinwid/2);
118 z5 = z4 shifted (0,-thinwid);
119
120 fill z2..z0..z3--z5..z1..z4--cycle;
121
122 hyphen := currentpicture;
123
124 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
125 endchar;
126
127 beginchar(oct"177",2pwid#,ex#,0); "The break hyphen, -";
128 currentpicture := hyphen;
129 endchar;
130
131 beginchar(oct"000",3pwid#,ex#,0); "The en-dash, --";
132
133 z0 = (ss,3h/4);
134 z1 = (w-ss,y0);
135 z2 = z0 shifted (thinwid/2,thinwid/2);
136 z3 = z2 shifted (0,-thinwid);
137 z4 = z1 shifted (-thinwid/2,thinwid/2);
138 z5 = z4 shifted (0,-thinwid);
139
140 fill z2..z0..z3--z5..z1..z4--cycle;
141
142 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
143 endchar;
144
145 beginchar(oct"177",em#+2ss#,ex#,0); "The em-dash, ---";
146
147 z0 = (ss,3h/4);
148 z1 = (w-ss,y0);
149 z2 = z0 shifted (thinwid/2,thinwid/2);
150 z3 = z2 shifted (0,-thinwid);
151 z4 = z1 shifted (-thinwid/2,thinwid/2);
152 z5 = z4 shifted (0,-thinwid);
153
154 fill z2..z0..z3--z5..z1..z4--cycle;
155
156 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
157 endchar;
158
159 beginchar(oct"050",1.5pwid#,cap#,dep#); "The open parenthesis, (";
160
161 z0 = (w,h+o);
162 z1 = (w,-dep-o);
163 z2 = (ss,(h-dep)/2);
164 z3 = z2 shifted (thickl,0);
165
166 path theparen; theparen = z1{dir 150}..{up}z3{up}..{dir 30}z0{dir
167 200}..{down}z2{down}..{dir -20}z1..cycle;
168 fill theparen;
169
170 paren := currentpicture;
171
172 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
173 endchar;
174
175 beginchar(oct"051",1.5pwid#,cap#,dep#); "The close parenthesis, )";
176
177 currentpicture := paren rotatedaround ((w/2,(h-dep)/2),180);
178
179 endchar;
180
181 beginchar(oct"072",pwid#,ex#,0); "The colon, :";
182
183 fill period;
184 fill period shifted (0,ex-2dotwid-o);
185
186 endchar;
187
188 beginchar(oct"077",pwid#,ex#,0); "The semicolon, ;";
189
190 fill period shifted (0,ex-2dotwid-o);
191 fill commapost;
192
193 endchar;
194
195 beginchar(oct"034",pwid#,cap#,0); "The open quote, `";
196
197 fill commapost rotatedaround ((w/2,h/2),180)
198 shifted (0,-0.5pwid);
199
200 endchar;
201
202 beginchar(oct"020",1.75pwid#,cap#,0); "The open double quote, ``";
203
204 fill commapost rotatedaround ((w/2,h/2),180)
205 shifted (0,-2dotwid);
206 fill commapost rotatedaround ((w/2,h/2),180)
207 shifted (-0.75pwid,-2dotwid);
208
209 opendoublequote := currentpicture;
210
211 endchar;
212
213 beginchar(oct"021",1.75pwid#,cap#,0); "The close double quote, ''";
214
215 fill commapost shifted (0pwid,h-2dotwid);
216 fill commapost shifted (0.75pwid,h-2dotwid);
217
218 endchar;
219
220 beginchar(oct"255",1.75pwid#,cap#,0); "The baseline open double quote, ,,";
221
222 fill commapost shifted (0pwid,0);
223 fill commapost shifted (0.75pwid,0);
224
225 endchar;
226
227 beginchar(oct"041",1.5pwid#,cap#,0); "The exclamation point, !";
228
229 z0 = (w/2-thickl/2,h);
230 z1 = z0 shifted (thickl/2,o);
231 z2 = z0 shifted (thickl,0);
232 z3 = (x0+o,3dotwid);
233 z4 = (x2-o,y3);
234 z5 = 0.5[z3,z4] shifted (0,-o);
235
236 fill z0..z1..z2--z4..z5..z3--cycle;
237 fill fullcircle scaled 2dotwid shifted (x5,dotwid);
238
239
240 bang := currentpicture;
241
242 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
243 endchar;
244
245 beginchar(oct"275",1.5pwid#,cap#,dep#); "The reverse exclamation point";
246
247 currentpicture := bang rotatedaround ((w/2,(h-dep)/2),180);
248
249 endchar;
250
251 beginchar(oct"255",pwid#+2ss#,ex#,0); "Left single guillemet";
252
253 z0 = (o,h/2);
254 z1 = (w-3o,7h/8);
255 z2 = (w-3o,h/8);
256 z3 = 0.5[z0,z1];
257 z4 = 0.5[z0,z2];
258 z5 = 0.1[z3,z2];
259 z6 = 0.1[z4,z1];
260 z7 = z0 shifted (curvl,0);
261 z8 = 0.5[z3,z12];
262 z9 = 0.5[z4,z12];
263 z10 = z1 shifted (2o,0);
264 z11 = z2 shifted (2o,0);
265 z12 = (w,h/2);
266
267 path guillone; path guilltwo;
268 guillone = z0{dir 10}..z5..{dir 60}z1..z10{dir -100}..z8..z7--cycle;
269 guilltwo = z0{dir -10}..z6..{dir -60}z2..z11{dir 100}..z9..z7--cycle;
270 fill guillone; fill guilltwo;
271
272 leftsinguill := currentpicture;
273
274 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
275 endchar;
276
277 beginchar(oct"255",pwid#+2ss#,ex#,0); "Right single guillemet";
278
279 fill guillone reflectedabout ((w/2,0),(w/2,h));
280 fill guilltwo reflectedabout ((w/2,0),(w/2,h));
281
282 endchar;
283
284 beginchar(oct"173",1.5pwid#+2ss#,ex#,0); "Left double guillemet";
285
286 fill guillone shifted (-o/2,0);
287 fill guillone shifted (pwid/2+o/2,0);
288 fill guilltwo shifted (-o/2,0);
289 fill guilltwo shifted (pwid/2+o/2,0);
290
291 leftdoubguill := currentpicture;
292
293 endchar;
294
295 beginchar(oct"175",1.5pwid#+2ss#,ex#,0); "Right double guillemet";
296
297 fill guillone shifted (-o/2,0)
298 rotatedaround ((w/2,h/2),180);
299 fill guillone shifted (pwid/2+o/2,0)
300 rotatedaround ((w/2,h/2),180);
301 fill guilltwo shifted (-o/2,0)
302 rotatedaround ((w/2,h/2),180);
303 fill guilltwo shifted (pwid/2+o/2,0)
304 rotatedaround ((w/2,h/2),180);
305
306 endchar;
307
308 beginchar(oct"255",1.4pwid#+2ss#,3ex#/4,0); "Lower 0 for pertriqua";
309
310 zeroh = 1.2pwid;
311 zerohh = 3ex/4;
312 z0 = (w/2,h);
313 z1 = z0 shifted (0,-thinl);
314 z2 = (w/2,0);
315 z3 = z2 shifted (0,thinl);
316 z4 = (w-ss,h/2);
317 z5 = z4 shifted (-1.7thinl,0);
318 z6 = (ss,h-zerohh/2);
319 z7 = z6 shifted (thinl,0);
320
321 fill z0..z4..z2..z6..cycle;
322 unfill z1..z5..z3..z7..cycle;
323
324 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
325 endchar;
326
327 beginchar(oct"052",ex#,ex#,0); "Asterisk, *";
328
329 z0 = (w/2,h/2);
330 z1 = (w/2,o);
331 z2 = (w/2,h-o);
332 z3 = z1 rotatedaround (z0,60);
333 z4 = z3 rotatedaround (z0,60);
334 z5 = z4 rotatedaround (z0,120);
335 z6 = z5 rotatedaround (z0,60);
336 z7 = z6 rotatedaround (z0,60);
337
338 pickup pencircle scaled thinl;
339
340 draw z2--z1;
341 draw z4--z6;
342 draw z5--z3;
343
344 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
345 endchar;
346
347 beginchar(oct"053",ex#,ex#,0); "Plus (addition) sign, +";
348
349 pickup pencircle scaled thinl;
350 top z0 = (w/2,h-o);
351 bot z1 = (w/2,o);
352 lft z2 = (o,h/2);
353 rt z3 = (w-o,h/2);
354
355 draw z0--z1;
356 draw z2--z3;
357
358 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
359 endchar;
360
361 beginchar(oct"057",ex#/2+2ss#,cap#,0); "The forward slash, /";
362
363 pickup pencircle scaled thinl;
364 lft z0 = (o,o);
365 rt z1 = (w-o,h-o);
366
367 draw z0--z1;
368
369 slash := currentpicture;
370
371 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
372 endchar;
373
374 beginchar(oct"134",ex#/2+2ss#,cap#,0); "The backslash, \";
375
376 currentpicture := slash reflectedabout ((w/2,h),(w/2,0));
377
378 endchar;
379
380 beginchar(oct"042",1.75pwid#,cap#,0); "straight double quote";
381
382 z0 = (w/2-thickl,h-o);
383 z1 = z0 shifted (2accwid,-2accwid);
384 z2 = z0 shifted (-2accwid,-2accwid);
385 z3 = z0 shifted (0,-1.5pwid);
386 z4 = z3 shifted (-accwid,o);
387 z5 = z3 shifted (accwid,o);
388
389 path singquote; singquote = z2..z0..z1--z5..z3..z4--cycle;
390
391 fill singquote;
392 fill singquote shifted (2thickl,0);
393
394 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51);
395 endchar;
396
397 beginchar("#",em#+ss#,cap#,dep#); "The pound sign, #";
398
399 full = h+d;
400
401 z0 = (0.33w-hair,0.25full-dep+hair) shifted (ss,ss);
402 z1 = (0.57w-hair,0.25full-dep+hair) shifted (ss,ss);
403 z2 = (0.33w+hair,0.5full-dep+hair) shifted (ss,ss);
404 z3 = (0.57w+hair,0.5full-dep+hair) shifted (ss,ss);
405 z4 = 2[z0,z2];
406 z5 = 2[z2,z0];
407 z6 = 2[z1,z3];
408 z7 = 2[z3,z1];
409 z8 = 2[z2,z3];
410 z9 = 2[z3,z2];
411 z10 = 2[z0,z1];
412 z11 = 2[z1,z0];
413
414 pickup pencircle scaled thinl;
415
416 draw z4--z5; draw z7--z6; draw z9--z8; draw z11--z10;
417
418 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
419 endchar;
420
421 beginchar("$",3em#/4+2ss#,cap#,0); "The dollar sign, $";
422
423 z0 = (w/2,h+o);
424 z1 = (w/2,0-o);
425 z2 = (w-ss,3h/4);
426 z3 = (w-ss,h/4);
427 z4 = (ss,3h/4);
428 z5 = (ss,h/4);
429 z6 = z4 shifted (curvl,0);
430 z7 = z3 shifted (-curvl,0);
431 z8 = z0 shifted (0,-thinl);
432 z9 = z1 shifted (0,thinl);
433
434 urtbulb(2,10,11,12,13);
435 ulftbulb(5,14,15,16,17);
436
437 fill
438 z2{up}..{left}z0{left}..{down}z4{down}..{down}z7{down}..{left}z9{left}..{dir
439 120}z16{right}..{up}z15{up}..{left}z14{left}..{down}z5{down}..{right}z1{right}..{up}z3{up}..{up}z6{up}..{right}z8{right}..{dir
440 -60}z12{left}..{down}z11{down}..{right}z10{right}..{up}cycle;
441
442 pickup pencircle scaled 1.2thinl;
443
444 z20 = (w/2-3thickl/4,h+o);
445 z21 = (w/2-3thickl/4,-o);
446 z22 = (w/2+3thickl/4,h+o);
447 z23 = (w/2+3thickl/4,-o);
448
449 draw z20--z21; draw z22--z23;
450
451 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
452 endchar;
453
454 %beginchar("<",ex#,ex#,0); "The less than sign, <";
455 %
456 %z0 = (2o,h/2);
457 %z1 = (w-2o,h-o);
458 %z2 = (w-2o,o);
459 %
460 %pickup pencircle scaled thinl;
461 %
462 %draw z1--z0--z2;
463 %
464 %lessthan := currentpicture;
465 %
466 %penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
467 %endchar;
468 %
469 %beginchar(">",ex#,ex#,0); "The greater than sign, >";
470 %currentpicture := lessthan reflectedabout ((w/2,h),(w/2,0));
471 %penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
472 %endchar;
473
474 beginchar(oct"075",ex#,ex#,0); "The equals sign, =";
475
476 z0 = (2o,h/3);
477 z1 = (w-2o,h/3);
478 z2 = (2o,2h/3);
479 z3 = (w-2o,2h/3);
480
481 pickup pencircle scaled thinl;
482
483 draw z0--z1;
484 draw z2--z3;
485
486 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
487 endchar;
488
489 beginchar(oct"045",5em#/6,cap#,0); "The perbiqua sign, %";
490
491 z0 = (0.6zeroh,h);
492 z1 = z0 shifted (0,-thinl);
493 z2 = (0.6zeroh,h-zerohh);
494 z3 = z2 shifted (0,thinl);
495 z4 = (1.2zeroh,h-zerohh/2);
496 z5 = z4 shifted (-1.7thinl,0);
497 z6 = (ss,h-zerohh/2);
498 z7 = z6 shifted (thinl,0);
499
500 fill z0..z4..z2..z6..cycle;
501 unfill z1..z5..z3..z7..cycle;
502
503 z10 = (w-0.6zeroh,zerohh);
504 z11 = z10 shifted (0,-thinl);
505 z12 = (w-0.6zeroh,0);
506 z13 = z12 shifted (0,thinl);
507 z14 = (w-ss,zerohh/2);
508 z15 = z14 shifted (-1.7thinl,0);
509 z16 = (w-1.2zeroh,zerohh/2);
510 z17 = z16 shifted (thinl,0);
511
512 fill z10..z14..z12..z16..cycle;
513 unfill z11..z15..z13..z17..cycle;
514
515 z22 = (w-ss,h);
516 z23 = z22 shifted (0,-thinl);
517 z20 = 0.5[z0,z22] shifted (0,-0.25pwid);
518 z21 = z20 shifted (0,-thinl);
519 z24 = (ss,-o);
520 z25 = z24 shifted (0,0.75thinl);
521 z26 = z24 shifted (0.75thinl,0);
522 z27 = z23 shifted (-1.5thinl,-hair);
523
524 fill z0..z20..z22--z23--z26..z24..z25--z27..z21..z1--cycle;
525
526
527 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
528 endchar;
529
530 beginchar("[",2pwid#,cap#+ss#,dep#); "The open square bracket, [";
531
532 z0 = (w-ss,h);
533 z1 = z0 shifted (0,-thinl);
534 z2 = (ss,h);
535 z3 = z2 shifted (thinl,-thinl);
536 z4 = (ss,-dep);
537 z5 = z4 shifted (thinl,thinl);
538 z6 = (w-ss,-dep);
539 z7 = z6 shifted (0,thinl);
540 z8 = 0.5[z0,z1] shifted (0,0);
541 z9 = 0.5[z7,z6] shifted (0,0);
542
543 path squarebrack;
544 squarebrack = z0--z2--z4--z6--z7--z5--z3--z1--cycle;
545 fill squarebrack;
546
547 opensquare := currentpicture;
548
549 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
550 endchar;
551
552 beginchar("]",2pwid#,cap#+ss#,dep#); "The close square bracket, ]";
553 fill squarebrack rotatedaround ((w/2,(h-dep)/2),180);
554 endchar;
555
556 beginchar("|",pwid#/2,cap#+ss#,dep#); "The pipe, |";
557
558 z0 = (w/2,h-o);
559 z1 = (w/2,-dep+o);
560
561 pickup pencircle scaled thinl;
562 draw z0--z1;
563
564 endchar;
565
566 %beginchar("{",1.8pwid#,cap#+ss#,dep#); "The open curly bracket, {";
567 %
568 %brackwid = 2thinl;
569 %toth = h+d;
570 %pickup pencircle xscaled brackwid yscaled (thinl);
571 %top rt z0 = (w-ss,h);
572 %bot rt z1 = (w-ss,-dep);
573 %lft z2 = (ss,h-toth/2);
574 %z3 = (3(x0-x2)/4,h-toth/4);
575 %z4 = (3(x0-x2)/4,h-3toth/4);
576 %
577 %path curlybrack;
578 %curlybrack = z0{left}..{down}z3..{left}z2{right}..z4{down}..{right}z1;
579 %draw curlybrack;
580 %
581 %penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
582 %endchar;
583 %
584 %beginchar("}",1.8pwid#,cap#+ss#,dep#); "The close curly bracket, }";
585 %pickup pencircle xscaled brackwid yscaled (thinl);
586 %draw curlybrack rotatedaround ((w/2,(h-dep)/2),180);
587 %endchar;
588
589 beginchar(oct"255",4ex#/5,cap#,dep#); "The section symbol";
590
591 toth = h+d;
592 sh = 2toth/3-thinl+o;
593 z0 = (w-ss,h-sh/4);
594 z1 = (w/2,h+o);
595 z2 = z1 shifted (0,-thinl);
596 z3 = (ss,h-sh/4);
597 z4 = z3 shifted (thinl,0);
598 z5 = (w-ss,h-3sh/4);
599 z6 = z5 shifted (-thinl,0);
600 z7 = (w/2,h-sh);
601 z8 = z7 shifted (0,-thinl);
602 z9 = (w/2,h-sh/2+curvl/2);
603 z10 = z9 shifted (0,-curvl);
604 z11 = z0 shifted (-thinl,0);
605 z12 = 0.5[z0,z11] shifted (0,-o);
606 z13 = (ss,h-3sh/4);
607 z14 = z13 shifted (thinl,0);
608 z15 = 0.5[z13,z14] shifted (0,hair/2);
609
610 path halfsect;
611 halfsect = z0{up}..{left}z1{left}..{down}z3{down}..z10..{down}z6{down}..{left}z7{left}..{up}z14..z15..{down}z13{down}..{right}z8{right}..{up}z5{up}..z9..{up}z4{up}..{right}z2{right}..{down}z11..z12..cycle;
612 fill halfsect;
613 fill halfsect shifted (0,-sh/2);
614
615 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
616 endchar;
617
618 beginchar(oct"277",5em#/6+2ss#,cap#,0); "The British pound sign";
619
620 z0 = (3w/4,h+o);
621 z1 = z0 shifted (0,-thinl);
622 z2 = (w-ss-hair,4h/5);
623 z3 = z2 shifted (-thinl,0);
624 z4 = 0.5[z2,z3] shifted (0,-hair/2);
625 z5 = (0.5w,4h/5);
626 z6 = z5 shifted (-thickl,0);
627 z7 = (w/2+thickl/2,h/4);
628 z8 = z7 shifted (-thickl,0);
629 z9 = (x8-thickl,-hair/4);
630 z10 = z9 shifted (0,thinl);
631 z12 = (ss,h/5);
632 z13 = z12 shifted (thickl,0);
633 z14 = 0.5[z8,z7] shifted (0,-thinl);
634 z15 = z14 shifted (0,1.3thinl);
635 z16 = (3w/4,-hair/4);
636 z17 = z16 shifted (0,thinl);
637 z18 = (w-ss-hair,userw);
638 z19 = z18 shifted (0,thinl);
639 z20 = 0.5[z18,z19] shifted (hair,0);
640
641 z21 = (2ss,0.6h);
642 z22 = (w-2ss,0.6h);
643
644 fill
645 z2{up}..{left}z0{left}..z6..z8..{left}z10{left}..{up}z13{up}..z14..{right}z16{right}..z18..z20..z19{dir
646 200}..{left}z17{left}..z15..z12..z9..z7..z5..{right}z1{right}..{down}z3..z4..cycle;
647
648 pickup pencircle scaled thinl;
649
650 draw z21--z22;
651
652 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
653 endchar;
654
655 beginchar(oct"100",em#,cap#,0); "The at sign, @";
656
657 z0 = (w/4-o,h/2);
658 z1 = (3w/4-o,h/2);
659 z2 = (w/2-o,3h/4);
660 z3 = (w/2-o,h/4);
661 z4 = z2 shifted (0,-thinl);
662 z5 = z3 shifted (0,thinl);
663 z6 = z0 shifted (thickl,0);
664 z7 = z1 shifted (-0.8thickl,0);
665 z8 = (x7,y5+2thinl);
666 z9 = (x1,y5+2thinl);
667 z10 = (x7,y3+2thinl);
668 z11 = (x1,y3+2thinl);
669 z12 = z11 shifted (thinl,-thinl);
670 z13 = z12 shifted (0,-thinl);
671 z14 = (w-o,h/2);
672 z15 = z14 shifted (-thinl,0);
673 z16 = (w/2,h);
674 z17 = z16 shifted (0,-thinl);
675 z18 = (o,h/2);
676 z19 = z18 shifted (thinl,0);
677 z20 = (w/2,0);
678 z21 = z20 shifted (0,thinl);
679 z22 = z12 shifted (thickl,-thickl);
680 z23 = z22 shifted (0,-thinl);
681 z24 = 0.5[z22,z23] shifted (o,0);
682 z25 = (x7,y2-thinl/2);
683 z26 = (x1,y2-thinl/2);
684
685 fill z0..z2..z1..z3..cycle;
686 unfill z6..z4..z7..z5..cycle;
687 fill
688 z26--z1--z11..z12..{up}z15{up}..{left}z17{left}..{down}z19{down}..{right}z21{right}..z22{dir
689 30}..z24..z23{dir -150}..{left}z20{left}..{up}z18{up}..{right}z16{right}..{down}z14{down}..{left}z13{left}..z10--z7--z25--cycle;
690
691 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
692 endchar;
693
694 beginchar(oct"031",7.5em#/6,cap#,0); "The pertriqua sign, %";
695
696 semw = 5em/6-ss;
697 z0 = (0.6zeroh,h);
698 z1 = z0 shifted (0,-thinl);
699 z2 = (0.6zeroh,h-zerohh);
700 z3 = z2 shifted (0,thinl);
701 z4 = (1.2zeroh,h-zerohh/2);
702 z5 = z4 shifted (-1.7thinl,0);
703 z6 = (ss,h-zerohh/2);
704 z7 = z6 shifted (thinl,0);
705
706 fill z0..z4..z2..z6..cycle;
707 unfill z1..z5..z3..z7..cycle;
708
709 z10 = (semw+ss-0.6zeroh,zerohh);
710 z11 = z10 shifted (0,-thinl);
711 z12 = (semw+ss-0.6zeroh,0);
712 z13 = z12 shifted (0,thinl);
713 z14 = (semw,zerohh/2);
714 z15 = z14 shifted (-1.7thinl,0);
715 z16 = (semw+ss-1.2zeroh,zerohh/2);
716 z17 = z16 shifted (thinl,0);
717
718 fill z10..z14..z12..z16..cycle;
719 unfill z11..z15..z13..z17..cycle;
720
721 z22 = (semw,h);
722 z23 = z22 shifted (0,-thinl);
723 z20 = 0.5[z0,z22] shifted (0,-0.25pwid);
724 z21 = z20 shifted (0,-thinl);
725 z24 = (ss,-o);
726 z25 = z24 shifted (0,1.00thinl);
727 z26 = z24 shifted (0.75thinl,0);
728 z27 = z23 shifted (-1.8thinl,-hair);
729
730 fill z0..z20..z22--z23--z26..z24..z25--z27..z21..z1--cycle;
731
732 z30 = (w-0.6zeroh,zerohh);
733 z31 = z30 shifted (0,-thinl);
734 z32 = (w-0.6zeroh,0);
735 z33 = z32 shifted (0,thinl);
736 z34 = (w-ss,zerohh/2);
737 z35 = z34 shifted (-1.7thinl,0);
738 z36 = (w-1.2zeroh,zerohh/2);
739 z37 = z36 shifted (thinl,0);
740
741 fill z30..z34..z32..z36..cycle;
742 unfill z31..z35..z33..z37..cycle;
743
744 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
745 endchar;
746
747 beginchar(oct"006",3em#/4,cap#,0); "sort of backwards questionmark";
748
749 penpos0(thickl,90);
750 z0r = (w-ss,h+o);
751 penpos1(thickl,90);
752 z1r = (w/2,h+o);
753 penpos2(thinl,180);
754 z2r = (ss,3h/4);
755 penpos3(thickl,-90);
756 z3 = (w/2,h/2);
757 penpos4(thinl,-90);
758 z4 = (3w/4,h/2);
759 penpos5(thinl,0);
760 z5 = z3;
761 penpos6(thickl,0);
762 z6 = (w/2,h/6);
763 penpos7(thinl,0);
764 z7 = (w/2,0-o);
765
766 penstroke z0e..z1e..z2e..z3e..z4e;
767 penstroke z5e..z6e..z7e;
768
769 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
770 endchar;
771
772 beginchar(oct"007",3em#/4,cap#,dep#); "S with leg";
773
774 penpos0(thinl,0);
775 z0r = (w-ss,h+thickstroke);
776 penpos1(thickl,-90);
777 z1l = (3w/4,h+o);
778 penpos2(thickl,-90);
779 z2l = (w/4,h+o);
780 penpos3(thinl,0);
781 z3l = (ss,3h/4);
782 penpos4(thickl,90);
783 z4 = (w/2,h/2);
784 penpos5(thinl,0);
785 z5l = (w-ss,h/4);
786 penpos6(thinl,-90);
787 z6r = (w/2,0-o);
788 penpos7(thickl,-90);
789 z7r = (w/4,0-o);
790 penpos8(1.5thinl,0);
791 z8 = z6;
792 penpos9(1.5thinl,0);
793 z9 = (x8,-d);
794 penpos10(1.5thinl,-90);
795 z10r = (3w/4,-dep);
796 penpos11(1.5thinl,-90);
797 z11r = z9;
798
799 penstroke z0e..z1e..z2e..z3e..z4e..z5e..{left}z6e..z7e;
800 penstroke z8e--z9e; penstroke z10e--z11e;
801
802 penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,100);
803 endchar;