| 1 |
%% |
| 2 |
%% This is file `iminu.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% inslrmin.dtx (with options: `maj') |
| 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 "IMIN letter A"; |
| 20 |
beginchar("A", 2sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 21 |
caprat*x_height#, 0); |
| 22 |
adjust_fit(0,0); |
| 23 |
pcshiftx := sb; |
| 24 |
numeric n[]; |
| 25 |
path pth[]; |
| 26 |
pair pr[]; |
| 27 |
pickup quill; |
| 28 |
n1 := w - 2pcshiftx -jut; % effective letter width |
| 29 |
x1 = pcshiftx + 2/3n1; top y1=h; |
| 30 |
rt x2 = pcshiftx + n1; bot y2=0; |
| 31 |
|
| 32 |
z16 = 1/6[z2,z1]; |
| 33 |
rt x6 = x16; y6=y16; |
| 34 |
|
| 35 |
lft x4 = pcshiftx; y4 = 1/2h; |
| 36 |
|
| 37 |
pth1 := z1{down}..z2; |
| 38 |
pr1 := direction 1 of pth1; |
| 39 |
z20 = z2 shifted -10pr1; |
| 40 |
|
| 41 |
%%ductus:=true; |
| 42 |
if ductus: |
| 43 |
pickup stylus; |
| 44 |
else: |
| 45 |
% draw stem |
| 46 |
draw pth1; |
| 47 |
draw_roundserif(2,20,srad); |
| 48 |
% draw bowl |
| 49 |
draw z1{-pdir}..z4{down}..z6{pdir}; |
| 50 |
fi |
| 51 |
ductus:=false; |
| 52 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 53 |
endchar; % end "A" |
| 54 |
|
| 55 |
cmchar "IMIN letter B"; |
| 56 |
beginchar("B", 2sb#+caprat*hstretch*(3/4x_height#), |
| 57 |
caprat*asc_height#, 0); |
| 58 |
adjust_fit(0,0); |
| 59 |
numeric n[]; |
| 60 |
path pth[]; |
| 61 |
pcshiftx := sb; |
| 62 |
pickup quill; |
| 63 |
n1:=w-2pcshiftx; % actual letter width |
| 64 |
n2:=h/ascratio; % top of bowl |
| 65 |
lft x1 = pcshiftx+jut; top y1=h; |
| 66 |
lft x3 = pcshiftx; y3=1/2n2; |
| 67 |
rt x5 = w-pcshiftx; y5=y3; |
| 68 |
x4 = 1/2[x3,x5]; bot y4=0; |
| 69 |
x6=x4; top y6=n2; |
| 70 |
pth1 := z1..z3{down}..z4{right}.. z5{up}; |
| 71 |
z98=(0,3/4n2); z99=(w,y98); |
| 72 |
pth2 := z98--z99; |
| 73 |
z7 = pth1 intersectionpoint pth2; |
| 74 |
%%ductus:=true; |
| 75 |
if ductus: |
| 76 |
pickup stylus; |
| 77 |
fi |
| 78 |
draw z1..z3{down}..z4{right}..z5{up}..z6{left}..z7{-pdir}; |
| 79 |
draw_flatserif(1,7,srad); |
| 80 |
ductus:=false; |
| 81 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 82 |
endchar; % end "B" |
| 83 |
|
| 84 |
cmchar "IMIN letter C"; |
| 85 |
beginchar("C", 2sb#+caprat*hstretch*(5/8x_height#), |
| 86 |
caprat*x_height#, 0); |
| 87 |
adjust_fit(0,0); |
| 88 |
numeric n[]; |
| 89 |
pcshiftx := sb; |
| 90 |
pickup quill; |
| 91 |
n1:=w-2pcshiftx; % actual letter width |
| 92 |
n2:=6/5w-2pcshiftx; % width of full bowl |
| 93 |
x1=pcshiftx + 1/2n1; top y1 = h; |
| 94 |
lft x2 = pcshiftx; y2 = 1/2h; |
| 95 |
x3 = x1; bot y3 = 0; |
| 96 |
rt x4 = w-pcshiftx; y4 = 1/4h; |
| 97 |
x24 = x4; y24 = 3/4h; |
| 98 |
%%ductus:=true; |
| 99 |
if ductus: |
| 100 |
pickup stylus; |
| 101 |
fi |
| 102 |
draw z24..z1{left}..z2{down}..z3{right}..z4{pdir}; |
| 103 |
ductus:=false; |
| 104 |
penlabels(1,2,3,4,5,6,14,16,17,18,100); |
| 105 |
endchar; % end "C" |
| 106 |
|
| 107 |
cmchar "IMIN letter D"; |
| 108 |
beginchar("D", 2sb#+caprat*hstretch*(3/4x_height#), |
| 109 |
caprat*asc_height#, 0); |
| 110 |
adjust_fit(0,0); |
| 111 |
numeric n[]; |
| 112 |
path pth[]; |
| 113 |
pcshiftx := sb; |
| 114 |
pickup quill; |
| 115 |
lft x1=pcshiftx; top y1=h; |
| 116 |
rt x3 = w-pcshiftx; y3 = 1/2h/ascratio; |
| 117 |
x4 = 1/2[x1,x3]; bot y4 = 0; |
| 118 |
z5=(x1,y3); |
| 119 |
z98=(0,h/ascratio); z99=(w,y98); pth2 := z98--z99; |
| 120 |
pth1 := z1{-ppdir}..z3{down}..z4{left}; |
| 121 |
z6 = pth1 intersectionpoint pth2; |
| 122 |
if ductus: |
| 123 |
pickup stylus; |
| 124 |
fi |
| 125 |
draw z1{-ppdir}..z3{down}..z4{left}..z5{up}..z6{pdir}; |
| 126 |
ductus:=false; |
| 127 |
penlabels(0,1,2,3,4,5,6,7,8,100); |
| 128 |
endchar; % end "D" |
| 129 |
|
| 130 |
cmchar "IMIN letter E"; |
| 131 |
beginchar("E", sb#+caprat*hstretch*(5/4x_height#), |
| 132 |
caprat*x_height#, 0); |
| 133 |
adjust_fit(0,0); |
| 134 |
pcshiftx := sb; |
| 135 |
numeric n[]; |
| 136 |
path pth[]; |
| 137 |
pickup quill; |
| 138 |
n1 := w-pcshiftx; % actual letter width |
| 139 |
n2 := 4/8n1; % width of bowl |
| 140 |
x1 = pcshiftx + 5/8n2; top y1=h; |
| 141 |
lft x2 = pcshiftx; y2 = 1/2h; |
| 142 |
x3 = pcshiftx + 1/2n2; bot y3 = 0; |
| 143 |
rt x4 = pcshiftx + n2; y4 = 1/4h; |
| 144 |
z98=(0,3/8h); z99=(w,y98); |
| 145 |
pth1 := z98--z99; |
| 146 |
pth2 := z1{left}..z2{down}..z3{right}; |
| 147 |
z7 = pth1 intersectionpoint pth2; |
| 148 |
rt x9 = w-pcshiftx; y9 = 3/4h; |
| 149 |
z8=1/2[z7,z9]; |
| 150 |
%%ductus:=true; |
| 151 |
if ductus: |
| 152 |
pickup stylus; |
| 153 |
fi |
| 154 |
draw z7{pdir}..z1{left}..z2{down}..z3{right}..z4{pdir}; |
| 155 |
draw z7{pdir}..z8{right}..z9{pdir}; |
| 156 |
ductus:=false; |
| 157 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 158 |
endchar; % end "e" |
| 159 |
|
| 160 |
cmchar "IMIN letter F"; |
| 161 |
beginchar("F", 2sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 162 |
caprat*(x_height#), desc_depth#); |
| 163 |
adjust_fit(0,0); |
| 164 |
pcshiftx := sb; |
| 165 |
pickup quill; |
| 166 |
%% stem |
| 167 |
lft x1=lft x2=pcshiftx+jut; |
| 168 |
top y1=h; y2=-1/2d; |
| 169 |
lft x20=0; bot y20=-d; |
| 170 |
%% bottom bar |
| 171 |
z4=(rt x1,-thin); rt x6=w-pcshiftx; y6=y4+2thin; z5=1/2[z4,z6]; |
| 172 |
%% top bar |
| 173 |
x7= x1; bot y7 = 1/2h; |
| 174 |
rt x9= w-pcshiftx; y9 = 1/2[y7,y1]; |
| 175 |
x8 = 2/3[x7,x9]; top y8 = h; |
| 176 |
%%ductus:=true; |
| 177 |
if ductus: |
| 178 |
pickup stylus; |
| 179 |
fi |
| 180 |
draw_tstem(1,2,srad); % stem |
| 181 |
draw z2{down}..z20{-pdir}; |
| 182 |
draw_flatserif(1,2,srad); |
| 183 |
draw z4{dir(45)}..z5{right}..z6{dir(45)}; % bottom bar |
| 184 |
draw z7..z8..z9; % top bar |
| 185 |
ductus:=false; |
| 186 |
penlabels(1,2,3,4,5,6,7,100); |
| 187 |
endchar; % end "F" |
| 188 |
|
| 189 |
cmchar "IMIN letter G"; |
| 190 |
beginchar("G", 2sb#+caprat*hstretch*(x_height#), |
| 191 |
caprat*x_height#, desc_depth#); |
| 192 |
adjust_fit(0,0); |
| 193 |
path pth[]; |
| 194 |
pair vec[]; |
| 195 |
pcshiftx := sb; |
| 196 |
pickup quill; |
| 197 |
%% top bar |
| 198 |
lft x1=pcshiftx; top y1=h; rt x2=w-pcshiftx; top y2=h; |
| 199 |
x3=1/2[x1,x2]; bot y3=1/8h; |
| 200 |
rt x5 = w-pcshiftx; y5 = -1/2d; |
| 201 |
x6 = x3; bot y6 = -d; |
| 202 |
x7 = 1/2[x1,x3]; y7 = y5; |
| 203 |
x8=x3; y8 = -y3; |
| 204 |
%%ductus:=true; |
| 205 |
if ductus: |
| 206 |
pickup stylus; |
| 207 |
draw z1--z2; % top bar |
| 208 |
draw pth1; draw pth2; % curves |
| 209 |
draw rt z8--z9; % diagonal |
| 210 |
else: |
| 211 |
draw z1--z2; |
| 212 |
draw z2--z3; |
| 213 |
draw z3{pdir}..z5{down}..z6{left}..z7{up}..z8{pdir}; |
| 214 |
draw_roundserif(1,2,srad); |
| 215 |
fi |
| 216 |
ductus:=false; |
| 217 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 218 |
endchar; % end "G" |
| 219 |
|
| 220 |
cmchar "IMIN letter H"; |
| 221 |
beginchar("H", 2sb#+caprat*hstretch*(7/8x_height#+jut#), |
| 222 |
caprat*asc_height#, 0); |
| 223 |
adjust_fit(0,0); |
| 224 |
pcshiftx := sb; |
| 225 |
pickup quill; |
| 226 |
numeric n[]; |
| 227 |
%% stem |
| 228 |
lft x1=lft x2=pcshiftx+jut; |
| 229 |
top y1=h; bot y2=0; |
| 230 |
%% bowl |
| 231 |
z3=1/2[z2,z1]; |
| 232 |
rt x5 = w-pcshiftx; y5=y3; |
| 233 |
x4=1/2[x3,x5]; top y4 = h/ascratio; |
| 234 |
lft x6=x4; bot y6=0; |
| 235 |
%%ductus:=true; |
| 236 |
if ductus: |
| 237 |
pickup stylus; |
| 238 |
fi |
| 239 |
draw_tstem(1,2,srad); % stem |
| 240 |
draw_flatserif(1,2,srad); |
| 241 |
draw_roundserif(2,1,srad); |
| 242 |
draw z3{pdir}..z4..z5..z6{-pdir}; |
| 243 |
|
| 244 |
ductus:=false; |
| 245 |
penlabels(1,2,3,4,5,6,100); |
| 246 |
endchar; % end "H" |
| 247 |
|
| 248 |
cmchar "IMIN letter I"; |
| 249 |
beginchar("I", 2sb#+caprat*hstretch*(thick#+2jut#), |
| 250 |
caprat*x_height#, 0); |
| 251 |
adjust_fit(0,0); |
| 252 |
pcshiftx := sb; |
| 253 |
pickup quill; |
| 254 |
lft x1=lft x2=pcshiftx+jut; |
| 255 |
top y1=h; bot y2=0; |
| 256 |
%%ductus:=true; |
| 257 |
draw_tstem(1,2,srad); |
| 258 |
draw_flatserif(1,2,srad); |
| 259 |
draw_roundserif(2,1,srad); |
| 260 |
ductus:=false; |
| 261 |
penlabels(1,2,100); |
| 262 |
endchar; % end "i" |
| 263 |
|
| 264 |
cmchar "IMIN letter J"; |
| 265 |
beginchar("J", sb#+caprat*hstretch*(3/8x_height#), |
| 266 |
caprat*x_height#, desc_depth#); |
| 267 |
adjust_fit(0,0); |
| 268 |
pcshiftx := sb; |
| 269 |
numeric n[]; |
| 270 |
pickup quill; |
| 271 |
%% stem |
| 272 |
rt x1 = w-pcshiftx; top y1 = h; |
| 273 |
x2=x1; y2=-1/2d; |
| 274 |
%% bottom hook |
| 275 |
lft x3 = 0; bot y3 = -d; |
| 276 |
%%ductus:=true; |
| 277 |
if ductus: |
| 278 |
pickup stylus; |
| 279 |
fi |
| 280 |
draw z1--z2; % stem |
| 281 |
draw_flatserif(1,2,srad); |
| 282 |
draw z2{down}..z3{-pdir}; % hook |
| 283 |
ductus:=false; |
| 284 |
penlabels(1,2,3,100); |
| 285 |
endchar; % end "J" |
| 286 |
|
| 287 |
cmchar "IMIN letter K"; |
| 288 |
beginchar("K", 2sb#+caprat*hstretch*(x_height#+jut#), |
| 289 |
caprat*asc_height#, desc_depth#); |
| 290 |
adjust_fit(0,0); |
| 291 |
pcshiftx := sb; |
| 292 |
pickup quill; |
| 293 |
%% stem |
| 294 |
lft x1=lft x2=pcshiftx+jut; |
| 295 |
top y1=h; y2=-1/2d; |
| 296 |
lft x20=pcshiftx; bot y20=-d; |
| 297 |
%% top arm |
| 298 |
z3=(x1,1/2h/ascratio); |
| 299 |
rt x5=w-pcshiftx; y5=1/2[y3,y4]; |
| 300 |
x4=1/2[x3,x5]; top y4=h/ascratio; |
| 301 |
%% lower arm |
| 302 |
x7=x5; bot y7=0; |
| 303 |
%%ductus:=true; |
| 304 |
if ductus: |
| 305 |
pickup stylus; |
| 306 |
fi |
| 307 |
draw_tstem(1,2,srad); % stem |
| 308 |
draw z2{down}..z20{-pdir}; |
| 309 |
draw_flatserif(1,2,srad); |
| 310 |
draw z3..z4{right}..z5; % upper arm |
| 311 |
draw z3..{right}z7; % lower arm |
| 312 |
ductus:=false; |
| 313 |
penlabels(1,2,3,4,5,100); |
| 314 |
endchar; % end "K" |
| 315 |
|
| 316 |
cmchar "IMIN letter L"; |
| 317 |
beginchar("L", 2sb#+caprat*hstretch*(3/4x_height#), |
| 318 |
caprat*asc_height#, 0); |
| 319 |
adjust_fit(0,0); |
| 320 |
pcshiftx := sb; |
| 321 |
pickup quill; |
| 322 |
lft x2=pcshiftx; y2=1/5h; |
| 323 |
x1=x2+jut; top y1=h; |
| 324 |
rt x4=w-pcshiftx; y4=1/5h; |
| 325 |
x3=1/2[x2,x4]; bot y3=0; |
| 326 |
%%ductus:=true; |
| 327 |
if ductus: |
| 328 |
pickup stylus; |
| 329 |
fi |
| 330 |
draw z1{down}..z2..z3{right}..z4; |
| 331 |
draw_flatserif(1,2,srad); |
| 332 |
ductus:=false; |
| 333 |
penlabels(1,2,3,4,100); |
| 334 |
endchar; % end "L" |
| 335 |
|
| 336 |
cmchar "IMIN letter M"; |
| 337 |
beginchar("M", 2sb#+caprat*hstretch*(x_height#+2jut#), |
| 338 |
caprat*x_height#, 0); |
| 339 |
adjust_fit(0,0); |
| 340 |
pcshiftx := sb; |
| 341 |
numeric n[]; |
| 342 |
path pth[]; |
| 343 |
pickup quill; |
| 344 |
%% left stem |
| 345 |
lft x1=pcshiftx+jut; top y1=h; |
| 346 |
x2=x1; bot y2=0; |
| 347 |
%% start of bowl |
| 348 |
x13=x1; y13=3/4h; |
| 349 |
%% bottom of right and middle stems |
| 350 |
rt x6 = w -pcshiftx - jut; y6=y2; |
| 351 |
z4 = 1/2[z2,z6]; |
| 352 |
%% top of middle and right stems |
| 353 |
x3=x4; y3=y1; |
| 354 |
x5=x6; y5=y13; |
| 355 |
%% top of bowls |
| 356 |
x14=2/3[x13,x3]; top y14 = h; |
| 357 |
x33=x4; y33=y13; |
| 358 |
x34=2/3[x33,x5]; y34 = y14; |
| 359 |
%%ductus:=true; |
| 360 |
if ductus: |
| 361 |
pickup stylus; |
| 362 |
fi |
| 363 |
draw_tstem(1,2,srad); % left half |
| 364 |
draw_flatserif(1,2,srad); |
| 365 |
draw_roundserif(2,1,srad); |
| 366 |
draw z13{pdir}..z14{right}..z33{down}--z4; |
| 367 |
draw_roundserif(4,3,srad); |
| 368 |
draw z33{pdir}..z34{right}..z5{down}--z6; |
| 369 |
draw_roundserif(6,5,srad); |
| 370 |
ductus:=false; |
| 371 |
penlabels(1,2,3,4,5,6,7,8,9,13,14,33,34,100); |
| 372 |
endchar; % end "M" |
| 373 |
|
| 374 |
cmchar "IMIN letter N"; |
| 375 |
beginchar("N", 2sb#+caprat*hstretch*(3/4x_height#+2jut#), |
| 376 |
caprat*x_height#, 0); |
| 377 |
adjust_fit(0,0); |
| 378 |
pcshiftx := sb; |
| 379 |
pickup quill; |
| 380 |
%% left stem |
| 381 |
lft x1=pcshiftx+jut; top y1=h; |
| 382 |
x2=x1; bot y2=0; |
| 383 |
%% right stem |
| 384 |
rt x3=w-pcshiftx-jut; y3=y1; |
| 385 |
z4=(x3,y2); |
| 386 |
%% bar |
| 387 |
z5=3/8[lft z2, lft z1]; z6=2/8[rt z4,rt z3]; |
| 388 |
%%ductus:=true; |
| 389 |
if ductus: |
| 390 |
pickup stylus; |
| 391 |
fi |
| 392 |
draw_tstem(1,2,srad); % left stem |
| 393 |
draw_flatserif(1,2,srad); |
| 394 |
draw_roundserif(2,1,srad); |
| 395 |
draw_tstem(3,4,srad); % right stem |
| 396 |
draw_flatserif(3,4,srad); |
| 397 |
draw_roundserif(4,3,srad); |
| 398 |
draw z5{right}..z6{right}; % bar |
| 399 |
ductus:=false; |
| 400 |
penlabels(1,2,3,4,5,6,100); |
| 401 |
endchar; % end "N" |
| 402 |
|
| 403 |
cmchar "IMIN letter O"; |
| 404 |
beginchar("O", 2sb#+caprat*hstretch*(3/4x_height#), |
| 405 |
caprat*x_height#, 0); |
| 406 |
adjust_fit(0,0); |
| 407 |
pcshiftx := sb; |
| 408 |
pickup quill; |
| 409 |
lft x1=pcshiftx; rt x3=w-pcshiftx; y1=y3=h/2; |
| 410 |
x2=x4=w/2; top y2=h+o; bot y4=-o; |
| 411 |
draw z1..z2..z3..z4..cycle; |
| 412 |
z5=(pcshiftx,-o); |
| 413 |
obowl(5, w-2pcshiftx, h+2o); |
| 414 |
%%ductus:=true; |
| 415 |
if ductus: |
| 416 |
pickup stylus; |
| 417 |
draw obfirst; draw obsecond; draw obouter; draw obinner; |
| 418 |
else: |
| 419 |
%% fill obouter; unfill obinner; |
| 420 |
fi |
| 421 |
ductus:=false; |
| 422 |
penlabels(1,2,3,4,5,100); |
| 423 |
endchar; % end "O" |
| 424 |
|
| 425 |
cmchar "IMIN letter P"; |
| 426 |
beginchar("P", 2sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 427 |
caprat*x_height#, desc_depth#); |
| 428 |
adjust_fit(0,0); |
| 429 |
pcshiftx := sb; |
| 430 |
numeric n[]; |
| 431 |
pickup quill; |
| 432 |
%% stem |
| 433 |
lft x1=lft x2=pcshiftx+jut; |
| 434 |
top y1=h; bot y2=-1/2d; |
| 435 |
lft x20 = pcshiftx; bot y20 = -d; |
| 436 |
%% bowl % from "h" |
| 437 |
z3=3/4[(x1,0),z1]; |
| 438 |
rt x5 = w-pcshiftx; y5=y3; |
| 439 |
x4=1/2[x3,x5]; top y4 = h; |
| 440 |
lft x6=x4; bot y6=0; |
| 441 |
|
| 442 |
%%ductus:=true; |
| 443 |
if ductus: |
| 444 |
pickup stylus; |
| 445 |
fi |
| 446 |
draw_tstem(1,2,srad); % stem |
| 447 |
draw_flatserif(1,2,srad); |
| 448 |
draw z2{down}..z20{-pdir}; |
| 449 |
draw z3{pdir}..z4..z5..z6{-pdir}; % bowl (from h) |
| 450 |
ductus:=false; |
| 451 |
penlabels(1,2,3,4,5,6,7,8,100); |
| 452 |
endchar; % end "P" |
| 453 |
|
| 454 |
cmchar "IMIN letter Q"; |
| 455 |
beginchar("Q", 2sb#+caprat*hstretch*(3/4x_height#), |
| 456 |
caprat*x_height#, desc_depth#); |
| 457 |
adjust_fit(0,0); |
| 458 |
pcshiftx := sb; |
| 459 |
numeric n[]; |
| 460 |
pickup quill; |
| 461 |
%% right stem |
| 462 |
rt x1=w-pcshiftx; top y1=h; |
| 463 |
x2=x1; bot y2=-1/2d; |
| 464 |
x20 = x1-jut; bot y20=-d; |
| 465 |
%% bowl |
| 466 |
z3=1/4[(x1,0),z1]; |
| 467 |
lft x5=pcshiftx; y5=y3; |
| 468 |
x4=1/2[x3,x5]; bot y4=0; |
| 469 |
x6=x1-jut; top y6=h; |
| 470 |
%%ductus:=true; |
| 471 |
if ductus: |
| 472 |
pickup stylus; |
| 473 |
fi |
| 474 |
draw_tstem(1,2,srad); |
| 475 |
draw z2{down}..z20{-pdir}; % stem |
| 476 |
draw_flatserif(1,2,srad); |
| 477 |
draw z3{-pdir}..z4{left}..z5{up}..z6{pdir}; |
| 478 |
ductus:=false; |
| 479 |
penlabels(0,1,2,3,4,5,6,7,8,100); |
| 480 |
endchar; % end "Q" |
| 481 |
|
| 482 |
cmchar "IMIN letter R"; |
| 483 |
beginchar("R", sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 484 |
caprat*x_height#, desc_depth#); |
| 485 |
adjust_fit(0,0); |
| 486 |
pcshiftx := sb; |
| 487 |
numeric n[]; |
| 488 |
pickup quill; |
| 489 |
%% stem |
| 490 |
lft x1=lft x2=pcshiftx+jut; |
| 491 |
top y1=h; bot y2=-1/2d; |
| 492 |
lft x20 = pcshiftx; bot y20 = -d; |
| 493 |
%% bowl % almost a "p" bowl |
| 494 |
z3=3/4[(x1,0),z1]; |
| 495 |
rt x5 = w-pcshiftx; y5=y3; |
| 496 |
x4=1/2[x3,x5]; top y4 = h; |
| 497 |
x100=x1; bot y100 = 0; |
| 498 |
lft x6= rt x100; y6=y100; |
| 499 |
|
| 500 |
rt x26=w-pcshiftx; y26=-1/6d; |
| 501 |
%%ductus:=true; |
| 502 |
if ductus: |
| 503 |
pickup stylus; |
| 504 |
fi |
| 505 |
draw_tstem(1,2,srad); % stem |
| 506 |
draw_flatserif(1,2,srad); |
| 507 |
draw z2{down}..z20{-pdir}; |
| 508 |
draw z3{pdir}..z4..z5..z6{-pdir}; % bowl (from h) |
| 509 |
draw z6{-ppdir}..z26{pdir}; % leg |
| 510 |
ductus:=false; |
| 511 |
penlabels(1,2,3,4,5,6,7,8,9,100); |
| 512 |
endchar; % end "R" |
| 513 |
|
| 514 |
cmchar "IMIN letter S"; |
| 515 |
beginchar("S", 2sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 516 |
caprat*asc_height#, desc_depth#); |
| 517 |
adjust_fit(0,0); |
| 518 |
numeric n[]; |
| 519 |
pcshiftx := sb; |
| 520 |
pickup quill; |
| 521 |
%% stem |
| 522 |
lft x1=lft x2=pcshiftx+jut; top y1=h/ascratio; bot y2=-1/2d; |
| 523 |
lft x20=pcshiftx; bot y20=-d; |
| 524 |
%% flick |
| 525 |
x4=x2; y4 = 1/2h/ascratio; |
| 526 |
rt x6=w-pcshiftx; y6 = 2/3h; |
| 527 |
x5 = 2/3[x4,x6]; top y5=h; |
| 528 |
%%ductus:=true; |
| 529 |
if ductus: |
| 530 |
pickup stylus; |
| 531 |
fi |
| 532 |
draw_tstem(1,2,srad); % stem |
| 533 |
draw z2{down}..z20{-pdir}; |
| 534 |
draw_flatserif(1,2,srad); |
| 535 |
draw z4{up}...z5{right}...z6; |
| 536 |
ductus:=false; |
| 537 |
penlabels(1,2,3,4,5,6,7,11,17,20,26,27,28,100); |
| 538 |
endchar; % end "S" |
| 539 |
|
| 540 |
cmchar "IMIN letter T"; |
| 541 |
beginchar("T", 2sb#+caprat*hstretch*(5/4x_height#), |
| 542 |
caprat*x_height#, 0); |
| 543 |
adjust_fit(0,0); |
| 544 |
pcshiftx := sb; |
| 545 |
numeric n[]; |
| 546 |
pickup quill; |
| 547 |
%% bar |
| 548 |
lft x1 = pcshiftx; top y1=h; rt x2=w-pcshiftx; bot y2=h; |
| 549 |
n1 := w; % width of bowl |
| 550 |
n2 := h; % height of bowl |
| 551 |
z3=1/2[z1,z2]; |
| 552 |
lft x4 = pcshiftx + 1/8n1; y4 = 1/2h; |
| 553 |
x5=x3; bot y5 = 0; |
| 554 |
rt x6 = pcshiftx + 3/4n1; top y6 = 1/4h; |
| 555 |
%%ductus:=true; |
| 556 |
if ductus: |
| 557 |
pickup stylus; |
| 558 |
fi |
| 559 |
draw z1{pdir}..z3..z2{pdir}; % bar |
| 560 |
draw z3..z4{down}..z5{right}..z6{pdir}; |
| 561 |
ductus:=false; |
| 562 |
penlabels(1,2,3,4,5,6,11,12,100); |
| 563 |
endchar; % end "T" |
| 564 |
|
| 565 |
cmchar "IMIN letter U"; |
| 566 |
beginchar("U", 2sb#+caprat*hstretch*(5/8x_height#+2jut#), |
| 567 |
caprat*x_height#, 0); |
| 568 |
adjust_fit(0,0); |
| 569 |
pcshiftx := sb; |
| 570 |
numeric n[]; |
| 571 |
pickup quill; |
| 572 |
%% left stem |
| 573 |
lft x1 = pcshiftx + jut; top y1 = h; |
| 574 |
x13=x1; y13=1/3h; |
| 575 |
rt x3=w-pcshiftx-jut; y3=y1; |
| 576 |
x4=x3; bot y4=0; |
| 577 |
z33=1/4[z4,z3]; % start of bowl |
| 578 |
x14=1/3[x1,x3]; bot y14=0; |
| 579 |
%%ductus:=true; |
| 580 |
if ductus: |
| 581 |
pickup stylus; |
| 582 |
fi |
| 583 |
draw z1--z13{down}..z14{right}..z33{pdir}; |
| 584 |
draw_flatserif(1,13,srad); |
| 585 |
draw_tstem(3,4,srad); % right stem |
| 586 |
draw_flatserif(3,4,srad); |
| 587 |
draw_roundserif(4,3,srad); |
| 588 |
ductus:=false; |
| 589 |
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,16,33,100); |
| 590 |
endchar; % end "U" |
| 591 |
|
| 592 |
cmchar "IMIN letter V"; |
| 593 |
beginchar("V", 2sb#+caprat*hstretch*(3/4x_height#+jut#), |
| 594 |
caprat*x_height#, 0); |
| 595 |
adjust_fit(0,0); |
| 596 |
pcshiftx := sb; |
| 597 |
pickup quill; |
| 598 |
%% left stem |
| 599 |
lft x1 = pcshiftx + jut; top y1 = h; |
| 600 |
x13=x1; y13=1/3h; |
| 601 |
rt x3=w-pcshiftx-jut; y3=y1; |
| 602 |
x4=x3; bot y4=0; |
| 603 |
z33=1/4[z4,z3]; % start of bowl |
| 604 |
x14=1/3[x1,x3]; bot y14=0; |
| 605 |
rt x23=w-pcshiftx; y23=3/4h; |
| 606 |
lft x26=x14; top y26=h; |
| 607 |
%%ductus:=true; |
| 608 |
if ductus: |
| 609 |
pickup stylus; |
| 610 |
fi |
| 611 |
draw z1--z13{down}..z14{right}; % left stem |
| 612 |
draw_flatserif(1,13,srad); |
| 613 |
draw z14{pdir}..z23{up}..z26; |
| 614 |
ductus:=false; |
| 615 |
penlabels(1,2,3,4,5,11,13,14,23,26,100); |
| 616 |
endchar; % end "V" |
| 617 |
|
| 618 |
cmchar "IMIN letter W"; |
| 619 |
beginchar("W", 2sb#+caprat*hstretch*(x_height#+2jut#), |
| 620 |
caprat*x_height#, 0); |
| 621 |
adjust_fit(0,0); |
| 622 |
pcshiftx := sb; |
| 623 |
pickup quill; |
| 624 |
%% left stem |
| 625 |
lft x1 = pcshiftx + jut; top y1 = h; |
| 626 |
x13=x1; y13=1/3h; |
| 627 |
rt x5=w-pcshiftx-jut; y5=y1; |
| 628 |
x6=x5; bot y6=0; |
| 629 |
z53=1/4[z6,z5]; % start of bowl |
| 630 |
z3 = 1/2[z1,z5]; |
| 631 |
z33=(x3,y13); |
| 632 |
x14=1/3[x1,x3]; bot y14=0; |
| 633 |
x34=1/3[x3,x5]; y34=y14; |
| 634 |
%%ductus:=true; |
| 635 |
if ductus: |
| 636 |
pickup stylus; |
| 637 |
fi |
| 638 |
draw z1--z13{down}..z14{right}..z33{pdir}; % left |
| 639 |
draw_flatserif(1,13,srad); |
| 640 |
draw z3--z33{down}..z34{right}..z53{pdir}; % middle |
| 641 |
draw_flatserif(3,33,srad); |
| 642 |
draw_tstem(5,6,srad); % right stem |
| 643 |
draw_flatserif(5,6,srad); |
| 644 |
draw_roundserif(6,5,srad); |
| 645 |
ductus:=false; |
| 646 |
penlabels(1,2,3,4,5,6,7,8,9,11,13,14,33,34,53,16,100); |
| 647 |
endchar; % end "W" |
| 648 |
|
| 649 |
cmchar "IMIN letter X"; |
| 650 |
beginchar("X", 2sb#+caprat*hstretch*(x_height#), |
| 651 |
caprat*x_height#, desc_depth#); |
| 652 |
adjust_fit(0,0); |
| 653 |
numeric n[]; |
| 654 |
pcshiftx := sb; |
| 655 |
pickup quill; |
| 656 |
n1 := w-2pcshiftx; % total width |
| 657 |
n2 := thick; % triangle side |
| 658 |
%% diag top left to bottom right |
| 659 |
lft x1=pcshiftx; bot y1=2/3h; |
| 660 |
x2=pcshiftx+1/7n1; top y2=h; |
| 661 |
x5=pcshiftx+11/14n1; bot y5=-1/4d; |
| 662 |
rt x6=pcshiftx+n1; top y6=1/6h; |
| 663 |
z25 = 1/3[z2,z5]; |
| 664 |
%% diag bottom left to top right |
| 665 |
%%x10=x1; bot y10=-d; |
| 666 |
lft x10 = -w + 2pcshiftx; bot y10=-d; |
| 667 |
x50=x5; top y50=h; |
| 668 |
%%rt x60=x5; bot y60=2/3h; |
| 669 |
rt x60 = w -pcshiftx; bot y60=2/3h; |
| 670 |
x40=pcshiftx+8/14n1; y40=h; |
| 671 |
%%ductus:=true; |
| 672 |
if ductus: |
| 673 |
pickup stylus; |
| 674 |
fi |
| 675 |
draw z1..z2{right}..z5{right}..z6; % top left to bottom right |
| 676 |
draw z10{1/2pdir}..z25..z50{right}..z60; % bottom left to top right |
| 677 |
ductus:=false; |
| 678 |
penlabels(1,2,3,4,5,6,7,8,10,40,50,60,100); |
| 679 |
endchar; % end "X" |
| 680 |
|
| 681 |
cmchar "IMIN letter Y"; |
| 682 |
beginchar("Y", 2sb#+caprat*hstretch*(5/8x_height#+jut#), |
| 683 |
caprat*x_height#, desc_depth#); |
| 684 |
adjust_fit(0,0); |
| 685 |
pcshiftx := u; |
| 686 |
pickup quill; |
| 687 |
%% left stem |
| 688 |
lft x1 = pcshiftx + jut; top y1 = h; |
| 689 |
x13=x1; y13=1/3h; |
| 690 |
rt x3=w-pcshiftx; y3=y1; |
| 691 |
x4=x3; bot y4=0; |
| 692 |
z33=1/4[z4,z3]; % start of bowl |
| 693 |
x14=1/3[x1,x3]; bot y14=0; |
| 694 |
z50=(x3,-1/2d); |
| 695 |
x60=x14; bot y60=-d; |
| 696 |
%%ductus:=true; |
| 697 |
if ductus: |
| 698 |
pickup stylus; |
| 699 |
fi |
| 700 |
draw z1--z13{down}..z14{right}..z33{pdir}; |
| 701 |
draw_flatserif(1,13,srad); |
| 702 |
draw_tstem(3,50,srad); % right stem |
| 703 |
draw z50{down}..z60{-pdir}; |
| 704 |
draw_flatserif(3,4,srad); |
| 705 |
ductus:=false; |
| 706 |
penlabels(1,2,3,4,5,6,7,8,9,10,100); |
| 707 |
endchar; % end "Y" |
| 708 |
|
| 709 |
cmchar "IMIN letter Z"; |
| 710 |
beginchar("Z", 2sb#+caprat*hstretch*(x_height#), |
| 711 |
caprat*x_height#, 0); |
| 712 |
adjust_fit(0,0); |
| 713 |
numeric n[]; |
| 714 |
pcshiftx := sb; |
| 715 |
pickup quill; |
| 716 |
%% top bar |
| 717 |
n10 := w-2pcshiftx; % letter width |
| 718 |
lft x1=pcshiftx; top y1=h; |
| 719 |
rt x2= w-pcshiftx; bot y2=y1; |
| 720 |
%% diagonal |
| 721 |
x3=x1; bot y3=0; |
| 722 |
%% bowl |
| 723 |
x4=3/4[x1,x2]; top y4 = 1/2h; |
| 724 |
x6=x4; bot y6 = 0; |
| 725 |
rt x5 = w-pcshiftx; y5 = 1/2[y4,y6]; |
| 726 |
x7=1/2[x3,x5]; y7 = 1/2[y6,y5]; |
| 727 |
%%ductus:=true; |
| 728 |
if ductus: |
| 729 |
pickup stylus; |
| 730 |
fi |
| 731 |
draw z1{right}..z2{right}; % top bar |
| 732 |
draw_roundserif(1,2,srad); |
| 733 |
draw z2--z3; % diagonal |
| 734 |
draw z3..z4{right}..z5{down}..z6{left}..z7; |
| 735 |
ductus:=false; |
| 736 |
penlabels(1,2,3,4,5,6,10o,10i,20o,20i,100); |
| 737 |
endchar; % end "Z" |
| 738 |
|