Debian Codegraph @

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

raw
1 %%
2 %% This is file `rtnddig.mf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% rotunda.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 "RTND 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_flat_foot(2);
31 ductus:=false;
32 proofpcbb(100, y100, y100);
33 penlabels(1,2,100);
34 endchar; % end "1"
35
36 cmchar "RTND 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}.. tension 0.8 ..z3{down}..{-pdir}z5wl; % curve
52 ductus:=false;
53 penlabels(1,2,3,4,5,6,100);
54 endchar; % end "2"
55
56 cmchar "RTND 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 "RTND 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_flat_foot(2);
99 draw_wave(3,4,thin); % crossbar
100 draw z3wl--z1; % diagonal
101 ductus:=false;
102 penlabels(1,2,3,4,100);
103 endchar; % end "4"
104
105 cmchar "RTND digit 5";
106 beginchar("5", 2u#+fig_width#, fig_height#, 0);
107 adjust_fit(0,0);
108 pcshiftx := u;
109 pickup quill;
110 rt x1=w-pcshiftx; top y1=h;
111 lft x2=pcshiftx; y2=y1;
112 x3=x2; y3=0.5h+thin;
113 x4=0.5[x1,x3]; y4=0.5[y3,y5];
114 rt x5=w-pcshiftx; y5=0.3h;
115 x6=w/2; bot y6=0;
116 lft x7=pcshiftx; bot y7=2thin;
117 %%ductus:=true;
118 if ductus:
119 pickup stylus;
120 fi
121 draw_wave(2,1,thin); % top squiggle
122 draw z3{pdir}..z5{down}.. tension 0.8 ..z6{left}..z7; % curve
123 draw z2wl--z3; % vertical
124 ductus:=false;
125 penlabels(1,2,3,4,5,6,7,100);
126 endchar; % end "5"
127
128 cmchar "RTND digit 6";
129 beginchar("6", 2u#+fig_width#, fig_height#, 0);
130 adjust_fit(0,0);
131 pcshiftx := u;
132 pickup quill;
133 rt x1=w-pcshiftx; top y1=h-2thin;
134 x2=1/2w; top y2= h;
135 lft x3=pcshiftx; y3=1/2h;
136 x4=x2; bot y4=0;
137 rt x5=w-pcshiftx; y5=1/4h;
138 lft x6=rt x3; bot y6=y3;
139 %%ductus:=true;
140 if ductus:
141 pickup stylus;
142 fi
143 draw z1..z2{left}.. tension 0.8 ..z3{down}.. tension 0.8 ..z4{right}.. tension 0.8
144 ..z5{up}..{-pdir}z6;
145 ductus:=false;
146 penlabels(1,2,3,4,5,6,100);
147 endchar; % end "6"
148
149 cmchar "RTND digit 7";
150 beginchar("7", 2u#+fig_width#, fig_height#, 0);
151 adjust_fit(0,0);
152 pcshiftx := u;
153 pickup quill;
154 lft x1=pcshiftx;
155 rt x2=w-pcshiftx;
156 top y1=top y2=h;
157 x4=w/2; bot y4=0;
158 x3=0.5[x2,x4]-3thin; y3=0.5[y2,y4];
159 %%ductus:=true;
160 if ductus:
161 pickup stylus;
162 fi
163 draw_wave(1,2,thin); % top bar
164 draw z1wr..z3..z4;
165 draw_flat_foot(4);
166 ductus:=false;
167 penlabels(1,2,3,4,5,6,100);
168 endchar; % end "7"
169
170 cmchar "RTND digit 8";
171 beginchar("8", 2u#+fig_width#, fig_height#, 0);
172 adjust_fit(0,0);
173 pcshiftx := u;
174 numeric alpha; alpha:=1;
175 pickup quill;
176 lft x1=alpha*pcshiftx+o; rt x3=w-alpha*pcshiftx-o; y1=y3=3/4h;
177 x2=x4=w/2; top y2=h+o; bot y4=-o;
178 x5=x2; y5=h/2+2o;
179 lft x11=pcshiftx; rt x13=w-pcshiftx; y11=y13=1/4h;
180 %%ductus:=true;
181 if ductus:
182 pickup stylus;
183 fi
184 draw z1.. tension 0.8 ..z2.. tension 0.8 ..z3..z5..
185 z11.. tension 0.8 ..z4.. tension 0.8 ..z13..z5..cycle;
186 ductus:=false;
187 penlabels(1,2,3,4,5,11,13,100);
188 endchar; % end "8"
189
190 cmchar "RTND digit 9";
191 beginchar("9", 2u#+fig_width#, fig_height#, 0);
192 adjust_fit(0,0);
193 pcshiftx := u;
194 pickup quill;
195 lft x1=pcshiftx; bot y1=2thin;
196 x2=1/2w; bot y2= 0;
197 rt x3=w-pcshiftx; y3=1/2h;
198 x4=x2; top y4=h;
199 lft x5=pcshiftx; y5=3/4h;
200 rt x6=lft x3; top y6=y3;
201 %%ductus:=true;
202 if ductus:
203 pickup stylus;
204 fi
205 draw z1..z2{right}.. tension 0.8 ..z3{up}.. tension 0.8 ..z4{left}..
206 tension 0.8 ..z5{down}..{pdir}z6;
207 ductus:=false;
208 penlabels(1,2,3,4,5,6,100);
209 endchar; % end "9"
210
211 cmchar "RTND digit 0";
212 beginchar("0", 2u#+fig_width#, fig_height#, 0);
213 adjust_fit(0,0);
214 pcshiftx := u;
215 y100 = h/2; x100 = pcshiftx+y100; % square center
216 pickup quill;
217 lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2;
218 x2=x4=w/2; top y2=h+o; bot y4=-o;
219 %%ductus:=true;
220 if ductus:
221 pickup stylus;
222 fi
223 draw z1.. tension 0.8 ..z2.. tension 0.8 ..z3.. tension 0.8 ..z4.. tension 0.8 ..cycle;
224 ductus:=false;
225 proofpcbb(100, y100, y100);
226 penlabels(1,2,3,4,100);
227 endchar; % end "0"
228