Debian Codegraph @

texmf-dist/fonts/source/public/bookhands/imajpunct.mf

raw
1 %%
2 %% This is file `imajpunct.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% inslrmaj.dtx (with options: `punct')
8 %%
9 %% Copyright 1999 Peter R. Wilson
10 %%
11 %% This program is provided under the terms of the
12 %% LaTeX Project Public License distributed from CTAN
13 %% archives in directory macros/latex/base/lppl.txt.
14 %%
15 %% Author: Peter Wilson (CUA)
16 %% now at: [email protected]
17 %%
18
19
20 cmchar "Exclamation mark";
21 beginchar("!", 2sb#+hstretch*(thick#+trijut#),
22 asc_height#, 0);
23 adjust_fit(0,0);
24 pcshiftx := sb;
25 pickup quill;
26 z1=(w/2,h);
27 z3=(x1, 1/2dot_size);
28 z2=(x1, y3+3/2dot_size);
29 draw z1--z2;
30 draw_pdot(3,dot_size);
31 penlabels(1,2,3);
32
33 endchar; % end of "!"
34
35
36 cmchar "Question mark";
37 beginchar("?", 2sb#+hstretch*(x_height#),
38 asc_height#, 0);
39 adjust_fit(0,0);
40 pcshiftx := sb;
41 numeric n[];
42 path pth[];
43 pickup quill;
44 n1 := w-2pcshiftx; % actual character width
45 n2 := 1/3h; % height of top bowl
46 n3 := n2; % height of bottom bowl
47 %% top bowl
48 z1=(pcshiftx, h-n2);
49 obowl(1, n1, n2);
50 pth1 := obouter;
51 %% bottom bowl
52 z2=(x1,y1-n3);
53 obowl(2, n1, n3);
54 pth2 := obouter;
55 %% stem and dot
56 lft x4 = x1 + 4/4thick;
57 z5=(x4,1/2dot_size);
58 y4=y5+3/2dot_size;
59 z4o=(lft x4, y4); z4i=(rt x4, y4);
60 %%ductus:= true;
61 if ductus:
62 pickup stylus;
63 draw pth1; draw pth2;
64 draw z2wt--z4;
65 draw_pdot(5, dot_size);
66 else:
67 fill z1maxlo{ppdir}..z1minlo{pdir}..z1maxro{-ppdir}..
68 %% z1minro..z2maxli{-ppdir}..
69 z2minli..
70 {down}z4i--z4o{up}..
71 z2minlo..
72 %% z1minri..z1maxri{ppdir}..
73 z1maxri{ppdir}..z1minli{-pdir}..z1maxli{-ppdir}--cycle;
74 draw_pdot(5, dot_size);
75 fi
76 penlabels(1,2,3,4,5);
77 endchar; % end of "?"
78
79
80 cmchar "Comma";
81 beginchar(",",2sb#+hstretch*(comma_width#+dot_size#),x_height#,0);
82 adjust_fit(0,0);
83 pcshiftx:=sb;
84 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h/2;
85 draw_pcomma(1,dot_size,comma_width);
86 penlabels(1);
87 endchar; % end of ","
88
89
90 cmchar "Period";
91 beginchar(".",2sb#+hstretch*(dot_size#),x_height#,0);
92 pcshiftx:=sb;
93 x1=w/2; y1=h/2;
94 draw_pdot(1,dot_size);
95 penlabels(1);
96 endchar; % end of "."
97
98
99 cmchar "Colon";
100 beginchar(":",2sb#+hstretch*(dot_size#),x_height#,0);
101 pcshiftx:=sb;
102 x1=x2=w/2; y1=2/3h; y2=1/3h;
103 draw_pdot(1,dot_size);
104 draw_pdot(2,dot_size);
105 penlabels(1,2);
106 endchar; % end ":"
107
108
109 cmchar "Semicolon";
110 beginchar(";",2sb#+hstretch*(comma_width#+dot_size#),x_height#,0);
111 adjust_fit(0,0);
112 pcshiftx:=sb;
113 x1=x2=w-pcshiftx-(0.5hstretch*dot_size); y1=2/3h; y2=1/3h;
114 draw_pdot(1,dot_size);
115 draw_pcomma(2,dot_size,comma_width);
116 penlabels(1,2);
117 endchar; % end of ";"
118
119
120 cmchar "Apostrophe";
121 beginchar("'",2sb#+hstretch*(comma_width#+dot_size#),4/3x_height#,0);
122 adjust_fit(0,0);
123 pcshiftx:=sb;
124 x1=w-pcshiftx-(0.5hstretch*dot_size); y1=h;
125 draw_pcomma(1,dot_size,comma_width);
126 penlabels(1);
127 endchar; % end of "'"
128
129
130 cmchar "Reverse apostrophe";
131 beginchar("`",2sb#+hstretch*(comma_width#+dot_size#),4/3x_height#,0);
132 adjust_fit(0,0);
133 pcshiftx:=sb;
134 x1=pcshiftx+(0.5hstretch*dot_size); y1=h;
135 draw_plq(1,dot_size,comma_width);
136 penlabels(1);
137 endchar; % end of "`"
138