Debian Codegraph @

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

raw
1 %%
2 %% This is file `cmindig.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% carolmin.dtx (with options: `dig')
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 cmchar "Carolingian digit 1";
20 beginchar("1", 2u#+fig_width#, fig_height#, 0);
21 adjust_fit(0,0);
22 pcshiftx := u;
23 y100 = h/2; x100 = pcshiftx+y100; % square center
24 pickup quill;
25 x1=x2=w/2;
26 y1=h; bot y2=0;
27 %%ductus:=true;
28 draw_tstem(1,2,srad);
29 draw_flatserif(1,2,srad);
30 draw_roundserif(2,1,srad);
31 ductus:=false;
32 proofpcbb(100, y100, y100);
33 penlabels(1,2,100);
34 endchar; % end "1"
35
36 cmchar "Carolingian digit 2";
37 beginchar("2", 2u#+fig_width#, fig_height#, 0);
38 adjust_fit(0,0);
39 pcshiftx := u;
40 pickup quill;
41 lft x1=pcshiftx+o; top y1=h-2thin;
42 x2=1/2w; top y2= h+o;
43 rt x3=w-pcshiftx-o; y3=3/4h;
44 lft x5=pcshiftx; bot y5=0;
45 rt x6=w-pcshiftx; y6=y5;
46 %%ductus:=true;
47 if ductus:
48 pickup stylus;
49 fi
50 draw_wave(5,6,thin); % foot
51 draw z1..z2{right}..z3{down}..{-pdir}z5wl; % curve
52 ductus:=false;
53 penlabels(1,2,3,4,5,6,100);
54 endchar; % end "2"
55
56 cmchar "Carolingian digit 3";
57 beginchar("3", 2u#+fig_width#, fig_height#, 0);
58 adjust_fit(0,0);
59 pcshiftx := u;
60 pickup quill;
61 lft x3=pcshiftx; x10=x3;
62 rt x5=w-pcshiftx; x8=x5-3thin;
63 x4=0.5[x3,x5];
64 x9=0.5[x10,x8];
65 %%lft x6=pcshiftx+3thin; x7=x6;
66 x6=1/2[x3,x9]; x7=x6;
67 bot y3=thin; top y10=h-2thin;
68 y6=0.5[y3,y10]; y7=y6;
69 bot y4=-thin; top y9=h+thin;
70 y5=0.5[y3,y6];
71 y8=11/12[y7,y10];
72 %%ductus:=true;
73 if ductus:
74 pickup stylus;
75 fi
76 %%draw z3..z4{right}..z5{up}...{-pdir}z6; % bottom bowl
77 %%draw z7{pdir}..z8{up}..z9{left}..z10; % top bowl
78 draw z3..z4{right}..z5{up}...{left}z6; % bottom bowl
79 draw z7{right}..z8{up}..z9{left}..z10; % top bowl
80 ductus:=false;
81 penlabels(1,2,3,4,5,6,7,8,9,10,100);
82 endchar; % end "3"
83
84 cmchar "Carolingian digit 4";
85 beginchar("4", 2u#+fig_width#, fig_height#, 0);
86 adjust_fit(0,0);
87 pcshiftx := u;
88 pickup quill;
89 x1=x2=w-pcshiftx-jut;
90 y1=h; bot y2=0;
91 lft x3=pcshiftx; y3=0.33h;
92 rt x4=w-pcshiftx; y4=y3;
93 %%ductus:=true;
94 if ductus:
95 pickup stylus;
96 fi
97 draw_tstem(1,2,srad); % main stem
98 draw_wave(3,4,thin); % crossbar
99 draw z3wl--z1; % diagonal
100 ductus:=false;
101 penlabels(1,2,3,4,100);
102 endchar; % end "4"
103
104 cmchar "Carolingian digit 5";
105 beginchar("5", 2u#+fig_width#, fig_height#, 0);
106 adjust_fit(0,0);
107 pcshiftx := u;
108 pickup quill;
109 rt x1=w-pcshiftx; top y1=h;
110 lft x2=pcshiftx; y2=y1;
111 x3=x2; y3=0.5h+thin;
112 x4=0.5[x1,x3]; y4=0.5[y3,y5];
113 rt x5=w-pcshiftx; y5=0.3h;
114 x6=w/2; bot y6=0;
115 lft x7=pcshiftx; bot y7=2thin;
116 %%ductus:=true;
117 if ductus:
118 pickup stylus;
119 fi
120 draw_wave(2,1,thin); % top squiggle
121 draw z3{pdir}..z5{down}..z6{left}..z7; % curve
122 draw z2wl--z3; % vertical
123 ductus:=false;
124 penlabels(1,2,3,4,5,6,7,100);
125 endchar; % end "5"
126
127 cmchar "Carolingian digit 6";
128 beginchar("6", 2u#+fig_width#, fig_height#, 0);
129 adjust_fit(0,0);
130 pcshiftx := u;
131 pickup quill;
132 rt x1=w-pcshiftx; top y1=h-2thin;
133 x2=1/2w; top y2= h;
134 lft x3=pcshiftx; y3=1/2h;
135 x4=x2; bot y4=0;
136 rt x5=w-pcshiftx; y5=1/4h;
137 lft x6=rt x3; bot y6=y3;
138 %%ductus:=true;
139 if ductus:
140 pickup stylus;
141 fi
142 draw z1..z2{left}..z3{down}..z4{right}..z5{up}..{-pdir}z6;
143 ductus:=false;
144 penlabels(1,2,3,4,5,6,100);
145 endchar; % end "6"
146
147 cmchar "Carolingian digit 7";
148 beginchar("7", 2u#+fig_width#, fig_height#, 0);
149 adjust_fit(0,0);
150 pcshiftx := u;
151 pickup quill;
152 lft x1=pcshiftx;
153 rt x2=w-pcshiftx;
154 top y1=top y2=h;
155 x4=w/2; bot y4=0;
156 x3=0.5[x2,x4]-3thin; y3=0.5[y2,y4];
157 %%ductus:=true;
158 if ductus:
159 pickup stylus;
160 fi
161 draw_wave(1,2,thin); % top bar
162 draw z1wr..z3..z4;
163 ductus:=false;
164 penlabels(1,2,3,4,5,6,100);
165 endchar; % end "7"
166
167 cmchar "Carolingian digit 8";
168 beginchar("8", 2u#+fig_width#, fig_height#, 0);
169 adjust_fit(0,0);
170 pcshiftx := u;
171 numeric alpha; alpha:=1;
172 pickup quill;
173 lft x1=alpha*pcshiftx+o; rt x3=w-alpha*pcshiftx-o; y1=y3=3/4h;
174 x2=x4=w/2; top y2=h+o; bot y4=-o;
175 x5=x2; y5=h/2+2o;
176 lft x11=pcshiftx; rt x13=w-pcshiftx; y11=y13=1/4h;
177 %%ductus:=true;
178 if ductus:
179 pickup stylus;
180 fi
181 draw z1..z2..z3..z5..z11..z4..z13..z5..cycle;
182 ductus:=false;
183 penlabels(1,2,3,4,5,11,13,100);
184 endchar; % end "8"
185
186 cmchar "Carolingian digit 9";
187 beginchar("9", 2u#+fig_width#, fig_height#, 0);
188 adjust_fit(0,0);
189 pcshiftx := u;
190 pickup quill;
191 lft x1=pcshiftx; bot y1=2thin;
192 x2=1/2w; bot y2= 0;
193 rt x3=w-pcshiftx; y3=1/2h;
194 x4=x2; top y4=h;
195 lft x5=pcshiftx; y5=3/4h;
196 rt x6=lft x3; top y6=y3;
197 %%ductus:=true;
198 if ductus:
199 pickup stylus;
200 fi
201 draw z1..z2{right}..z3{up}..z4{left}..z5{down}..{pdir}z6;
202 ductus:=false;
203 penlabels(1,2,3,4,5,6,100);
204 endchar; % end "9"
205
206 cmchar "Carolingian digit 0";
207 beginchar("0", 2u#+fig_width#, fig_height#, 0);
208 adjust_fit(0,0);
209 pcshiftx := u;
210 y100 = h/2; x100 = pcshiftx+y100; % square center
211 pickup quill;
212 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
213 x2=x4=w/2; top y2=h+o; bot y4=-o;
214 %%ductus:=true;
215 if ductus:
216 pickup stylus;
217 fi
218 draw z1..z2..z3..z4..cycle;
219 ductus:=false;
220 proofpcbb(100, y100, y100);
221 penlabels(1,2,3,4,100);
222 endchar; % end "0"
223