| 1 |
%Boisik symbols |
| 2 |
|
| 3 |
numeric bourstem; bourstem:=1.5stem; |
| 4 |
numeric arrsize, arrwidth, dbf; arrsize=1.2arrwidth=if boldmath: 3.5 else:3\\ fi curve; |
| 5 |
compute_spread(.45x_height#,.55x_height#); |
| 6 |
dbf:=spread-tiny; |
| 7 |
|
| 8 |
iff known chars.sign_parent_left: |
| 9 |
bskchar "Left parenthesis"; |
| 10 |
beginchar(chars.sign_parent_left,6u#,body_height#,paren_depth#); uni "0x0028"; |
| 11 |
adjust_fit(0,0); |
| 12 |
pickup tiny.nib; |
| 13 |
pos2(curve,0); |
| 14 |
rt x1r=w-u; rt x3r=w-u; lft x2l=u; |
| 15 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 16 |
pos1(hair, angle((x1r,y1l)-z2)-90); pos3(hair,angle((x3r,y3l)-z2)+90); |
| 17 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 18 |
penlabels(1,2,3); |
| 19 |
endchar; |
| 20 |
|
| 21 |
iff known chars.sign_parent_right: |
| 22 |
bskchar "Right parenthesis"; |
| 23 |
beginchar(chars.sign_parent_right,6u#,body_height#,paren_depth#); uni "0x0029"; |
| 24 |
adjust_fit(0,0); |
| 25 |
pickup tiny.nib; |
| 26 |
pos2(curve,180); |
| 27 |
lft x1r=u; lft x3r=u; rt x2l=w-u; |
| 28 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 29 |
pos1(hair, angle((x1r,y1l)-z2)+90); pos3(hair,angle((x3r,y3l)-z2)-90); |
| 30 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 31 |
penlabels(1,2,3); |
| 32 |
endchar; |
| 33 |
|
| 34 |
iff known chars.sign_bracket_left: |
| 35 |
bskchar "Left bracket"; |
| 36 |
beginchar(chars.sign_bracket_left,5.5u#,body_height#,paren_depth#); uni "0x005B"; |
| 37 |
adjust_fit(0,0); |
| 38 |
pickup tiny.nib; |
| 39 |
pos1(hair,90); pos4(hair,270); |
| 40 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u; |
| 41 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 42 |
rt z2l=(x2r+.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 43 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*left |
| 44 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+hair*left..cycle; |
| 45 |
penlabels(1,2,3,4); |
| 46 |
endchar; |
| 47 |
|
| 48 |
iff known chars.sign_bracket_right: |
| 49 |
bskchar "Right bracket"; |
| 50 |
beginchar(chars.sign_bracket_right,5.5u#,body_height#,paren_depth#); uni "0x005D"; |
| 51 |
adjust_fit(0,0); |
| 52 |
pickup tiny.nib; |
| 53 |
pos1(hair,90); pos4(hair,270); |
| 54 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u; |
| 55 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 56 |
lft z2l=(x2r-.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 57 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*right |
| 58 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+hair*right..cycle; |
| 59 |
penlabels(1,2,3,4); |
| 60 |
endchar; |
| 61 |
|
| 62 |
iff known chars.sign_bracket_semantic_left: |
| 63 |
bskchar "Left semantic bracket"; |
| 64 |
beginchar(chars.sign_bracket_semantic_left,7u#,body_height#,paren_depth#); uni "0x27E6"; |
| 65 |
adjust_fit(0,0); |
| 66 |
pickup tiny.nib; |
| 67 |
pos1(hair,90); pos4(hair,270); |
| 68 |
pos5(.5[hair,stem],0); pos6(.5[hair,stem],0); |
| 69 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u; |
| 70 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 71 |
y5=y1l; y6=y4l; x5=x6=.5[x1,x2l]; |
| 72 |
rt z2l=(x2r+.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 73 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*left |
| 74 |
---obl(6r,4l,2l)---obl(5r,3l,1l)---z1l+hair*left..cycle; |
| 75 |
infill obl(2l,5l,3l)---obl(3l,2l,6l)---obl(6l,3l,5l)---obl(5l,6l,2l)---cycle; |
| 76 |
penlabels(1,2,3,4,5,6); |
| 77 |
endchar; |
| 78 |
|
| 79 |
iff known chars.sign_bracket_semantic_right: |
| 80 |
bskchar "Right semantic bracket"; |
| 81 |
beginchar(chars.sign_bracket_semantic_right,7u#,body_height#,paren_depth#); uni "0x27E7"; |
| 82 |
adjust_fit(0,0); |
| 83 |
pickup tiny.nib; |
| 84 |
pos1(hair,90); pos4(hair,270); |
| 85 |
pos5(.5[hair,stem],180); pos6(.5[hair,stem],180); |
| 86 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u; |
| 87 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 88 |
lft z2l=(x2r-.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 89 |
y5=y1l; y6=y4l; x5=x6=.5[x1,x2l]; |
| 90 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*right |
| 91 |
---obl(6r,4l,2l)---obl(5r,3l,1l)---z1l+hair*right..cycle; |
| 92 |
infill obl(2l,5l,3l)---obl(3l,2l,6l)---obl(6l,3l,5l)---obl(5l,6l,2l)---cycle; |
| 93 |
penlabels(1,2,3,4,5,6); |
| 94 |
endchar; |
| 95 |
|
| 96 |
iff known chars.sign_bracket_quill_left: |
| 97 |
bskchar "Left bracket with quill"; |
| 98 |
beginchar(chars.sign_bracket_quill_left,5.5u#,body_height#,paren_depth#); uni "0x2045"; |
| 99 |
adjust_fit(0,0); |
| 100 |
pickup tiny.nib; |
| 101 |
pos1(hair,90); pos4(hair,270); |
| 102 |
pos5(hair,90); pos6(hair,90); |
| 103 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u; |
| 104 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 105 |
y5=y6=.5[y1,y4]; x5=x2l; x6=x1; |
| 106 |
rt z2l=(x2r+.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 107 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*left---obl(3l,4l,2l) |
| 108 |
---obl(5l,3l,6l)---z6l..z6r---obl(5r,6r,2l)---obl(2l,3l,1l)---z1l+hair*left..cycle; |
| 109 |
penlabels(1,2,3,4,5,6); |
| 110 |
endchar; |
| 111 |
|
| 112 |
iff known chars.sign_bracket_quill_right: |
| 113 |
bskchar "Right bracket with quill"; |
| 114 |
beginchar(chars.sign_bracket_quill_right,5.5u#,body_height#,paren_depth#); uni "0x2046"; |
| 115 |
adjust_fit(0,0); |
| 116 |
pickup tiny.nib; |
| 117 |
pos1(hair,90); pos4(hair,270); |
| 118 |
pos5(hair,90); pos6(hair,90); |
| 119 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u; |
| 120 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 121 |
y5=y6=.5[y1,y4]; x5=x2l; x6=x1; |
| 122 |
lft z2l=(x2r-.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 123 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+hair*right---obl(3l,4l,2l) |
| 124 |
---obl(5l,3l,6l)---z6l..z6r---obl(5r,6r,2l)---obl(2l,3l,1l)---z1l+hair*right..cycle; |
| 125 |
penlabels(1,2,3,4,5,6); |
| 126 |
endchar; |
| 127 |
|
| 128 |
iff known chars.sign_bracket_antiquill_left: |
| 129 |
bskchar "Left bracket with antiquill"; |
| 130 |
beginchar(chars.sign_bracket_antiquill_left,5.5u#,body_height#,paren_depth#); uni "non"; |
| 131 |
adjust_fit(0,0); |
| 132 |
pickup tiny.nib; |
| 133 |
pos1(hair,90); pos4(hair,270); |
| 134 |
pos5(hair,270); pos6(hair,270); |
| 135 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u; |
| 136 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 137 |
y5=y6=.5[y1,y4]; x5=x2r; x6=.5u; |
| 138 |
rt z2l=(x2r+.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 139 |
oblu.quill:=3/4(x5-x6); |
| 140 |
filldraw z1r---obl(2r,1r,3r)---obl(5l,2r,6l).quill---z6l..z6r---obl(5r,6r,3r).quill |
| 141 |
---obl(3r,2r,4r)---z4r..z4l+hair*left---obl(3l,4l,2l) |
| 142 |
---obl(2l,3l,1l)---z1l+hair*left..cycle; |
| 143 |
penlabels(1,2,3,4,5,6); |
| 144 |
endchar; |
| 145 |
|
| 146 |
iff known chars.sign_bracket_antiquill_right: |
| 147 |
bskchar "Right bracket with antiquill"; |
| 148 |
beginchar(chars.sign_bracket_antiquill_right,5.5u#,body_height#,paren_depth#); uni "non"; |
| 149 |
adjust_fit(0,0); |
| 150 |
pickup tiny.nib; |
| 151 |
pos1(hair,90); pos4(hair,270); |
| 152 |
pos5(hair,270); pos6(hair,270); |
| 153 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u; |
| 154 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 155 |
y5=y6=.5[y1,y4]; x5=x2r; x6=w-.5u; |
| 156 |
lft z2l=(x2r-.5[stem,hair],y1l); z3l=(x2l,y4l); |
| 157 |
oblu.quill:=3/4(x6-x5); |
| 158 |
filldraw z1r---obl(2r,1r,3r)---obl(5l,2r,6l).quill---z6l..z6r---obl(5r,6r,3r).quill |
| 159 |
---obl(3r,2r,4r)---z4r..z4l+hair*right---obl(3l,4l,2l) |
| 160 |
---obl(2l,3l,1l)---z1l+hair*right..cycle; |
| 161 |
penlabels(1,2,3,4,5,6); |
| 162 |
endchar; |
| 163 |
|
| 164 |
iff known chars.sign_quotes: |
| 165 |
bskchar "Quotes"; |
| 166 |
beginchar(chars.sign_quotes,8.5u#,asc_height#,0); uni "0x0022"; |
| 167 |
adjust_fit(0,0); |
| 168 |
pickup tiny.nib; |
| 169 |
x1=w-u-.5dot_size-hair; top y1=h-.5dot_size; |
| 170 |
y2=y1; x2=u+.5dot_size; |
| 171 |
comma(1,dot_size,infinity,comma_depth); comma(2,dot_size,infinity,comma_depth); |
| 172 |
endchar; |
| 173 |
|
| 174 |
iff known chars.sign_quotes_uni: |
| 175 |
bskchar "Quotes (for Unicode)"; |
| 176 |
beginchar(chars.sign_quotes_uni,8.5u#,asc_height#,0); uni "0x201D"; |
| 177 |
adjust_fit(0,0); |
| 178 |
pickup tiny.nib; |
| 179 |
x1=w-u-.5dot_size-hair; top y1=h-.5dot_size; |
| 180 |
y2=y1; x2=u+.5dot_size; |
| 181 |
comma(1,dot_size,infinity,comma_depth); comma(2,dot_size,infinity,comma_depth); |
| 182 |
endchar; |
| 183 |
|
| 184 |
charscription(8.5u,asc_height,0)( |
| 185 |
x1=w-u-.5dot_size; top y1=h-comma_depth; |
| 186 |
y2=y1; x2=u+.5dot_size+hair; |
| 187 |
ammoc(1,dot_size,infinity,comma_depth); ammoc(2,dot_size,infinity,comma_depth); |
| 188 |
); |
| 189 |
|
| 190 |
iff known chars.sign_opening_quotes: |
| 191 |
bskchar "Opening quotes"; |
| 192 |
beginchar(chars.sign_opening_quotes,8.5u#,asc_height#,0); uni "0x201C"; |
| 193 |
adjust_fit(0,0); |
| 194 |
pickup tiny.nib; |
| 195 |
usechar; |
| 196 |
endchar; |
| 197 |
|
| 198 |
iff known chars.sign_czech_closing_quotes: |
| 199 |
bskchar "Czech closing quotes"; |
| 200 |
beginchar(chars.sign_czech_closing_quotes,8.5u#,asc_height#,0); uni "non"; |
| 201 |
adjust_fit(0,0); |
| 202 |
pickup tiny.nib; |
| 203 |
usechar; |
| 204 |
endchar; |
| 205 |
|
| 206 |
iff known chars.sign_czech_quotes: |
| 207 |
bskchar "Czech opening quotes"; |
| 208 |
beginchar(chars.sign_czech_quotes,8.5u#,.5dot_size#,comma_depth#); uni "0x201E"; |
| 209 |
adjust_fit(0,0); |
| 210 |
pickup tiny.nib; |
| 211 |
x1=w-u-.5dot_size-hair; top y1=h; |
| 212 |
y2=y1; x2=u+.5dot_size; |
| 213 |
comma(1,dot_size,infinity,comma_depth); comma(2,dot_size,infinity,comma_depth); |
| 214 |
endchar; |
| 215 |
|
| 216 |
iff known chars.sign_turn_quotes: |
| 217 |
bskchar "Turned quotes"; |
| 218 |
beginchar(chars.sign_turn_quotes,8.5u#,asc_height#,0); uni "0x201F"; |
| 219 |
adjust_fit(0,0); |
| 220 |
pickup tiny.nib; |
| 221 |
x1=w-u-.5dot_size; top y1=h-.5dot_size; |
| 222 |
y2=y1; x2=u+.5dot_size+hair; |
| 223 |
turn_comma(1,dot_size,infinity,comma_depth); turn_comma(2,dot_size,infinity,comma_depth); |
| 224 |
endchar; |
| 225 |
|
| 226 |
iff known chars.sign_czech_quote: |
| 227 |
bskchar "Czech opening quote"; |
| 228 |
beginchar(chars.sign_czech_quote,4.5u#,.5dot_size#,comma_depth#); uni "0x201A"; |
| 229 |
adjust_fit(0,0); |
| 230 |
pickup tiny.nib; |
| 231 |
x1=w-u-.5dot_size-hair; top y1=h; |
| 232 |
comma(1,dot_size,infinity,comma_depth); |
| 233 |
endchar; |
| 234 |
|
| 235 |
iff known chars.sign_aposthrope: |
| 236 |
bskchar "Aposthrope"; |
| 237 |
beginchar(chars.sign_aposthrope,4.5u#,asc_height#,0); uni "0x0027"; |
| 238 |
adjust_fit(0,0); |
| 239 |
pickup tiny.nib; |
| 240 |
lft x1=w-u-.5dot_size-hair; top y1=h-.5dot_size; |
| 241 |
comma(1,dot_size,.9hair,comma_depth); |
| 242 |
endchar; |
| 243 |
|
| 244 |
iff known chars.sign_aposthrope_uni: |
| 245 |
bskchar "Aposthrope (for Unicode)"; |
| 246 |
beginchar(chars.sign_aposthrope_uni,4.5u#,asc_height#,0); uni "0x2019"; |
| 247 |
adjust_fit(0,0); |
| 248 |
pickup tiny.nib; |
| 249 |
lft x1=w-u-.5dot_size-hair; top y1=h-.5dot_size; |
| 250 |
comma(1,dot_size,.9hair,comma_depth); |
| 251 |
endchar; |
| 252 |
|
| 253 |
iff known chars.sign_aposthrope_reverse: |
| 254 |
bskchar "Reverse aposthrope"; |
| 255 |
beginchar(chars.sign_aposthrope_reverse,4.5u#,asc_height#,0); uni "0x0060"; |
| 256 |
adjust_fit(0,0); |
| 257 |
pickup tiny.nib; |
| 258 |
x1=.5w+.5hair; top y1=h-comma_depth; |
| 259 |
ammoc(1,dot_size,.9hair,comma_depth); |
| 260 |
endchar; |
| 261 |
|
| 262 |
iff known chars.sign_aposthrope_reverse_uni: |
| 263 |
bskchar "Reverse aposthrope (for Unicode)"; |
| 264 |
beginchar(chars.sign_aposthrope_reverse_uni,4.5u#,asc_height#,0); uni "0x2018"; |
| 265 |
adjust_fit(0,0); |
| 266 |
pickup tiny.nib; |
| 267 |
x1=.5w+.5hair; top y1=h-comma_depth; |
| 268 |
ammoc(1,dot_size,.9hair,comma_depth); |
| 269 |
endchar; |
| 270 |
|
| 271 |
iff known chars.sign_aposthrope_turned_uni: |
| 272 |
bskchar "Turned aposthrope (for Unicode)"; |
| 273 |
beginchar(chars.sign_aposthrope_turned_uni,4.5u#,asc_height#,0); uni "0x201B"; |
| 274 |
adjust_fit(0,0); |
| 275 |
pickup tiny.nib; |
| 276 |
x1=.5w+.5hair; top y1=h-.5dot_size; |
| 277 |
turn_comma(1,dot_size,.9hair,comma_depth); |
| 278 |
endchar; |
| 279 |
|
| 280 |
iff known chars.sign_comma: |
| 281 |
bskchar "Comma"; |
| 282 |
beginchar(chars.sign_comma,4.5u#,dot_size#,comma_depth#); uni "0x002C"; |
| 283 |
adjust_fit(0,0); |
| 284 |
pickup tiny.nib; |
| 285 |
x1=.5w-.5hair; top y1=h-.5dot_size; |
| 286 |
comma(1,dot_size,infinity,d); |
| 287 |
endchar; |
| 288 |
|
| 289 |
iff known chars.sign_comma_under: |
| 290 |
bskchar "Comma under baseline"; |
| 291 |
beginchar(chars.sign_comma_under,4.5u#,0,comma_depth#); uni "non"; |
| 292 |
adjust_fit(0,0); |
| 293 |
pickup tiny.nib; |
| 294 |
x1=.5w-.5hair; top y1=h-.5dot_size; |
| 295 |
comma(1,dot_size,infinity,d); |
| 296 |
endchar; |
| 297 |
|
| 298 |
iff known chars.sign_comma_double_tail: |
| 299 |
bskchar "Double-tailed comma"; |
| 300 |
beginchar(chars.sign_comma_double_tail,4.5u#,dot_size#,comma_depth#); uni "non"; |
| 301 |
adjust_fit(0,0); |
| 302 |
pickup tiny.nib; |
| 303 |
numeric tim; oblu:=.6dot_size; |
| 304 |
path p[]; |
| 305 |
x1=.5w-.5hair; top y1=h-.5dot_size; |
| 306 |
if square_dots: |
| 307 |
else: |
| 308 |
penpos1'(dot_size,0); penpos1''(dot_size,90); z1'=z1''=z1; |
| 309 |
z1'''=(x1'r+hair,y1''l); z1~=.75[z1,z1'r]+d*down; |
| 310 |
p0:=z1'r{up}..z1''r{left}..{down}z1'l..{right}z1''l..cycle; |
| 311 |
p1:=point 3.5 of p0{direction 3.5 of p0 rotated -120}..z1~; |
| 312 |
p2:=subpath(rundy(p1,(0,.4dot_size)),infinity) of p1&z1~..z1'''..subpath (1.5,2) of p0; |
| 313 |
tim=xpart(p2 intersectiontimes (z1--(x1,h))); |
| 314 |
p3:=subpath(0,tim) of p2; |
| 315 |
p4:=reverse p3 reflectedabout(z1''r,z1''l); |
| 316 |
filldraw p3..p4 shifted left ..cycle; |
| 317 |
labels(1,1''',1~); penlabels(1',1''); |
| 318 |
fi |
| 319 |
endchar; |
| 320 |
|
| 321 |
iff known chars.sign_comma_ammoc: |
| 322 |
bskchar "Comma-ammoc"; |
| 323 |
beginchar(chars.sign_comma_ammoc,4.5u#,x_height#,0); uni "non"; |
| 324 |
adjust_fit(0,0); |
| 325 |
pickup tiny.nib; |
| 326 |
numeric tim[]; oblu:=.6dot_size; |
| 327 |
x1=.5w-.5hair=x2; y1=y2=.5[h,-d]; |
| 328 |
if square_dots: |
| 329 |
else: |
| 330 |
penpos1'(dot_size,0); penpos1''(dot_size,90); z1'=z1''=z1; |
| 331 |
penpos2'(dot_size,180); penpos2''(dot_size,-90); z2'=z2''=z2; |
| 332 |
z1'''=(x1'r+hair,y1''l); z1~=.5[z1,z1'l]+comma_depth*down; |
| 333 |
z2'''=(x2'r-hair,y2''l); z2~=.5[z2,z2'l]+comma_depth*up; |
| 334 |
p0:=z1'r{up}..z1''r{left}..{down}z1'l..{right}z1''l..cycle; |
| 335 |
p1:=point 3.5 of p0{direction 3.5 of p0 rotated -120}..z1~; |
| 336 |
p2:=z2'r{down}..z2''r{right}..{up}z2'l..{left}z2''l..cycle; |
| 337 |
p3:=point 3.5 of p2{direction 3.5 of p2 rotated -120}..z2~; |
| 338 |
p4:=z1~..z1'''..subpath (1.5,rundy(p0,3.5).zpet) of p0 |
| 339 |
..subpath(rundy(p1,(0,.4dot_size)),infinity) of p1; |
| 340 |
p5:=reverse (z2~..z2'''..subpath (1.5,rundy(p2,3.5).zpet) of p2 |
| 341 |
..subpath(rundy(p3,(0,.4dot_size)),infinity) of p3); |
| 342 |
(tim1,tim2)=p4 intersectiontimes p5; |
| 343 |
(tim3,tim4)=reverse p4 intersectiontimes p5; |
| 344 |
filldraw subpath(0,rundy(p4,tim1).zpet) of p4 |
| 345 |
..reverse subpath(0,rundy(p5,tim2).zpet) of p5 |
| 346 |
&subpath(infinity,rundy(p5,tim4)) of p5 |
| 347 |
..reverse subpath(0,tim3) of reverse p4&cycle; |
| 348 |
labels(1,1''',1~,2,2''',2~); penlabels(1',1'',2',2''); |
| 349 |
fi |
| 350 |
endchar; |
| 351 |
|
| 352 |
iff known chars.sign_period: |
| 353 |
bskchar "Period"; |
| 354 |
beginchar(chars.sign_period,4.5u#,dot_size#,0); uni "0x002E"; |
| 355 |
adjust_fit(0,0); |
| 356 |
pickup tiny.nib; |
| 357 |
bot z1=(.5w,.5h); dot(1); |
| 358 |
endchar; |
| 359 |
|
| 360 |
iff known chars.sign_period_old_figured: |
| 361 |
bskchar "Period (for some old style figures)"; |
| 362 |
beginchar(chars.sign_period_old_figured,4.5u#,dot_size#-medfigd,medfigd); uni "non"; |
| 363 |
adjust_fit(0,0); |
| 364 |
pickup tiny.nib; |
| 365 |
bot z1=(.5w,.5(h-d)); dot(1); |
| 366 |
endchar; |
| 367 |
|
| 368 |
iff known chars.sign_leader_dot: |
| 369 |
bskchar "Dot leader"; |
| 370 |
beginchar(chars.sign_leader_dot,6u#,dot_size#,0); uni "0x2024"; |
| 371 |
adjust_fit(0,0); |
| 372 |
pickup tiny.nib; |
| 373 |
bot z1=(.5w,.5h); dot(1); |
| 374 |
endchar; |
| 375 |
|
| 376 |
iff known chars.sign_leader_dots: |
| 377 |
bskchar "Two dot leader"; |
| 378 |
beginchar(chars.sign_leader_dots,10.5u#,dot_size#,0); uni "0x2025"; |
| 379 |
adjust_fit(0,0); |
| 380 |
pickup tiny.nib; |
| 381 |
bot y1=bot y2=.5h; .5[x1,x2]=.5w; x1=x2-x1; |
| 382 |
dot(1); dot(2); |
| 383 |
endchar; |
| 384 |
|
| 385 |
iff known chars.sign_ellipsis: |
| 386 |
bskchar "Ellipsis (horizontal)"; |
| 387 |
beginchar(chars.sign_ellipsis,16u#,dot_size#,0); uni "0x2026"; |
| 388 |
adjust_fit(0,0); |
| 389 |
pickup tiny.nib; |
| 390 |
y1=y2=y3; bot y1=.5h; |
| 391 |
x3-x2=x2-x1; .5w=x2; x1=2.25u; |
| 392 |
dot(1); dot(2); dot(3); |
| 393 |
endchar; |
| 394 |
|
| 395 |
iff known chars.math_ellipsis_centered: |
| 396 |
bskchar "Centered horizontal ellipsis"; |
| 397 |
beginchar(chars.math_ellipsis_centered,16u#,v_center(dot_size#)); uni "0x22EF"; |
| 398 |
adjust_fit(0,0); |
| 399 |
pickup tiny.nib; |
| 400 |
y1=y2=y3; y1=math_axis; |
| 401 |
x3-x2=x2-x1; .5w=x2; x1=2.25u; |
| 402 |
dot(1); dot(2); dot(3); |
| 403 |
endchar; |
| 404 |
|
| 405 |
iff known chars.sign_colon: |
| 406 |
bskchar "Colon"; |
| 407 |
beginchar(chars.sign_colon,4.5u#,x_height#,0); uni "0x003A"; |
| 408 |
adjust_fit(0,0); |
| 409 |
pickup tiny.nib; |
| 410 |
x1=x2=.5w; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 411 |
dot(1); dot(2); |
| 412 |
endchar; |
| 413 |
|
| 414 |
iff known chars.math_ratio: |
| 415 |
bskchar "Ratio sign"; |
| 416 |
beginchar(chars.math_ratio,5u#,v_center(x_height#)); uni "0x2236"; |
| 417 |
adjust_fit(0,0); |
| 418 |
pickup tiny.nib; |
| 419 |
x1=x2=.5w; top y1=h-.5dot_size; bot y2=-d+.5dot_size; |
| 420 |
dot(1); dot(2); |
| 421 |
endchar; |
| 422 |
|
| 423 |
iff known chars.sign_punctation_two: |
| 424 |
bskchar "Two dot punctation"; |
| 425 |
beginchar(chars.sign_punctation_two,4.5u#,cap_height#,0); uni "0x205A"; |
| 426 |
adjust_fit(0,0); |
| 427 |
pickup tiny.nib; |
| 428 |
x1=x2=.5w; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 429 |
dot(1); dot(2); |
| 430 |
endchar; |
| 431 |
|
| 432 |
iff known chars.sign_punctation_three: |
| 433 |
bskchar "Three dot punctation"; |
| 434 |
beginchar(chars.sign_punctation_three,10u#,.5[x_height#,asc_height#],0); uni "0x2056"; |
| 435 |
adjust_fit(0,0); |
| 436 |
pickup tiny.nib; |
| 437 |
x1=x2=w-u-.5dot_size; x3=u+.5dot_size; y3=.5[y1,y2]=.5h; top y1=h-.5dot_size; |
| 438 |
dot(1); dot(2); dot(3); |
| 439 |
endchar; |
| 440 |
|
| 441 |
iff known chars.sign_punctation_four: |
| 442 |
bskchar "Four dot punctation"; |
| 443 |
beginchar(chars.sign_punctation_four,10u#,.5[x_height#,asc_height#],0); uni "0x2058"; |
| 444 |
adjust_fit(0,0); |
| 445 |
pickup tiny.nib; |
| 446 |
x1=w-x2=u+.5dot_size; x3=x4=.5w; top y3=h-.5dot_size; .5[y3,y4]=.5h=y1=y2; |
| 447 |
dot(1); dot(2); dot(3); dot(4); |
| 448 |
endchar; |
| 449 |
|
| 450 |
iff known chars.sign_mark_four: |
| 451 |
bskchar "Four dot mark"; |
| 452 |
beginchar(chars.sign_mark_four,13u#,body_height#+rule_thickness#,desc_depth#+rule_thickness#); uni "0x205B"; |
| 453 |
adjust_fit(0,0); |
| 454 |
pickup tiny.nib; |
| 455 |
x1=w-x2=u+.5dot_size; x3=x4=.5w; top y3=h-.5dot_size; .5[y3,y4]=.5[h,-d]=y1=y2; |
| 456 |
dot(1); dot(2); dot(3); dot(4); |
| 457 |
endchar; |
| 458 |
|
| 459 |
iff known chars.sign_punctation_five: |
| 460 |
bskchar "Five dot punctation"; |
| 461 |
beginchar(chars.sign_punctation_five,10u#,.5[x_height#,asc_height#],0); uni "0x2059"; |
| 462 |
adjust_fit(0,0); |
| 463 |
pickup tiny.nib; |
| 464 |
x1=x2=w-u-.5dot_size; x3=x4=u+.5dot_size; y3=y1; y2=y4; top y1=h-.5dot_size; .5[y1,y2]=.5h; |
| 465 |
z5=.5[z3,z2]; |
| 466 |
dot(1); dot(2); dot(3); dot(4); dot(5); |
| 467 |
endchar; |
| 468 |
|
| 469 |
iff known chars.sign_punctation_cross_dot: |
| 470 |
bskchar "Dotted cross punctation"; |
| 471 |
beginchar(chars.sign_punctation_cross_dot,12u#,.5[x_height#,asc_height#],0); uni "0x205C"; |
| 472 |
adjust_fit(0,0); |
| 473 |
pickup tiny.nib; |
| 474 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 475 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 476 |
lft x1=u; rt x2=w-u; y1=y2=.5[y9,y10]=.5h; y11=y9; y10=y12; top y9=h-dot_size; |
| 477 |
x3=x4=.5w; top y3=h; bot y4=-d; |
| 478 |
x9=x10=w-u-dot_size; x11=x12=u+dot_size; |
| 479 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 480 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 481 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 482 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 483 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 484 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 485 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 486 |
dot(9); dot(10); dot(11); dot(12); |
| 487 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 488 |
endchar; |
| 489 |
|
| 490 |
iff known chars.sign_tricolon: |
| 491 |
bskchar "Tricolon sign"; |
| 492 |
beginchar(chars.sign_tricolon,4.5u#,asc_height#,0); uni "0x205D"; |
| 493 |
adjust_fit(0,0); |
| 494 |
pickup tiny.nib; |
| 495 |
x1=x2=x3=.5w; top y1=h-.5dot_size; bot y3=-d+.5dot_size; y2=.5[y1,y3]; |
| 496 |
dot(1); dot(2); dot(3); |
| 497 |
endchar; |
| 498 |
|
| 499 |
iff known chars.sign_fourcolon: |
| 500 |
bskchar "Fourcolon sign"; |
| 501 |
beginchar(chars.sign_fourcolon,4.5u#,body_height#,0); uni "0x205E"; |
| 502 |
adjust_fit(0,0); |
| 503 |
pickup tiny.nib; |
| 504 |
x1=x2=x3=x4=.5w; top y1=h-.5dot_size; bot y4=-d+.5dot_size; .5[y2,y3]=.5[y1,y4]; y2=.5[y1,y3]; |
| 505 |
dot(1); dot(2); dot(3); dot(4); |
| 506 |
endchar; |
| 507 |
|
| 508 |
iff known chars.math_triratio: |
| 509 |
bskchar "Triratio sign (triple colon)"; |
| 510 |
beginchar(chars.math_triratio,5u#,v_center(1.5x_height#)); uni "0x2AF6"; |
| 511 |
adjust_fit(0,0); |
| 512 |
pickup tiny.nib; |
| 513 |
x1=x2=x3=.5w; top y1=h-.5dot_size; bot y3=-d+.5dot_size; y2=.5[y1,y3]; |
| 514 |
dot(1); dot(2); dot(3); |
| 515 |
endchar; |
| 516 |
|
| 517 |
iff known chars.math_proportion: |
| 518 |
bskchar "Proportion sign"; |
| 519 |
beginchar(chars.math_proportion,9u#,v_center(x_height#)); uni "0x2237"; |
| 520 |
adjust_fit(0,0); |
| 521 |
pickup tiny.nib; |
| 522 |
x1=x2; x3=x4; .5[x1,x3]=.5w; x1=2u; |
| 523 |
top y1=top y3=h-.5dot_size; bot y2=bot y4=-d+.5dot_size; |
| 524 |
dot(1); dot(2); dot(3); dot(4); |
| 525 |
endchar; |
| 526 |
|
| 527 |
iff known chars.math_excess: |
| 528 |
bskchar "Excess sign"; |
| 529 |
beginarithchar(chars.math_excess); uni "0x2239"; |
| 530 |
adjust_fit(0,0); |
| 531 |
pickup tiny.nib; |
| 532 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 533 |
x1=x2=w-2u; |
| 534 |
.5[y1,y2]=y3=y4=math_axis; top y1-bot y2=x_height-dot_size; |
| 535 |
lft x3=u; rt x4=x1-dot_size-rule_thickness; |
| 536 |
filldraw bskrule(3,4,hair,hair); |
| 537 |
dot(1); dot(2); |
| 538 |
penlabels(3,4); |
| 539 |
endchar; |
| 540 |
|
| 541 |
iff known chars.math_proportion_geo: |
| 542 |
bskchar "Geometric proportion sign"; |
| 543 |
beginarithchar(chars.math_proportion_geo); uni "0x223A"; |
| 544 |
adjust_fit(0,0); |
| 545 |
pickup tiny.nib; |
| 546 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 547 |
x1=x2; x3=x4; .5[x1,x3]=.5w; x1=2u; |
| 548 |
y1=y3; y2=y4; .5[y1,y2]=y5=y6=math_axis; top y1-bot y2=x_height-dot_size; |
| 549 |
lft x5=u; rt x6=w-u; |
| 550 |
filldraw bskrule(5,6,hair,hair); |
| 551 |
dot(1); dot(2); dot(3); dot(4); |
| 552 |
penlabels(5,6); |
| 553 |
endchar; |
| 554 |
|
| 555 |
iff known chars.math_ellipsis_vert: |
| 556 |
bskchar "Vertical ellipsis"; |
| 557 |
beginchar(chars.math_ellipsis_vert,4.5u#,v_center(1.5x_height#)); uni "0x22EE"; |
| 558 |
adjust_fit(0,0); |
| 559 |
pickup tiny.nib; |
| 560 |
x1=x2=x3=.5w; y2=.5[y1,y3]=math_axis; y1-y2=5.75u; |
| 561 |
dot(1); dot(2); dot(3); |
| 562 |
endchar; |
| 563 |
|
| 564 |
iff known chars.math_ellipsis_down_right: |
| 565 |
bskchar "Diagonal ellipsis down right"; |
| 566 |
beginchar(chars.math_ellipsis_down_right,16u#,v_center(1.5x_height#)); uni "0x22F1"; |
| 567 |
adjust_fit(0,0); |
| 568 |
pickup tiny.nib; |
| 569 |
x3-x2=x2-x1; .5w=x2; x1=2.25u; |
| 570 |
y2=.5[y1,y3]=math_axis; y1-y2=5.75u; |
| 571 |
dot(1); dot(2); dot(3); |
| 572 |
endchar; |
| 573 |
|
| 574 |
iff known chars.math_ellipsis_up_right: |
| 575 |
bskchar "Diagonal ellipsis up right"; |
| 576 |
beginchar(chars.math_ellipsis_up_right,16u#,v_center(1.5x_height#)); uni "0x22F0"; |
| 577 |
adjust_fit(0,0); |
| 578 |
pickup tiny.nib; |
| 579 |
x3-x2=x2-x1; .5w=x2; x3=2.25u; |
| 580 |
y2=.5[y1,y3]=math_axis; y1-y2=5.75u; |
| 581 |
dot(1); dot(2); dot(3); |
| 582 |
endchar; |
| 583 |
|
| 584 |
iff known chars.math_therefore: |
| 585 |
bskchar "Therefore"; |
| 586 |
beginchar(chars.math_therefore,13u#,asc_height#,0); uni "0x2234"; |
| 587 |
adjust_fit(0,0); |
| 588 |
pickup tiny.nib; |
| 589 |
.5w=.5[x1,x3]; lft x1=u+.5dot_size; |
| 590 |
y1=y3; bot y1=.5dot_size; z2-z1=(z3-z1) rotated 60; |
| 591 |
dot(1); dot(2); dot(3); |
| 592 |
endchar; |
| 593 |
|
| 594 |
iff known chars.math_because: |
| 595 |
bskchar "Because"; |
| 596 |
beginchar(chars.math_because,13u#,asc_height#,0); uni "0x2235"; |
| 597 |
adjust_fit(0,0); |
| 598 |
pickup tiny.nib; |
| 599 |
.5w=.5[x1,x3]; lft x1=u+.5dot_size; |
| 600 |
y1=y3; bot y2=.5dot_size; z2-z1=(z3-z1) rotated -60; |
| 601 |
dot(1); dot(2); dot(3); |
| 602 |
endchar; |
| 603 |
|
| 604 |
iff known chars.sign_tri_colon: |
| 605 |
bskchar "Triangular colon"; |
| 606 |
beginchar(chars.sign_tri_colon,4.5u#,x_height#,0); uni "0x02D0"; |
| 607 |
adjust_fit(0,0); |
| 608 |
pickup tiny.nib; |
| 609 |
oblu:=.15dot_size; |
| 610 |
x1=x2=.5w; top y1=h; bot y2=0; |
| 611 |
penpos1(dot_size,0); penpos2(dot_size,0); |
| 612 |
penpos1'(dot_size,90); penpos2'(dot_size,-90); |
| 613 |
z1'r=z1; z2'r=z2; |
| 614 |
filldraw obl(1'l,1l,1r)---obl(1r,1'l,1l)---obl(1l,1r,1'l)---cycle; |
| 615 |
filldraw obl(2'l,2l,2r)---obl(2r,2'l,2l)---obl(2l,2r,2'l)---cycle; |
| 616 |
penlabels(1,1',2,2'); |
| 617 |
endchar; |
| 618 |
|
| 619 |
iff known chars.sign_tri_colon_half: |
| 620 |
bskchar "Half triangular colon"; |
| 621 |
beginchar(chars.sign_tri_colon_half,4.5u#,x_height#,0); uni "0x02D1"; |
| 622 |
adjust_fit(0,0); |
| 623 |
pickup tiny.nib; |
| 624 |
oblu:=.15dot_size; |
| 625 |
x1=.5w; top y1=h; |
| 626 |
penpos1(dot_size,0); penpos1'(dot_size,90); |
| 627 |
z1'r=z1; |
| 628 |
filldraw obl(1'l,1l,1r)---obl(1r,1'l,1l)---obl(1l,1r,1'l)---cycle; |
| 629 |
penlabels(1,1'); |
| 630 |
endchar; |
| 631 |
|
| 632 |
iff known chars.sign_semicolon: |
| 633 |
bskchar "Semicolon"; |
| 634 |
beginchar(chars.sign_semicolon,4.5u#,x_height#,comma_depth#); uni "0x003B"; |
| 635 |
adjust_fit(0,0); |
| 636 |
pickup tiny.nib; |
| 637 |
x1=x2; x2=.5w-.5hair; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 638 |
dot(1); comma(2,dot_size,.5hair,d); |
| 639 |
endchar; |
| 640 |
|
| 641 |
iff known chars.math_semicolon_fat: |
| 642 |
bskchar "Fat white semicolon"; |
| 643 |
beginchar(chars.math_semicolon_fat,4.5u#,x_height#,comma_depth#); uni "0x2A3E"; |
| 644 |
adjust_fit(0,0); |
| 645 |
pickup tiny.nib; |
| 646 |
{{ save dot_size; dot_size:=2.5u; |
| 647 |
x1=x2; x2=.5w-.5hair; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 648 |
dot(1); comma(2,dot_size,.5hair,d); |
| 649 |
infill fullcircle scaled (dot_size-rule_thickness+.5currentbreadth) shifted z1; |
| 650 |
infill fullcircle scaled (dot_size-rule_thickness+.5currentbreadth) shifted z2; |
| 651 |
}}; |
| 652 |
endchar; |
| 653 |
|
| 654 |
iff known chars.math_semicolon_fat_big: |
| 655 |
bskchar "Fat big white semicolon"; |
| 656 |
beginchar(chars.math_semicolon_fat_big,5.5u#,v_center(asc_height#)); uni "0x2A1F"; |
| 657 |
adjust_fit(0,0); |
| 658 |
pickup tiny.nib; |
| 659 |
{{ numeric old_comma; old_comma:=comma_depth; |
| 660 |
save dot_size; dot_size:=3u; comma_depth:=1.5old_comma; |
| 661 |
x1=x2; x2=.5w-.5hair; top y1=h-.5dot_size; bot y2=-d+comma_depth; |
| 662 |
dot(1); comma(2,dot_size,hair,comma_depth); |
| 663 |
infill fullcircle scaled (dot_size-rule_thickness+.5currentbreadth) shifted z1; |
| 664 |
infill fullcircle scaled (dot_size-rule_thickness+.5currentbreadth) shifted z2; |
| 665 |
}}; |
| 666 |
endchar; |
| 667 |
|
| 668 |
iff known chars.sign_semicolon_rev: |
| 669 |
bskchar "Reversed semicolon"; |
| 670 |
beginchar(chars.sign_semicolon_rev,4.5u#,x_height#,comma_depth#); uni "0x204F"; |
| 671 |
adjust_fit(0,0); |
| 672 |
pickup tiny.nib; |
| 673 |
x1=x2; x2=.5w+.5hair; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 674 |
dot(1); turn_comma(2,dot_size,.5hair,d); |
| 675 |
endchar; |
| 676 |
|
| 677 |
iff known chars.sign_commacolon: |
| 678 |
bskchar "Commacolon"; |
| 679 |
beginchar(chars.sign_commacolon,4.5u#,x_height#,comma_depth#); uni "non"; |
| 680 |
adjust_fit(0,0); |
| 681 |
pickup tiny.nib; |
| 682 |
x1=x2; x2=.5w-.5hair; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 683 |
comma(1,dot_size,.5hair,d); comma(2,dot_size,.5hair,d); |
| 684 |
endchar; |
| 685 |
|
| 686 |
iff known chars.sign_ammoc_comma: |
| 687 |
bskchar "Ammoc above comma"; |
| 688 |
beginchar(chars.sign_ammoc_comma,4.5u#,x_height#,comma_depth#); uni "non"; |
| 689 |
adjust_fit(0,0); |
| 690 |
pickup tiny.nib; |
| 691 |
x1=x2; x2=.5w-.5hair; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 692 |
comma(2,dot_size,.5hair,d); ammoc(1,dot_size,.5hair,d); |
| 693 |
endchar; |
| 694 |
|
| 695 |
iff known chars.sign_commas_joined: |
| 696 |
bskchar "Two joined commas"; |
| 697 |
beginchar(chars.sign_commas_joined,4.5u#,x_height#,comma_depth#); uni "non"; |
| 698 |
adjust_fit(0,0); |
| 699 |
pickup tiny.nib; |
| 700 |
path p[]; |
| 701 |
oblu:=.6dot_size; |
| 702 |
x1=.5w-.5hair=x2; top y1=h-.5dot_size; bot y2=.5dot_size; |
| 703 |
if square_dots: |
| 704 |
else: |
| 705 |
penpos1'(dot_size,0); penpos1''(dot_size,90); z1'=z1''=z1; |
| 706 |
penpos2'(dot_size,180); penpos2''(dot_size,-90); z2'=z2''=z2; |
| 707 |
z1'''=(x1'r+hair,y1''l); z1~=.5[z1,z1'l]+comma_depth*down; |
| 708 |
z2'''=(x2'r-hair,y2''l); z2~=.5[z2,z2'l]+comma_depth*up; |
| 709 |
z3~=.5[z1~,z2~]; |
| 710 |
p0:=z1'r{up}..z1''r{left}..{down}z1'l..{right}z1''l..cycle; |
| 711 |
p1:=point 3.5 of p0{direction 3.5 of p0 rotated -120}..z3~; |
| 712 |
p2:=z2'r{down}..z2''r{right}..{up}z2'l..{left}z2''l..cycle; |
| 713 |
p3:=point 3.5 of p2{direction 3.5 of p2 rotated -120}..z3~; |
| 714 |
filldraw z3~..z1'''..subpath (1.5,rundy(p0,3.5).zpet) of p0 |
| 715 |
..subpath(rundy(p1,(0,.4dot_size)),infinity) of p1..z2''' |
| 716 |
..subpath (1.5,rundy(p2,3.5).zpet) of p2 |
| 717 |
..subpath(rundy(p3,(0,.4dot_size)),infinity) of p3&cycle; |
| 718 |
labels(1,1''',1~,2,2''',2~,3~); penlabels(1',1'',2',2''); |
| 719 |
fi |
| 720 |
endchar; |
| 721 |
|
| 722 |
iff known chars.sign_exclamation: |
| 723 |
bskchar "Exclamation point"; |
| 724 |
beginchar(chars.sign_exclamation,5u#,asc_height#,0); uni "0x0021"; |
| 725 |
adjust_fit(punct_fit#,0); |
| 726 |
pickup tiny.nib; |
| 727 |
bot z1=(.5w,.5dot_size); dot(1); |
| 728 |
penpos2(dot_size,0); pos3(hair,0); x2=x3=x1; |
| 729 |
y2=h-.5stem; bot y3=dot_size+stem; y3r:=y3r+.5hair; |
| 730 |
filldraw z2l---z3l..{.5[z2,z2r]-z3r}z3r..{z2r-z3r}z2r..cycle; |
| 731 |
penlabels(2,3); |
| 732 |
endchar; |
| 733 |
|
| 734 |
iff known chars.sign_exclamation_double: |
| 735 |
bskchar "Double exclamation point"; |
| 736 |
beginchar(chars.sign_exclamation_double,8u#,asc_height#,0); uni "0x203C"; |
| 737 |
adjust_fit(0,0); |
| 738 |
pickup tiny.nib; |
| 739 |
penpos2(dot_size,0); pos3(hair,0); |
| 740 |
penpos5(dot_size,0); pos6(hair,0); |
| 741 |
bot y1=bot y4=.5dot_size; .5[x1,x4]=.5w; x1=2.5u; |
| 742 |
x2=x3=x1; x4=x5=x6; |
| 743 |
y2=y5=h-.5stem; bot y3=bot y6=dot_size+stem; y3r:=y6r:=y3r+.5hair; |
| 744 |
filldraw z2l---z3l..{.5[z2,z2r]-z3r}z3r..{z2r-z3r}z2r..cycle; |
| 745 |
filldraw z5l---z6l..{.5[z5,z5r]-z6r}z6r..{z5r-z6r}z5r..cycle; |
| 746 |
dot(1); dot(4); |
| 747 |
penlabels(2,3,4,5); |
| 748 |
endchar; |
| 749 |
|
| 750 |
iff known chars.sign_spanish_shriek: |
| 751 |
bskchar "Spanish open exclamation point"; |
| 752 |
beginchar(chars.sign_spanish_shriek,5u#,asc_height#-desc_depth#,desc_depth#); uni "0x00A1"; |
| 753 |
adjust_fit(0,0); |
| 754 |
pickup tiny.nib; |
| 755 |
top z1=(.5w,h-.5dot_size); dot(1); |
| 756 |
penpos2(dot_size,0); pos3(hair,0); x2=x3=x1; |
| 757 |
y2=-d+.5stem; top y3=h-dot_size-stem; y3r:=y3r-.5hair; |
| 758 |
filldraw z2l---z3l..{.5[z2,z2r]-z3r}z3r..{z2r-z3r}z2r..cycle; |
| 759 |
penlabels(2,3); |
| 760 |
endchar; |
| 761 |
|
| 762 |
iff known chars.sign_equals: |
| 763 |
bskchar "Equals sign"; |
| 764 |
compute_spread(.45x_height#,.55x_height#); |
| 765 |
beginchar(chars.sign_equals,13u#,v_center(spread#+rule_thickness#)); uni "0x003D"; |
| 766 |
adjust_fit(0,0); |
| 767 |
pickup tiny.nib; |
| 768 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 769 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 770 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 771 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; top y1r=h; |
| 772 |
filldraw bskrule(1,2,hair,0); |
| 773 |
filldraw bskrule(4,3,hair,0); |
| 774 |
penlabels(1,2,3,4); |
| 775 |
endchar; |
| 776 |
|
| 777 |
iff known chars.math_equals_double: |
| 778 |
bskchar "Double equals sign"; |
| 779 |
compute_spread(.45x_height#,.55x_height#); |
| 780 |
beginchar(chars.math_equals_double,23u#,v_center(spread#+rule_thickness#)); uni "0x2A75"; |
| 781 |
adjust_fit(0,0); |
| 782 |
pickup tiny.nib; |
| 783 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 784 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 785 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 786 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 787 |
lft x1=u; rt x6=w-u; x3=x1; x4=x2; x5=x7; x6=x8; .5[x2,x5]=.5w; x5-x2=2.5rule_thickness; |
| 788 |
y1=y2=y5=y6; y3=y4=y7=y8; .5[y1,y3]=math_axis; top y1r=h; |
| 789 |
filldraw bskrule(1,2,hair,0); |
| 790 |
filldraw bskrule(4,3,hair,0); |
| 791 |
filldraw bskrule(5,6,hair,0); |
| 792 |
filldraw bskrule(8,7,hair,0); |
| 793 |
penlabels(1,2,3,4,5,6,7,8); |
| 794 |
endchar; |
| 795 |
|
| 796 |
iff known chars.math_equals_triple: |
| 797 |
bskchar "Triple equals sign"; |
| 798 |
compute_spread(.45x_height#,.55x_height#); |
| 799 |
beginchar(chars.math_equals_triple,32u#,v_center(spread#+rule_thickness#)); uni "0x2A76"; |
| 800 |
adjust_fit(0,0); |
| 801 |
pickup tiny.nib; |
| 802 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 803 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 804 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 805 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 806 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 807 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 808 |
lft x1=u; rt x10=w-u; x3=x1; x4=x2; x5=x7; x6=x8; x9=x11; x10=x12; |
| 809 |
x5-x2=x9-x6=2.5rule_thickness; .5[x5,x6]=.5w; x2-x1=x6-x5; |
| 810 |
y1=y2=y5=y6=y9=y10; y3=y4=y7=y8=y11=y12; .5[y1,y3]=math_axis; top y1r=h; |
| 811 |
filldraw bskrule(1,2,hair,0); |
| 812 |
filldraw bskrule(4,3,hair,0); |
| 813 |
filldraw bskrule(5,6,hair,0); |
| 814 |
filldraw bskrule(8,7,hair,0); |
| 815 |
filldraw bskrule(9,10,hair,0); |
| 816 |
filldraw bskrule(12,11,hair,0); |
| 817 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12); |
| 818 |
endchar; |
| 819 |
|
| 820 |
iff known chars.sign_circled_equals: |
| 821 |
bskchar "Equals sign in circle"; |
| 822 |
compute_spread(.45x_height#,.55x_height#); |
| 823 |
beginchar(chars.sign_circled_equals,17u#,v_center(14u#)); uni "non"; |
| 824 |
adjust_fit(0,0); |
| 825 |
pickup tiny.nib; |
| 826 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 827 |
pos13(rule_thickness,90); pos14(rule_thickness,90); |
| 828 |
lft x6=u; x2=w-x6; y2=math_axis; top y8=h; |
| 829 |
lft x11=3u; x12+x11=w; x13=x11; x14=x12; |
| 830 |
y11=y12; y13=y14; .5[y11,y13]=y2; y11-y13=spread; |
| 831 |
circle_points(rule_thickness); |
| 832 |
filldraw draw_circle.l; |
| 833 |
infill draw_circle.r; |
| 834 |
filldraw bskrule(11,12,hair,0); |
| 835 |
filldraw bskrule(14,13,hair,0); |
| 836 |
penlabels(11,12,13,14); |
| 837 |
endchar; |
| 838 |
|
| 839 |
iff known chars.sign_neq: |
| 840 |
bskchar "Not equals sign"; |
| 841 |
compute_spread(.45x_height#,.55x_height#); |
| 842 |
beginchar(chars.sign_neq,13u#,v_center(.75(body_height#+desc_depth#))); uni "0x2260"; |
| 843 |
adjust_fit(0,0); |
| 844 |
pickup tiny.nib; oblu.more:=2f_obl; |
| 845 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 846 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 847 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 848 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 849 |
top rt z5=(w-2u,h); top lft z6=(2u,-d); |
| 850 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 851 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 852 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 853 |
z1'=whatever[z5l,z6l]=whatever[z1r,z2r]; |
| 854 |
z2'=whatever[z5r,z6r]=whatever[z1r,z2r]; |
| 855 |
z3'=whatever[z5r,z6r]=whatever[z1l,z2l]; |
| 856 |
z4'=whatever[z5r,z6r]=whatever[z3r,z4r]; |
| 857 |
z5'=whatever[z5r,z6r]=whatever[z3l,z4l]; |
| 858 |
z6'=whatever[z5l,z6l]=whatever[z3l,z4l]; |
| 859 |
z7'=whatever[z5l,z6l]=whatever[z3r,z4r]; |
| 860 |
z8'=whatever[z5l,z6l]=whatever[z1l,z2l]; |
| 861 |
filldraw z1r---obl(1',1r,5l)---z5l..z5rr---obl(2',5r,2r).more---z2r |
| 862 |
..z2ll---obl(3',2l,4')---obl(4',3',4r).more---z4r..z4l |
| 863 |
---obl(5',4l,6r)---z6r..z6ll---obl(6',6l,3l).more---z3ll |
| 864 |
..z3r---obl(7',3r,8')---obl(8',7',1l).more---z1l..cycle; |
| 865 |
penlabels(1,2,3,4,5,6); labels(2ll,3ll,5rr,6ll,1',2',3',4',5',6',7',8'); |
| 866 |
endchar; |
| 867 |
|
| 868 |
iff known chars.sign_neq_vert: |
| 869 |
bskchar "Not equals sign (vertical)"; |
| 870 |
compute_spread(.45x_height#,.55x_height#); |
| 871 |
beginchar(chars.sign_neq_vert,13u#,v_center(.6(body_height#+desc_depth#))); uni "non"; |
| 872 |
adjust_fit(0,0); |
| 873 |
pickup tiny.nib; |
| 874 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 875 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 876 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 877 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 878 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 879 |
top y5=h; bot y6=-d; x5=x6=.5w; |
| 880 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 881 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 882 |
z1'=whatever[z5l,z6l]=whatever[z1r,z2r]; |
| 883 |
z2'=whatever[z5r,z6r]=whatever[z1r,z2r]; |
| 884 |
z3'=whatever[z5r,z6r]=whatever[z1l,z2l]; |
| 885 |
z4'=whatever[z5r,z6r]=whatever[z3r,z4r]; |
| 886 |
z5'=whatever[z5r,z6r]=whatever[z3l,z4l]; |
| 887 |
z6'=whatever[z5l,z6l]=whatever[z3l,z4l]; |
| 888 |
z7'=whatever[z5l,z6l]=whatever[z3r,z4r]; |
| 889 |
z8'=whatever[z5l,z6l]=whatever[z1l,z2l]; |
| 890 |
filldraw z1r---obl(1',1r,5l)---z5l..z5rr---obl(2',5r,2r)---z2r |
| 891 |
..z2ll---obl(3',2l,4')---obl(4',3',4r)---z4r..z4l |
| 892 |
---obl(5',4l,6r)---z6r..z6ll---obl(6',6l,3l)---z3ll |
| 893 |
..z3r---obl(7',3r,8')---obl(8',7',1l)---z1l..cycle; |
| 894 |
penlabels(1,2,3,4,5,6); labels(2ll,3ll,5rr,6ll,1',2',3',4',5',6',7',8'); |
| 895 |
endchar; |
| 896 |
|
| 897 |
iff known chars.math_equals_circle: |
| 898 |
bskchar "Equals circle sign"; |
| 899 |
compute_spread(.45x_height#,.55x_height#); |
| 900 |
beginchar(chars.math_equals_circle,13u#,1.5spread#+2rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x2257"; |
| 901 |
adjust_fit(0,0); |
| 902 |
pickup tiny.nib; |
| 903 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 904 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 905 |
pos5(rule_thickness,270); pos6(rule_thickness,0); |
| 906 |
pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 907 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 908 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; bot y3l=-d; |
| 909 |
x5=x7=.5[x6,x8]=.5w; top y5l=h; bot y7l=top y1r+1.5rule_thickness; y6=y8=.5[y5,y7]; x8-x6=y5-y7; |
| 910 |
filldraw bskrule(1,2,hair,0); |
| 911 |
filldraw bskrule(4,3,hair,0); |
| 912 |
filldraw z5l{left}..{down}z6l..{right}z7l..{up}z8l..cycle; |
| 913 |
infill z5r{left}..{down}z6r..{right}z7r..{up}z8r..cycle; |
| 914 |
penlabels(1,2,3,4,5,6,7,8); |
| 915 |
endchar; |
| 916 |
|
| 917 |
iff known chars.math_equals_triangle: |
| 918 |
bskchar "Equals sign with triangle"; |
| 919 |
compute_spread(.45x_height#,.55x_height#); |
| 920 |
beginchar(chars.math_equals_triangle,13u#,1.5spread#+2rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x225C"; |
| 921 |
adjust_fit(0,0); |
| 922 |
pickup tiny.nib; |
| 923 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 924 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 925 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 926 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; bot y3l=-d; |
| 927 |
x7=.5[x5,x6]=.5w; x6-x5=1.5(y7-y5); |
| 928 |
bot y5=bot y6=top y1r+1.5rule_thickness; top y7=h+o; |
| 929 |
y5'=y6'=y5+(rule_thickness-currentbreadth); |
| 930 |
x5'-x5=x6-x6'=(rule_thickness-currentbreadth)/cosd(angle(z7-z5)); |
| 931 |
z7'=z6'+whatever*(z7-z6)=z5'+whatever*(z7-z5); |
| 932 |
filldraw bskrule(1,2,hair,0); |
| 933 |
filldraw bskrule(4,3,hair,0); |
| 934 |
filldraw obl(5,7,6)---obl(6,5,7)---obl(7,6,5)---cycle; |
| 935 |
oblu:=2oblu; |
| 936 |
infill obl(5',7',6')---obl(6',5',7')---obl(7',6',5')---cycle; |
| 937 |
penlabels(1,2,3,4); labels(5,5',6,6',7,7',8,8'); |
| 938 |
endchar; |
| 939 |
|
| 940 |
iff known chars.math_corresponds: |
| 941 |
bskchar "Corresponds to sign"; |
| 942 |
compute_spread(.45x_height#,.55x_height#); |
| 943 |
beginchar(chars.math_corresponds,13u#,1.5spread#+2rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x2258"; |
| 944 |
adjust_fit(0,0); |
| 945 |
pickup tiny.nib; |
| 946 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 947 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 948 |
lft x9=u; x10+x9=w; x11=x9; x12=x10; |
| 949 |
y9=y10; y11=y12; .5[y9,y11]=math_axis; bot y11l=-d; |
| 950 |
x8=.5w; top y8=h-.5rule_thickness; y4=y9; y8-y4=.9(x2-x6); |
| 951 |
circle_points(rule_thickness); |
| 952 |
filldraw bskrule(9,10,hair,0); |
| 953 |
filldraw bskrule(12,11,hair,0); |
| 954 |
filldraw subpath(-2,2) of (draw_circle.l)..subpath(-2,2) of reverse (draw_circle.r)..cycle; |
| 955 |
penlabels(9,10,11,12); labels(5,5',6,6',7,7',8,8'); |
| 956 |
endchar; |
| 957 |
|
| 958 |
iff known chars.math_equals_corresponds: |
| 959 |
bskchar "Corresponds to (estimates) sign"; |
| 960 |
compute_spread(.45x_height#,.55x_height#); |
| 961 |
beginchar(chars.math_equals_corresponds,13u#,1.5spread#+2rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x2259"; |
| 962 |
adjust_fit(0,0); |
| 963 |
pickup tiny.nib; |
| 964 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 965 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 966 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 967 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; bot y3l=-d; |
| 968 |
x7=.5[x5,x6]=.5w; x6-x5=1.75(y7-y5); |
| 969 |
bot y5=bot y6=top y1r+1.5rule_thickness; top y7=h+o; |
| 970 |
y5'=y6'=y5; |
| 971 |
x5'-x5=x6-x6'=(rule_thickness-currentbreadth)/cosd(angle(z7-z5)); |
| 972 |
z7'=z6'+whatever*(z7-z6)=z5'+whatever*(z7-z5); |
| 973 |
filldraw bskrule(1,2,hair,0); |
| 974 |
filldraw bskrule(4,3,hair,0); |
| 975 |
filldraw z6---obl(7,6,5)---z5..z5'---obl(7',5',6')---z6'..cycle; |
| 976 |
penlabels(1,2,3,4); labels(5,5',6,6',7,7',8,8'); |
| 977 |
endchar; |
| 978 |
|
| 979 |
iff known chars.math_equiangular: |
| 980 |
bskchar "Equiangular to sign"; |
| 981 |
compute_spread(.45x_height#,.55x_height#); |
| 982 |
beginchar(chars.math_equiangular,13u#,1.5spread#+2rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x225A"; |
| 983 |
adjust_fit(0,0); |
| 984 |
pickup tiny.nib; |
| 985 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 986 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 987 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 988 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; bot y3l=-d; |
| 989 |
x7=.5[x5,x6]=.5w; x6-x5=1.75(y7-y5); |
| 990 |
top y5=top y6=h-o; y7=top y1r+1.5rule_thickness-o; |
| 991 |
y5'=y6'=y5; |
| 992 |
x5'-x5=x6-x6'=(rule_thickness-currentbreadth)/cosd(angle(z7-z5)); |
| 993 |
z7'=z6'+whatever*(z7-z6)=z5'+whatever*(z7-z5); |
| 994 |
filldraw bskrule(1,2,hair,0); |
| 995 |
filldraw bskrule(4,3,hair,0); |
| 996 |
filldraw z6---obl(7,6,5)---z5..z5'---obl(7',5',6')---z6'..cycle; |
| 997 |
penlabels(1,2,3,4); labels(5,5',6,6',7,7',8,8'); |
| 998 |
endchar; |
| 999 |
|
| 1000 |
iff known chars.math_equals_asterisk: |
| 1001 |
bskchar "Equals-and-asterisk sign"; |
| 1002 |
compute_spread(.45x_height#,.55x_height#); |
| 1003 |
beginchar(chars.math_equals_asterisk,13u#,1.5spread#+3rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x2A6E"; |
| 1004 |
adjust_fit(0,0); |
| 1005 |
pickup tiny.nib; oblu:=2oblu; |
| 1006 |
numeric vast; path p; |
| 1007 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 1008 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 1009 |
lft x2=u; x3+x2=w; x4=x2; x5=x3; |
| 1010 |
y2=y3; y4=y5; .5[y2,y4]=math_axis; bot y4l=-d; |
| 1011 |
z0=(.5w,.5[y2,h]+rule_thickness); vast=.8stem; |
| 1012 |
pos1(1.3rule_thickness,0); x1=x0; |
| 1013 |
top y1=h; p:=z0---z1r{dir120}..z1l---z0; |
| 1014 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1015 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1016 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 1017 |
filldraw bskrule(2,3,hair,0); |
| 1018 |
filldraw bskrule(5,4,hair,0); |
| 1019 |
penlabels(1,2,3,4,5); labels(0); |
| 1020 |
endchar; |
| 1021 |
|
| 1022 |
iff known chars.math_equals_star: |
| 1023 |
bskchar "Equals-and-star sign"; |
| 1024 |
compute_spread(.45x_height#,.55x_height#); |
| 1025 |
beginchar(chars.math_equals_star,13u#,1.5spread#+3rule_thickness#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x225B"; |
| 1026 |
adjust_fit(0,0); |
| 1027 |
pickup tiny.nib; oblu:=2oblu; |
| 1028 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 1029 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 1030 |
lft x6=u; x7+x6=w; x8=x6; x9=x7; |
| 1031 |
y6=y7; y8=y9; .5[y6,y8]=math_axis; bot y8l=-d; |
| 1032 |
z0=(.5w,.5[y6,h]+rule_thickness); |
| 1033 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 1034 |
forsuffixes i=2,3,4,5: |
| 1035 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 1036 |
endfor |
| 1037 |
forsuffixes i=11,12,13,14,15: |
| 1038 |
z[i]=z0; pos.i(curve,72(i-1)); |
| 1039 |
endfor |
| 1040 |
z[105]=whatever[z5l,z15l]=whatever[z1r,z11r]; |
| 1041 |
for i=1 upto 4: |
| 1042 |
z[100+i]=whatever[z[i].l,z[i+10].l]=whatever[z[i+1].r,z[i+11].r]; |
| 1043 |
endfor; |
| 1044 |
filldraw z1l---obl(101,1l,2r)---z2r..z2l---obl(102,2l,3r)---z3r..z3l |
| 1045 |
---obl(103,3l,4r)---z4r..z4l---obl(104,4l,5r)---z5r..z5l |
| 1046 |
---obl(105,5l,1r)---z1r..cycle; |
| 1047 |
filldraw bskrule(6,7,hair,0); |
| 1048 |
filldraw bskrule(9,8,hair,0); |
| 1049 |
penlabels(1,2,3,4,5,6,7,8,9,11,12,13,14,15); labels(0,101,102,103,104,105); |
| 1050 |
endchar; |
| 1051 |
|
| 1052 |
iff known chars.math_equals_dot: |
| 1053 |
bskchar "Equals-and-dot sign"; |
| 1054 |
compute_spread(.45x_height#,.55x_height#); |
| 1055 |
beginchar(chars.math_equals_dot,13u#,.5spread#+2rule_thickness#+dot_size#+math_axis#,.5spread#+.5rule_thickness#-math_axis#); uni "0x2250"; |
| 1056 |
adjust_fit(0,0); |
| 1057 |
pickup tiny.nib; |
| 1058 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1059 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1060 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1061 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 1062 |
x5=.5w; top y5=h+o; |
| 1063 |
filldraw bskrule(1,2,hair,0); |
| 1064 |
filldraw bskrule(4,3,hair,0); |
| 1065 |
dot(5); |
| 1066 |
penlabels(1,2,3,4); |
| 1067 |
endchar; |
| 1068 |
|
| 1069 |
iff known chars.math_equals_dot_below: |
| 1070 |
bskchar "Equals-and-dot-below sign"; |
| 1071 |
compute_spread(.45x_height#,.55x_height#); |
| 1072 |
beginchar(chars.math_equals_dot_below,13u#,.5spread#+.5rule_thickness#+dot_size#+math_axis#,.5spread#+2rule_thickness#+dot_size#-math_axis#); uni "0x2A66"; |
| 1073 |
adjust_fit(0,0); |
| 1074 |
pickup tiny.nib; |
| 1075 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1076 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1077 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1078 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 1079 |
x5=.5w; bot y5=-d-o; |
| 1080 |
filldraw bskrule(1,2,hair,0); |
| 1081 |
filldraw bskrule(4,3,hair,0); |
| 1082 |
dot(5); |
| 1083 |
penlabels(1,2,3,4); |
| 1084 |
endchar; |
| 1085 |
|
| 1086 |
iff known chars.math_equals_dots: |
| 1087 |
bskchar "Equals-and-dots sign"; |
| 1088 |
compute_spread(.45x_height#,.55x_height#); |
| 1089 |
beginchar(chars.math_equals_dots,13u#,v_center(2spread#+rule_thickness#+2dot_size#)); uni "0x2251"; |
| 1090 |
adjust_fit(0,0); |
| 1091 |
pickup tiny.nib; |
| 1092 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1093 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1094 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1095 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; y1-y3=spread; |
| 1096 |
.5[x5,x6]=.5w; top y5=h+o-.5dot_size; x5=x6; |
| 1097 |
filldraw bskrule(1,2,hair,0); |
| 1098 |
filldraw bskrule(4,3,hair,0); |
| 1099 |
dot(5); dot(6); |
| 1100 |
penlabels(1,2,3,4); |
| 1101 |
endchar; |
| 1102 |
|
| 1103 |
iff known chars.math_equals_dot_rl: |
| 1104 |
bskchar "Dottted (right-left) equals sign"; |
| 1105 |
compute_spread(.45x_height#,.55x_height#); |
| 1106 |
beginchar(chars.math_equals_dot_rl,13u#,v_center(2spread#+rule_thickness#+2dot_size#)); uni "0x2253"; |
| 1107 |
adjust_fit(0,0); |
| 1108 |
pickup tiny.nib; |
| 1109 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1110 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1111 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1112 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; y1-y3=spread; |
| 1113 |
.5[x5,x6]=.5w; top y5=h+o-.5dot_size; lft x6=x3+.5dot_size; |
| 1114 |
filldraw bskrule(1,2,hair,0); |
| 1115 |
filldraw bskrule(4,3,hair,0); |
| 1116 |
dot(5); dot(6); |
| 1117 |
penlabels(1,2,3,4); |
| 1118 |
endchar; |
| 1119 |
|
| 1120 |
iff known chars.math_equals_dot_lr: |
| 1121 |
bskchar "Dotted (left-right) equals sign"; |
| 1122 |
compute_spread(.45x_height#,.55x_height#); |
| 1123 |
beginchar(chars.math_equals_dot_lr,13u#,v_center(2spread#+rule_thickness#+2dot_size#)); uni "0x2252"; |
| 1124 |
adjust_fit(0,0); |
| 1125 |
pickup tiny.nib; |
| 1126 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1127 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1128 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1129 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; y1-y3=spread; |
| 1130 |
.5[x5,x6]=.5w; top y5=h+o-.5dot_size; lft x5=x1+.5dot_size; |
| 1131 |
filldraw bskrule(1,2,hair,0); |
| 1132 |
filldraw bskrule(4,3,hair,0); |
| 1133 |
dot(5); dot(6); |
| 1134 |
penlabels(1,2,3,4); |
| 1135 |
endchar; |
| 1136 |
|
| 1137 |
iff known chars.math_equals_dot_ttbb: |
| 1138 |
bskchar "Four-dotted top-bottom equals sign"; |
| 1139 |
compute_spread(.45x_height#,.55x_height#); |
| 1140 |
beginchar(chars.math_equals_dot_ttbb,13u#,v_center(2spread#+rule_thickness#+2dot_size#)); uni "0x2A77"; |
| 1141 |
adjust_fit(0,0); |
| 1142 |
pickup tiny.nib; |
| 1143 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1144 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1145 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1146 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y7]=math_axis; y1-y3=spread; y7=y8; |
| 1147 |
.5[x5,x6]=.5w; x6-x5=.5(x2-x1); x5=x7; x6=x8; top y5=top y6=h+o-.5dot_size; |
| 1148 |
filldraw bskrule(1,2,hair,0); |
| 1149 |
filldraw bskrule(4,3,hair,0); |
| 1150 |
dot(5); dot(6); dot(7); dot(8); |
| 1151 |
penlabels(1,2,3,4); |
| 1152 |
endchar; |
| 1153 |
|
| 1154 |
iff known chars.math_colon_equals: |
| 1155 |
bskchar "Equals sign after colon"; |
| 1156 |
compute_spread(.45x_height#,.55x_height#); |
| 1157 |
beginchar(chars.math_colon_equals,15u#+dot_size#,v_center(spread#+rule_thickness#)); uni "0x2254"; |
| 1158 |
adjust_fit(0,0); |
| 1159 |
pickup tiny.nib; |
| 1160 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1161 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1162 |
lft x1=3u+dot_size; rt x2=w-u; x3=x1; x4=x2; |
| 1163 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; top y1r=h; |
| 1164 |
x5=x6=u+.5dot_size; top y5-bot y6=x_height-dot_size; |
| 1165 |
filldraw bskrule(1,2,hair,0); |
| 1166 |
filldraw bskrule(4,3,hair,0); |
| 1167 |
dot(5); dot(6); |
| 1168 |
penlabels(1,2,3,4); |
| 1169 |
endchar; |
| 1170 |
|
| 1171 |
iff known chars.math_colon_double_equals: |
| 1172 |
bskchar "Equals sign after double colon"; |
| 1173 |
compute_spread(.45x_height#,.55x_height#); |
| 1174 |
beginchar(chars.math_colon_double_equals,17u#+2dot_size#,v_center(spread#+rule_thickness#)); uni "0x2A74"; |
| 1175 |
adjust_fit(0,0); |
| 1176 |
pickup tiny.nib; |
| 1177 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1178 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1179 |
lft x1=5u+2dot_size; rt x2=w-u; x3=x1; x4=x2; |
| 1180 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; top y1r=h; |
| 1181 |
x5=x6=u+.5dot_size; top y5-bot y6=x_height-dot_size; x7=x8=.5[x5,x1]; y7=y5; y8=y6; |
| 1182 |
filldraw bskrule(1,2,hair,0); |
| 1183 |
filldraw bskrule(4,3,hair,0); |
| 1184 |
dot(5); dot(6); dot(7); dot(8); |
| 1185 |
penlabels(1,2,3,4); |
| 1186 |
endchar; |
| 1187 |
|
| 1188 |
iff known chars.math_equals_colon: |
| 1189 |
bskchar "Equals sign before colon"; |
| 1190 |
compute_spread(.45x_height#,.55x_height#); |
| 1191 |
beginchar(chars.math_equals_colon,15u#+dot_size#,v_center(spread#+rule_thickness#)); uni "0x2255"; |
| 1192 |
adjust_fit(0,0); |
| 1193 |
pickup tiny.nib; |
| 1194 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1195 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1196 |
lft x1=u; rt x2=w-3u-dot_size; x3=x1; x4=x2; |
| 1197 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y6]=math_axis; top y1r=h; |
| 1198 |
x5=x6=w-u-.5dot_size; top y5-bot y6=x_height-dot_size; |
| 1199 |
filldraw bskrule(1,2,hair,0); |
| 1200 |
filldraw bskrule(4,3,hair,0); |
| 1201 |
dot(5); dot(6); |
| 1202 |
penlabels(1,2,3,4); |
| 1203 |
endchar; |
| 1204 |
|
| 1205 |
iff known chars.math_equals_parallel: |
| 1206 |
bskchar "Equals and parallel to sign"; |
| 1207 |
compute_spread(.45x_height#,.55x_height#); |
| 1208 |
beginchar(chars.math_equals_parallel,13u#,v_center(.75(body_height#+desc_depth#))); uni "0x22D5"; |
| 1209 |
adjust_fit(0,0); |
| 1210 |
pickup tiny.nib; |
| 1211 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1212 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1213 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 1214 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 1215 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1216 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 1217 |
top y5=top y7=h; bot y6=bot y8=-d; x5=x6; x7=x8=x5+max(3curve,3u); .5[x5,x7]=.5w; |
| 1218 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 1219 |
bskpoints(5,6,rule_thickness,rule_thickness); bskpoints(8,7,rule_thickness,rule_thickness); |
| 1220 |
z1'=whatever[z5l,z6l]=whatever[z1r,z2r]; |
| 1221 |
z2'=whatever[z5r,z6r]=whatever[z1r,z2r]; |
| 1222 |
z3'=whatever[z5r,z6r]=whatever[z1l,z2l]; |
| 1223 |
z4'=whatever[z5r,z6r]=whatever[z3r,z4r]; |
| 1224 |
z5'=whatever[z5r,z6r]=whatever[z3l,z4l]; |
| 1225 |
z6'=whatever[z5l,z6l]=whatever[z3l,z4l]; |
| 1226 |
z7'=whatever[z5l,z6l]=whatever[z3r,z4r]; |
| 1227 |
z8'=whatever[z5l,z6l]=whatever[z1l,z2l]; |
| 1228 |
z9'=whatever[z7l,z8l]=whatever[z1r,z2r]; |
| 1229 |
z10'=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 1230 |
z11'=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 1231 |
z12'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 1232 |
z13'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 1233 |
z14'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 1234 |
z15'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 1235 |
z16'=whatever[z7l,z8l]=whatever[z1l,z2l]; |
| 1236 |
filldraw z1r---obl(1',1r,5l)---z5l..z5rr---obl(2',5r,9')---obl(9',2',7l)---z7ll..z7r |
| 1237 |
---obl(10',7r,2r)---z2r..z2ll---obl(11',2l,12')---obl(12',11',4r)---z4r..z4l |
| 1238 |
---obl(13',4l,8r)---z8rr..z8l---obl(14',8l,5')---obl(5',4l,6r)---z6r..z6ll |
| 1239 |
---obl(6',6l,3l)---z3ll..z3r---obl(7',3r,8')---obl(8',7',1l)---z1l..cycle; |
| 1240 |
infill obl(3',16',4')---obl(4',3',15')---obl(15',4',16')---obl(16',15',3')---cycle; |
| 1241 |
penlabels(1,2,3,4,5,6,7,8); |
| 1242 |
labels(2ll,3ll,5rr,6ll,,7ll,8rr,1',2',3',4',5',6',7',8',9',10',11',12',13',14',15',16'); |
| 1243 |
endchar; |
| 1244 |
|
| 1245 |
iff known chars.math_equals_sl_parallel: |
| 1246 |
bskchar "Equals and slanted parallel to sign"; |
| 1247 |
compute_spread(.45x_height#,.55x_height#); |
| 1248 |
beginchar(chars.math_equals_sl_parallel,13u#,v_center(.75(body_height#+desc_depth#))); uni "0x29E3"; |
| 1249 |
adjust_fit(0,0); |
| 1250 |
pickup tiny.nib; |
| 1251 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1252 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 1253 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 1254 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 1255 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 1256 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=spread; |
| 1257 |
top y5=top y7=h; bot y6=bot y8=-d; x5-x6=x7-x8=x7-x5=max(3curve,3u); .5[x7,x6]=.5w; |
| 1258 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 1259 |
bskpoints(5,6,rule_thickness,rule_thickness); bskpoints(8,7,rule_thickness,rule_thickness); |
| 1260 |
z1'=whatever[z5l,z6l]=whatever[z1r,z2r]; |
| 1261 |
z2'=whatever[z5r,z6r]=whatever[z1r,z2r]; |
| 1262 |
z3'=whatever[z5r,z6r]=whatever[z1l,z2l]; |
| 1263 |
z4'=whatever[z5r,z6r]=whatever[z3r,z4r]; |
| 1264 |
z5'=whatever[z5r,z6r]=whatever[z3l,z4l]; |
| 1265 |
z6'=whatever[z5l,z6l]=whatever[z3l,z4l]; |
| 1266 |
z7'=whatever[z5l,z6l]=whatever[z3r,z4r]; |
| 1267 |
z8'=whatever[z5l,z6l]=whatever[z1l,z2l]; |
| 1268 |
z9'=whatever[z7l,z8l]=whatever[z1r,z2r]; |
| 1269 |
z10'=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 1270 |
z11'=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 1271 |
z12'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 1272 |
z13'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 1273 |
z14'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 1274 |
z15'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 1275 |
z16'=whatever[z7l,z8l]=whatever[z1l,z2l]; |
| 1276 |
filldraw z1r---obl(1',1r,5l)---z5l..z5rr---obl(2',5r,9')---obl(9',2',7l)---z7ll..z7r |
| 1277 |
---obl(10',7r,2r)---z2r..z2ll---obl(11',2l,12')---obl(12',11',4r)---z4r..z4l |
| 1278 |
---obl(13',4l,8r)---z8rr..z8l---obl(14',8l,5')---obl(5',4l,6r)---z6r..z6ll |
| 1279 |
---obl(6',6l,3l)---z3ll..z3r---obl(7',3r,8')---obl(8',7',1l)---z1l..cycle; |
| 1280 |
infill obl(3',16',4')---obl(4',3',15')---obl(15',4',16')---obl(16',15',3')---cycle; |
| 1281 |
penlabels(1,2,3,4,5,6,7,8); |
| 1282 |
labels(2ll,3ll,5rr,6ll,,7ll,8rr,1',2',3',4',5',6',7',8',9',10',11',12',13',14',15',16'); |
| 1283 |
endchar; |
| 1284 |
|
| 1285 |
iff known chars.math_bow: |
| 1286 |
bskchar "Bow sign"; |
| 1287 |
compute_spread(.45x_height#,.55x_height#); |
| 1288 |
beginchar(chars.math_bow,11u#,v_center(spread#)); uni "non"; |
| 1289 |
adjust_fit(0,0); |
| 1290 |
pickup tiny.nib; |
| 1291 |
x8=.5w; top y8=h; y2=-d; y8-y4=.9(x2-x6); |
| 1292 |
circle_points(rule_thickness); |
| 1293 |
filldraw subpath(-2,2) of (draw_circle.l)..subpath(-2,2) of reverse (draw_circle.r)..cycle; |
| 1294 |
penlabels(9,10,11,12); labels(5,5',6,6',7,7',8,8'); |
| 1295 |
endchar; |
| 1296 |
|
| 1297 |
iff known chars.sign_slash: |
| 1298 |
bskchar "Slash"; |
| 1299 |
beginchar(chars.sign_slash,10u#,body_height#,desc_depth#); uni "0x002F"; |
| 1300 |
adjust_fit(0,0); |
| 1301 |
pickup rule.nib; |
| 1302 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 1303 |
pickup tiny.nib; |
| 1304 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1305 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1306 |
penlabels(1,2); |
| 1307 |
endchar; |
| 1308 |
|
| 1309 |
iff known chars.math_slash_double: |
| 1310 |
bskchar "Double slash"; |
| 1311 |
beginchar(chars.math_slash_double,13u#,body_height#,desc_depth#); uni "0x2AFD"; |
| 1312 |
adjust_fit(0,0); |
| 1313 |
pickup rule.nib; |
| 1314 |
top rt z1=(w-4u,h); bot lft z2=(u,-d); |
| 1315 |
z3-z1=z4-z2=(3u,0); |
| 1316 |
pickup tiny.nib; |
| 1317 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1318 |
pos3(rule_thickness,angle(z2-z1)+90); pos4(rule_thickness,angle(z2-z1)+90); |
| 1319 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1320 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 1321 |
penlabels(1,2,3,4); |
| 1322 |
endchar; |
| 1323 |
|
| 1324 |
iff known chars.math_slash_triple: |
| 1325 |
bskchar "Triple slash operator"; |
| 1326 |
beginchar(chars.math_slash_triple,16u#,v_center(10/6dh#)); uni "0x2AFB"; |
| 1327 |
adjust_fit(0,0); |
| 1328 |
pickup rule.nib; |
| 1329 |
top rt z1=(w-7u,h); bot lft z2=(u,-d); |
| 1330 |
z5-z3=z3-z1=z6-z4=z4-z2=(3u,0); |
| 1331 |
pickup tiny.nib; |
| 1332 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1333 |
pos3(rule_thickness,angle(z2-z1)+90); pos4(rule_thickness,angle(z2-z1)+90); |
| 1334 |
pos5(rule_thickness,angle(z2-z1)+90); pos6(rule_thickness,angle(z2-z1)+90); |
| 1335 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1336 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 1337 |
filldraw bskrule(6,5,rule_thickness,rule_thickness); |
| 1338 |
penlabels(1,2,3,4,5,6); |
| 1339 |
endchar; |
| 1340 |
|
| 1341 |
iff known chars.sign_backslash: |
| 1342 |
bskchar "Backslash sign"; |
| 1343 |
beginchar(chars.sign_backslash,10u#,body_height#,desc_depth#); uni "0x005C"; |
| 1344 |
adjust_fit(0,0); |
| 1345 |
pickup rule.nib; |
| 1346 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 1347 |
pickup tiny.nib; |
| 1348 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1349 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1350 |
penlabels(1,2); |
| 1351 |
endchar; |
| 1352 |
|
| 1353 |
iff known chars.math_division_integer: |
| 1354 |
bskchar "Integer division symbol"; |
| 1355 |
beginarithchar(chars.math_division_integer); uni "non"; |
| 1356 |
adjust_fit(0,0); |
| 1357 |
pickup rule.nib; |
| 1358 |
top lft z1=(2u,x_height); bot y2=-o; x2=w-x1; |
| 1359 |
pickup tiny.nib; |
| 1360 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1361 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1362 |
penlabels(1,2); |
| 1363 |
endchar; |
| 1364 |
|
| 1365 |
iff known chars.sign_slash_frac: |
| 1366 |
bskchar "Fraction slash"; |
| 1367 |
beginchar(chars.sign_slash_frac,2u#,body_height#,paren_depth#); uni "0x2044"; |
| 1368 |
adjust_fit(0,0); |
| 1369 |
pickup rule.nib; |
| 1370 |
top rt z1=(4u,h); bot lft z2=(-4u,-d); |
| 1371 |
pickup tiny.nib; |
| 1372 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1373 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1374 |
penlabels(1,2); |
| 1375 |
endchar; |
| 1376 |
|
| 1377 |
iff known chars.math_line_45: |
| 1378 |
bskchar "45 degree angle line"; |
| 1379 |
beginchar(chars.math_line_45,asc_height#+asc_depth#,asc_height#,asc_depth#); uni "non"; |
| 1380 |
adjust_fit(0,0); |
| 1381 |
pickup rule.nib; |
| 1382 |
bot y1=-d; .5[y1,y2]=math_axis; lft x1=0; |
| 1383 |
z2=z1+whatever*dir45; |
| 1384 |
pickup tiny.nib; |
| 1385 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1386 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1387 |
penlabels(1,2); |
| 1388 |
endchar; |
| 1389 |
|
| 1390 |
iff known chars.math_line_135: |
| 1391 |
bskchar "135 degree angle line"; |
| 1392 |
beginchar(chars.math_line_135,asc_height#+asc_depth#,asc_height#,asc_depth#); uni "non"; |
| 1393 |
adjust_fit(0,0); |
| 1394 |
pickup rule.nib; |
| 1395 |
bot y1=-d; .5[y1,y2]=math_axis; rt x1=w; |
| 1396 |
z2=z1+whatever*dir135; |
| 1397 |
pickup tiny.nib; |
| 1398 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1399 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1400 |
penlabels(1,2); |
| 1401 |
endchar; |
| 1402 |
|
| 1403 |
iff known chars.math_dijkstra: |
| 1404 |
bskchar "Dijkstra choice"; |
| 1405 |
beginchar(chars.math_dijkstra,7u#,v_center(asc_height#)); uni "0x2AFE"; |
| 1406 |
adjust_fit(0,0); |
| 1407 |
oblu.more:=2oblu; |
| 1408 |
pickup rule.nib; |
| 1409 |
top y1=h; bot y2=-d; x1=x2=.5w; |
| 1410 |
pickup tiny.nib; |
| 1411 |
pos1(rule_thickness+4u,0); pos2(rule_thickness+4u,0); |
| 1412 |
y1'r=y1'l=y1r-rule_thickness+currentbreadth; |
| 1413 |
z1'=z1l+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated -90); |
| 1414 |
z1''=z1r+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated 90); |
| 1415 |
y2'l=y2'r=y2+(y1l-y1'l); |
| 1416 |
z1'r=z1'+whatever*unitvector(z1l-z2l); z1'l=z1''+whatever*unitvector(z1r-z2r); |
| 1417 |
z2'l=z1'l+whatever*unitvector(z1l-z2l); z2'r=z1'r+whatever*unitvector(z1r-z2r); |
| 1418 |
filldraw z1l---obl(2l,1l,2r)---obl(2r,2l,1r)---obl(1r,2r,1l)---cycle; |
| 1419 |
infill obl(1'l,1'r,2'l).more---obl(2'l,1'l,2'r)---obl(2'r,2'l,1'r).more---obl(1'r,2'r,1'l)---cycle; |
| 1420 |
penlabels(1,1',2,2'); |
| 1421 |
endchar; |
| 1422 |
|
| 1423 |
iff known chars.math_dijkstra_nary: |
| 1424 |
bskchar "N-ary dijkstra choice"; |
| 1425 |
beginchar(chars.math_dijkstra_nary,8u#,v_center(10/6dh#)); uni "0x2AFF"; |
| 1426 |
adjust_fit(0,0); |
| 1427 |
oblu.more:=2oblu; |
| 1428 |
pickup rule.nib; |
| 1429 |
top y1=h; bot y2=-d; x1=x2=.5w; |
| 1430 |
pickup tiny.nib; |
| 1431 |
pos1(stem+4u,0); pos2(stem+4u,0); |
| 1432 |
y1'r=y1'l=y1r-stem+currentbreadth; |
| 1433 |
z1'=z1l+(stem-currentbreadth)*unitvector((z1-z2) rotated -90); |
| 1434 |
z1''=z1r+(stem-currentbreadth)*unitvector((z1-z2) rotated 90); |
| 1435 |
y2'l=y2'r=y2+(y1l-y1'l); |
| 1436 |
z1'r=z1'+whatever*unitvector(z1l-z2l); z1'l=z1''+whatever*unitvector(z1r-z2r); |
| 1437 |
z2'l=z1'l+whatever*unitvector(z1l-z2l); z2'r=z1'r+whatever*unitvector(z1r-z2r); |
| 1438 |
filldraw z1l---obl(2l,1l,2r)---obl(2r,2l,1r)---obl(1r,2r,1l)---cycle; |
| 1439 |
infill obl(1'l,1'r,2'l).more---obl(2'l,1'l,2'r)---obl(2'r,2'l,1'r).more---obl(1'r,2'r,1'l)---cycle; |
| 1440 |
penlabels(1,1',2,2'); |
| 1441 |
endchar; |
| 1442 |
|
| 1443 |
iff known chars.math_slash_fat: |
| 1444 |
bskchar "Fat slash"; |
| 1445 |
beginchar(chars.math_slash_fat,10u#,body_height#,desc_depth#); uni "non"; |
| 1446 |
adjust_fit(0,0); |
| 1447 |
oblu.more:=2oblu; |
| 1448 |
pickup rule.nib; |
| 1449 |
top rt z1=(w+2u,h); bot lft z2=(3u,-d); |
| 1450 |
pickup tiny.nib; |
| 1451 |
pos1(rule_thickness+4u,0); pos2(rule_thickness+4u,0); |
| 1452 |
y1'r=y1'l=y1r-rule_thickness+currentbreadth; |
| 1453 |
z1'=z1l+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated -90); |
| 1454 |
z1''=z1r+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated 90); |
| 1455 |
y2'l=y2'r=y2+(y1l-y1'l); |
| 1456 |
z1'r=z1'+whatever*unitvector(z1l-z2l); z1'l=z1''+whatever*unitvector(z1r-z2r); |
| 1457 |
z2'l=z1'l+whatever*unitvector(z1l-z2l); z2'r=z1'r+whatever*unitvector(z1r-z2r); |
| 1458 |
filldraw z1l---obl(2l,1l,2r)---obl(2r,2l,1r)---obl(1r,2r,1l)---cycle; |
| 1459 |
infill obl(1'l,1'r,2'l).more---obl(2'l,1'l,2'r)---obl(2'r,2'l,1'r).more---obl(1'r,2'r,1'l)---cycle; |
| 1460 |
penlabels(1,1',2,2'); |
| 1461 |
endchar; |
| 1462 |
|
| 1463 |
iff known chars.math_backslash_fat: |
| 1464 |
bskchar "Fat backslash sign"; |
| 1465 |
beginchar(chars.math_backslash_fat,10u#,body_height#,desc_depth#); uni "non"; |
| 1466 |
adjust_fit(0,0); |
| 1467 |
oblu.more:=2oblu; |
| 1468 |
pickup rule.nib; |
| 1469 |
top lft z1=(-2u,h); bot rt z2=(w-3u,-d); |
| 1470 |
pickup tiny.nib; |
| 1471 |
pos1(rule_thickness+4u,0); pos2(rule_thickness+4u,0); |
| 1472 |
y1'r=y1'l=y1r-rule_thickness+currentbreadth; |
| 1473 |
z1'=z1l+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated -90); |
| 1474 |
z1''=z1r+(rule_thickness-currentbreadth)*unitvector((z1-z2) rotated 90); |
| 1475 |
y2'l=y2'r=y2+(y1l-y1'l); |
| 1476 |
z1'r=z1'+whatever*unitvector(z1l-z2l); z1'l=z1''+whatever*unitvector(z1r-z2r); |
| 1477 |
z2'l=z1'l+whatever*unitvector(z1l-z2l); z2'r=z1'r+whatever*unitvector(z1r-z2r); |
| 1478 |
filldraw z1l---obl(2l,1l,2r)---obl(2r,2l,1r)---obl(1r,2r,1l)---cycle; |
| 1479 |
infill obl(1'l,1'r,2'l)---obl(2'l,1'l,2'r).more---obl(2'r,2'l,1'r)---obl(1'r,2'r,1'l).more---cycle; |
| 1480 |
penlabels(1,1',2,2'); |
| 1481 |
endchar; |
| 1482 |
|
| 1483 |
iff known chars.math_backslash_double: |
| 1484 |
bskchar "Double backslash sign"; |
| 1485 |
beginchar(chars.math_backslash_double,10u#+max(3curve#,3u#),body_height#,desc_depth#); uni "non"; |
| 1486 |
adjust_fit(0,0); |
| 1487 |
pickup rule.nib; |
| 1488 |
top lft z1=(u,h); bot rt z4=(w-u,-d); |
| 1489 |
z3-z1=z4-z2=(max(3curve,3u),0); |
| 1490 |
pickup tiny.nib; |
| 1491 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 1492 |
pos3(rule_thickness,angle(z2-z1)+90); pos4(rule_thickness,angle(z2-z1)+90); |
| 1493 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 1494 |
filldraw bskrule(3,4,rule_thickness,rule_thickness); |
| 1495 |
penlabels(1,2,3,4); |
| 1496 |
endchar; |
| 1497 |
|
| 1498 |
iff known chars.sign_plus: |
| 1499 |
bskchar "Plus sign"; |
| 1500 |
beginarithchar(chars.sign_plus); uni "0x002B"; |
| 1501 |
pickup tiny.nib; |
| 1502 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1503 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1504 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1505 |
x3=x4=.5w; top y3=h; bot y4=-d; |
| 1506 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1507 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1508 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1509 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1510 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1511 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1512 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1513 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1514 |
endchar; |
| 1515 |
|
| 1516 |
iff known chars.math_plus_semicircle_left: |
| 1517 |
bskchar "Plus sign in left half circle"; |
| 1518 |
beginchar(chars.math_plus_semicircle_left,11u#,v_center(11u#)); uni "0x2A2D"; |
| 1519 |
adjust_fit(0,0); |
| 1520 |
pickup tiny.nib; |
| 1521 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 1522 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 1523 |
lft x6=u+.5rule_thickness; .5[x6,x2]=x11=x12=.5[x9,x10]=.5w+u; y8-y4=x2-x6; |
| 1524 |
lft x9=3u; y2=y9=y10=.5[y11,y12]=math_axis; y11-y12=x10-x9; |
| 1525 |
circle_points(rule_thickness); |
| 1526 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 1527 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 1528 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 1529 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 1530 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 1531 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 1532 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 1533 |
filldraw subpath(4,8) of (draw_circle.l)..reverse subpath(4,8) of (draw_circle.r)..cycle; |
| 1534 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 1535 |
endchar; |
| 1536 |
|
| 1537 |
iff known chars.math_plus_semicircle_right: |
| 1538 |
bskchar "Plus sign in right half circle"; |
| 1539 |
beginchar(chars.math_plus_semicircle_right,11u#,v_center(11u#)); uni "0x2A2E"; |
| 1540 |
adjust_fit(0,0); |
| 1541 |
pickup tiny.nib; |
| 1542 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 1543 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 1544 |
rt x2=w-u-.5rule_thickness; .5[x6,x2]=x11=x12=.5[x9,x10]=.5w-u; y8-y4=x2-x6; |
| 1545 |
lft x9=u; y2=y9=y10=.5[y11,y12]=math_axis; y11-y12=x10-x9; |
| 1546 |
circle_points(rule_thickness); |
| 1547 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 1548 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 1549 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 1550 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 1551 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 1552 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 1553 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 1554 |
filldraw subpath(0,4) of (draw_circle.l)..reverse subpath(0,4) of (draw_circle.r)..cycle; |
| 1555 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 1556 |
endchar; |
| 1557 |
|
| 1558 |
iff known chars.math_plus_dot: |
| 1559 |
bskchar "Plus sign with dot above"; |
| 1560 |
beginchar(chars.math_plus_dot,13u#,asc_height#,5.5u#-math_axis#); uni "0x2214"; |
| 1561 |
italcorr math_axis#*slant-.5u#; |
| 1562 |
adjust_fit(0,0); |
| 1563 |
pickup tiny.nib; |
| 1564 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1565 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1566 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1567 |
x3=x4=x9=.5w; top y3=5.5u+math_axis; bot y4=-d; |
| 1568 |
if h-.5dot_size<top y3+rule_thickness: y9=h; else: bot y9=h-.5dot_size;fi |
| 1569 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1570 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1571 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1572 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1573 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1574 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1575 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1576 |
dot(9); |
| 1577 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1578 |
endchar; |
| 1579 |
|
| 1580 |
iff known chars.math_plus_dot_below: |
| 1581 |
bskchar "Plus sign with dot below"; |
| 1582 |
beginchar(chars.math_plus_dot_below,13u#,5.5u#+math_axis#,.55desc_depth#); uni "0x2A25"; |
| 1583 |
italcorr math_axis#*slant-.5u#; |
| 1584 |
adjust_fit(0,0); |
| 1585 |
pickup tiny.nib; |
| 1586 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1587 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1588 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1589 |
x3=x4=x9=.5w; top y3=h; bot y4=math_axis-5.5u; |
| 1590 |
if -d+.5dot_size>bot y4-rule_thickness: y9=-d; else: top y9=-d+.5dot_size;fi |
| 1591 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1592 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1593 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1594 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1595 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1596 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1597 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1598 |
dot(9); |
| 1599 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1600 |
endchar; |
| 1601 |
|
| 1602 |
iff known chars.math_plus_hat: |
| 1603 |
bskchar "Plus sign with hat"; |
| 1604 |
beginchar(chars.math_plus_hat,13u#,asc_height#,5.5u#-math_axis#); uni "0x2A23"; |
| 1605 |
italcorr math_axis#*slant-.5u#; |
| 1606 |
adjust_fit(0,0); |
| 1607 |
pickup tiny.nib; |
| 1608 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1609 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1610 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1611 |
x3=x4=.5w; top y3=math_axis+5.5u; bot y4=-d; |
| 1612 |
x10=x3+o; |
| 1613 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1614 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1615 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1616 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1617 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1618 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1619 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1620 |
circumflex(9,10,11); |
| 1621 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1622 |
endchar; |
| 1623 |
|
| 1624 |
iff known chars.math_plus_tilde: |
| 1625 |
bskchar "Plus sign with tilde"; |
| 1626 |
beginchar(chars.math_plus_tilde,13u#,asc_height#,5.5u#-math_axis#); uni "0x2A24"; |
| 1627 |
italcorr math_axis#*slant-.5u#; |
| 1628 |
adjust_fit(0,0); |
| 1629 |
pickup tiny.nib; |
| 1630 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1631 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1632 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1633 |
x3=x4=.5w; top y3=math_axis+5.5u; bot y4=-d; |
| 1634 |
y9=y3+rule_thickness; y10=h; x9=3u; |
| 1635 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1636 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1637 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1638 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1639 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1640 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1641 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1642 |
tilde(9,10); |
| 1643 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1644 |
endchar; |
| 1645 |
|
| 1646 |
iff known chars.math_plus_tilde_below: |
| 1647 |
bskchar "Plus sign with tilde below"; |
| 1648 |
beginchar(chars.math_plus_tilde_below,13u#,5.5u#+math_axis#,.55desc_depth#); uni "0x2A26"; |
| 1649 |
italcorr math_axis#*slant-.5u#; |
| 1650 |
adjust_fit(0,0); |
| 1651 |
pickup tiny.nib; |
| 1652 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1653 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1654 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1655 |
x3=x4=.5w; top y3=h; bot y4=math_axis-5.5u; |
| 1656 |
y9=-d; y10=y4-rule_thickness; x9=3u; |
| 1657 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1658 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1659 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1660 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1661 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1662 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 1663 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 1664 |
tilde(9,10); |
| 1665 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 1666 |
endchar; |
| 1667 |
|
| 1668 |
iff known chars.math_plus_triangle: |
| 1669 |
bskchar "Plus sign with black triangle"; |
| 1670 |
beginarithchar(chars.math_plus_triangle); uni "0x2A28"; |
| 1671 |
pickup tiny.nib; |
| 1672 |
oblu.more:=2oblu; |
| 1673 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 1674 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 1675 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 1676 |
x3=x4=x11=.5[x9,x10]=.5w; top y3=h; bot y4=-d; |
| 1677 |
x10-x9=2(y11-y9)=w-7u; |
| 1678 |
y9=y10; y11=y1l; |
| 1679 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 1680 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 1681 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 1682 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 1683 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 1684 |
y12=y13=y9; x12=x4r; x13=x4l; |
| 1685 |
filldraw z1l---obl(5,1l,9).more---obl(9,5,13)---tobl(13,9,4l)---z4l..z4rr---tobl(12,4rr,10) |
| 1686 |
---obl(10,12,6)--obl(6,10,2l).more---z2ll..z2r---obl(7,2r,3r)---z3r..z3ll |
| 1687 |
---obl(8,3l,1r)---z1rr..cycle; |
| 1688 |
penlabels(1,2,3,4); labels(5,6,7,8,9,10,11,12,13); |
| 1689 |
endchar; |
| 1690 |
|
| 1691 |
iff known chars.math_plus_through_circ: |
| 1692 |
bskchar "Plus sign through circle"; |
| 1693 |
beginarithchar(chars.math_plus_through_circ); uni "non"; |
| 1694 |
italcorr math_axis#*slant-.5u#; |
| 1695 |
adjust_fit(0,0); |
| 1696 |
pickup tiny.nib; |
| 1697 |
path p[]; numeric tim[]; |
| 1698 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 1699 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 1700 |
.5[y8,y4]=math_axis; .5[x2,x6]=.5w; x2-x6=y8-y4=w-6u; |
| 1701 |
circle_points(rule_thickness); |
| 1702 |
lft x9=u; rt x10=w-u; y9=y10=math_axis; |
| 1703 |
x11=x12=x17=.5w; top y11=5.5u+math_axis; bot y12=-d; |
| 1704 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 1705 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 1706 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 1707 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 1708 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 1709 |
p0:=reverse (draw_circle.l); |
| 1710 |
p1:=reverse (draw_circle.r); |
| 1711 |
p2:=z9l---obl(13,9l,12l)---z12l; |
| 1712 |
p3:=z12rr---obl(14,12r,10l)---z10ll; |
| 1713 |
p4:=z10r---obl(15,10r,11r)---z11r; |
| 1714 |
p5:=z11ll---obl(16,11l,9r)---z9rr; |
| 1715 |
(tim0,tim1)=p0 intersectiontimes subpath(0,1) of p2; |
| 1716 |
(tim2,tim3-1)=p0 intersectiontimes subpath(1,infinity) of p2; |
| 1717 |
(tim4,tim5)=p0 intersectiontimes subpath(0,1) of p3; |
| 1718 |
(tim6,tim7-1)=p0 intersectiontimes subpath(1,infinity) of p3; |
| 1719 |
(tim8,tim9)=p0 intersectiontimes subpath(0,1) of p4; |
| 1720 |
(tim10,tim11-1)=p0 intersectiontimes subpath(1,infinity) of p4; |
| 1721 |
(tim12,tim13)=p0 intersectiontimes subpath(0,1) of p5; |
| 1722 |
(tim14,tim15-1)=p0 intersectiontimes subpath(1,infinity) of p5; |
| 1723 |
(tim16,tim17)=p1 intersectiontimes subpath(0,1) of p2; |
| 1724 |
(tim18,tim19-1)=p1 intersectiontimes subpath(1,infinity) of p2; |
| 1725 |
(tim20,tim21)=p1 intersectiontimes subpath(0,1) of p3; |
| 1726 |
(tim22,tim23-1)=p1 intersectiontimes subpath(1,infinity) of p3; |
| 1727 |
(tim24,tim25)=p1 intersectiontimes subpath(0,1) of p4; |
| 1728 |
(tim26,tim27-1)=p1 intersectiontimes subpath(1,infinity) of p4; |
| 1729 |
(tim28,tim29)=p1 intersectiontimes subpath(0,1) of p5; |
| 1730 |
(tim30,tim31-1)=p1 intersectiontimes subpath(1,infinity) of p5; |
| 1731 |
filldraw subpath(0,rundy(p2,tim1).zpet) of p2 |
| 1732 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 1733 |
..subpath(rundy(p2,tim3),infinity) of p2 |
| 1734 |
..subpath(0,rundy(p3,tim5).zpet) of p3 |
| 1735 |
..subpath(rundy(p0,tim4),rundy(p0,tim6).zpet) of p0 |
| 1736 |
..subpath(rundy(p3,tim7),infinity) of p3 |
| 1737 |
..subpath(0,rundy(p4,tim9).zpet) of p4 |
| 1738 |
..subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 1739 |
..subpath(rundy(p4,tim11),infinity) of p4 |
| 1740 |
..subpath(0,rundy(p5,tim13).zpet) of p5 |
| 1741 |
..subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0 |
| 1742 |
..subpath(rundy(p5,tim15),infinity) of p5..cycle; |
| 1743 |
infill subpath(rundy(p2,tim17),rundy(p2,tim19).zpet) of p2 |
| 1744 |
..subpath(rundy(p1,tim18).zpet,rundy(p1,tim16)) of p1..cycle; |
| 1745 |
infill subpath(rundy(p3,tim21),rundy(p3,tim23).zpet) of p3 |
| 1746 |
..subpath(rundy(p1,tim22).zpet,rundy(p1,tim20)) of p1..cycle; |
| 1747 |
infill subpath(rundy(p4,tim25),rundy(p4,tim27).zpet) of p4 |
| 1748 |
..subpath(rundy(p1,tim26).zpet,rundy(p1,tim24)) of p1..cycle; |
| 1749 |
infill subpath(rundy(p5,tim29),rundy(p5,tim31).zpet) of p5 |
| 1750 |
..subpath(rundy(p1,tim30).zpet,rundy(p1,tim28)) of p1..cycle; |
| 1751 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 1752 |
endchar; |
| 1753 |
|
| 1754 |
iff known chars.math_plus_circ: |
| 1755 |
bskchar "Plus sign with circle"; |
| 1756 |
beginchar(chars.math_plus_circ,13u#,asc_height#+2rule_thickness#,5.5u#-math_axis#); uni "0x2A22"; |
| 1757 |
italcorr math_axis#*slant-.5u#; |
| 1758 |
adjust_fit(0,0); |
| 1759 |
pickup tiny.nib; |
| 1760 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 1761 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 1762 |
bot y4=top 5.5u+math_axis+rule_thickness; top y8=h; .5[x2,x6]=.5w; x2-x6=y8-y4; |
| 1763 |
circle_points(rule_thickness); |
| 1764 |
filldraw draw_circle.l; |
| 1765 |
infill draw_circle.r; |
| 1766 |
lft x9=u; rt x10=w-u; y9=y10=math_axis; |
| 1767 |
x11=x12=x17=.5w; top y11=5.5u+math_axis; bot y12=-d; |
| 1768 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 1769 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 1770 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 1771 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 1772 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 1773 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 1774 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 1775 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 1776 |
endchar; |
| 1777 |
|
| 1778 |
iff known chars.sign_tilde: |
| 1779 |
bskchar "Tilde"; |
| 1780 |
beginchar(chars.sign_tilde,11u#,.3[asc_height#,x_height#],0); uni "0x007E"; |
| 1781 |
adjust_fit(0,0); |
| 1782 |
pickup tiny.nib; |
| 1783 |
numeric spread; spread:=3curve; |
| 1784 |
vlnka(0,1); |
| 1785 |
endchar; |
| 1786 |
|
| 1787 |
iff known chars.sign_tilde_low: |
| 1788 |
bskchar "Low lying tilde"; |
| 1789 |
beginchar(chars.sign_tilde_low,11u#,bar_height#,0); uni "non"; |
| 1790 |
adjust_fit(0,0); |
| 1791 |
pickup tiny.nib; |
| 1792 |
numeric spread; spread:=3curve; |
| 1793 |
bot y0=0; |
| 1794 |
vlnka(0,1); |
| 1795 |
endchar; |
| 1796 |
|
| 1797 |
iff known chars.sign_tilde_dash: |
| 1798 |
bskchar "Swung dash"; |
| 1799 |
beginchar(chars.sign_tilde_dash,13u#,x_height#,0); uni "0x2053"; |
| 1800 |
adjust_fit(0,0); |
| 1801 |
pickup tiny.nib; |
| 1802 |
numeric spread; spread:=3curve; |
| 1803 |
.5[y1,y0]=.5h; |
| 1804 |
vlnka(0,1); |
| 1805 |
endchar; |
| 1806 |
|
| 1807 |
iff known chars.sign_asterisk: |
| 1808 |
bskchar "Asterisk"; |
| 1809 |
beginchar(chars.sign_asterisk,8u#,body_height#,0); uni "0x002A"; |
| 1810 |
adjust_fit(0,0); |
| 1811 |
pickup tiny.nib; |
| 1812 |
numeric size, ast, vast; |
| 1813 |
path p; |
| 1814 |
z0=.5(w,h); ast:=3/4stem; vast=.55stem; |
| 1815 |
pos1(ast,0); x1=x0; |
| 1816 |
size=1/3h; if (size+.5ast)*cosd(30) > (lft w)-u-x0: |
| 1817 |
size:= (lft w-u-x0)/cosd(30)-.5ast; fi; |
| 1818 |
y1=y0+size; |
| 1819 |
p:=z0---z1r{dir120}..z1l---z0; |
| 1820 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1821 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1822 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 1823 |
labels(0); penlabels(1); |
| 1824 |
endchar; |
| 1825 |
|
| 1826 |
iff known chars.sign_asterisk_two: |
| 1827 |
bskchar "Two asterisks"; |
| 1828 |
beginchar(chars.sign_asterisk_two,8u#,body_height#,0); uni "0x2051"; |
| 1829 |
adjust_fit(0,0); |
| 1830 |
pickup tiny.nib; |
| 1831 |
numeric size, ast, vast; pair shf; |
| 1832 |
path p; |
| 1833 |
ast:=3/4stem; vast=.55stem; |
| 1834 |
pos1(ast,0); x1=x0=.5w; |
| 1835 |
size=1/3h; if (size+.5ast)*cosd(30) > (lft w)-u-x0: |
| 1836 |
size:= (lft w-u-x0)/cosd(30)-.5ast; fi; |
| 1837 |
y1=y0+size=h; shf:=(0,-y0+size); |
| 1838 |
p:=z0---z1r{dir120}..z1l---z0; |
| 1839 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1840 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1841 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 1842 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i) shifted shf .. endfor cycle; |
| 1843 |
labels(0); penlabels(1); |
| 1844 |
endchar; |
| 1845 |
|
| 1846 |
iff known chars.sign_asterism: |
| 1847 |
bskchar "Asterism"; |
| 1848 |
beginchar(chars.sign_asterism,15u#,body_height#,0); uni "0x2042"; |
| 1849 |
adjust_fit(0,0); |
| 1850 |
pickup tiny.nib; |
| 1851 |
numeric size, ast, vast; |
| 1852 |
path p; |
| 1853 |
ast:=3/4stem; vast=.55stem; size=1/3x_height; |
| 1854 |
pos1(ast,0); x1=x0=.5w; y1=y0+size=h; |
| 1855 |
p:=z0---z1r{dir120}..z1l---z0; |
| 1856 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1857 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1858 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 1859 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i) shifted (u-x0+size,-y0+size) .. endfor cycle; |
| 1860 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i) shifted (w-u-x0-size,-y0+size) .. endfor cycle; |
| 1861 |
labels(0); penlabels(1); |
| 1862 |
endchar; |
| 1863 |
|
| 1864 |
iff known chars.sign_asterisk_low: |
| 1865 |
bskchar "Low asterisk"; |
| 1866 |
beginchar(chars.sign_asterisk_low,7.5u#,x_height#,0); uni "0x204E"; |
| 1867 |
adjust_fit(0,0); |
| 1868 |
pickup tiny.nib; |
| 1869 |
numeric size, ast, vast; |
| 1870 |
path p; |
| 1871 |
ast:=3/4stem; vast=.55stem; |
| 1872 |
size=1/3x_height; |
| 1873 |
pos1(ast,0); |
| 1874 |
x1=x0=.5w; y1-size=y0=size; |
| 1875 |
p:=z0---z1r{dir120}..z1l---z0; |
| 1876 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1877 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1878 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 1879 |
labels(0); penlabels(1); |
| 1880 |
endchar; |
| 1881 |
|
| 1882 |
iff known chars.sign_flower_punct: |
| 1883 |
bskchar "Flower punctation"; |
| 1884 |
beginchar(chars.sign_flower_punct,11u#,x_height#,0); uni "0x2055"; |
| 1885 |
adjust_fit(0,0); |
| 1886 |
pickup tiny.nib; |
| 1887 |
numeric size, ast, vast; |
| 1888 |
path p; |
| 1889 |
z0=(.5w,.5h); vast=1.5u; |
| 1890 |
pos0(hair,0); pos1(u,0); x1=x0; |
| 1891 |
y1=h; |
| 1892 |
p:=z0r{up}..z1r{dir120}..{dir-120}z1l...{down}z0l; |
| 1893 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 1894 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 1895 |
filldraw for i=0, 45, 90, 135, 180, 225, 270, 315: p rotatedaround(z0,i).. endfor cycle; |
| 1896 |
labels(0); penlabels(1); |
| 1897 |
endchar; |
| 1898 |
|
| 1899 |
iff known chars.sign_hash: |
| 1900 |
bskchar "Number sign"; |
| 1901 |
beginchar(chars.sign_hash,13u#,body_height#,0); uni "0x0023"; |
| 1902 |
adjust_fit(0,0); |
| 1903 |
pickup tiny.nib; |
| 1904 |
path p; |
| 1905 |
x1r-x3r=x2l-x4l=.35w; rt x1r=w-3u; lft x4l=3u; |
| 1906 |
y1r=y3r=h; y2l=y4l=0; |
| 1907 |
lft x5-rule_thickness=lft x7=u; rt x6=rt x8+rule_thickness=w-u; |
| 1908 |
y5=y6; y7=y8; .5[y5,y7]=.5h; y5-y7=.55x_height; |
| 1909 |
numeric theta; theta=angle(z1r-z2l)+90; |
| 1910 |
pos1(rule_thickness,theta); pos2(rule_thickness,theta); |
| 1911 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 1912 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 1913 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 1914 |
bskpoints(2,1,rule_thickness,0); bskpoints(4,3,0,rule_thickness); |
| 1915 |
bskpoints(6,5,rule_thickness,0); bskpoints(8,7,0,rule_thickness); |
| 1916 |
y10=y11=y12=y5r; z10=whatever[z1r,z2r]; z11=whatever[z3l,z4l]; z12=whatever[z3r,z4r]; |
| 1917 |
y13=y5l; z13=whatever[z3r,z4r]; y14=y7r; z14=whatever[z3r,z4r]; |
| 1918 |
y15=y16=y17=y18=y7l; z15=whatever[z3r,z4r]; z16=whatever[z3l,z4l]; z17=whatever[z1r,z2r]; |
| 1919 |
y19=y8r; y20=y5l; z18=whatever[z2l,z1l]; z19=whatever[z1l,z2l]; z20=whatever[z1l,z2l]; |
| 1920 |
y21=y5r; z21=whatever[z1l,z2l]; |
| 1921 |
filldraw z1r---obl(10,1r,11)---obl(11,10,3l)---z3l..z3r---obl(12,3l,5r)---z5r..z5l |
| 1922 |
---obl(13,5l,14)---obl(14,13,7r)---z7r..z7l---obl(15,7l,4l)---z4rr..z4l |
| 1923 |
---obl(16,4l,17)---obl(17,16,2r)---z2r..z2l---obl(18,2l,8l)---z8l..z8r |
| 1924 |
---obl(19,8r,20)---obl(20,19,6l)---z6l..z6r---obl(21,6r,1r)---z1ll..cycle; |
| 1925 |
y0'=y0=y13; y0''=y0'''=y14; |
| 1926 |
z0=whatever[z1r,z2r]; z0'=whatever[z3l,z4l]; z0''=whatever[z3l,z4l]; z0'''=whatever[z1r,z2r]; |
| 1927 |
infill obl(0,0''',0')---obl(0',0,0'')---obl(0'',0',0''')---obl(0''',0'',0)---cycle; |
| 1928 |
penlabels(1,2,3,4,5,6,7,8); labels(0,0',0'',0''',10,11,12,13,14,15,16,17,18,19,20,21); |
| 1929 |
endchar; |
| 1930 |
|
| 1931 |
iff known chars.math_hash: |
| 1932 |
bskchar "Hash"; |
| 1933 |
beginchar(chars.math_hash,13u#,body_height#,0); uni "non"; |
| 1934 |
adjust_fit(0,0); |
| 1935 |
pickup tiny.nib; |
| 1936 |
path p; |
| 1937 |
x1r-x3r=x2l-x4l=.35w; x1=x2; .5[x1,x3]=.5w; |
| 1938 |
y1r=y3r=h; y2l=y4l=-d; |
| 1939 |
lft x5=lft x7=u; rt x6=rt x8=w-u; |
| 1940 |
y5=y6; y7=y8; .5[y5,y7]=.5(h-d); y5-y7=.55x_height; |
| 1941 |
numeric theta; theta=180; |
| 1942 |
pos1(rule_thickness,theta); pos2(rule_thickness,theta); |
| 1943 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 1944 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 1945 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 1946 |
bskpoints(2,1,rule_thickness,0); bskpoints(4,3,0,rule_thickness); |
| 1947 |
bskpoints(6,5,rule_thickness,0); bskpoints(8,7,0,rule_thickness); |
| 1948 |
y10=y11=y12=y5r; z10=whatever[z1r,z2r]; z11=whatever[z3l,z4l]; z12=whatever[z3r,z4r]; |
| 1949 |
y13=y5l; z13=whatever[z3r,z4r]; y14=y7r; z14=whatever[z3r,z4r]; |
| 1950 |
y15=y16=y17=y18=y7l; z15=whatever[z3r,z4r]; z16=whatever[z3l,z4l]; z17=whatever[z1r,z2r]; |
| 1951 |
y19=y8r; y20=y5l; z18=whatever[z2l,z1l]; z19=whatever[z1l,z2l]; z20=whatever[z1l,z2l]; |
| 1952 |
y21=y5r; z21=whatever[z1l,z2l]; |
| 1953 |
filldraw z1r---obl(10,1r,11)---obl(11,10,3l)---z3l..z3r---obl(12,3l,5r)---z5r..z5l |
| 1954 |
---obl(13,5l,14)---obl(14,13,7r)---z7r..z7l---obl(15,7l,4l)---z4rr..z4l |
| 1955 |
---obl(16,4l,17)---obl(17,16,2r)---z2r..z2l---obl(18,2l,8l)---z8l..z8r |
| 1956 |
---obl(19,8r,20)---obl(20,19,6l)---z6l..z6r---obl(21,6r,1r)---z1ll..cycle; |
| 1957 |
y0'=y0=y13; y0''=y0'''=y14; |
| 1958 |
z0=whatever[z1r,z2r]; z0'=whatever[z3l,z4l]; z0''=whatever[z3l,z4l]; z0'''=whatever[z1r,z2r]; |
| 1959 |
infill obl(0,0''',0')---obl(0',0,0'')---obl(0'',0',0''')---obl(0''',0'',0)---cycle; |
| 1960 |
penlabels(1,2,3,4,5,6,7,8); labels(0,0',0'',0''',10,11,12,13,14,15,16,17,18,19,20,21); |
| 1961 |
endchar; |
| 1962 |
|
| 1963 |
iff known chars.math_varhash: |
| 1964 |
bskchar "Hash---alternative"; |
| 1965 |
beginchar(chars.math_varhash,13u#,body_height#,0); uni "non"; |
| 1966 |
adjust_fit(0,0); |
| 1967 |
pickup tiny.nib; |
| 1968 |
path p; |
| 1969 |
x1r-x3r=x2l-x4l=.35w; rt x1r=w-u; lft x4l=u; |
| 1970 |
y1r=y3r=h; y2l=y4l=-d; |
| 1971 |
lft x5=lft x7=u; rt x6=rt x8=w-u; |
| 1972 |
y5=y6; y7=y8; .5[y5,y7]=.5(h-d); y5-y7=.55x_height; |
| 1973 |
numeric theta; theta=180; |
| 1974 |
pos1(rule_thickness,theta); pos2(rule_thickness,theta); |
| 1975 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 1976 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 1977 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 1978 |
bskpoints(2,1,rule_thickness,0); bskpoints(4,3,0,rule_thickness); |
| 1979 |
bskpoints(6,5,rule_thickness,0); bskpoints(8,7,0,rule_thickness); |
| 1980 |
y10=y11=y12=y5r; z10=whatever[z1r,z2r]; z11=whatever[z3l,z4l]; z12=whatever[z3r,z4r]; |
| 1981 |
y13=y5l; z13=whatever[z3r,z4r]; y14=y7r; z14=whatever[z3r,z4r]; |
| 1982 |
y15=y16=y17=y18=y7l; z15=whatever[z3r,z4r]; z16=whatever[z3l,z4l]; z17=whatever[z1r,z2r]; |
| 1983 |
y19=y8r; y20=y5l; z18=whatever[z2l,z1l]; z19=whatever[z1l,z2l]; z20=whatever[z1l,z2l]; |
| 1984 |
y21=y5r; z21=whatever[z1l,z2l]; |
| 1985 |
filldraw z1r---obl(10,1r,11)---obl(11,10,3l)---z3l..z3r---obl(12,3l,5r)---z5r..z5l |
| 1986 |
---obl(13,5l,14)---obl(14,13,7r)---z7r..z7l---obl(15,7l,4l)---z4rr..z4l |
| 1987 |
---obl(16,4l,17)---obl(17,16,2r)---z2r..z2l---obl(18,2l,8l)---z8l..z8r |
| 1988 |
---obl(19,8r,20)---obl(20,19,6l)---z6l..z6r---obl(21,6r,1r)---z1ll..cycle; |
| 1989 |
y0'=y0=y13; y0''=y0'''=y14; |
| 1990 |
z0=whatever[z1r,z2r]; z0'=whatever[z3l,z4l]; z0''=whatever[z3l,z4l]; z0'''=whatever[z1r,z2r]; |
| 1991 |
infill obl(0,0''',0')---obl(0',0,0'')---obl(0'',0',0''')---obl(0''',0'',0)---cycle; |
| 1992 |
penlabels(1,2,3,4,5,6,7,8); labels(0,0',0'',0''',10,11,12,13,14,15,16,17,18,19,20,21); |
| 1993 |
endchar; |
| 1994 |
|
| 1995 |
iff known chars.sign_zero_permile_sign: |
| 1996 |
bskchar "Zero for permile sign"; |
| 1997 |
beginchar(chars.sign_zero_permile_sign,7u#,body_height#,0); uni "non"; |
| 1998 |
adjust_fit(0,0); |
| 1999 |
pickup tiny.nib; |
| 2000 |
bot y1b.l=0; lft x1a.l=u; |
| 2001 |
zeroent(1,hair,stem); |
| 2002 |
endchar; |
| 2003 |
|
| 2004 |
iff known chars.sign_percent: |
| 2005 |
bskchar "Percent sign"; |
| 2006 |
beginchar(chars.sign_percent,15u#,body_height#,0); uni "0x0025"; |
| 2007 |
adjust_fit(0,0); |
| 2008 |
numeric theta; |
| 2009 |
pickup tiny.nib; |
| 2010 |
top y1d.r=h; lft x1a.l=u; |
| 2011 |
bot y2b.l=0; rt x2c.r=w-u; |
| 2012 |
top y4=h; bot y3=0; x3=3u; x4=w-3u; |
| 2013 |
theta:=angle(z4-z3)-90; |
| 2014 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 2015 |
zeroent(1,stem,hair); zeroent(2,hair,stem); |
| 2016 |
filldraw bskrule(3,4,rule_thickness,rule_thickness); |
| 2017 |
penlabels(3,4); |
| 2018 |
endchar; |
| 2019 |
|
| 2020 |
iff known chars.sign_abzueglich: |
| 2021 |
bskchar "Abzueglich sign"; |
| 2022 |
beginchar(chars.sign_abzueglich,8u#,body_height#,0); uni "0x2052"; |
| 2023 |
adjust_fit(0,0); |
| 2024 |
numeric theta; |
| 2025 |
pickup tiny.nib; |
| 2026 |
top y1=h-.5dot_size; lft x1=u+.5dot_size; |
| 2027 |
bot y2=.5dot_size; rt x2=w-u-.5dot_size; |
| 2028 |
top y4=h; bot y3=0; x3=u; x4=w-u; |
| 2029 |
theta:=angle(z4-z3)-90; |
| 2030 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 2031 |
dot(1); dot(2); |
| 2032 |
filldraw bskrule(3,4,rule_thickness,rule_thickness); |
| 2033 |
penlabels(3,4); |
| 2034 |
endchar; |
| 2035 |
|
| 2036 |
iff known chars.sign_permile: |
| 2037 |
bskchar "One per thousand sign"; |
| 2038 |
beginchar(chars.sign_permile,21u#,body_height#,0); uni "0x2030"; |
| 2039 |
adjust_fit(0,0); |
| 2040 |
numeric theta; |
| 2041 |
pickup tiny.nib; |
| 2042 |
top y1d.r=h; lft x1a.l=u; |
| 2043 |
bot y2b.l=bot y3b.l=0; |
| 2044 |
rt x2c.r=lft x3a.l-1.5u; rt x3c.r=w-u; |
| 2045 |
zeroent(1,if monospace: .7\\fi stem,hair); zeroent(3,hair,if monospace: .7\\fi stem); |
| 2046 |
zeroent(2,hair,if monospace: .7\\fi stem); |
| 2047 |
top y5=h; bot y4=0; x4=2u; x5=.5[x2c,x3a]; |
| 2048 |
theta:=angle(z5-z4)-90; |
| 2049 |
pos4(rule_thickness,theta); pos5(rule_thickness,theta); |
| 2050 |
filldraw bskrule(4,5,rule_thickness,rule_thickness); |
| 2051 |
penlabels(4,5); |
| 2052 |
endchar; |
| 2053 |
|
| 2054 |
iff known chars.sign_pertenthousand: |
| 2055 |
bskchar "One per ten thousand sign"; |
| 2056 |
beginchar(chars.sign_pertenthousand,27u#,body_height#,0); uni "0x2031"; |
| 2057 |
adjust_fit(0,0); |
| 2058 |
numeric theta; |
| 2059 |
pickup tiny.nib; |
| 2060 |
top y1d.r=h; lft x1a.l=u; |
| 2061 |
bot y2b.l=bot y3b.l=bot y4b.l=0; |
| 2062 |
rt x2c.r=lft x3a.l-1.5u; rt x3c.r=lft x4a.l-1.5u; rt x4c.r=w-u; |
| 2063 |
zeroent(1,if monospace: .7\\fi stem,hair); zeroent(4,hair,if monospace: .7\\fi stem); |
| 2064 |
zeroent(3,hair,if monospace: .7\\fi stem); zeroent(2,hair,if monospace: .7\\fi stem); |
| 2065 |
top y6=h; bot y5=0; x5=2u; x6=.5[x2c,x3a]; |
| 2066 |
theta:=angle(z6-z5)-90; |
| 2067 |
pos5(rule_thickness,theta); pos6(rule_thickness,theta); |
| 2068 |
filldraw bskrule(5,6,rule_thickness,rule_thickness); |
| 2069 |
penlabels(5,6); |
| 2070 |
endchar; |
| 2071 |
|
| 2072 |
iff known chars.sign_french_quotes_left: |
| 2073 |
bskchar "French quotes left"; |
| 2074 |
beginchar(chars.sign_french_quotes_left,9u#,x_height#,0); uni "0x00AB"; |
| 2075 |
adjust_fit(0,0); |
| 2076 |
pickup tiny.nib; |
| 2077 |
top y1=top y3=h; bot y1'=bot y3'=0; lft x2l=u; rt x3r=w-u; |
| 2078 |
bskfrench(1,2); bskfrench(3,4); |
| 2079 |
endchar; |
| 2080 |
|
| 2081 |
iff known chars.sign_french_quotes_right: |
| 2082 |
bskchar "French quotes right"; |
| 2083 |
beginchar(chars.sign_french_quotes_right,9u#,x_height#,0); uni "0x00BB"; |
| 2084 |
adjust_fit(0,0); |
| 2085 |
pickup tiny.nib; |
| 2086 |
top y1=top y3=h; bot y1'=bot y3'=0; rt x2r=w-u; lft x3l=u; |
| 2087 |
bskfrenchr(1,2); bskfrenchr(3,4); |
| 2088 |
endchar; |
| 2089 |
|
| 2090 |
iff known chars.sign_french_quote_left: |
| 2091 |
bskchar "French quote left"; |
| 2092 |
beginchar(chars.sign_french_quote_left,4.5u#,x_height#,0); uni "0x2039"; |
| 2093 |
adjust_fit(0,0); |
| 2094 |
pickup tiny.nib; |
| 2095 |
top y1=h; bot y1'=0; lft x2l=u; |
| 2096 |
bskfrench(1,2);; |
| 2097 |
endchar; |
| 2098 |
|
| 2099 |
iff known chars.sign_french_quote_right: |
| 2100 |
bskchar "French quote right"; |
| 2101 |
beginchar(chars.sign_french_quote_right,4.5u#,x_height#,0); uni "0x203A"; |
| 2102 |
adjust_fit(0,0); |
| 2103 |
pickup tiny.nib; |
| 2104 |
top y1=h; bot y1'=0; rt x2r=w-u; |
| 2105 |
bskfrenchr(1,2); |
| 2106 |
endchar; |
| 2107 |
|
| 2108 |
iff known chars.sign_blank_space: |
| 2109 |
bskchar "Blank-space sign"; |
| 2110 |
beginchar(chars.sign_blank_space,9.5u#,.5x_height#,.5desc_depth#); uni "0x2423"; |
| 2111 |
adjust_fit(0,0); |
| 2112 |
pickup tiny.nib; |
| 2113 |
pos1(hair,0); pos2(hair,0); pos3(hair,0); pos4(hair,0); |
| 2114 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 2115 |
x1l=x2l=u; x3r=x4r=w-x1l; |
| 2116 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 2117 |
y2r:=y3l:=y3+hair-currentbreadth; |
| 2118 |
filldraw z1l---obl(2l,1l,3)---obl(3r,2l,4r)---z4r..z4ll---obl(3l,4l,2r) |
| 2119 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 2120 |
penlabels(1,2,3,4); labels(2ll,3rr); |
| 2121 |
endchar; |
| 2122 |
|
| 2123 |
iff known chars.sign_straight_quote: |
| 2124 |
bskchar "Straight single quote"; |
| 2125 |
beginchar(chars.sign_straight_quote,4.5u#,asc_height#,0); uni "non"; |
| 2126 |
adjust_fit(0,0); |
| 2127 |
pickup tiny.nib; |
| 2128 |
pos1(dot_size,0); pos2(hair,0); |
| 2129 |
x1=x1'=x2=.5w; top y1'=h; y1'-y2=comma_depth; y1'-y1=.5dot_size; |
| 2130 |
filldraw z2r{up}...{up}z1r...z1'...z1l{down}...{down}z2l..cycle; |
| 2131 |
penlabels(1,2); labels(1'); |
| 2132 |
endchar; |
| 2133 |
|
| 2134 |
iff known chars.sign_straight_quote_base: |
| 2135 |
bskchar "Straight single quote on baseline"; |
| 2136 |
beginchar(chars.sign_straight_quote_base,4.5u#,.5dot_size#,comma_depth#); uni "non"; |
| 2137 |
adjust_fit(0,0); |
| 2138 |
pickup tiny.nib; |
| 2139 |
pos1(dot_size,0); pos2(hair,0); |
| 2140 |
x1=x1'=x2=.5w; top y1'=h; y1'-y2=comma_depth; y1'-y1=.5dot_size; |
| 2141 |
filldraw z2r{up}...{up}z1r...z1'...z1l{down}...{down}z2l..cycle; |
| 2142 |
penlabels(1,2); labels(1'); |
| 2143 |
endchar; |
| 2144 |
|
| 2145 |
iff known chars.sign_straight_quotes: |
| 2146 |
bskchar "Straight double quotes"; |
| 2147 |
beginchar(chars.sign_straight_quotes,8u#,asc_height#,0); uni "non"; |
| 2148 |
italcorr asc_height#*slant-u#; |
| 2149 |
adjust_fit(0,0); |
| 2150 |
pickup tiny.nib; |
| 2151 |
pos1(dot_size,0); pos2(hair,0); pos3(dot_size,0); pos4(hair,0); |
| 2152 |
x1=x1'=x2; top y1'=h; y1'-y2=comma_depth; y1'-y1=.5dot_size; |
| 2153 |
x3=x3'=x4; y3=y1; y3'=y1'; y4=y2; |
| 2154 |
.5[x1,x3]=.5w; lft x1l=1.5u; |
| 2155 |
filldraw z2r{up}...{up}z1r...z1'...z1l{down}...{down}z2l..cycle; |
| 2156 |
filldraw z4r{up}...{up}z3r...z3'...z3l{down}...{down}z4l..cycle; |
| 2157 |
penlabels(1,2,3,4); labels(1',3'); |
| 2158 |
endchar; |
| 2159 |
|
| 2160 |
iff known chars.sign_straight_quotes_base: |
| 2161 |
bskchar "Straight double quote on baseline"; |
| 2162 |
beginchar(chars.sign_straight_quotes_base,8u#,.5dot_size#,comma_depth#); uni "non"; |
| 2163 |
adjust_fit(0,0); |
| 2164 |
pickup tiny.nib; |
| 2165 |
pos1(dot_size,0); pos2(hair,0); pos3(dot_size,0); pos4(hair,0); |
| 2166 |
x1=x1'=x2; top y1'=h; y1'-y2=comma_depth; y1'-y1=.5dot_size; |
| 2167 |
x3=x3'=x4; y3=y1; y3'=y1'; y4=y2; |
| 2168 |
.5[x1,x3]=.5w; lft x1l=1.5u; |
| 2169 |
filldraw z2r{up}...{up}z1r...z1'...z1l{down}...{down}z2l..cycle; |
| 2170 |
filldraw z4r{up}...{up}z3r...z3'...z3l{down}...{down}z4l..cycle; |
| 2171 |
penlabels(1,2,3,4); labels(1',3'); |
| 2172 |
endchar; |
| 2173 |
|
| 2174 |
charscription(6u,x_height,0)( |
| 2175 |
pos1(stem,90); pos2(stem,90); |
| 2176 |
y1r=y2r=.6h; rt x2=w-u; |
| 2177 |
lft x1=.5u; |
| 2178 |
filldraw bskrule(1,2,hair,hair); |
| 2179 |
penlabels(1,2); |
| 2180 |
); |
| 2181 |
|
| 2182 |
iff known chars.sign_hyphen: |
| 2183 |
bskchar "Hyphen"; |
| 2184 |
beginchar(chars.sign_hyphen,6u#,x_height#,0); uni "0x002D"; |
| 2185 |
italcorr .5x_height#*slant-.5u#; |
| 2186 |
adjust_fit(0,0); |
| 2187 |
pickup tiny.nib; |
| 2188 |
usechar; |
| 2189 |
endchar; |
| 2190 |
|
| 2191 |
iff known chars.sign_hyphen_alt: |
| 2192 |
bskchar "Hyphen (at alternative char position)"; |
| 2193 |
beginchar(chars.sign_hyphen_alt,6u#,x_height#,0); uni "0x2010"; |
| 2194 |
italcorr .5x_height#*slant-.5u#; |
| 2195 |
adjust_fit(0,0); |
| 2196 |
pickup tiny.nib; |
| 2197 |
usechar; |
| 2198 |
endchar; |
| 2199 |
|
| 2200 |
iff known chars.sign_hyphen_soft: |
| 2201 |
bskchar "Soft hyphen"; |
| 2202 |
beginchar(chars.sign_hyphen_soft,6u#,x_height#,0); uni "0x00AD"; |
| 2203 |
italcorr .5x_height#*slant-.5u#; |
| 2204 |
adjust_fit(0,0); |
| 2205 |
pickup tiny.nib; |
| 2206 |
usechar; |
| 2207 |
endchar; |
| 2208 |
|
| 2209 |
iff known chars.sign_hyphenchar: |
| 2210 |
bskchar "Hyphenchar"; |
| 2211 |
beginchar(chars.sign_hyphenchar,3u#,x_height#,0); uni "non"; |
| 2212 |
italcorr .5x_height#*slant-.5u#; |
| 2213 |
adjust_fit(0,0); |
| 2214 |
pickup tiny.nib; |
| 2215 |
usechar; |
| 2216 |
endchar; |
| 2217 |
|
| 2218 |
charscription(6u,x_height,0)( |
| 2219 |
pos1(stem,90); pos2(stem,90); |
| 2220 |
pos3(stem,90); pos4(stem,90); |
| 2221 |
y1r=y2r=.6h; |
| 2222 |
y3r=y4r; y1l-y3r=.25x_height; |
| 2223 |
rt x2=w-u; |
| 2224 |
lft x1=.5u; x3=x1; x4=x2; |
| 2225 |
filldraw bskrule(1,2,hair,hair); |
| 2226 |
filldraw bskrule(3,4,hair,hair); |
| 2227 |
penlabels(1,2,3,4); |
| 2228 |
); |
| 2229 |
|
| 2230 |
iff known chars.sign_double_hyphen: |
| 2231 |
bskchar "Double hyphen"; |
| 2232 |
beginchar(chars.sign_double_hyphen,6u#,x_height#,0); uni "non"; |
| 2233 |
italcorr .5x_height#*slant-.5u#; |
| 2234 |
adjust_fit(0,0); |
| 2235 |
pickup tiny.nib; |
| 2236 |
usechar; |
| 2237 |
endchar; |
| 2238 |
|
| 2239 |
iff known chars.sign_double_hyphenchar: |
| 2240 |
bskchar "Double hyphenchar"; |
| 2241 |
beginchar(chars.sign_double_hyphenchar,3u#,x_height#,0); uni "non"; |
| 2242 |
italcorr .5x_height#*slant-.5u#; |
| 2243 |
adjust_fit(0,0); |
| 2244 |
pickup tiny.nib; |
| 2245 |
usechar; |
| 2246 |
endchar; |
| 2247 |
|
| 2248 |
iff known chars.sign_double_hyphen_obl: |
| 2249 |
bskchar "Oblique double hyphen"; |
| 2250 |
beginchar(chars.sign_double_hyphen_obl,6u#,x_height#,0); uni "0x2E17"; |
| 2251 |
italcorr .5x_height#*slant-.5u#; |
| 2252 |
adjust_fit(0,0); |
| 2253 |
pickup tiny.nib; |
| 2254 |
pos1(stem,90); pos2(stem,90); |
| 2255 |
pos3(stem,90); pos4(stem,90); |
| 2256 |
.5[y1r,y2r]=.6h; |
| 2257 |
y1l-y3r=y2l-y4r=2(y2r-y1r)=.25x_height; |
| 2258 |
rt x2=w-u; |
| 2259 |
lft x1=.5u; x3=x1; x4=x2; |
| 2260 |
filldraw bskrule(1,2,hair,hair); |
| 2261 |
filldraw bskrule(3,4,hair,hair); |
| 2262 |
penlabels(1,2,3,4); |
| 2263 |
endchar; |
| 2264 |
|
| 2265 |
iff known chars.sign_endash: |
| 2266 |
bskchar "En dash"; |
| 2267 |
beginchar(chars.sign_endash,9u#,x_height#,0); uni "0x2013"; |
| 2268 |
adjust_fit(0,0); |
| 2269 |
pickup tiny.nib; |
| 2270 |
pos1(hair,90); pos2(hair,90); |
| 2271 |
top y1r=top y2r=2/3h; |
| 2272 |
lft x1=if monospace: u else: 0 fi; x2=w-x1; |
| 2273 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2274 |
penlabels(1,2); endchar; |
| 2275 |
|
| 2276 |
iff known chars.sign_figdash: |
| 2277 |
bskchar "Figural dash"; |
| 2278 |
beginchar(chars.sign_figdash,9u#,x_height#,0); uni "0x2012"; |
| 2279 |
adjust_fit(0,0); |
| 2280 |
pickup tiny.nib; |
| 2281 |
pos1(hair,90); pos2(hair,90); |
| 2282 |
top y1r=top y2r=2/3h; |
| 2283 |
lft x1=0; x2=w-x1; |
| 2284 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2285 |
penlabels(1,2); endchar; |
| 2286 |
|
| 2287 |
iff known chars.sign_twelvedash: |
| 2288 |
bskchar "Twelve u dash"; |
| 2289 |
beginchar(chars.sign_twelvedash,12u#,x_height#,0); uni "non"; |
| 2290 |
adjust_fit(0,0); |
| 2291 |
pickup tiny.nib; |
| 2292 |
pos1(hair,90); pos2(hair,90); |
| 2293 |
top y1r=top y2r=2/3h; |
| 2294 |
lft x1=0; x2=w-x1; |
| 2295 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2296 |
penlabels(1,2); endchar; |
| 2297 |
|
| 2298 |
iff known chars.sign_themdash: |
| 2299 |
bskchar "Three quarters em dash"; |
| 2300 |
beginchar(chars.sign_themdash,13.5u#,x_height#,0); uni "non"; |
| 2301 |
adjust_fit(0,0); |
| 2302 |
pickup tiny.nib; |
| 2303 |
pos1(hair,90); pos2(hair,90); |
| 2304 |
top y1r=top y2r=2/3h; |
| 2305 |
lft x1=0; x2=w-x1; |
| 2306 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2307 |
penlabels(1,2); endchar; |
| 2308 |
|
| 2309 |
iff known chars.sign_emdash: |
| 2310 |
bskchar "Em dash"; |
| 2311 |
beginchar(chars.sign_emdash,18u#,x_height#,0); uni "0x2014"; |
| 2312 |
adjust_fit(0,0); |
| 2313 |
pickup tiny.nib; |
| 2314 |
pos1(hair,90); pos2(hair,90); |
| 2315 |
top y1r=top y2r=2/3h; |
| 2316 |
lft x1=0; rt x2=w; |
| 2317 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2318 |
penlabels(1,2); endchar; |
| 2319 |
|
| 2320 |
iff known chars.sign_quotdash: |
| 2321 |
bskchar "Quotation dash"; |
| 2322 |
beginchar(chars.sign_quotdash,22u#,x_height#,0); uni "0x2015"; |
| 2323 |
adjust_fit(0,0); |
| 2324 |
pickup tiny.nib; |
| 2325 |
pos1(hair,90); pos2(hair,90); |
| 2326 |
top y1r=top y2r=2/3h; |
| 2327 |
lft x1=0; rt x2=w; |
| 2328 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2329 |
penlabels(1,2); endchar; |
| 2330 |
|
| 2331 |
iff known chars.sign_underbar: |
| 2332 |
bskchar "Underbar sign"; |
| 2333 |
beginchar(chars.sign_underbar,9u#,0,desc_depth#-.5rule_thickness#); uni "0x005F"; |
| 2334 |
adjust_fit(0,0); |
| 2335 |
pickup tiny.nib; |
| 2336 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2337 |
top y1r=top y2r=2/3h; |
| 2338 |
lft x1=0; x2=w-x1; |
| 2339 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2340 |
penlabels(1,2); |
| 2341 |
endchar; |
| 2342 |
|
| 2343 |
iff known chars.sign_underbar_double: |
| 2344 |
bskchar "Double underbar sign"; |
| 2345 |
beginchar(chars.sign_underbar_double,9u#,0,desc_depth#-.5rule_thickness#); uni "0x2017"; |
| 2346 |
adjust_fit(0,0); |
| 2347 |
pickup tiny.nib; |
| 2348 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2349 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2350 |
top y1r=top y2r=2/3h; y3=y4; y3-y1=2.5rule_thickness; |
| 2351 |
lft x1=lft x3=0; x2=x4=w-x1; |
| 2352 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2353 |
filldraw bskrule(3,4,.5hair,.5hair); |
| 2354 |
penlabels(1,2,3,4); |
| 2355 |
endchar; |
| 2356 |
|
| 2357 |
iff known chars.sign_overbar: |
| 2358 |
bskchar "Overbar sign"; |
| 2359 |
beginchar(chars.sign_overbar,9u#,body_height#,0); uni "0x203E"; |
| 2360 |
adjust_fit(0,0); |
| 2361 |
pickup tiny.nib; |
| 2362 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2363 |
top y1r=top y2r=h; |
| 2364 |
lft x1=0; x2=w-x1; |
| 2365 |
filldraw bskrule(1,2,.5hair,.5hair); |
| 2366 |
penlabels(1,2); |
| 2367 |
endchar; |
| 2368 |
|
| 2369 |
iff known chars.latin_grave: |
| 2370 |
bskchar "Grave accent"; |
| 2371 |
beginchar(chars.latin_grave,6u#,asc_height#,0); uni "0x0060"; |
| 2372 |
adjust_fit(0,0); |
| 2373 |
pickup tiny.nib; |
| 2374 |
x1=.5w; |
| 2375 |
grave(0,1); |
| 2376 |
endchar; |
| 2377 |
|
| 2378 |
iff known chars.latin_grave_capital: |
| 2379 |
bskchar "Grave accent (capital)"; |
| 2380 |
beginchar(chars.latin_grave_capital,6u#,Acc_height#,0); uni "non"; |
| 2381 |
adjust_fit(0,0); |
| 2382 |
pickup tiny.nib; |
| 2383 |
x1=.5w; |
| 2384 |
grave(0,1).capital; |
| 2385 |
endchar; |
| 2386 |
|
| 2387 |
iff known chars.latin_acute: |
| 2388 |
bskchar "Acute accent"; |
| 2389 |
beginchar(chars.latin_acute,6u#,asc_height#,0); uni "0x00B4"; |
| 2390 |
adjust_fit(0,0); |
| 2391 |
pickup tiny.nib; |
| 2392 |
x1=.5w; |
| 2393 |
acute(0,1); |
| 2394 |
endchar; |
| 2395 |
|
| 2396 |
iff known chars.latin_acute_capital: |
| 2397 |
bskchar "Acute accent (capital)"; |
| 2398 |
beginchar(chars.latin_acute_capital,6u#,Acc_height#,0); uni "non"; |
| 2399 |
adjust_fit(0,0); |
| 2400 |
pickup tiny.nib; |
| 2401 |
x1=.5w; |
| 2402 |
acute(0,1).capital; |
| 2403 |
endchar; |
| 2404 |
|
| 2405 |
iff known chars.latin_hacek: |
| 2406 |
bskchar "Check accent (hacek)"; |
| 2407 |
beginchar(chars.latin_hacek,7u#,asc_height#,0); uni "0x02C7"; |
| 2408 |
adjust_fit(0,0); |
| 2409 |
pickup tiny.nib; |
| 2410 |
x1=.5w; |
| 2411 |
hacek(0,1,2); |
| 2412 |
endchar; |
| 2413 |
|
| 2414 |
iff known chars.latin_hacek_capital: |
| 2415 |
bskchar "Check accent (hacek) (capital)"; |
| 2416 |
beginchar(chars.latin_hacek_capital,7u#,Acc_height#,0); uni "non"; |
| 2417 |
adjust_fit(0,0); |
| 2418 |
pickup tiny.nib; |
| 2419 |
x1=.5w; |
| 2420 |
hacek(0,1,2).capital; |
| 2421 |
endchar; |
| 2422 |
|
| 2423 |
iff known chars.sign_hacek: |
| 2424 |
bskchar "Hacek"; |
| 2425 |
beginchar(chars.sign_hacek,9u#,asc_height#,0); uni "0x02C7"; |
| 2426 |
adjust_fit(0,0); |
| 2427 |
pickup tiny.nib; |
| 2428 |
x0=u; x2=w-u; |
| 2429 |
hacek(0,1,2); |
| 2430 |
endchar; |
| 2431 |
|
| 2432 |
iff known chars.sign_circumflex: |
| 2433 |
bskchar "Circumflex"; |
| 2434 |
beginchar(chars.sign_circumflex,8u#,asc_height#,0); uni "0x005E"; |
| 2435 |
adjust_fit(0,0); |
| 2436 |
pickup tiny.nib; |
| 2437 |
lft x1=.5w+o; |
| 2438 |
circumflex(0,1,2); |
| 2439 |
endchar; |
| 2440 |
|
| 2441 |
iff known chars.latin_circumflex: |
| 2442 |
bskchar "Circumflex accent"; |
| 2443 |
beginchar(chars.latin_circumflex,7u#,asc_height#,0); uni "0x02C6"; |
| 2444 |
adjust_fit(0,0); |
| 2445 |
pickup tiny.nib; |
| 2446 |
x1=.5w; |
| 2447 |
circumflex(0,1,2); |
| 2448 |
endchar; |
| 2449 |
|
| 2450 |
iff known chars.latin_circumflex_capital: |
| 2451 |
bskchar "Circumflex accent (capital)"; |
| 2452 |
beginchar(chars.latin_circumflex_capital,7u#,Acc_height#,0); uni "non"; |
| 2453 |
adjust_fit(0,0); |
| 2454 |
pickup tiny.nib; |
| 2455 |
x1=.5w; |
| 2456 |
circumflex(0,1,2).capital; |
| 2457 |
endchar; |
| 2458 |
|
| 2459 |
iff known chars.latin_breve: |
| 2460 |
bskchar "Breve accent"; |
| 2461 |
beginchar(chars.latin_breve,7u#,asc_height#,0); uni "0x02D8"; |
| 2462 |
adjust_fit(0,0); |
| 2463 |
pickup tiny.nib; |
| 2464 |
x1=.5w; |
| 2465 |
breve(0,1,2); |
| 2466 |
endchar; |
| 2467 |
|
| 2468 |
iff known chars.latin_breve_capital: |
| 2469 |
bskchar "Breve accent (capital)"; |
| 2470 |
beginchar(chars.latin_breve_capital,7u#,Acc_height#,0); uni "non"; |
| 2471 |
adjust_fit(0,0); |
| 2472 |
pickup tiny.nib; |
| 2473 |
x1=.5w; |
| 2474 |
breve(0,1,2).capital; |
| 2475 |
endchar; |
| 2476 |
|
| 2477 |
iff known chars.sign_breve: |
| 2478 |
bskchar "Breve"; |
| 2479 |
beginchar(chars.sign_breve,9u#,asc_height#,0); uni "non"; |
| 2480 |
adjust_fit(0,0); |
| 2481 |
pickup tiny.nib; |
| 2482 |
x2=w-u; x0=u; |
| 2483 |
breve(0,1,2); |
| 2484 |
endchar; |
| 2485 |
|
| 2486 |
iff known chars.sign_undertie: |
| 2487 |
bskchar "Undertie"; |
| 2488 |
beginchar(chars.sign_undertie,11u#,0,.75desc_depth#); uni "0x203F"; |
| 2489 |
adjust_fit(0,0); |
| 2490 |
pickup tiny.nib; |
| 2491 |
x1=.5[x0,x2]=.5w; y0=y2=h-rule_thickness; y1l=-d; |
| 2492 |
pos0(hair,10); pos2(hair,0); pos1(.75[hair,stem],90); |
| 2493 |
x2-x0=w-2u; |
| 2494 |
y2r:=y2r-.5tiny; |
| 2495 |
filldraw z0l..z1l..z2r--z2l..z1r..z0r--cycle; |
| 2496 |
penlabels(0,1,2); |
| 2497 |
endchar; |
| 2498 |
|
| 2499 |
iff known chars.sign_undertie_inv: |
| 2500 |
bskchar "Inverted undertie"; |
| 2501 |
beginchar(chars.sign_undertie_inv,11u#,0,.75desc_depth#); uni "0x2054"; |
| 2502 |
adjust_fit(0,0); |
| 2503 |
pickup tiny.nib; |
| 2504 |
x1=.5[x0,x2]=.5w; y1l=h-rule_thickness; y0=y2=-d; |
| 2505 |
pos0(hair,-10); pos2(hair,0); pos1(.75[hair,stem],270); |
| 2506 |
x2-x0=w-2u; |
| 2507 |
y2r:=y2r-.5tiny; |
| 2508 |
filldraw z0l..z1l..z2r--z2l..z1r..z0r--cycle; |
| 2509 |
penlabels(0,1,2); |
| 2510 |
endchar; |
| 2511 |
|
| 2512 |
iff known chars.sign_tie: |
| 2513 |
bskchar "Character tie"; |
| 2514 |
beginchar(chars.sign_tie,11u#,body_height#,0); uni "0x2040"; |
| 2515 |
adjust_fit(0,0); |
| 2516 |
pickup tiny.nib; |
| 2517 |
x1=.5[x0,x2]=.5w; y1l=h; y0=y2=1/2[x_height,top y1]; |
| 2518 |
pos0(hair,-10); pos2(hair,0); pos1(.75[hair,stem],270); |
| 2519 |
x2-x0=w-2u; |
| 2520 |
y2r:=y2r-.5tiny; |
| 2521 |
filldraw z0l..z1l..z2r--z2l..z1r..z0r--cycle; |
| 2522 |
penlabels(0,1,2); |
| 2523 |
endchar; |
| 2524 |
|
| 2525 |
iff known chars.sign_closeup: |
| 2526 |
bskchar "Close up sign"; |
| 2527 |
beginchar(chars.sign_closeup,11u#,1/3[x_height#,asc_height#],0); uni "0x2050"; |
| 2528 |
adjust_fit(0,0); |
| 2529 |
pickup tiny.nib; |
| 2530 |
pos0(hair,10); pos2(hair,0); pos1(.75[hair,stem],90); |
| 2531 |
pos3(hair,-10); pos5(hair,0); pos4(.75[hair,stem],270); |
| 2532 |
x1=.5[x0,x2]=x4=.5[x3,x5]=.5w; y0=y2; y1l=-d; y4l=h; y3=y5; .5[y0,y3]=.5[y1,y4]; y5-y2=3rule_thickness+tiny; |
| 2533 |
x2-x0=x5-x3=w-2u; |
| 2534 |
y2r:=y2r-.5tiny; y5r:=y5r-.5tiny; |
| 2535 |
filldraw z0l..z1l..z2r--z2l..z1r..z0r--cycle; |
| 2536 |
filldraw z3l..z4l..z5r--z5l..z4r..z3r--cycle; |
| 2537 |
penlabels(0,1,2,3,4,5); |
| 2538 |
endchar; |
| 2539 |
|
| 2540 |
iff known chars.latin_inverted_breve: |
| 2541 |
bskchar "Inverted breve accent"; |
| 2542 |
beginchar(chars.latin_inverted_breve,7u#,asc_height#,0); uni "non"; |
| 2543 |
adjust_fit(0,0); |
| 2544 |
pickup tiny.nib; |
| 2545 |
x1=.5w; |
| 2546 |
tieacc(0,1,2); |
| 2547 |
endchar; |
| 2548 |
|
| 2549 |
iff known chars.latin_inverted_breve_capital: |
| 2550 |
bskchar "Inverted breve accent (capital)"; |
| 2551 |
beginchar(chars.latin_inverted_breve_capital,7u#,Acc_height#,0); uni "non"; |
| 2552 |
adjust_fit(0,0); |
| 2553 |
pickup tiny.nib; |
| 2554 |
x1=.5w; |
| 2555 |
tieacc(0,1,2).capital; |
| 2556 |
endchar; |
| 2557 |
|
| 2558 |
iff known chars.latin_tie: |
| 2559 |
bskchar "Tie accent"; |
| 2560 |
beginchar(chars.latin_tie,7u#,asc_height#,0); uni "non"; |
| 2561 |
adjust_fit(0,0); |
| 2562 |
pickup tiny.nib; |
| 2563 |
x1=w; x2-x0=6u; |
| 2564 |
tieacc(0,1,2); |
| 2565 |
endchar; |
| 2566 |
|
| 2567 |
iff known chars.latin_tie_capital: |
| 2568 |
bskchar "Tie accent (capital)"; |
| 2569 |
beginchar(chars.latin_tie_capital,7u#,Acc_height#,0); uni "non"; |
| 2570 |
adjust_fit(0,0); |
| 2571 |
pickup tiny.nib; |
| 2572 |
x1=w; x2-x0=6u; |
| 2573 |
tieacc(0,1,2).capital; |
| 2574 |
endchar; |
| 2575 |
|
| 2576 |
iff known chars.latin_macron: |
| 2577 |
bskchar "Macron accent"; |
| 2578 |
beginchar(chars.latin_macron,7u#,.5[asc_height#,x_height#],0); uni "0x00AF"; |
| 2579 |
adjust_fit(0,0); |
| 2580 |
pickup tiny.nib; |
| 2581 |
lft x1=u; |
| 2582 |
macron(0,1); |
| 2583 |
endchar; |
| 2584 |
|
| 2585 |
iff known chars.latin_macron_capital: |
| 2586 |
bskchar "Macron accent (capital)"; |
| 2587 |
beginchar(chars.latin_macron_capital,7u#,Acc_height#-.1x_height#,0); uni "non"; |
| 2588 |
adjust_fit(0,0); |
| 2589 |
pickup tiny.nib; |
| 2590 |
lft x1=u; |
| 2591 |
macron(0,1); |
| 2592 |
endchar; |
| 2593 |
|
| 2594 |
iff known chars.latin_ring: |
| 2595 |
bskchar "Ring accent (krouzek)"; |
| 2596 |
beginchar(chars.latin_ring,6u#,asc_height#,0); uni "0x02DA"; |
| 2597 |
adjust_fit(0,0); |
| 2598 |
pickup tiny.nib; |
| 2599 |
x0=.5w; |
| 2600 |
ring(0,1); |
| 2601 |
endchar; |
| 2602 |
|
| 2603 |
iff known chars.latin_ring_capital: |
| 2604 |
bskchar "Ring accent (capital)"; |
| 2605 |
beginchar(chars.latin_ring_capital,6u#,Acc_height#,0); uni "non"; |
| 2606 |
adjust_fit(0,0); |
| 2607 |
pickup tiny.nib; |
| 2608 |
x0=.5w; |
| 2609 |
ring(0,1).capital; |
| 2610 |
endchar; |
| 2611 |
|
| 2612 |
iff known chars.latin_dot_above: |
| 2613 |
bskchar "Dot accent"; |
| 2614 |
beginchar(chars.latin_dot_above,6u#,asc_height#,0); uni "0x02D9"; |
| 2615 |
adjust_fit(0,0); |
| 2616 |
pickup tiny.nib; |
| 2617 |
x0=.5w; |
| 2618 |
dotabove(0); |
| 2619 |
endchar; |
| 2620 |
|
| 2621 |
iff known chars.latin_dot_above_capital: |
| 2622 |
bskchar "Dot accent (capital)"; |
| 2623 |
beginchar(chars.latin_dot_above_capital,6u#,Acc_height#,0); uni "non"; |
| 2624 |
adjust_fit(0,0); |
| 2625 |
pickup tiny.nib; |
| 2626 |
x0=.5w; |
| 2627 |
dotabove(0); |
| 2628 |
endchar; |
| 2629 |
|
| 2630 |
iff known chars.latin_umlaut: |
| 2631 |
bskchar "Umlaut accent"; |
| 2632 |
beginchar(chars.latin_umlaut,8u#,asc_height#,0); uni "0x00A8"; |
| 2633 |
adjust_fit(0,0); |
| 2634 |
pickup tiny.nib; |
| 2635 |
.5[x0,x1]=.5w; |
| 2636 |
umlaut(0,1); |
| 2637 |
endchar; |
| 2638 |
|
| 2639 |
iff known chars.latin_umlaut_capital: |
| 2640 |
bskchar "Umlaut accent (capital)"; |
| 2641 |
beginchar(chars.latin_umlaut_capital,8u#,Acc_height#,0); uni "non"; |
| 2642 |
adjust_fit(0,0); |
| 2643 |
pickup tiny.nib; |
| 2644 |
.5[x0,x1]=.5w; |
| 2645 |
umlaut(0,1); |
| 2646 |
endchar; |
| 2647 |
|
| 2648 |
iff known chars.latin_tilde: |
| 2649 |
bskchar "Tilde accent"; |
| 2650 |
beginchar(chars.latin_tilde,8u#,asc_height#,0); uni "0x02DC"; |
| 2651 |
adjust_fit(0,0); |
| 2652 |
pickup tiny.nib; |
| 2653 |
tilde(0,1); |
| 2654 |
endchar; |
| 2655 |
|
| 2656 |
iff known chars.latin_tilde_capital: |
| 2657 |
bskchar "Tilde accent (capital)"; |
| 2658 |
beginchar(chars.latin_tilde_capital,8u#,Acc_height#,0); uni "non"; |
| 2659 |
adjust_fit(0,0); |
| 2660 |
pickup tiny.nib; |
| 2661 |
tilde(0,1).capital; |
| 2662 |
endchar; |
| 2663 |
|
| 2664 |
iff known chars.latin_hungarian_umlaut: |
| 2665 |
bskchar "Hungarian umlaut accent"; |
| 2666 |
beginchar(chars.latin_hungarian_umlaut,6u#,asc_height#,0); uni "0x02DD"; |
| 2667 |
adjust_fit(0,0); |
| 2668 |
pickup tiny.nib; |
| 2669 |
h_umlaut(0,1,0',1',.2w); |
| 2670 |
endchar; |
| 2671 |
|
| 2672 |
iff known chars.latin_hungarian_umlaut_capital: |
| 2673 |
bskchar "Hungarian umlaut accent (capital)"; |
| 2674 |
beginchar(chars.latin_hungarian_umlaut_capital,6u#,Acc_height#,0); uni "non"; |
| 2675 |
adjust_fit(0,0); |
| 2676 |
pickup tiny.nib; |
| 2677 |
h_umlaut(0,1,0',1',.2w).capital; |
| 2678 |
endchar; |
| 2679 |
|
| 2680 |
iff known chars.polish_cross: |
| 2681 |
bskchar "Cross for Polish l"; |
| 2682 |
beginchar(chars.polish_cross,6u#,x_height#,0); uni "non"; |
| 2683 |
adjust_fit(serif_fit#,serif_fit#); |
| 2684 |
pickup tiny.nib; |
| 2685 |
.5[x1,x2]=.5w; |
| 2686 |
pol_cross(1,2); |
| 2687 |
endchar; |
| 2688 |
|
| 2689 |
iff known chars.latin_ogonek: |
| 2690 |
bskchar "Ogonek accent"; |
| 2691 |
beginchar(chars.latin_ogonek,7u#,0,.85desc_depth#); uni "0x02DB"; |
| 2692 |
adjust_fit(0,0); |
| 2693 |
pickup tiny.nib; |
| 2694 |
pos1(stem,0); pos2(curve,0); pos3(hair,45); pos4(hair,160); |
| 2695 |
x1=3.5u; x2l=2u; x3=w-2u; rt x4l=w-.5u; |
| 2696 |
y1=0; y2=-.5d; bot y3l=-d; y4=-2/3d; |
| 2697 |
filldraw z1l{z2l-z1r}..z2l...z3l..{z1-z2}z4l..z4r{z2-z1}..z3r..z2r..z1r&z1r..z1+.5o*up..cycle; |
| 2698 |
penlabels(1,2,3,4); |
| 2699 |
endchar; |
| 2700 |
|
| 2701 |
iff known chars.latin_cedilla: |
| 2702 |
bskchar "Cedilla accent"; |
| 2703 |
beginchar(chars.latin_cedilla,6u#,0,.65desc_depth#); uni "0x00B8"; |
| 2704 |
adjust_fit(0,0); |
| 2705 |
pickup tiny.nib; |
| 2706 |
path p; oblu:=3oblu; |
| 2707 |
pos1(.5stem,0); pos2(.5stem,0); pos3(.8stem,0); pos4(.5stem,-110); |
| 2708 |
x1r=x2r=.5w; y1=0; y2=-hair; rt x3r=w-u; y3=-.5d; |
| 2709 |
lft x4r=u; |
| 2710 |
y4r=-d; |
| 2711 |
p:=z2r..{down}z3r..{left}z4r..{right}z4l..{up}z3l..z2l--z1l; |
| 2712 |
filldraw z1r{down}..subpath (rundy(p,0),infinity) of p--cycle; |
| 2713 |
penlabels(1,2,3,4); |
| 2714 |
endchar; |
| 2715 |
|
| 2716 |
iff known chars.latin_cedilla_capital: |
| 2717 |
bskchar "Cedilla accent (capital)"; |
| 2718 |
beginchar(chars.latin_cedilla_capital,6u#,0,.65desc_depth#); uni "non"; |
| 2719 |
adjust_fit(0,0); |
| 2720 |
pickup tiny.nib; |
| 2721 |
path p; oblu:=3oblu; |
| 2722 |
pos1(.5stem,0); pos2(.5stem,0); pos3(stem,0); pos4(.5stem,-110); |
| 2723 |
x1r=x2r=.5w; y1=0; y2=-hair; rt x3r=w-u; y3=-.5d; |
| 2724 |
lft x4r=u; |
| 2725 |
y4r=-d; |
| 2726 |
p:=z2r..{down}z3r..{left}z4r..{right}z4l..{up}z3l..z2l--z1l; |
| 2727 |
filldraw z1r{down}..subpath (rundy(p,0),infinity) of p--cycle; |
| 2728 |
penlabels(1,2,3,4); |
| 2729 |
endchar; |
| 2730 |
|
| 2731 |
iff known chars.math_lattice_left: |
| 2732 |
bskchar "Left turnstile"; |
| 2733 |
beginchar(chars.math_lattice_left,12u#,asc_height#,0); uni "0x22A2"; |
| 2734 |
adjust_fit(0,0); |
| 2735 |
pickup tiny.nib; |
| 2736 |
oblu:=2oblu; |
| 2737 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 2738 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2739 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 2740 |
lft x1l=lft x2l=u; rt x4=w-u; x3=x2r; |
| 2741 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2742 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 2743 |
z2r..z2ll---z1l..cycle; |
| 2744 |
penlabels(1,2,3,4); |
| 2745 |
endchar; |
| 2746 |
|
| 2747 |
iff known chars.math_assertion: |
| 2748 |
bskchar "Assertion sign"; |
| 2749 |
beginchar(chars.math_assertion,8u#,asc_height#,0); uni "0x22A6"; |
| 2750 |
adjust_fit(0,0); |
| 2751 |
pickup tiny.nib; |
| 2752 |
oblu:=2oblu; |
| 2753 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 2754 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2755 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 2756 |
lft x1l=lft x2l=u; rt x4=w-u; x3=x2r; |
| 2757 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2758 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 2759 |
z2r..z2ll---z1l..cycle; |
| 2760 |
penlabels(1,2,3,4); |
| 2761 |
endchar; |
| 2762 |
|
| 2763 |
iff known chars.math_lattice_left_neg: |
| 2764 |
bskchar "Negated left turnstile"; |
| 2765 |
beginchar(chars.math_lattice_left_neg,13u#,asc_height#,0); uni "0x22AC"; |
| 2766 |
adjust_fit(0,0); |
| 2767 |
pickup tiny.nib; |
| 2768 |
oblu:=2oblu; |
| 2769 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 2770 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2771 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 2772 |
lft x1l=lft x2l=2u; rt x4=w-u; x3=x2r; |
| 2773 |
bot y5=-d; top y6=h; lft x5=.5u; x6=w-2u; |
| 2774 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 2775 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2776 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 2777 |
x1'l=x1'r=x1r; z1'l=whatever[z5l,z6l]; z1'r=whatever[z5r,z6r]; |
| 2778 |
x2'l=x2'r=x1l; z2'l=whatever[z5l,z6l]; z2'r=whatever[z5r,z6r]; |
| 2779 |
y3'l=y3'r=y3r; z3'l=whatever[z5l,z6l]; z3'r=whatever[z5r,z6r]; |
| 2780 |
y4'l=y4'r=y3l; z4'l=whatever[z5l,z6l]; z4'r=whatever[z5r,z6r]; |
| 2781 |
filldraw z1rr---obl(1'r,1r,4'r)---obl(4'r,1'r,4l)---z4ll..z4r |
| 2782 |
---obl(3'r,4r,6r)---z6r..z6ll---obl(3'l,6l,3r)---obl(3r,4r,2r) |
| 2783 |
---z2r..z2ll---obl(2'l,2ll,5l)---z5l..z5rr---tobl(2'r,5rr,1l)---z1l..cycle; |
| 2784 |
infill obl(3l,4'l,1'l)---obl(1'l,3l,4'l)---obl(4'l,1'l,3l)---cycle; |
| 2785 |
penlabels(1,1',2,2',3,3',4,4',5,6); |
| 2786 |
endchar; |
| 2787 |
|
| 2788 |
iff known chars.math_lattice_right: |
| 2789 |
bskchar "Right turnstile"; |
| 2790 |
beginchar(chars.math_lattice_right,12u#,asc_height#,0); uni "0x22A3"; |
| 2791 |
adjust_fit(0,0); |
| 2792 |
pickup tiny.nib; |
| 2793 |
oblu:=2oblu; |
| 2794 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 2795 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2796 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 2797 |
rt x1r=rt x2r=w-u; lft x4=u; x3=x2l; |
| 2798 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2799 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2800 |
obl(3l,4l,1l)---z1l..cycle; |
| 2801 |
penlabels(1,2,3,4); |
| 2802 |
endchar; |
| 2803 |
|
| 2804 |
iff known chars.math_lattice_right_short: |
| 2805 |
bskchar "Short right turnstile"; |
| 2806 |
beginchar(chars.math_lattice_right_short,8u#,asc_height#,0); uni "0x2ADE"; |
| 2807 |
adjust_fit(0,0); |
| 2808 |
pickup tiny.nib; |
| 2809 |
oblu:=2oblu; |
| 2810 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 2811 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 2812 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 2813 |
rt x1r=rt x2r=w-u; lft x4=u; x3=x2l; |
| 2814 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2815 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2816 |
obl(3l,4l,1l)---z1l..cycle; |
| 2817 |
penlabels(1,2,3,4); |
| 2818 |
endchar; |
| 2819 |
|
| 2820 |
iff known chars.math_intercalate: |
| 2821 |
bskchar "Intercalate"; |
| 2822 |
beginchar(chars.math_intercalate,9u#,asc_height#,0); uni "0x22BA"; |
| 2823 |
adjust_fit(0,0); |
| 2824 |
pickup tiny.nib; |
| 2825 |
oblu:=2oblu; |
| 2826 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2827 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2828 |
top y1r=top y2r=h; y3=y1l; bot y4=-d; |
| 2829 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2830 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2831 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2832 |
obl(3l,4l,1l)---z1l..cycle; |
| 2833 |
penlabels(1,2,3,4); |
| 2834 |
endchar; |
| 2835 |
|
| 2836 |
iff known chars.math_lattice_top: |
| 2837 |
bskchar "Lattice top"; |
| 2838 |
beginchar(chars.math_lattice_top,14u#,asc_height#,0); uni "0x22A4"; |
| 2839 |
adjust_fit(0,0); |
| 2840 |
pickup tiny.nib; |
| 2841 |
oblu:=2oblu; |
| 2842 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2843 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2844 |
top y1r=top y2r=h; y3=y1l; bot y4=-d; |
| 2845 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2846 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2847 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2848 |
obl(3l,4l,1l)---z1l..cycle; |
| 2849 |
penlabels(1,2,3,4); |
| 2850 |
endchar; |
| 2851 |
|
| 2852 |
iff known chars.math_lattice_top_short: |
| 2853 |
bskchar "Short lattice top"; |
| 2854 |
beginchar(chars.math_lattice_top_short,14u#,x_height#,0); uni "0x2ADF"; |
| 2855 |
adjust_fit(0,0); |
| 2856 |
pickup tiny.nib; |
| 2857 |
oblu:=2oblu; |
| 2858 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2859 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2860 |
top y1r=top y2r=h; y3=y1l; bot y4=-d; |
| 2861 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2862 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2863 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2864 |
obl(3l,4l,1l)---z1l..cycle; |
| 2865 |
penlabels(1,2,3,4); |
| 2866 |
endchar; |
| 2867 |
|
| 2868 |
iff known chars.math_lattice_top_short_overbar: |
| 2869 |
bskchar "Short lattice top with overbar"; |
| 2870 |
beginchar(chars.math_lattice_top_short_overbar,14u#,.8asc_height#+rule_thickness#,0); uni "0x2AE7"; |
| 2871 |
adjust_fit(0,0); |
| 2872 |
pickup tiny.nib; |
| 2873 |
oblu:=2oblu; |
| 2874 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2875 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2876 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 2877 |
top y1r=top y2r=x_height; y3=y1l; bot y4=-d; top y5r=top y6r=h; |
| 2878 |
x3=x4=.5[x1,x2]; lft x1=lft x5=u; rt x2=rt x6=w-u; |
| 2879 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2880 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2881 |
obl(3l,4l,1l)---z1l..cycle; |
| 2882 |
filldraw bskrule(5,6,hair,hair); |
| 2883 |
penlabels(1,2,3,4,5,6); |
| 2884 |
endchar; |
| 2885 |
|
| 2886 |
iff known chars.math_lattice_top_double: |
| 2887 |
bskchar "Double lattice top"; |
| 2888 |
beginchar(chars.math_lattice_top_double,14u#,asc_height#,0); uni "0x2AEA"; |
| 2889 |
adjust_fit(0,0); |
| 2890 |
pickup tiny.nib; |
| 2891 |
oblu:=2oblu; |
| 2892 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2893 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2894 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 2895 |
top y1r=top y2r=h; y3=y5=y1l; bot y4=bot y6=-d; |
| 2896 |
x3=x4; x5=x6; .5[x3,x5]=.5w; x5-x3=4u; lft x1=u; rt x2=w-u; |
| 2897 |
bskpoints(3,4,hair,0); bskpoints(5,6,hair,0); bskpoints(1,2,hair,hair); |
| 2898 |
filldraw z1rr---z2r..z2ll---obl(5r,2l,6r)---z6r..z6ll---obl(5l,6l,3r) |
| 2899 |
---obl(3r,5l,4r)---z4r..z4ll---obl(3l,4l,1l)---z1l..cycle; |
| 2900 |
penlabels(1,2,3,4,5,6); |
| 2901 |
endchar; |
| 2902 |
|
| 2903 |
iff known chars.math_lattice_top_short_bottom: |
| 2904 |
bskchar "Short lattice top above short lattice bottom"; |
| 2905 |
beginchar(chars.math_lattice_top_short_bottom,14u#,v_center(2x_height#+2rule_thickness#)); uni "0x2AE9"; |
| 2906 |
adjust_fit(0,0); |
| 2907 |
pickup tiny.nib; |
| 2908 |
oblu:=2oblu; |
| 2909 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2910 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2911 |
pos5(rule_thickness,270); pos6(rule_thickness,270); |
| 2912 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 2913 |
top y1r=top y2r=math_axis-rule_thickness; y3=y1l; bot y4=-d; |
| 2914 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2915 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2916 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2917 |
obl(3l,4l,1l)---z1l..cycle; |
| 2918 |
bot y5r=bot y6r=math_axis+rule_thickness; y7=y5l; top y8=h; |
| 2919 |
x7=x8=.5[x5,x6]; lft x5=u; rt x6=w-u; |
| 2920 |
bskpoints(7,8,hair,0); bskpoints(5,6,hair,hair); |
| 2921 |
filldraw z5rr---z6r..z6ll---obl(7r,6l,8r)---z8r..z8ll--- |
| 2922 |
obl(7l,8l,5l)---z5l..cycle; |
| 2923 |
penlabels(1,2,3,4); |
| 2924 |
endchar; |
| 2925 |
|
| 2926 |
iff known chars.math_lattice_top_neg: |
| 2927 |
bskchar "Negated lattice top"; |
| 2928 |
beginchar(chars.math_lattice_top_neg,14u#,asc_height#,0); uni "non"; |
| 2929 |
adjust_fit(0,0); |
| 2930 |
pickup tiny.nib; |
| 2931 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 2932 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 2933 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2934 |
top y1r=top y2r=h; y3=y1l; bot y4=-d; |
| 2935 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2936 |
bot y5=-d; top y6=y2l-rule_thickness; x6=w-2u; .5[x5,x6]=x4; |
| 2937 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 2938 |
x6'l=x6'r=x4r; x5'l=x5'r=x4l; |
| 2939 |
z5'l=whatever[z5l,z6l]; z5'r=whatever[z5r,z6r]; |
| 2940 |
z6'l=whatever[z5l,z6l]; z6'r=whatever[z5r,z6r]; |
| 2941 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2942 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 2943 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---obl(6'l,3r,6ll)---z6ll..z6r |
| 2944 |
---obl(6'r,6r,4r).more---z4r..z4ll---obl(5'r,4l,5r)---z5rr..z5l |
| 2945 |
---obl(5'l,5l,3l).more---obl(3l,4l,1l)---z1l..cycle; |
| 2946 |
penlabels(1,2,3,4,5,5',6,6'); labels(1rr,5rr,6ll); |
| 2947 |
endchar; |
| 2948 |
|
| 2949 |
iff known chars.math_lattice_bottom: |
| 2950 |
bskchar "Lattice bottom"; |
| 2951 |
beginchar(chars.math_lattice_bottom,14u#,asc_height#,0); uni "0x22A5"; |
| 2952 |
adjust_fit(0,0); |
| 2953 |
pickup tiny.nib; |
| 2954 |
oblu:=2oblu; |
| 2955 |
pos1(rule_thickness,270); pos2(rule_thickness,270); |
| 2956 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2957 |
bot y1r=bot y2r=-d; y3=y1l; top y4=h; |
| 2958 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2959 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2960 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2961 |
obl(3l,4l,1l)---z1l..cycle; |
| 2962 |
penlabels(1,2,3,4); |
| 2963 |
endchar; |
| 2964 |
|
| 2965 |
iff known chars.math_lattice_bottom_short: |
| 2966 |
bskchar "Short lattice bottom"; |
| 2967 |
beginchar(chars.math_lattice_bottom_short,14u#,x_height#,0); uni "0x2AE0"; |
| 2968 |
adjust_fit(0,0); |
| 2969 |
pickup tiny.nib; |
| 2970 |
oblu:=2oblu; |
| 2971 |
pos1(rule_thickness,270); pos2(rule_thickness,270); |
| 2972 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2973 |
bot y1r=bot y2r=-d; y3=y1l; top y4=h; |
| 2974 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 2975 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2976 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2977 |
obl(3l,4l,1l)---z1l..cycle; |
| 2978 |
penlabels(1,2,3,4); |
| 2979 |
endchar; |
| 2980 |
|
| 2981 |
iff known chars.math_lattice_bottom_short_underbar: |
| 2982 |
bskchar "Short lattice bottom with underbar"; |
| 2983 |
beginchar(chars.math_lattice_bottom_short_underbar,14u#,.8asc_height#+rule_thickness#,0); uni "0x2AE8"; |
| 2984 |
adjust_fit(0,0); |
| 2985 |
pickup tiny.nib; |
| 2986 |
oblu:=2oblu; |
| 2987 |
pos1(rule_thickness,270); pos2(rule_thickness,270); |
| 2988 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 2989 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 2990 |
bot y1r=bot y2r=-d+rule_thickness+(.8asc_height-x_height); y3=y1l; top y4=h; |
| 2991 |
bot y5l=bot y6l=-d; |
| 2992 |
x3=x4=.5[x1,x2]; lft x1=lft x5=u; rt x2=rt x6=w-u; |
| 2993 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 2994 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 2995 |
obl(3l,4l,1l)---z1l..cycle; |
| 2996 |
filldraw bskrule(5,6,hair,hair); |
| 2997 |
penlabels(1,2,3,4,5,6); |
| 2998 |
endchar; |
| 2999 |
|
| 3000 |
iff known chars.math_perpendicular: |
| 3001 |
bskchar "Perpendicular"; |
| 3002 |
beginchar(chars.math_perpendicular,13u#,asc_height#,0); uni "0x27C2"; |
| 3003 |
adjust_fit(0,0); |
| 3004 |
pickup tiny.nib; |
| 3005 |
oblu:=2oblu; |
| 3006 |
pos1(rule_thickness,270); pos2(rule_thickness,270); |
| 3007 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 3008 |
bot y1r=bot y2r=-d; y3=y1l; top y4=h; |
| 3009 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 3010 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3011 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---z4r..z4ll--- |
| 3012 |
obl(3l,4l,1l)---z1l..cycle; |
| 3013 |
penlabels(1,2,3,4); |
| 3014 |
endchar; |
| 3015 |
|
| 3016 |
iff known chars.math_lattice_bottom_neg: |
| 3017 |
bskchar "Negated lattice bottom"; |
| 3018 |
beginchar(chars.math_lattice_bottom_neg,14u#,asc_height#,0); uni "non"; |
| 3019 |
adjust_fit(0,0); |
| 3020 |
pickup tiny.nib; |
| 3021 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 3022 |
pos1(rule_thickness,270); pos2(rule_thickness,270); |
| 3023 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 3024 |
bot y1r=bot y2r=-d; y3=y1l; top y4=h; |
| 3025 |
x3=x4=.5[x1,x2]; lft x1=u; rt x2=w-u; |
| 3026 |
bot y5=y1l+rule_thickness; top y6=h; x6=w-2u; .5[x5,x6]=x4; |
| 3027 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 3028 |
x6'l=x6'r=x4r; x5'l=x5'r=x4l; |
| 3029 |
z5'l=whatever[z5l,z6l]; z5'r=whatever[z5r,z6r]; |
| 3030 |
z6'l=whatever[z5l,z6l]; z6'r=whatever[z5r,z6r]; |
| 3031 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3032 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 3033 |
filldraw z1rr---z2r..z2ll---obl(3r,2l,4r)---obl(6'r,3r,6r)---z6r..z6ll |
| 3034 |
---obl(6'l,6l,4r).more---z4r..z4ll---obl(5'l,4l,5l)---z5l..z5rr |
| 3035 |
---obl(5'r,5r,3l).more---obl(3l,4l,1l)---z1l..cycle; |
| 3036 |
penlabels(1,2,3,4,5,5',6,6'); labels(1rr,5rr,6ll); |
| 3037 |
endchar; |
| 3038 |
|
| 3039 |
iff known chars.math_forces: |
| 3040 |
bskchar "Forces"; |
| 3041 |
beginchar(chars.math_forces,12u#,asc_height#,0); uni "0x22A9"; |
| 3042 |
adjust_fit(0,0); |
| 3043 |
pickup tiny.nib; |
| 3044 |
oblu:=2oblu; |
| 3045 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3046 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3047 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3048 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 3049 |
lft x1l=lft x2l=4u; rt x4=w-u; x3=x2r; |
| 3050 |
lft x5l=lft x6l=u; y5=y1; y6=y2; |
| 3051 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3052 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 3053 |
z2r..z2ll---z1l..cycle; |
| 3054 |
filldraw bskrule(5,6,hair,hair); |
| 3055 |
penlabels(1,2,3,4,5,6); |
| 3056 |
endchar; |
| 3057 |
|
| 3058 |
iff known chars.math_forces_through: |
| 3059 |
bskchar "Forces with bar through"; |
| 3060 |
beginchar(chars.math_forces_through,12u#,asc_height#,0); uni "0x2AE6"; |
| 3061 |
adjust_fit(0,0); |
| 3062 |
pickup tiny.nib; |
| 3063 |
oblu:=2oblu; |
| 3064 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3065 |
pos3(rule_thickness,90); pos3'(rule_thickness,90); |
| 3066 |
pos4(rule_thickness,90); pos4'(rule_thickness,90); |
| 3067 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3068 |
bot y1=-d; top y2=h; y3=y3'=y4=y4'=.5[y1,y2]; |
| 3069 |
lft x1l=lft x2l=4u; rt x4=w-u; x3=x2r; x3'=x1l; x4'=x5r; |
| 3070 |
lft x5l=lft x6l=u; y5=y1; y6=y2; |
| 3071 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3072 |
bskpoints(5,6,hair,hair); |
| 3073 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)---z2r..z2ll |
| 3074 |
---obl(3'r,2l,4'r)---obl(4'r,3'r,6r)---z6r..z6ll---z5l..z5rr |
| 3075 |
---obl(4'l,5r,3'l)---obl(3'l,4'l,1l)---z1l..cycle; |
| 3076 |
penlabels(1,2,3,3',4,5,6); |
| 3077 |
endchar; |
| 3078 |
|
| 3079 |
iff known chars.math_forces_neg: |
| 3080 |
bskchar "Negated forces"; |
| 3081 |
beginchar(chars.math_forces_neg,13u#,asc_height#,0); uni "0x22AE"; |
| 3082 |
adjust_fit(0,0); |
| 3083 |
pickup tiny.nib; |
| 3084 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 3085 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3086 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3087 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3088 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 3089 |
lft x1l=lft x2l=5u; rt x4=w-u; x3=x2r; |
| 3090 |
lft x5l=lft x6l=2u; y5=y1; y6=y2; |
| 3091 |
bot y7=-d; top y8=h; lft x7=.5u; x8=w-2u; |
| 3092 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 3093 |
bskpoints(5,6,hair,hair); |
| 3094 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 3095 |
x1'l=x1'r=x1l; z1'l=whatever[z7l,z8l]; z1'r=whatever[z7r,z8r]; |
| 3096 |
y2'l=y2'r=y3r; z2'l=whatever[z7l,z8l]; z2'r=whatever[z7r,z8r]; |
| 3097 |
x3'l=x3'r=x5r; z3'l=whatever[z7l,z8l]; z3'r=whatever[z7r,z8r]; |
| 3098 |
x4'l=x4'r=x5l; z4'l=whatever[z7l,z8l]; z4'r=whatever[z7r,z8r]; |
| 3099 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3100 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(2'r,4r,8r).more---z8r..z8ll |
| 3101 |
---z2'l+oblu.more*unitvector(z8-z7)..z3l+oblu.more*up---z2r..z2ll---obl(1'l,2l,3'l) |
| 3102 |
---obl(3'l,2'l,6r).more---z6r..z6ll---obl(4'l,6l,7l)---z7l..z7rr---tobl(4'r,7rr,5l) |
| 3103 |
---z5l..z5rr---obl(3'r,5r,1'r)---obl(1'r,3'r,1l)---z1l..cycle; |
| 3104 |
penlabels(1,1',2,2',3,3',4,4',5,6,7,8); |
| 3105 |
endchar; |
| 3106 |
|
| 3107 |
iff known chars.math_forces_reversed: |
| 3108 |
bskchar "Reversed forces"; |
| 3109 |
beginchar(chars.math_forces_reversed,12u#,asc_height#,0); uni "0x2AE3"; |
| 3110 |
adjust_fit(0,0); |
| 3111 |
pickup tiny.nib; |
| 3112 |
oblu:=2oblu; |
| 3113 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 3114 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3115 |
pos5(rule_thickness,180); pos6(rule_thickness,180); |
| 3116 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 3117 |
rt x1l=rt x2l=w-4u; lft x4=u; x3=x2r; |
| 3118 |
rt x5l=rt x6l=w-u; y5=y1; y6=y2; |
| 3119 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3120 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 3121 |
z2r..z2ll---z1l..cycle; |
| 3122 |
filldraw bskrule(5,6,hair,hair); |
| 3123 |
penlabels(1,2,3,4,5,6); |
| 3124 |
endchar; |
| 3125 |
|
| 3126 |
iff known chars.math_forces_bar: |
| 3127 |
bskchar "Forces with extra bar"; |
| 3128 |
beginchar(chars.math_forces_bar,15u#,asc_height#,0); uni "0x22AA"; |
| 3129 |
adjust_fit(0,0); |
| 3130 |
pickup tiny.nib; |
| 3131 |
oblu:=2oblu; |
| 3132 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3133 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3134 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3135 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 3136 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 3137 |
lft x1l=lft x2l=7u; rt x4=w-u; x3=x2r; |
| 3138 |
lft x5l=lft x6l=u; y5=y7=y1; y6=y8=y2; |
| 3139 |
x7=.5[x5,x1]; x8=.5[x6,x2]; |
| 3140 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3141 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 3142 |
z2r..z2ll---z1l..cycle; |
| 3143 |
filldraw bskrule(5,6,hair,hair); |
| 3144 |
filldraw bskrule(7,8,hair,hair); |
| 3145 |
penlabels(1,2,3,4,5,6,7,8); |
| 3146 |
endchar; |
| 3147 |
|
| 3148 |
iff known chars.math_forces_bar_reversed: |
| 3149 |
bskchar "Reversed forces with extra bar"; |
| 3150 |
beginchar(chars.math_forces_bar_reversed,15u#,asc_height#,0); uni "non"; |
| 3151 |
adjust_fit(0,0); |
| 3152 |
pickup tiny.nib; |
| 3153 |
oblu:=2oblu; |
| 3154 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 3155 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3156 |
pos5(rule_thickness,180); pos6(rule_thickness,180); |
| 3157 |
pos7(rule_thickness,180); pos8(rule_thickness,180); |
| 3158 |
bot y1=-d; top y2=h; y3=y4=.5[y1,y2]; |
| 3159 |
rt x1l=rt x2l=w-7u; lft x4=u; x3=x2r; |
| 3160 |
rt x5l=rt x6l=w-u; y5=y7=y1; y6=y8=y2; |
| 3161 |
x7=.5[x5,x1]; x8=.5[x6,x2]; |
| 3162 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3163 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r)--- |
| 3164 |
z2r..z2ll---z1l..cycle; |
| 3165 |
filldraw bskrule(5,6,hair,hair); |
| 3166 |
filldraw bskrule(7,8,hair,hair); |
| 3167 |
penlabels(1,2,3,4,5,6,7,8); |
| 3168 |
endchar; |
| 3169 |
|
| 3170 |
iff known chars.math_forces_hbar: |
| 3171 |
bskchar "Forces with extra horizontal bar"; |
| 3172 |
beginchar(chars.math_forces_hbar,13u#,asc_height#,0); uni "0x22AB"; |
| 3173 |
adjust_fit(0,0); |
| 3174 |
pickup tiny.nib; |
| 3175 |
oblu:=2oblu; |
| 3176 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3177 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3178 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3179 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 3180 |
bot y1=-d; top y2=h; y3=y4; y7=y8; .5[y3,y7]=.5[y1,y2]; y7-y3=.55x_height; |
| 3181 |
lft x1l=lft x2l=5u; rt x4=rt x8=w-u; x3=x7=x2r; |
| 3182 |
lft x5l=lft x6l=2u; y5=y1; y6=y2; |
| 3183 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3184 |
bskpoints(7,8,hair,hair); |
| 3185 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,7l)---obl(7l,3r,8l)---z8ll |
| 3186 |
..z8r---obl(7r,8r,2r)---z2r..z2ll---z1l..cycle; |
| 3187 |
filldraw bskrule(5,6,hair,hair); |
| 3188 |
penlabels(1,2,3,4,5,6,7,8); |
| 3189 |
endchar; |
| 3190 |
|
| 3191 |
iff known chars.math_forces_hbar_neg: |
| 3192 |
bskchar "Negated forces with extra horizontal bar"; |
| 3193 |
beginchar(chars.math_forces_hbar_neg,13u#,asc_height#,0); uni "0x22AF"; |
| 3194 |
adjust_fit(0,0); |
| 3195 |
pickup tiny.nib; |
| 3196 |
oblu:=2oblu; |
| 3197 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3198 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3199 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 3200 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 3201 |
bot y1=-d; top y2=h; y3=y4; y7=y8; .5[y3,y7]=.5[y1,y2]; y7-y3=.55x_height; |
| 3202 |
lft x1l=lft x2l=5u; rt x4=rt x8=w-u; x3=x7=x2r; |
| 3203 |
lft x5l=lft x6l=2u; y5=y1; y6=y2; |
| 3204 |
bot y9=-d; top y10=h; lft x9=.5u; x10=w-2u; |
| 3205 |
pos9(rule_thickness,angle(z9-z10)+90); pos10(rule_thickness,angle(z9-z10)+90); |
| 3206 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3207 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 3208 |
bskpoints(9,10,rule_thickness,rule_thickness); |
| 3209 |
x1'l=x1'r=x1r; z1'l=whatever[z9l,z10l]; z1'r=whatever[z9r,z10r]; |
| 3210 |
y2'l=y2'r=y7l; z2'l=whatever[z9l,z10l]; z2'r=whatever[z9r,z10r]; |
| 3211 |
y3'l=y3'r=y7r; z3'l=whatever[z9l,z10l]; z3'r=whatever[z9r,z10r]; |
| 3212 |
x4'l=x4'r=x1l; z4'l=whatever[z9l,z10l]; z4'r=whatever[z9r,z10r]; |
| 3213 |
x5'l=x5'r=x5r; z5'l=whatever[z9l,z10l]; z5'r=whatever[z9r,z10r]; |
| 3214 |
x6'l=x6'r=x5l; z6'l=whatever[z9l,z10l]; z6'r=whatever[z9r,z10r]; |
| 3215 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---z3r+oblu*right..z1'r+oblu*unitvector(z10-z9) |
| 3216 |
---obl(2'r,1'r,8l)---z8ll..z8r---obl(3'r,8r,10r)---z10r..z10ll |
| 3217 |
---ifobl(3'l,7r,10l,2r,,)---z2r..z2ll---obl(4'l,2l,5'l)---obl(5'l,4'l,6r) |
| 3218 |
---z6r..z6ll---obl(6'l,6l,9l)---z9l..z9rr---tobl(6'r,9rr,5l)---z5l..z5rr |
| 3219 |
---obl(5'r,5r,4'r)---obl(4'r,5'r,1l)---z1l..cycle; |
| 3220 |
oblu:=1.75f_obl; |
| 3221 |
infill ifobl(7l,1'l,3'l,3'l,,)---obl(3'l,1'l,7l)---cycle; |
| 3222 |
penlabels(1,1',2,2',3,3',4,4',5,6,6',7,8,9,10); |
| 3223 |
endchar; |
| 3224 |
|
| 3225 |
iff known chars.math_forces_hbar_reversed: |
| 3226 |
bskchar "Reversed forces with extra horizontal bar"; |
| 3227 |
beginchar(chars.math_forces_hbar_reversed,13u#,asc_height#,0); uni "0x2AE5"; |
| 3228 |
adjust_fit(0,0); |
| 3229 |
pickup tiny.nib; |
| 3230 |
oblu:=2oblu; |
| 3231 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 3232 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3233 |
pos5(rule_thickness,180); pos6(rule_thickness,180); |
| 3234 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 3235 |
bot y1=-d; top y2=h; y3=y4; y7=y8; .5[y3,y7]=.5[y1,y2]; y7-y3=.55x_height; |
| 3236 |
rt x1l=rt x2l=w-5u; lft x4=lft x8=u; x3=x7=x2r; |
| 3237 |
rt x5l=rt x6l=w-2u; y5=y1; y6=y2; |
| 3238 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); |
| 3239 |
bskpoints(7,8,hair,hair); |
| 3240 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,7l)---obl(7l,3r,8l)---z8ll |
| 3241 |
..z8r---obl(7r,8r,2r)---z2r..z2ll---z1l..cycle; |
| 3242 |
filldraw bskrule(5,6,hair,hair); |
| 3243 |
penlabels(1,2,3,4,5,6,7,8); |
| 3244 |
endchar; |
| 3245 |
|
| 3246 |
iff known chars.math_models: |
| 3247 |
bskchar "Models"; |
| 3248 |
beginchar(chars.math_models,8u#,asc_height#,0); uni "0x22A7"; |
| 3249 |
adjust_fit(0,0); |
| 3250 |
pickup tiny.nib; |
| 3251 |
oblu:=2oblu; |
| 3252 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3253 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3254 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 3255 |
bot y1=-d; top y2=h; y3=y4; y5=y6; .5[y5,y3]=.5[y1,y2]; y5-y3=.55x_height; |
| 3256 |
lft x1l=lft x2l=u; rt x4=rt x6=w-u; x3=x5=x2r; |
| 3257 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); bskpoints(5,6,hair,0); |
| 3258 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r) |
| 3259 |
---obl(5l,3r,6l)---z6ll..z6r---obl(5r,6r,2r)---z2r..z2ll---z1l..cycle; |
| 3260 |
penlabels(1,2,3,4,5,6); |
| 3261 |
endchar; |
| 3262 |
|
| 3263 |
iff known chars.math_models_bar: |
| 3264 |
bskchar "Models with hbar"; |
| 3265 |
beginchar(chars.math_models_bar,8u#,asc_height#,0); uni "0x2AE2"; |
| 3266 |
adjust_fit(0,0); |
| 3267 |
pickup tiny.nib; |
| 3268 |
oblu:=2oblu; |
| 3269 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3270 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3271 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 3272 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 3273 |
bot y1=-d; top y2=h; y3=y4; y5=y6; y7=y8; .5[y7,y3]=y5=.5[y1,y2]; y5-y3=.55x_height; |
| 3274 |
lft x1l=lft x2l=u; rt x4=rt x6=rt x8=w-u; x3=x5=x7=x2r; |
| 3275 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); bskpoints(5,6,hair,0); bskpoints(7,8,hair,0); |
| 3276 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r) |
| 3277 |
---obl(5l,3r,6l)---z6ll..z6r---obl(5r,6r,7l) |
| 3278 |
---obl(7l,5r,8l)---z8ll..z8r---obl(7r,8r,2r)---z2r..z2ll---z1l..cycle; |
| 3279 |
penlabels(1,2,3,4,5,6,7,8); |
| 3280 |
endchar; |
| 3281 |
|
| 3282 |
iff known chars.math_satisfies: |
| 3283 |
bskchar "Satisfies"; |
| 3284 |
beginchar(chars.math_satisfies,12u#,asc_height#,0); uni "0x22A8"; |
| 3285 |
adjust_fit(0,0); |
| 3286 |
pickup tiny.nib; |
| 3287 |
oblu:=2oblu; |
| 3288 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3289 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3290 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 3291 |
bot y1=-d; top y2=h; y3=y4; y5=y6; .5[y5,y3]=.5[y1,y2]; y5-y3=.55x_height; |
| 3292 |
lft x1l=lft x2l=u; rt x4=rt x6=w-u; x3=x5=x2r; |
| 3293 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); bskpoints(5,6,hair,0); |
| 3294 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r) |
| 3295 |
---obl(5l,3r,6l)---z6ll..z6r---obl(5r,6r,2r)---z2r..z2ll---z1l..cycle; |
| 3296 |
penlabels(1,2,3,4,5,6); |
| 3297 |
endchar; |
| 3298 |
|
| 3299 |
iff known chars.math_satisfies_neg: |
| 3300 |
bskchar "Negated satisfies"; |
| 3301 |
beginchar(chars.math_satisfies_neg,13u#,asc_height#,0); uni "0x22AD"; |
| 3302 |
adjust_fit(0,0); |
| 3303 |
pickup tiny.nib; |
| 3304 |
oblu:=2oblu; |
| 3305 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 3306 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3307 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 3308 |
bot y1=-d; top y2=h; y3=y4; y5=y6; .5[y5,y3]=.5[y1,y2]; y5-y3=.55x_height; |
| 3309 |
lft x1l=lft x2l=2u; rt x4=rt x6=w-u; x3=x5=x2r; |
| 3310 |
bot y7=-d; top y8=h; lft x7=.5u; x8=w-2u; |
| 3311 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 3312 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); bskpoints(5,6,hair,0); |
| 3313 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 3314 |
x1'l=x1'r=x1r; z1'l=whatever[z7l,z8l]; z1'r=whatever[z7r,z8r]; |
| 3315 |
y2'l=y2'r=y3l; z2'l=whatever[z7l,z8l]; z2'r=whatever[z7r,z8r]; |
| 3316 |
y3'l=y3'r=y3r; z3'l=whatever[z7l,z8l]; z3'r=whatever[z7r,z8r]; |
| 3317 |
y4'l=y4'r=y5l; z4'l=whatever[z7l,z8l]; z4'r=whatever[z7r,z8r]; |
| 3318 |
y5'l=y5'r=y5r; z5'l=whatever[z7l,z8l]; z5'r=whatever[z7r,z8r]; |
| 3319 |
x6'l=x6'r=x1l; z6'l=whatever[z7l,z8l]; z6'r=whatever[z7r,z8r]; |
| 3320 |
filldraw z1rr---obl(1'r,1r,2'r)---obl(2'r,1'r,4l)---z4ll..z4r---obl(3'r,4r,4'r) |
| 3321 |
---obl(4'r,3'r,6l)---z6ll..z6r---obl(5'r,6r,8r)---z8r..z8ll---obl(5'l,8l,5r) |
| 3322 |
---obl(5r,5'l,2r)---z2r..z2ll---obl(6'l,2l,7l)---z7l..z7rr---tobl(6'r,7rr,1l) |
| 3323 |
---z1l..cycle; |
| 3324 |
infill obl(5l,4'l,3r)---z3r+oblu*up..z3'l+oblu*unitvector(z8-z7)---obl(4'l,3'l,5l)---cycle; |
| 3325 |
penlabels(1,1',2,2',3,3',4,4',5,5',6,7,7',8); |
| 3326 |
endchar; |
| 3327 |
|
| 3328 |
iff known chars.math_satisfies_reversed: |
| 3329 |
bskchar "Reversed satisfies"; |
| 3330 |
beginchar(chars.math_satisfies_reversed,12u#,asc_height#,0); uni "0x2AE4"; |
| 3331 |
adjust_fit(0,0); |
| 3332 |
pickup tiny.nib; |
| 3333 |
oblu:=2oblu; |
| 3334 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 3335 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 3336 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 3337 |
bot y1=-d; top y2=h; y3=y4; y5=y6; .5[y5,y3]=.5[y1,y2]; y5-y3=.55x_height; |
| 3338 |
rt x1l=rt x2l=w-u; lft x4=lft x6=u; x3=x5=x2r; |
| 3339 |
bskpoints(3,4,hair,0); bskpoints(1,2,hair,hair); bskpoints(5,6,hair,0); |
| 3340 |
filldraw z1rr---obl(3l,1r,4l)---z4ll..z4r---obl(3r,4r,2r) |
| 3341 |
---obl(5l,3r,6l)---z6ll..z6r---obl(5r,6r,2r)---z2r..z2ll---z1l..cycle; |
| 3342 |
penlabels(1,2,3,4,5,6); |
| 3343 |
endchar; |
| 3344 |
|
| 3345 |
iff known chars.math_triangle_up: |
| 3346 |
bskchar "Big triangle up"; |
| 3347 |
beginchar(chars.math_triangle_up,17u#,asc_height#,desc_depth#); uni "0x25B3"; |
| 3348 |
adjust_fit(0,0); |
| 3349 |
pickup tiny.nib; |
| 3350 |
numeric lw; |
| 3351 |
lw=rule_thickness-currentbreadth; |
| 3352 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3353 |
bot y1=bot y2=0; top y3=h+o; |
| 3354 |
y1'=y2'=y1+lw; |
| 3355 |
x1'-x1=x2-x2'=lw/cosd(angle(z3-z1)); |
| 3356 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3357 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3358 |
oblu:=2oblu; |
| 3359 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3360 |
labels(1,1',2,2',3,3'); |
| 3361 |
endchar; |
| 3362 |
|
| 3363 |
iff known chars.math_triangle_right: |
| 3364 |
bskchar "Triangle pointing right"; |
| 3365 |
beginchar(chars.math_triangle_right,x_height#+2u#,v_center(x_height#)); uni "non"; %22B3? |
| 3366 |
adjust_fit(0,0); |
| 3367 |
pickup tiny.nib; |
| 3368 |
numeric lw; |
| 3369 |
lw=rule_thickness-currentbreadth; |
| 3370 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3371 |
top y1=h; bot y2=-d; |
| 3372 |
x1'=x2'=x1+lw; |
| 3373 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3374 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3375 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3376 |
oblu:=2oblu; |
| 3377 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3378 |
labels(1,1',2,2',3,3'); |
| 3379 |
endchar; |
| 3380 |
|
| 3381 |
iff known chars.math_triangle_left: |
| 3382 |
bskchar "Triangle pointing left"; |
| 3383 |
beginchar(chars.math_triangle_left,x_height#+2u#,v_center(x_height#)); uni "non"; %22B2? |
| 3384 |
adjust_fit(0,0); |
| 3385 |
pickup tiny.nib; |
| 3386 |
numeric lw; |
| 3387 |
lw=rule_thickness-currentbreadth; |
| 3388 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3389 |
top y1=h; bot y2=-d; |
| 3390 |
x1'=x2'=x1-lw; |
| 3391 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3392 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3393 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3394 |
oblu:=2oblu; |
| 3395 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3396 |
labels(1,1',2,2',3,3'); |
| 3397 |
endchar; |
| 3398 |
|
| 3399 |
iff known chars.math_triangle_black_right: |
| 3400 |
bskchar "Black triangle pointing right"; |
| 3401 |
beginchar(chars.math_triangle_black_right,x_height#+2u#,v_center(x_height#)); uni "non"; |
| 3402 |
adjust_fit(0,0); |
| 3403 |
pickup tiny.nib; |
| 3404 |
numeric lw; |
| 3405 |
lw=rule_thickness-currentbreadth; |
| 3406 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3407 |
top y1=h; bot y2=-d; |
| 3408 |
x1'=x2'=x1+lw; |
| 3409 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3410 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3411 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3412 |
labels(1,1',2,2',3,3'); |
| 3413 |
endchar; |
| 3414 |
|
| 3415 |
iff known chars.math_triangle_black_left: |
| 3416 |
bskchar "Black triangle pointing left"; |
| 3417 |
beginchar(chars.math_triangle_black_left,x_height#+2u#,v_center(x_height#)); uni "non"; |
| 3418 |
adjust_fit(0,0); |
| 3419 |
pickup tiny.nib; |
| 3420 |
numeric lw; |
| 3421 |
lw=rule_thickness-currentbreadth; |
| 3422 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3423 |
top y1=h; bot y2=-d; |
| 3424 |
x1'=x2'=x1-lw; |
| 3425 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3426 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3427 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3428 |
labels(1,1',2,2',3,3'); |
| 3429 |
endchar; |
| 3430 |
|
| 3431 |
iff known chars.math_triangle_right_isosceles: |
| 3432 |
bskchar "Isosceles triangle pointing right"; |
| 3433 |
beginchar(chars.math_triangle_right_isosceles,13u#,v_center(1.2x_height#)); uni "0x22B3"; |
| 3434 |
adjust_fit(0,0); |
| 3435 |
pickup tiny.nib; |
| 3436 |
numeric lw; |
| 3437 |
lw=rule_thickness-currentbreadth; |
| 3438 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3439 |
top y1=h; bot y2=-d; |
| 3440 |
x1'=x2'=x1+lw; |
| 3441 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3442 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3443 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3444 |
oblu:=2oblu; |
| 3445 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3446 |
labels(1,1',2,2',3,3'); |
| 3447 |
endchar; |
| 3448 |
|
| 3449 |
iff known chars.math_triangle_right_isosceles_neg: |
| 3450 |
bskchar "Negated isosceles triangle pointing right"; |
| 3451 |
beginchar(chars.math_triangle_right_isosceles_neg,13u#,v_center(1.2x_height#)); uni "0x22EB"; |
| 3452 |
adjust_fit(0,0); |
| 3453 |
pickup tiny.nib; |
| 3454 |
numeric lw; |
| 3455 |
oblu.more:=2oblu; oblu.hi:=3oblu; |
| 3456 |
lw=rule_thickness-currentbreadth; |
| 3457 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3458 |
top y1=h; bot y2=-d; |
| 3459 |
x1'=x2'=x1+lw; |
| 3460 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3461 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3462 |
top y5=h+2rule_thickness; bot y4=-d-2rule_thickness; .5[x4,x5]=.5w; rt x5=w-3u; |
| 3463 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 3464 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 3465 |
z4'l=whatever[z4l,z5l]=whatever[z2,z3]; z4'r=whatever[z4r,z5r]=whatever[z2,z3]; |
| 3466 |
z4''l=whatever[z4l,z5l]=whatever[z2',z3']; z4''r=whatever[z4r,z5r]=whatever[z2',z3']; |
| 3467 |
z5'l=whatever[z4l,z5l]=whatever[z1,z3]; z5'r=whatever[z4r,z5r]=whatever[z1,z3]; |
| 3468 |
z5''l=whatever[z4l,z5l]=whatever[z1',z3']; z5''r=whatever[z4r,z5r]=whatever[z1',z3']; |
| 3469 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(4'l,2,4l).hi---z4l..z4rr---obl(4'r,4r,3) |
| 3470 |
---obl(3,2,1)---obl(5'r,3,5r)--z5r..z5ll---obl(5'l,5l,1).more---cycle; |
| 3471 |
oblu:=2oblu; |
| 3472 |
infill obl(1',3',2')---obl(2',1',3')---obl(4''l,2',5''l)---obl(5''l,4''l,1')---cycle; |
| 3473 |
infill obl(4''r,5''r,3')---obl(3',2',1')---obl(5''r,3',4''r)---cycle; |
| 3474 |
penlabels(4,4',4'',5,5',5''); labels(1,1',2,2',3,3',4rr,5ll); |
| 3475 |
endchar; |
| 3476 |
|
| 3477 |
iff known chars.math_triangle_right_isosceles_line: |
| 3478 |
bskchar "Isosceles triangle pointing right with line"; |
| 3479 |
beginchar(chars.math_triangle_right_isosceles_line,15u#,v_center(1.2x_height#)); uni "0x29D0"; |
| 3480 |
adjust_fit(0,0); |
| 3481 |
pickup tiny.nib; |
| 3482 |
numeric lw; |
| 3483 |
lw=rule_thickness-currentbreadth; |
| 3484 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 3485 |
lft x1=3u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3486 |
top y1=h; bot y2=-d; |
| 3487 |
x1'=x2'=x1+lw; |
| 3488 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3489 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3490 |
lft x4l=lft x5l=u; bot y5=y2; top y4=y1; |
| 3491 |
filldraw bskrule(4,5,hair,hair); |
| 3492 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3493 |
oblu:=2oblu; |
| 3494 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3495 |
penlabels(4,5); labels(1,1',2,2',3,3'); |
| 3496 |
endchar; |
| 3497 |
|
| 3498 |
iff known chars.math_triangle_left_isosceles: |
| 3499 |
bskchar "Isosceles triangle pointing left"; |
| 3500 |
beginchar(chars.math_triangle_left_isosceles,13u#,v_center(1.2x_height#)); uni "0x22B2"; |
| 3501 |
adjust_fit(0,0); |
| 3502 |
pickup tiny.nib; |
| 3503 |
numeric lw; |
| 3504 |
lw=rule_thickness-currentbreadth; |
| 3505 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3506 |
top y1=h; bot y2=-d; |
| 3507 |
x1'=x2'=x1-lw; |
| 3508 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3509 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3510 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3511 |
oblu:=2oblu; |
| 3512 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3513 |
labels(1,1',2,2',3,3'); |
| 3514 |
endchar; |
| 3515 |
|
| 3516 |
iff known chars.math_triangle_left_isosceles_neg: |
| 3517 |
bskchar "Negated isosceles triangle pointing left"; |
| 3518 |
beginchar(chars.math_triangle_left_isosceles_neg,13u#,v_center(1.2x_height#)); uni "0x22EA"; |
| 3519 |
adjust_fit(0,0); |
| 3520 |
pickup tiny.nib; |
| 3521 |
numeric lw; |
| 3522 |
oblu.more:=2oblu; oblu.hi:=3oblu; |
| 3523 |
lw=rule_thickness-currentbreadth; |
| 3524 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3525 |
top y1=h; bot y2=-d; |
| 3526 |
x1'=x2'=x1-lw; |
| 3527 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3528 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3529 |
top y5=h+2rule_thickness; bot y4=-d-2rule_thickness; .5[x4,x5]=.5w; rt x5=w-3u; |
| 3530 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 3531 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 3532 |
z4'l=whatever[z4l,z5l]=whatever[z2,z3]; z4'r=whatever[z4r,z5r]=whatever[z2,z3]; |
| 3533 |
z4''l=whatever[z4l,z5l]=whatever[z2',z3']; z4''r=whatever[z4r,z5r]=whatever[z2',z3']; |
| 3534 |
z5'l=whatever[z4l,z5l]=whatever[z1,z3]; z5'r=whatever[z4r,z5r]=whatever[z1,z3]; |
| 3535 |
z5''l=whatever[z4l,z5l]=whatever[z1',z3']; z5''r=whatever[z4r,z5r]=whatever[z1',z3']; |
| 3536 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(4'r,2,4r)---z4rr..z4l---obl(4'l,4l,3) |
| 3537 |
---obl(3,2,1)---obl(5'l,3,5l)---z5ll..z5r---obl(5'r,5r,1).hi---cycle; |
| 3538 |
oblu:=2oblu; |
| 3539 |
infill obl(1',3',2')---obl(2',1',3')---obl(4''r,2',5''r)---obl(5''r,4''r,1')---cycle; |
| 3540 |
infill obl(4''l,5''l,3')---obl(3',2',1')---obl(5''l,3',4''l)---cycle; |
| 3541 |
penlabels(4,4',4'',5,5',5''); labels(1,1',2,2',3,3',4rr,5ll); |
| 3542 |
endchar; |
| 3543 |
|
| 3544 |
iff known chars.math_triangle_left_isosceles_line: |
| 3545 |
bskchar "Isosceles triangle pointing left with line"; |
| 3546 |
beginchar(chars.math_triangle_left_isosceles_line,15u#,v_center(1.2x_height#)); uni "0x29CF"; |
| 3547 |
adjust_fit(0,0); |
| 3548 |
pickup tiny.nib; |
| 3549 |
numeric lw; |
| 3550 |
lw=rule_thickness-currentbreadth; |
| 3551 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 3552 |
rt x1=w-3u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3553 |
top y1=h; bot y2=-d; |
| 3554 |
x1'=x2'=x1-lw; |
| 3555 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3556 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3557 |
rt x4r=rt x5r=w-u; bot y5=y2; top y4=y1; |
| 3558 |
filldraw bskrule(4,5,hair,hair); |
| 3559 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3560 |
oblu:=2oblu; |
| 3561 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3562 |
penlabels(4,5); labels(1,1',2,2',3,3'); |
| 3563 |
endchar; |
| 3564 |
|
| 3565 |
iff known chars.math_triangle_right_isosceles_bar: |
| 3566 |
bskchar "Isosceles triangle pointing right with bar"; |
| 3567 |
beginchar(chars.math_triangle_right_isosceles_bar,13u#,v_center(1.2x_height#+3u#)); uni "0x22B5"; |
| 3568 |
adjust_fit(0,0); |
| 3569 |
pickup tiny.nib; |
| 3570 |
numeric lw; |
| 3571 |
lw=rule_thickness-currentbreadth; |
| 3572 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 3573 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3574 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3575 |
x1'=x2'=x1+lw; |
| 3576 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3577 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3578 |
bot y4l=bot y5l=-d; lft x4=u; x5=w-x4; |
| 3579 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3580 |
filldraw bskrule(4,5,hair,hair); |
| 3581 |
oblu:=2oblu; |
| 3582 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3583 |
labels(1,1',2,2',3,3'); penlabels(4,5); |
| 3584 |
endchar; |
| 3585 |
|
| 3586 |
iff known chars.math_triangle_right_isosceles_bar_neg: |
| 3587 |
bskchar "Negated isosceles triangle pointing right with bar"; |
| 3588 |
beginchar(chars.math_triangle_right_isosceles_bar_neg,13u#,v_center(1.2x_height#+3u#)); uni "0x22ED"; |
| 3589 |
adjust_fit(0,0); |
| 3590 |
pickup tiny.nib; |
| 3591 |
numeric lw; |
| 3592 |
oblu.more:=2oblu; oblu.hi:=3oblu; |
| 3593 |
lw=rule_thickness-currentbreadth; |
| 3594 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3595 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3596 |
x1'=x2'=x1+lw; |
| 3597 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3598 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3599 |
top y5=h+2rule_thickness; bot y4=-d-2rule_thickness; .5[x4,x5]=.5w; rt x5=w-3u; |
| 3600 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 3601 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 3602 |
bot y6l=bot y7l=-d; lft x6=u; x7=w-x6; |
| 3603 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 3604 |
bskpoints(6,7,hair,hair); |
| 3605 |
z4'l=whatever[z4l,z5l]=whatever[z2,z3]; z4'r=whatever[z4r,z5r]=whatever[z2,z3]; |
| 3606 |
z4''l=whatever[z4l,z5l]=whatever[z2',z3']; z4''r=whatever[z4r,z5r]=whatever[z2',z3']; |
| 3607 |
z5'l=whatever[z4l,z5l]=whatever[z1,z3]; z5'r=whatever[z4r,z5r]=whatever[z1,z3]; |
| 3608 |
z5''l=whatever[z4l,z5l]=whatever[z1',z3']; z5''r=whatever[z4r,z5r]=whatever[z1',z3']; |
| 3609 |
y6'l=y6'r=y6r; z6'l=whatever[z4l,z5l]; z6'r=whatever[z4r,z5r]; |
| 3610 |
y7'l=y7'r=y6l; z7'l=whatever[z4l,z5l]; z7'r=whatever[z4r,z5r]; |
| 3611 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(4'l,2,4l).hi---obl(6'l,4'l,6r)---z6rr..z6l |
| 3612 |
---obl(7'l,6l,4l)---z4l..z4rr---obl(7'r,4r,7l)---z7ll..z7r---obl(6'r,7r,4'r) |
| 3613 |
---obl(4'r,4r,3)---obl(3,2,1)---obl(5'r,3,5r)--z5r..z5ll---obl(5'l,5l,1).more |
| 3614 |
---cycle; |
| 3615 |
oblu:=2oblu; |
| 3616 |
infill obl(1',3',2')---obl(2',1',3')---obl(4''l,2',5''l)---obl(5''l,4''l,1')---cycle; |
| 3617 |
infill obl(4''r,5''r,3')---obl(3',2',1')---obl(5''r,3',4''r)---cycle; |
| 3618 |
penlabels(4,4',4'',5,5',5'',6,6',7,7'); labels(1,1',2,2',3,3',4rr,5ll); |
| 3619 |
endchar; |
| 3620 |
|
| 3621 |
iff known chars.math_triangle_left_isosceles_bar: |
| 3622 |
bskchar "Isosceles triangle pointing left with bar"; |
| 3623 |
beginchar(chars.math_triangle_left_isosceles_bar,13u#,v_center(1.2x_height#+3u#)); uni "0x22B4"; |
| 3624 |
adjust_fit(0,0); |
| 3625 |
pickup tiny.nib; |
| 3626 |
numeric lw; |
| 3627 |
lw=rule_thickness-currentbreadth; |
| 3628 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 3629 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3630 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3631 |
x1'=x2'=x1-lw; |
| 3632 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3633 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3634 |
bot y4l=bot y5l=-d; lft x4=u; x5=w-x4; |
| 3635 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3636 |
filldraw bskrule(4,5,hair,hair); |
| 3637 |
oblu:=2oblu; |
| 3638 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3639 |
labels(1,1',2,2',3,3'); penlabels(4,5); |
| 3640 |
endchar; |
| 3641 |
|
| 3642 |
iff known chars.math_triangle_left_isosceles_bar_neg: |
| 3643 |
bskchar "Negated isosceles triangle pointing left with bar"; |
| 3644 |
beginchar(chars.math_triangle_left_isosceles_bar_neg,13u#,v_center(1.2x_height#+3u#)); uni "0x22EC"; |
| 3645 |
adjust_fit(0,0); |
| 3646 |
pickup tiny.nib; |
| 3647 |
numeric lw; |
| 3648 |
oblu.more:=2oblu; oblu.hi:=3oblu; |
| 3649 |
lw=rule_thickness-currentbreadth; |
| 3650 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3651 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3652 |
x1'=x2'=x1-lw; |
| 3653 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3654 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3655 |
top y5=h+2rule_thickness; bot y4=-d-2rule_thickness; .5[x4,x5]=.5w; rt x5=w-3u; |
| 3656 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 3657 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 3658 |
bot y6l=bot y7l=-d; lft x6=u; x7=w-x6; |
| 3659 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 3660 |
bskpoints(6,7,hair,hair); |
| 3661 |
z4'l=whatever[z4l,z5l]=whatever[z2,z3]; z4'r=whatever[z4r,z5r]=whatever[z2,z3]; |
| 3662 |
z4''l=whatever[z4l,z5l]=whatever[z2',z3']; z4''r=whatever[z4r,z5r]=whatever[z2',z3']; |
| 3663 |
z5'l=whatever[z4l,z5l]=whatever[z1,z3]; z5'r=whatever[z4r,z5r]=whatever[z1,z3]; |
| 3664 |
z5''l=whatever[z4l,z5l]=whatever[z1',z3']; z5''r=whatever[z4r,z5r]=whatever[z1',z3']; |
| 3665 |
y6'l=y6'r=y6r; z6'l=whatever[z4l,z5l]; z6'r=whatever[z4r,z5r]; |
| 3666 |
y7'l=y7'r=y6l; z7'l=whatever[z4l,z5l]; z7'r=whatever[z4r,z5r]; |
| 3667 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(4'r,2,4r)---obl(6'r,4'r,7r).more---z7r..z7ll |
| 3668 |
---obl(7'r,7l,4r)---z4rr..z4l---obl(7'l,4l,6l).more---z6l..z6rr |
| 3669 |
---obl(6'l,6r,4'l)---obl(4'l,4l,3)---obl(3,2,1)---obl(5'l,3,5l)---z5ll |
| 3670 |
..z5r---obl(5'r,5r,1).hi---cycle; |
| 3671 |
oblu:=2oblu; |
| 3672 |
infill obl(1',3',2')---obl(2',1',3')---obl(4''r,2',5''r)---obl(5''r,4''r,1')---cycle; |
| 3673 |
infill obl(4''l,5''l,3')---obl(3',2',1')---obl(5''l,3',4''l)---cycle; |
| 3674 |
penlabels(4,4',4'',5,5',5'',6,6',7,7'); labels(1,1',2,2',3,3',4rr,5ll); |
| 3675 |
endchar; |
| 3676 |
|
| 3677 |
iff known chars.math_triangle_right_isosceles_bar_sl: |
| 3678 |
bskchar "Isosceles triangle pointing right with slanted bar"; |
| 3679 |
beginchar(chars.math_triangle_right_isosceles_bar_sl,13u#,v_center(1.2x_height#+3u#)); uni "non"; |
| 3680 |
adjust_fit(0,0); |
| 3681 |
pickup tiny.nib; |
| 3682 |
numeric lw; |
| 3683 |
lw=rule_thickness-currentbreadth; |
| 3684 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3685 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3686 |
x1'=x2'=x1+lw; |
| 3687 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3688 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3689 |
bot y4=-d+.5rule_thickness; y2-y4=y3-y5; lft x4=u; x5=w-x4; |
| 3690 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 3691 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3692 |
filldraw bskrule(4,5,hair,hair); |
| 3693 |
oblu:=2oblu; |
| 3694 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3695 |
labels(1,1',2,2',3,3'); penlabels(4,5); |
| 3696 |
endchar; |
| 3697 |
|
| 3698 |
iff known chars.math_triangle_left_isosceles_bar_sl: |
| 3699 |
bskchar "Isosceles triangle pointing left with slanted bar"; |
| 3700 |
beginchar(chars.math_triangle_left_isosceles_bar_sl,13u#,v_center(1.2x_height#+3u#)); uni "non"; |
| 3701 |
adjust_fit(0,0); |
| 3702 |
pickup tiny.nib; |
| 3703 |
numeric lw; |
| 3704 |
lw=rule_thickness-currentbreadth; |
| 3705 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3706 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3707 |
x1'=x2'=x1-lw; |
| 3708 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3709 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3710 |
bot y5=-d+.5rule_thickness; y3-y4=y2-y5; lft x4=u; x5=w-x4; |
| 3711 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 3712 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3713 |
filldraw bskrule(4,5,hair,hair); |
| 3714 |
oblu:=2oblu; |
| 3715 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3716 |
labels(1,1',2,2',3,3'); penlabels(4,5); |
| 3717 |
endchar; |
| 3718 |
|
| 3719 |
iff known chars.math_triangles_isosceles_right_left: |
| 3720 |
bskchar "Isosceles triangle pointing right above pointing left"; |
| 3721 |
beginchar(chars.math_triangles_isosceles_right_left,13u#,v_center(1.8x_height#+2rule_thickness#)); uni "0x29CE"; |
| 3722 |
adjust_fit(0,0); |
| 3723 |
pickup tiny.nib; |
| 3724 |
numeric lw; |
| 3725 |
lw=rule_thickness-currentbreadth; |
| 3726 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3727 |
top y1=h; top y1-bot y2=1.2x_height; |
| 3728 |
x1'=x2'=x1+lw; |
| 3729 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3730 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3731 |
rt x4=w-u; x5=x4; y6=.5[y4,y5]; lft x6=u-hair; |
| 3732 |
top y4-bot y5=1.2x_height; bot y5=-d; |
| 3733 |
x4'=x5'=x4-lw; |
| 3734 |
y4'-y4=y5-y5'=lw/cosd(angle(z6-z4)); |
| 3735 |
z6'=z5'+whatever*(z6-z5)=z4'+whatever*(z6-z4); |
| 3736 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3737 |
filldraw obl(4,6,5)---obl(5,4,6)---obl(6,5,4)---cycle; |
| 3738 |
oblu:=2oblu; |
| 3739 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3740 |
infill obl(4',6',5')---obl(5',4',6')---obl(6',5',4')---cycle; |
| 3741 |
labels(1,1',2,2',3,3',4,4',5,5',6,6'); |
| 3742 |
endchar; |
| 3743 |
|
| 3744 |
iff known chars.math_triangles_isosceles_left_right: |
| 3745 |
bskchar "Isosceles triangle pointing left above pointing right"; |
| 3746 |
beginchar(chars.math_triangles_isosceles_left_right,13u#,v_center(1.8x_height#+2rule_thickness#)); uni "non"; |
| 3747 |
adjust_fit(0,0); |
| 3748 |
pickup tiny.nib; |
| 3749 |
numeric lw; |
| 3750 |
lw=rule_thickness-currentbreadth; |
| 3751 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3752 |
bot y2=-d; top y1-bot y2=1.2x_height; |
| 3753 |
x1'=x2'=x1+lw; |
| 3754 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3755 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3756 |
rt x4=w-u; x5=x4; y6=.5[y4,y5]; lft x6=u-hair; |
| 3757 |
top y4-bot y5=1.2x_height; top y4=h; |
| 3758 |
x4'=x5'=x4-lw; |
| 3759 |
y4'-y4=y5-y5'=lw/cosd(angle(z6-z4)); |
| 3760 |
z6'=z5'+whatever*(z6-z5)=z4'+whatever*(z6-z4); |
| 3761 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3762 |
filldraw obl(4,6,5)---obl(5,4,6)---obl(6,5,4)---cycle; |
| 3763 |
oblu:=2oblu; |
| 3764 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3765 |
infill obl(4',6',5')---obl(5',4',6')---obl(6',5',4')---cycle; |
| 3766 |
labels(1,1',2,2',3,3',4,4',5,5',6,6'); |
| 3767 |
endchar; |
| 3768 |
|
| 3769 |
iff known chars.math_triangle_right_isosceles_black: |
| 3770 |
bskchar "Black isosceles triangle pointing right"; |
| 3771 |
beginchar(chars.math_triangle_right_isosceles_black,13u#,v_center(1.2x_height#)); uni "non"; |
| 3772 |
adjust_fit(0,0); |
| 3773 |
pickup tiny.nib; |
| 3774 |
numeric lw; |
| 3775 |
lw=rule_thickness-currentbreadth; |
| 3776 |
lft x1=u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; |
| 3777 |
top y1=h; bot y2=-d; |
| 3778 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3779 |
labels(1,2,3); |
| 3780 |
endchar; |
| 3781 |
|
| 3782 |
iff known chars.math_triangle_left_isosceles_black: |
| 3783 |
bskchar "Black isosceles triangle pointing left"; |
| 3784 |
beginchar(chars.math_triangle_left_isosceles_black,13u#,v_center(1.2x_height#)); uni "non"; |
| 3785 |
adjust_fit(0,0); |
| 3786 |
pickup tiny.nib; |
| 3787 |
numeric lw; |
| 3788 |
lw=rule_thickness-currentbreadth; |
| 3789 |
rt x1=w-u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; |
| 3790 |
top y1=h; bot y2=-d; |
| 3791 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3792 |
labels(1,2,3); |
| 3793 |
endchar; |
| 3794 |
|
| 3795 |
iff known chars.math_slice_left: |
| 3796 |
bskchar "Left slice"; |
| 3797 |
beginchar(chars.math_slice_left,13u#,v_center(1.2x_height#)); uni "non"; |
| 3798 |
adjust_fit(0,0); |
| 3799 |
pickup tiny.nib; |
| 3800 |
numeric lw; |
| 3801 |
lw=rule_thickness-currentbreadth; |
| 3802 |
pos0(rule_thickness,0); |
| 3803 |
rt x1=w-3u; x2=x1; y3=.5[y1,y2]; lft x3=u-hair; rt x0r=w-u; |
| 3804 |
top y1=h; bot y2=-d; y0=.5[y1,y2]; |
| 3805 |
x1'=x2'=x1-lw; |
| 3806 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z1)); |
| 3807 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3808 |
filldraw z1+oblu*unitvector(z3-z1)--z1..z0r..z2--z2+oblu*unitvector(z3-z2)---obl(3,2,1)---cycle; |
| 3809 |
oblu:=2oblu; |
| 3810 |
infill z1'+oblu*unitvector(z3'-z1')--z1'..z0l..z2'--z2'+oblu*unitvector(z3'-z2')---obl(3',2',1')---cycle; |
| 3811 |
penlabels(0); labels(1,1',2,2',3,3'); |
| 3812 |
endchar; |
| 3813 |
|
| 3814 |
iff known chars.math_slice_right: |
| 3815 |
bskchar "Right slice"; |
| 3816 |
beginchar(chars.math_slice_right,13u#,v_center(1.2x_height#)); uni "non"; |
| 3817 |
adjust_fit(0,0); |
| 3818 |
pickup tiny.nib; |
| 3819 |
numeric lw; |
| 3820 |
lw=rule_thickness-currentbreadth; |
| 3821 |
pos0(rule_thickness,0); |
| 3822 |
lft x1=3u; x2=x1; y3=.5[y1,y2]; rt x3=w-u+hair; lft x0l=u; |
| 3823 |
top y1=h; bot y2=-d; y0=.5[y1,y2]; |
| 3824 |
x1'=x2'=x1+lw; |
| 3825 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 3826 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3827 |
filldraw z1+oblu*unitvector(z3-z1)--z1..z0l..z2--z2+oblu*unitvector(z3-z2)---obl(3,2,1)---cycle; |
| 3828 |
oblu:=2oblu; |
| 3829 |
infill z1'+oblu*unitvector(z3'-z1')--z1'..z0r..z2'--z2'+oblu*unitvector(z3'-z2')---obl(3',2',1')---cycle; |
| 3830 |
penlabels(0); labels(1,1',2,2',3,3'); |
| 3831 |
endchar; |
| 3832 |
|
| 3833 |
iff known chars.math_triangle_black_up: |
| 3834 |
bskchar "Big black triangle up"; |
| 3835 |
beginchar(chars.math_triangle_black_up,17u#,asc_height#,desc_depth#); uni "0x25B2"; |
| 3836 |
adjust_fit(0,0); |
| 3837 |
pickup tiny.nib; |
| 3838 |
numeric lw; |
| 3839 |
lw=rule_thickness-currentbreadth; |
| 3840 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3841 |
bot y1=bot y2=-d; top y3=h+o; |
| 3842 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3843 |
labels(1,2,3); |
| 3844 |
endchar; |
| 3845 |
|
| 3846 |
iff known chars.math_triangle_down: |
| 3847 |
bskchar "Big triangle down"; |
| 3848 |
beginchar(chars.math_triangle_down,17u#,asc_height#,desc_depth#); uni "non"; |
| 3849 |
adjust_fit(0,0); |
| 3850 |
pickup tiny.nib; |
| 3851 |
numeric lw; |
| 3852 |
lw=rule_thickness-currentbreadth; |
| 3853 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3854 |
top y1=top y2=h-d; bot y3=-d-o; |
| 3855 |
y1'=y2'=y1-lw; |
| 3856 |
x1'-x1=x2-x2'=lw/cosd(angle(z3-z1)); |
| 3857 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3858 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3859 |
oblu:=2oblu; |
| 3860 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3861 |
labels(1,1',2,2',3,3'); |
| 3862 |
endchar; |
| 3863 |
|
| 3864 |
iff known chars.math_triangle_black_down: |
| 3865 |
bskchar "Big black triangle down"; |
| 3866 |
beginchar(chars.math_triangle_black_down,17u#,asc_height#,desc_depth#); uni "non"; |
| 3867 |
adjust_fit(0,0); |
| 3868 |
pickup tiny.nib; |
| 3869 |
numeric lw; |
| 3870 |
lw=rule_thickness-currentbreadth; |
| 3871 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3872 |
top y1=top y2=h; bot y3=-d-o; |
| 3873 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3874 |
labels(1,2,3); |
| 3875 |
endchar; |
| 3876 |
|
| 3877 |
iff known chars.math_big_triangle_right: |
| 3878 |
bskchar "Big triangle right"; |
| 3879 |
beginchar(chars.math_big_triangle_right,17u#,asc_height#,0desc_depth#); uni "non"; |
| 3880 |
adjust_fit(0,0); |
| 3881 |
pickup tiny.nib; |
| 3882 |
numeric lw; |
| 3883 |
lw=rule_thickness-currentbreadth; |
| 3884 |
lft x1=lft x2=u; rt x3=w-u; |
| 3885 |
top y1=h+o; bot y2=-d-o; y3=.5[y1,y2]; |
| 3886 |
x1'=x2'=x1+lw; |
| 3887 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z2)); |
| 3888 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3889 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3890 |
oblu:=2oblu; |
| 3891 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3892 |
labels(1,1',2,2',3,3'); |
| 3893 |
endchar; |
| 3894 |
|
| 3895 |
iff known chars.math_triangle_black_right: |
| 3896 |
bskchar "Big black triangle right"; |
| 3897 |
beginchar(chars.math_triangle_black_right,17u#,asc_height#,0desc_depth#); uni "non"; |
| 3898 |
adjust_fit(0,0); |
| 3899 |
pickup tiny.nib; |
| 3900 |
numeric lw; |
| 3901 |
lw=rule_thickness-currentbreadth; |
| 3902 |
lft x1=lft x2=u; rt x3=w-u; |
| 3903 |
top y1=h+o; bot y2=-d-o; y3=.5[y1,y2]; |
| 3904 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3905 |
labels(1,2,3); |
| 3906 |
endchar; |
| 3907 |
|
| 3908 |
iff known chars.math_big_triangle_left: |
| 3909 |
bskchar "Big triangle left"; |
| 3910 |
beginchar(chars.math_big_triangle_left,17u#,asc_height#,0desc_depth#); uni "non"; |
| 3911 |
adjust_fit(0,0); |
| 3912 |
pickup tiny.nib; |
| 3913 |
numeric lw; |
| 3914 |
lw=rule_thickness-currentbreadth; |
| 3915 |
rt x1=rt x2=w-u; lft x3=u; |
| 3916 |
top y1=h+o; bot y2=-d-o; y3=.5[y1,y2]; |
| 3917 |
x1'=x2'=x1-lw; |
| 3918 |
y1'-y1=y2-y2'=lw/cosd(angle(z3-z2)); |
| 3919 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3920 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3921 |
oblu:=2oblu; |
| 3922 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3923 |
labels(1,1',2,2',3,3'); |
| 3924 |
endchar; |
| 3925 |
|
| 3926 |
iff known chars.math_triangle_black_left: |
| 3927 |
bskchar "Big black triangle left"; |
| 3928 |
beginchar(chars.math_triangle_black_left,17u#,asc_height#,0desc_depth#); uni "non"; |
| 3929 |
adjust_fit(0,0); |
| 3930 |
pickup tiny.nib; |
| 3931 |
numeric lw; |
| 3932 |
lw=rule_thickness-currentbreadth; |
| 3933 |
rt x1=rt x2=w-u; lft x3=u; |
| 3934 |
top y1=h+o; bot y2=-d-o; y3=.5[y1,y2]; |
| 3935 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3936 |
labels(1,2,3); |
| 3937 |
endchar; |
| 3938 |
|
| 3939 |
iff known chars.math_curved_triangle_up: |
| 3940 |
bskchar "Big curved triangle up"; |
| 3941 |
beginchar(chars.math_curved_triangle_up,17u#,asc_height#,desc_depth#); uni "non"; |
| 3942 |
adjust_fit(0,0); |
| 3943 |
pickup tiny.nib; |
| 3944 |
numeric lw; |
| 3945 |
lw=rule_thickness-currentbreadth; |
| 3946 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3947 |
bot y1=bot y2=-d; top y3=h+o; |
| 3948 |
y1'=y2'=y1+lw; |
| 3949 |
x1'-x1=x2-x2'=lw/cosd(angle(z3-z1)); |
| 3950 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3951 |
z2''=.5[z1,z2]+hair*up; |
| 3952 |
filldraw obl(1,3,2)..z2''..obl(2,1,3)---obl(3,2,1)---cycle; |
| 3953 |
oblu:=2oblu; |
| 3954 |
infill obl(1',3',2')..z2''+lw*up..obl(2',1',3')---obl(3',2',1')---cycle; |
| 3955 |
labels(1,1',1'',2,2',2'',3,3'); |
| 3956 |
endchar; |
| 3957 |
|
| 3958 |
iff known chars.math_curved_triangle_up_black: |
| 3959 |
bskchar "Big curved triangle up"; |
| 3960 |
beginchar(chars.math_curved_triangle_up_black,17u#,asc_height#,desc_depth#); uni "non"; |
| 3961 |
adjust_fit(0,0); |
| 3962 |
pickup tiny.nib; |
| 3963 |
numeric lw; |
| 3964 |
lw=rule_thickness-currentbreadth; |
| 3965 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3966 |
bot y1=bot y2=-d; top y3=h+o; |
| 3967 |
y1'=y2'=y1+lw; |
| 3968 |
x1'-x1=x2-x2'=lw/sind(angle(z3-z1)); |
| 3969 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3970 |
z1''=.5[z1,z3]+2hair*dir(angle(z3-z1)-90); |
| 3971 |
z2''=.5[z1,z2]+hair*up; |
| 3972 |
z3''=.5[z2,z3]+2hair*dir(angle(z3-z2)+90); |
| 3973 |
filldraw z1+oblu*right{right}..z2''..{right}z2+oblu*left.. |
| 3974 |
z2+oblu*unitvector(z3-z2){z3-z2} |
| 3975 |
..z3''...{z3-z2}z3+oblu*unitvector(z2-z3)..z3+oblu*unitvector(z1-z3){z1-z3}.. |
| 3976 |
z1''..{z1-z3}z1+oblu*unitvector(z3-z1)..cycle; |
| 3977 |
labels(1,1',1'',2,2',2'',3,3',3''); |
| 3978 |
endchar; |
| 3979 |
|
| 3980 |
iff known chars.math_triangle_down_isosceles: |
| 3981 |
bskchar "Isosceles triangle pointing down"; |
| 3982 |
beginchar(chars.math_triangle_down_isosceles,.8asc_height#+2u#,.8asc_height#,0); uni "non"; |
| 3983 |
adjust_fit(0,0); |
| 3984 |
pickup tiny.nib; |
| 3985 |
numeric lw; |
| 3986 |
lw=rule_thickness-currentbreadth; |
| 3987 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 3988 |
top y1=top y2=h; bot y3=0; |
| 3989 |
y1'=y2'=y1-lw; |
| 3990 |
x1'-x1=x2-x2'=-lw/sind(angle(z3-z1)); |
| 3991 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 3992 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 3993 |
oblu:=2oblu; |
| 3994 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 3995 |
labels(1,1',2,2',3,3'); |
| 3996 |
endchar; |
| 3997 |
|
| 3998 |
iff known chars.math_triangle_up_isosceles: |
| 3999 |
bskchar "Isosceles triangle pointing up"; |
| 4000 |
beginchar(chars.math_triangle_up_isosceles,.8asc_height#+2u#,.8asc_height#,0); uni "non"; |
| 4001 |
adjust_fit(0,0); |
| 4002 |
pickup tiny.nib; |
| 4003 |
numeric lw; |
| 4004 |
lw=rule_thickness-currentbreadth; |
| 4005 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 4006 |
bot y1=bot y2=0; top y3=h; |
| 4007 |
y1'=y2'=y1+lw; |
| 4008 |
x1'-x1=x2-x2'=lw/sind(angle(z3-z1)); |
| 4009 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 4010 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 4011 |
oblu:=2oblu; |
| 4012 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 4013 |
labels(1,1',2,2',3,3'); |
| 4014 |
endchar; |
| 4015 |
|
| 4016 |
iff known chars.math_triangle_down_isosceles_black: |
| 4017 |
bskchar "Black isosceles triangle pointing down"; |
| 4018 |
beginchar(chars.math_triangle_down_isosceles_black,.8asc_height#+2u#,.8asc_height#,0); uni "non"; |
| 4019 |
adjust_fit(0,0); |
| 4020 |
pickup tiny.nib; |
| 4021 |
numeric lw; |
| 4022 |
lw=rule_thickness-currentbreadth; |
| 4023 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 4024 |
top y1=top y2=h; bot y3=0; |
| 4025 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 4026 |
labels(1,2,3); |
| 4027 |
endchar; |
| 4028 |
|
| 4029 |
iff known chars.math_triangle_up_isosceles_black: |
| 4030 |
bskchar "Black isosceles triangle pointing up"; |
| 4031 |
beginchar(chars.math_triangle_up_isosceles_black,.8asc_height#+2u#,.8asc_height#,0); uni "non"; |
| 4032 |
adjust_fit(0,0); |
| 4033 |
pickup tiny.nib; |
| 4034 |
numeric lw; |
| 4035 |
lw=rule_thickness-currentbreadth; |
| 4036 |
lft x1=u; rt x2=w-u; x3=.5[x1,x2]; |
| 4037 |
bot y1=bot y2=0; top y3=h; |
| 4038 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 4039 |
labels(1,2,3); |
| 4040 |
endchar; |
| 4041 |
|
| 4042 |
iff known chars.math_triangle_right_angle: |
| 4043 |
bskchar "Triangle with right angle"; |
| 4044 |
beginchar(chars.math_triangle_right_angle,12u#,.8asc_height#,0); uni "0x22BF"; |
| 4045 |
adjust_fit(0,0); |
| 4046 |
pickup tiny.nib; |
| 4047 |
numeric lw; |
| 4048 |
lw=rule_thickness-currentbreadth; |
| 4049 |
lft x1=u; rt x2=w-u; x3=x2; |
| 4050 |
bot y1=bot y2=0; top y3=h; |
| 4051 |
y1'=y2'=y1+lw; |
| 4052 |
x1'-x1=x2-x2'=lw/sind(angle(z3-z1)); |
| 4053 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 4054 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 4055 |
oblu:=2oblu; |
| 4056 |
infill obl(1',3',2')---obl(2',1',3')---obl(3',2',1')---cycle; |
| 4057 |
labels(1,1',2,2',3,3'); |
| 4058 |
endchar; |
| 4059 |
|
| 4060 |
iff known chars.math_square_small_black_round: |
| 4061 |
bskchar "Small black square (rounded)"; |
| 4062 |
beginchar(chars.math_square_small_black_round,5u#,3u#,0); uni "non"; |
| 4063 |
adjust_fit(0,0); |
| 4064 |
pickup tiny.nib; |
| 4065 |
lft x1=lft x2=u; x3=x4=w-x1; top y1=top y4=h; bot y2=bot y3=0; |
| 4066 |
filldraw obl(1,4,2)---obl(2,1,3)---obl(3,2,4)---obl(4,3,1)---cycle; |
| 4067 |
labels(1,2,3,4); |
| 4068 |
endchar; |
| 4069 |
|
| 4070 |
iff known chars.math_square_small_black: |
| 4071 |
bskchar "Small black square"; |
| 4072 |
beginchar(chars.math_square_small_black,5u#,3u#,0); uni "non"; |
| 4073 |
adjust_fit(0,0); |
| 4074 |
pickup tiny.nib; |
| 4075 |
lft x1=lft x2=u; x3=x4=w-x1; top y1=top y4=h; bot y2=bot y3=0; |
| 4076 |
filldraw z1--z2--z3--z4--cycle; |
| 4077 |
labels(1,2,3,4); |
| 4078 |
endchar; |
| 4079 |
|
| 4080 |
iff known chars.math_sum_uni: |
| 4081 |
bskchar "Summation sign (for Unicode)"; |
| 4082 |
beginchar(chars.math_sum_uni,14u#,v_center(10/6dh#)); uni "0x2211"; |
| 4083 |
adjust_fit(0,0); |
| 4084 |
pickup tiny.nib; |
| 4085 |
path p[]; oblu.more:=2oblu; |
| 4086 |
numeric alpha, top_stem, top_arm, bot_arm; |
| 4087 |
top_arm=Vround rule_thickness; |
| 4088 |
bot_arm=Vround .5[cap_stem,rule_thickness]; |
| 4089 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 4090 |
bot y1=-d; top y2=h; |
| 4091 |
lft x1l=lft x2l-o=.5u; |
| 4092 |
bot y3r=-d; top y4r=h; rt x3l=w-u; x4r=w-2u; |
| 4093 |
pos3(beak,-90); z3d=(x3r-2ser_height,y1+bot_arm); |
| 4094 |
pos4(.65beak,90); z4d=(x4r-ser_height,y2r.b); |
| 4095 |
z3l.o=z3l+o*left; z4l.o=z4l+o*left; |
| 4096 |
x5r=.5w-o; y5=.5[h,-d]+cap_hair; |
| 4097 |
alpha=diag_ratio(2,cap_stem,y2-y5,x5r-x2r); |
| 4098 |
pos5(alpha*cap_stem,0); |
| 4099 |
alpha:=diag_ratio(2,cap_hair,y5-y1,x5r-x1r); |
| 4100 |
pos6(alpha*cap_hair,0); z5r=z6r; |
| 4101 |
z1r-z1r.b=bot_arm*down; |
| 4102 |
y1'=y1+2bot_arm; z1'=z6l+whatever*(z1r.b-z6r); |
| 4103 |
z5'=whatever[z2l+top_arm*down,z5l]=whatever[z6l,z1']; |
| 4104 |
y2r.b=y2-bot_arm; z2r.b=z5r+whatever*(z2l-z5'); |
| 4105 |
filldraw z3l..{dir-110}z3l.o..z3d |
| 4106 |
---obl(1r.b,3d,5r).more---obl(5r,1r.b,2r.b).more---obl(2r.b,5r,4d).more |
| 4107 |
---z4d..z4l.o{dir-70}..z4l---z4r+hair*down..z4r+hair*left---obl(2l,4r,5') |
| 4108 |
---obl(5',2l,1l)---obl(1l,5',3r)---obl(3r,1r,3l)---cycle; |
| 4109 |
penlabels(1,2,3,4,5,6); labels(1',1r.b,4d,4l.o,5',2r.b); |
| 4110 |
endchar; |
| 4111 |
|
| 4112 |
iff known chars.math_sum_modulo_uni: |
| 4113 |
bskchar "Summation modulo two sign (for Unicode)"; |
| 4114 |
beginchar(chars.math_sum_modulo_uni,14u#,v_center(10/6dh#)); uni "0x2A0A"; |
| 4115 |
adjust_fit(0,0); |
| 4116 |
pickup tiny.nib; |
| 4117 |
path p[]; numeric tim[]; oblu.more:=2oblu; |
| 4118 |
numeric alpha, top_stem, top_arm, bot_arm; |
| 4119 |
top_arm=Vround rule_thickness; |
| 4120 |
bot_arm=Vround .5[cap_stem,rule_thickness]; |
| 4121 |
y2=y13; y8-y4=x2-x6=6u; .5[x2,x6]=x13l; |
| 4122 |
pos9(cap_stem,0); pos10(cap_stem,0); |
| 4123 |
bot y9=-d; top y10=h; |
| 4124 |
lft x9l=lft x10l-o=.5u; |
| 4125 |
bot y11r=-d; top y12r=h; rt x11l=w-u; x12r=w-2u; |
| 4126 |
pos11(beak,-90); z11d=(x11r-2ser_height,y9+bot_arm); |
| 4127 |
pos12(.65beak,90); z12d=(x12r-ser_height,y10r.b); |
| 4128 |
z11l.o=z11l+o*left; z12l.o=z12l+o*left; |
| 4129 |
x13r=.5w-o; y13=.5[h,-d]+cap_hair; |
| 4130 |
alpha=diag_ratio(10,cap_stem,y10-y13,x13r-x10r); |
| 4131 |
pos13(alpha*cap_stem,0); |
| 4132 |
alpha:=diag_ratio(10,cap_hair,y13-y9,x13r-x9r); |
| 4133 |
pos14(alpha*cap_hair,0); z13r=z14r; |
| 4134 |
z9r-z9r.b=bot_arm*down; |
| 4135 |
y9'=y9+2bot_arm; z9'=z14l+whatever*(z9r.b-z14r); |
| 4136 |
z13'=whatever[z10l+top_arm*down,z13l]=whatever[z14l,z9']; |
| 4137 |
y10r.b=y10-bot_arm; z10r.b=z13r+whatever*(z10l-z13'); |
| 4138 |
circle_points(rule_thickness); |
| 4139 |
p0=z11l..{dir-110}z11l.o..z11d---obl(9r.b,11d,13r).more---obl(13r,9r.b,10r.b).more |
| 4140 |
---obl(10r.b,13r,12d).more---z12d..z12l.o{dir-70}..z12l---z12r+hair*down..z12r+hair*left |
| 4141 |
---obl(10l,12r,13')---obl(13',10l,9l)---obl(9l,13',11r)---obl(11r,9r,11l)---cycle; |
| 4142 |
p1=subpath(2,10) of reverse(draw_circle.l); |
| 4143 |
p2=subpath(2,10) of reverse(draw_circle.r); |
| 4144 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 4145 |
(tim2,tim3-3)=p0 intersectiontimes subpath(3,8) of p1; |
| 4146 |
(tim4-10,tim5-3)=subpath(10,length p0) of p0 intersectiontimes subpath(3,length p1) of p1; |
| 4147 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes subpath(0,3) of p1; |
| 4148 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 4149 |
(tim10,tim11-3)=p0 intersectiontimes subpath(3,8) of p2; |
| 4150 |
(tim12-10,tim13-3)=subpath(10,length p0) of p0 intersectiontimes subpath(3,8) of p2; |
| 4151 |
(tim14-10,tim15)=subpath(10,length p0) of p0 intersectiontimes subpath(0,3) of p2; |
| 4152 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4153 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 4154 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 4155 |
..subpath(rundy(p1,tim5),length p1) of p1 |
| 4156 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 4157 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 4158 |
infill subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 4159 |
..reverse subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2..cycle; |
| 4160 |
infill subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0 |
| 4161 |
..reverse (subpath(rundy(p2,tim13),length p2) of p2 |
| 4162 |
..subpath(0,rundy(p2,tim15).zpet) of p2) |
| 4163 |
..cycle; |
| 4164 |
penlabels(9,10,11,12,13,14); labels(9',9r.b,12d,12l.o,13',10r.b); |
| 4165 |
endchar; |
| 4166 |
|
| 4167 |
iff known chars.math_sum_text: |
| 4168 |
bskchar "\textstyle summation sign"; |
| 4169 |
beginchar(chars.math_sum_text,14u#,0,10/6dh#); uni "non"; |
| 4170 |
adjust_fit(0,0); |
| 4171 |
pickup tiny.nib; |
| 4172 |
path p[]; oblu.more:=2oblu; |
| 4173 |
numeric alpha, top_stem, top_arm, bot_arm; |
| 4174 |
top_arm=Vround rule_thickness; |
| 4175 |
bot_arm=Vround .5[cap_stem,rule_thickness]; |
| 4176 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 4177 |
bot y1=-d; top y2=h; |
| 4178 |
lft x1l=lft x2l-o=.5u; |
| 4179 |
bot y3r=-d; top y4r=h; rt x3l=w-u; x4r=w-2u; |
| 4180 |
pos3(beak,-90); z3d=(x3r-2ser_height,y1+bot_arm); |
| 4181 |
pos4(.65beak,90); z4d=(x4r-ser_height,y2r.b); |
| 4182 |
z3l.o=z3l+o*left; z4l.o=z4l+o*left; |
| 4183 |
x5r=.5w-o; y5=.5[h,-d]+cap_hair; |
| 4184 |
alpha=diag_ratio(2,cap_stem,y2-y5,x5r-x2r); |
| 4185 |
pos5(alpha*cap_stem,0); |
| 4186 |
alpha:=diag_ratio(2,cap_hair,y5-y1,x5r-x1r); |
| 4187 |
pos6(alpha*cap_hair,0); z5r=z6r; |
| 4188 |
z1r-z1r.b=bot_arm*down; |
| 4189 |
y1'=y1+2bot_arm; z1'=z6l+whatever*(z1r.b-z6r); |
| 4190 |
z5'=whatever[z2l+top_arm*down,z5l]=whatever[z6l,z1']; |
| 4191 |
y2r.b=y2-bot_arm; z2r.b=z5r+whatever*(z2l-z5'); |
| 4192 |
filldraw z3l..{dir-110}z3l.o..z3d |
| 4193 |
---obl(1r.b,3d,5r).more---obl(5r,1r.b,2r.b).more---obl(2r.b,5r,4d).more |
| 4194 |
---z4d..z4l.o{dir-70}..z4l---z4r+hair*down..z4r+hair*left---obl(2l,4r,5') |
| 4195 |
---obl(5',2l,1l)---obl(1l,5',3r)---obl(3r,1r,3l)---cycle; |
| 4196 |
penlabels(1,2,3,4,5,6); labels(1',1r.b,4d,4l.o,5',2r.b); |
| 4197 |
endchar; |
| 4198 |
|
| 4199 |
iff known chars.math_sum_disp: |
| 4200 |
bskchar "\displaystyle summation sign"; |
| 4201 |
beginchar(chars.math_sum_disp,19u#,0,14/6dh#); uni "non"; |
| 4202 |
adjust_fit(0,0); |
| 4203 |
pickup tiny.nib; |
| 4204 |
path p[]; olbu.more:=2oblu; |
| 4205 |
numeric alpha, top_stem, top_arm, bot_arm; |
| 4206 |
top_arm=Vround 1.5rule_thickness; |
| 4207 |
bot_arm=Vround cap_stem; |
| 4208 |
pos1(1.5cap_stem,0); pos2(1.5cap_stem,0); |
| 4209 |
bot y1=-d; top y2=h; |
| 4210 |
lft x1l=lft x2l-o=.5u; |
| 4211 |
bot y3r=-d; top y4r=h; rt x3l=w-u; x4r=w-2u; |
| 4212 |
pos3(1.25beak,-90); z3d=(x3r-2ser_height,y1+bot_arm); |
| 4213 |
pos4(.8beak,90); z4d=(x4r-ser_height,y2r.b); |
| 4214 |
z3l.o=z3l+o*left; z4l.o=z4l+o*left; |
| 4215 |
x5r=.5w-o; y5=.5[h,-d]+cap_hair; |
| 4216 |
alpha=diag_ratio(2,cap_stem,y2-y5,x5r-x2r); |
| 4217 |
pos5(1.5alpha*cap_stem,0); |
| 4218 |
alpha:=diag_ratio(2,cap_hair,y5-y1,x5r-x1r); |
| 4219 |
pos6(1.5alpha*cap_hair,0); z5r=z6r; |
| 4220 |
z1r-z1r.b=bot_arm*down; |
| 4221 |
y1'=y1+2bot_arm; z1'=z6l+whatever*(z1r.b-z6r); |
| 4222 |
z5'=whatever[z2l+top_arm*down,z5l]=whatever[z6l,z1']; |
| 4223 |
y2r.b=y2-bot_arm; z2r.b=z5r+whatever*(z2l-z5'); |
| 4224 |
filldraw z3l..{dir-110}z3l.o..z3d |
| 4225 |
---obl(1r.b,3d,5r).more---obl(5r,1r.b,2r.b).more---obl(2r.b,5r,4d).more |
| 4226 |
---z4d..z4l.o{dir-70}..z4l---z4r+hair*down..z4r+hair*left---obl(2l,4r,5') |
| 4227 |
---obl(5',2l,1l)---obl(1l,5',3r)---obl(3r,1r,3l)---cycle; |
| 4228 |
penlabels(1,2,3,4,5,6); labels(1',4d,4l.o,5',2r.b); |
| 4229 |
endchar; |
| 4230 |
|
| 4231 |
iff known chars.math_prod_uni: |
| 4232 |
bskchar "Product sign (for Unicode)"; |
| 4233 |
beginchar(chars.math_prod_text,14u#,v_center(10/6dh#)); uni "0x220F"; |
| 4234 |
adjust_fit(0,0); |
| 4235 |
pickup tiny.nib; |
| 4236 |
pos1(1.1cap_stem,0); pos2(1.1cap_stem,0); |
| 4237 |
pos3(1.1cap_stem,0); pos4(1.1cap_stem,0); |
| 4238 |
bot y1=bot y3=-d; top y2=top y4=h; |
| 4239 |
lft x1l=lft x2l=u; |
| 4240 |
x3r=x4r=w-x1l; |
| 4241 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4242 |
cap_serifs_tl(2l); cap_serifs_tr(2r); |
| 4243 |
cap_serifs_tl(4l); cap_serifs_tr(4r); |
| 4244 |
cap_serifs_br(1r); cap_serifs_bl(3l); |
| 4245 |
}}; |
| 4246 |
cap_serifs_bl(1l); |
| 4247 |
cap_serifs_br(3r); |
| 4248 |
z2'=(x2r,y2r.b-1.2stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c-hair); |
| 4249 |
filldraw z1l.b{down}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b--- |
| 4250 |
z2'..{right}z3'..z4' |
| 4251 |
---z3l.b..{left}z3l.c..z3l.a---z3r.a..z3r.c{left}..z3r.b---z4r.b.. |
| 4252 |
{right}z4r.c..{left}z4r.a..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4253 |
penlabels(1,2,3,4); labels(2',3',4'); |
| 4254 |
endchar; |
| 4255 |
|
| 4256 |
iff known chars.math_prod_text: |
| 4257 |
bskchar "\textstyle product sign"; |
| 4258 |
beginchar(chars.math_prod_text,14u#,0,10/6dh#); uni "non"; |
| 4259 |
adjust_fit(0,0); |
| 4260 |
pickup tiny.nib; |
| 4261 |
pos1(1.1cap_stem,0); pos2(1.1cap_stem,0); |
| 4262 |
pos3(1.1cap_stem,0); pos4(1.1cap_stem,0); |
| 4263 |
bot y1=bot y3=-d; top y2=top y4=h; |
| 4264 |
lft x1l=lft x2l=u; |
| 4265 |
x3r=x4r=w-x1l; |
| 4266 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4267 |
cap_serifs_tl(2l); cap_serifs_tr(2r); |
| 4268 |
cap_serifs_tl(4l); cap_serifs_tr(4r); |
| 4269 |
cap_serifs_br(1r); cap_serifs_bl(3l); |
| 4270 |
}}; |
| 4271 |
cap_serifs_bl(1l); |
| 4272 |
cap_serifs_br(3r); |
| 4273 |
z2'=(x2r,y2r.b-1.2stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c-hair); |
| 4274 |
filldraw z1l.b{down}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b--- |
| 4275 |
z2'..{right}z3'..z4' |
| 4276 |
---z3l.b..{left}z3l.c..z3l.a---z3r.a..z3r.c{left}..z3r.b---z4r.b.. |
| 4277 |
{right}z4r.c..{left}z4r.a..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4278 |
penlabels(1,2,3,4); labels(2',3',4'); |
| 4279 |
endchar; |
| 4280 |
|
| 4281 |
iff known chars.math_prod_disp: |
| 4282 |
bskchar "\displaystyle product sign"; |
| 4283 |
beginchar(chars.math_prod_disp,18u#,0,14/6dh#); uni "non"; |
| 4284 |
adjust_fit(0,0); |
| 4285 |
pickup tiny.nib; |
| 4286 |
pos1(1.5cap_stem,0); pos2(1.5cap_stem,0); |
| 4287 |
pos3(1.5cap_stem,0); pos4(1.5cap_stem,0); |
| 4288 |
bot y1=bot y3=-d; top y2=top y4=h; |
| 4289 |
lft x1l=lft x2l=u; |
| 4290 |
x3r=x4r=w-x1l; |
| 4291 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4292 |
cap_serifs_tl(2l); cap_serifs_tr(2r); |
| 4293 |
cap_serifs_tl(4l); cap_serifs_tr(4r); |
| 4294 |
cap_serifs_br(1r); cap_serifs_bl(3l); |
| 4295 |
}}; |
| 4296 |
cap_serifs_bl(1l); |
| 4297 |
cap_serifs_br(3r); |
| 4298 |
z2'=(x2r,y2r.b-1.5stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c-cap_hair); |
| 4299 |
filldraw z1l.b{down}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b--- |
| 4300 |
z2'..{right}z3'..z4' |
| 4301 |
---z3l.b..{left}z3l.c..z3l.a---z3r.a..z3r.c{left}..z3r.b---z4r.b.. |
| 4302 |
{right}z4r.c..{left}z4r.a..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4303 |
penlabels(1,2,3,4); labels(2',3',4'); |
| 4304 |
endchar; |
| 4305 |
|
| 4306 |
iff known chars.math_coprod_uni: |
| 4307 |
bskchar "Coproduct sign (for Unicode)"; |
| 4308 |
beginchar(chars.math_coprod,14u#,v_center(10/6dh#)); uni "0x2210"; |
| 4309 |
italcorr cap_height#*slant; |
| 4310 |
adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 4311 |
pickup tiny.nib; |
| 4312 |
pos1(1.1cap_stem,0); pos2(1.1cap_stem,0); |
| 4313 |
pos3(1.1cap_stem,0); pos4(1.1cap_stem,0); |
| 4314 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 4315 |
lft x1l=lft x2l=1.5u; |
| 4316 |
x3r=x4r=w-x1l; |
| 4317 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4318 |
cap_serifs_bl(2l); cap_serifs_br(2r); |
| 4319 |
cap_serifs_bl(4l); cap_serifs_br(4r); |
| 4320 |
cap_serifs_tr(1r); cap_serifs_tl(3l); |
| 4321 |
cap_serifs_tl(1l); cap_serifs_tr(3r); |
| 4322 |
}}; |
| 4323 |
z2'=(x2r,y2r.b+1.2stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c+hair); |
| 4324 |
filldraw z1l.b{up}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b |
| 4325 |
---z2'..{right}z3'..z4'---z3l.b..{left}z3l.c..z3l.a---z3r.a |
| 4326 |
..z3r.c{left}..z3r.b---z4r.b..{right}z4r.c..{left}z4r.a |
| 4327 |
..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4328 |
penlabels(1,2,3,4); labels(2',3',4'); %math_fit |
| 4329 |
endchar; |
| 4330 |
|
| 4331 |
iff known chars.math_coprod: |
| 4332 |
bskchar "Coproduct sign"; |
| 4333 |
beginchar(chars.math_coprod,12u#,cap_height#,0); uni "0x2A3F"; |
| 4334 |
italcorr cap_height#*slant; |
| 4335 |
adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 4336 |
pickup tiny.nib; |
| 4337 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 4338 |
pos3(cap_stem,0); pos4(cap_stem,0); |
| 4339 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 4340 |
lft x1l=lft x2l=1.5u; |
| 4341 |
x3r=x4r=w-x1l; |
| 4342 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4343 |
cap_serifs_bl(2l); cap_serifs_br(2r); |
| 4344 |
cap_serifs_bl(4l); cap_serifs_br(4r); |
| 4345 |
cap_serifs_tr(1r); cap_serifs_tl(3l); |
| 4346 |
cap_serifs_tl(1l); cap_serifs_tr(3r); |
| 4347 |
}}; |
| 4348 |
z2'=(x2r,y2r.b+.5stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c); |
| 4349 |
filldraw z1l.b{up}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b |
| 4350 |
---z2'..{right}z3'..z4'---z3l.b..{left}z3l.c..z3l.a---z3r.a |
| 4351 |
..z3r.c{left}..z3r.b---z4r.b..{right}z4r.c..{left}z4r.a |
| 4352 |
..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4353 |
penlabels(1,2,3,4); labels(2',3',4'); %math_fit |
| 4354 |
endchar; |
| 4355 |
|
| 4356 |
iff known chars.math_coprod_text: |
| 4357 |
bskchar "\textstyle coproduct sign"; |
| 4358 |
beginchar(chars.math_coprod_text,14u#,0,10/6dh#); uni "non"; |
| 4359 |
adjust_fit(0,0); |
| 4360 |
pickup tiny.nib; |
| 4361 |
pos1(1.1cap_stem,0); pos2(1.1cap_stem,0); |
| 4362 |
pos3(1.1cap_stem,0); pos4(1.1cap_stem,0); |
| 4363 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 4364 |
lft x1l=lft x2l=1.5u; |
| 4365 |
x3r=x4r=w-x1l; |
| 4366 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4367 |
cap_serifs_bl(2l); cap_serifs_br(2r); |
| 4368 |
cap_serifs_bl(4l); cap_serifs_br(4r); |
| 4369 |
cap_serifs_tr(1r); cap_serifs_tl(3l); |
| 4370 |
cap_serifs_tl(1l); cap_serifs_tr(3r); |
| 4371 |
}}; |
| 4372 |
z2'=(x2r,y2r.b+.75stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c+hair); |
| 4373 |
filldraw z1l.b{up}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b |
| 4374 |
---z2'..{right}z3'..z4'---z3l.b..{left}z3l.c..z3l.a---z3r.a |
| 4375 |
..z3r.c{left}..z3r.b---z4r.b..{right}z4r.c..{left}z4r.a |
| 4376 |
..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4377 |
penlabels(1,2,3,4); labels(2',3',4'); |
| 4378 |
endchar; |
| 4379 |
|
| 4380 |
iff known chars.math_coprod_disp: |
| 4381 |
bskchar "\displaystyle coproduct sign"; |
| 4382 |
beginchar(chars.math_coprod_disp,18u#,0,14/6dh#); uni "non"; |
| 4383 |
adjust_fit(0,0); |
| 4384 |
pickup tiny.nib; |
| 4385 |
pos1(1.5cap_stem,0); pos2(1.5cap_stem,0); |
| 4386 |
pos3(1.5cap_stem,0); pos4(1.5cap_stem,0); |
| 4387 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 4388 |
lft x1l=lft x2l=1.5u; |
| 4389 |
x3r=x4r=w-x1l; |
| 4390 |
{{ save cap_jut; numeric cap_jut; cap_jut:=.5[hair,stem]; |
| 4391 |
cap_serifs_bl(2l); cap_serifs_br(2r); |
| 4392 |
cap_serifs_bl(4l); cap_serifs_br(4r); |
| 4393 |
cap_serifs_tr(1r); cap_serifs_tl(3l); |
| 4394 |
cap_serifs_tl(1l); cap_serifs_tr(3r); |
| 4395 |
}}; |
| 4396 |
z2'=(x2r,y2r.b+1.2stem); z4'=(x4l,y2'); z3'=(.5[x2',x4'],y2r.c+cap_hair); |
| 4397 |
filldraw z1l.b{up}..{left}z1l.c..z1l.a---z1r.a..{left}z1r.c..z1r.b |
| 4398 |
---z2'..{right}z3'..z4'---z3l.b..{left}z3l.c..z3l.a---z3r.a |
| 4399 |
..z3r.c{left}..z3r.b---z4r.b..{right}z4r.c..{left}z4r.a |
| 4400 |
..{left}z2l.a..{right}z2l.c..z2l.b---cycle; |
| 4401 |
penlabels(1,2,3,4); labels(2',3',4'); |
| 4402 |
endchar; |
| 4403 |
|
| 4404 |
iff known chars.math_int: |
| 4405 |
bskchar "Integral sign"; |
| 4406 |
beginchar(chars.math_int,10u#,asc_height#,desc_depth#); uni "non"; |
| 4407 |
italcorr asc_height#*slant-.25u#; |
| 4408 |
adjust_fit(0,0); |
| 4409 |
pickup tiny.nib; |
| 4410 |
numeric fend; fend:=1.5stem; |
| 4411 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 4412 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4413 |
top y2=h-like_curve; |
| 4414 |
x3-lft x2l=2u; |
| 4415 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4416 |
rt x4l=w-u; |
| 4417 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4418 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4419 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4420 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4421 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4422 |
y5r:=y5r-hair; |
| 4423 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4424 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4425 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4426 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4427 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4428 |
endchar; |
| 4429 |
|
| 4430 |
iff known chars.math_int_uni: |
| 4431 |
bskchar "Integral sign (for Unicode)"; |
| 4432 |
beginchar(chars.math_int_uni,10u#,v_center(11/6dh#)); uni "0x222B"; |
| 4433 |
italcorr asc_height#*slant-.25u#; |
| 4434 |
adjust_fit(0,0); |
| 4435 |
pickup tiny.nib; |
| 4436 |
numeric fend; fend:=1.5stem; |
| 4437 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 4438 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4439 |
top y2=h-like_curve; |
| 4440 |
x3-lft x2l=2u; |
| 4441 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4442 |
rt x4l=w-u; |
| 4443 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4444 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4445 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4446 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4447 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4448 |
y5r:=y5r-hair; |
| 4449 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4450 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4451 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4452 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4453 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4454 |
endchar; |
| 4455 |
|
| 4456 |
iff known chars.math_int_overbar: |
| 4457 |
bskchar "Integral sign with overbar"; |
| 4458 |
beginchar(chars.math_int_overbar,10u#,11/12dh#+2.5rule_thickness#+math_axis#,11/12dh#-math_axis#); uni "0x2A1B"; |
| 4459 |
italcorr asc_height#*slant-.25u#; |
| 4460 |
adjust_fit(0,0); |
| 4461 |
pickup tiny.nib; |
| 4462 |
numeric fend; fend:=1.5stem; |
| 4463 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 4464 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4465 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 4466 |
top y2=h-like_curve-2.5rule_thickness; |
| 4467 |
x3-lft x2l=2u; |
| 4468 |
top y3l=h+o-2.5rule_thickness; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4469 |
rt x4l=w-u; |
| 4470 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4471 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4472 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4473 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4474 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4475 |
y5r:=y5r-hair; |
| 4476 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4477 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4478 |
y8=y9=y3l+2rule_thickness; lft x8=u; rt x9=w-u; |
| 4479 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4480 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4481 |
filldraw bskrule(8,9,hair,0); |
| 4482 |
penlabels(1,2,3,4,5,6,7,8,9); labels(4',4'',7',7''); |
| 4483 |
endchar; |
| 4484 |
|
| 4485 |
iff known chars.math_int_underbar: |
| 4486 |
bskchar "Integral sign with underbar"; |
| 4487 |
beginchar(chars.math_int_underbar,10u#,11/12dh#+math_axis#,11/12dh#+2.5rule_thickness#-math_axis#); uni "0x2A1C"; |
| 4488 |
italcorr asc_height#*slant-.25u#; |
| 4489 |
adjust_fit(0,0); |
| 4490 |
pickup tiny.nib; |
| 4491 |
numeric fend; fend:=1.5stem; |
| 4492 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 4493 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4494 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 4495 |
top y2=h-like_curve; |
| 4496 |
x3-lft x2l=2u; |
| 4497 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4498 |
rt x4l=w-u; |
| 4499 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4500 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4501 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4502 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4503 |
bot y5=-d+like_curve+2.5rule_thickness; bot y6l=-d-o+2.5rule_thickness; y7''=y6l+like_hair; |
| 4504 |
y5r:=y5r-hair; |
| 4505 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4506 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4507 |
y8=y9=y6r-2rule_thickness; lft x8=u; rt x9=w-u; |
| 4508 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4509 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4510 |
filldraw bskrule(8,9,hair,0); |
| 4511 |
penlabels(1,2,3,4,5,6,7,8,9); labels(4',4'',7',7''); |
| 4512 |
endchar; |
| 4513 |
|
| 4514 |
iff known chars.math_int_double_uni: |
| 4515 |
bskchar "Double integral sign (for Unicode)"; |
| 4516 |
beginchar(chars.math_int_double_uni,15.5u#,v_center(11/6dh#)); uni "0x222C"; |
| 4517 |
italcorr asc_height#*slant-.25u#; |
| 4518 |
adjust_fit(0,0); |
| 4519 |
pickup tiny.nib; |
| 4520 |
numeric fend; fend:=1.5stem; |
| 4521 |
pos1(.5[stem,bourstem],0); x1=good.x 5u; y1=.5[h,-d]; |
| 4522 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4523 |
top y2=h-like_curve; |
| 4524 |
x3-lft x2l=2u; |
| 4525 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4526 |
rt x4l=9u; |
| 4527 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4528 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4529 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4530 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4531 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4532 |
y5r:=y5r-hair; |
| 4533 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4534 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4535 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4536 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4537 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4538 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4539 |
shifted (5.5u,0); |
| 4540 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4541 |
endchar; |
| 4542 |
|
| 4543 |
iff known chars.math_int_triple_uni: |
| 4544 |
bskchar "Triple integral sign (for Unicode)"; |
| 4545 |
beginchar(chars.math_int_triple_uni,21u#,v_center(11/6dh#)); uni "non"; %uni "0x222D"; |
| 4546 |
italcorr asc_height#*slant-.25u#; |
| 4547 |
adjust_fit(0,0); |
| 4548 |
pickup tiny.nib; |
| 4549 |
numeric fend; fend:=1.5stem; |
| 4550 |
pos1(.5[stem,bourstem],0); x1=good.x 5u; y1=.5[h,-d]; |
| 4551 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4552 |
top y2=h-like_curve; |
| 4553 |
x3-lft x2l=2u; |
| 4554 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4555 |
rt x4l=9u; |
| 4556 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4557 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4558 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4559 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4560 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4561 |
y5r:=y5r-hair; |
| 4562 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4563 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4564 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4565 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4566 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4567 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4568 |
shifted (5.5u,0); |
| 4569 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4570 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4571 |
shifted (11u,0); |
| 4572 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4573 |
endchar; |
| 4574 |
|
| 4575 |
iff known chars.math_int_triple_uni_var: |
| 4576 |
bskchar "Triple integral sign (for Unicode, variant)"; |
| 4577 |
beginchar(chars.math_int_triple_uni,19u#,v_center(11/6dh#)); uni "0x222D"; |
| 4578 |
italcorr asc_height#*slant-.25u#; |
| 4579 |
adjust_fit(0,0); |
| 4580 |
pickup tiny.nib; |
| 4581 |
numeric fend; fend:=1.5stem; |
| 4582 |
pos1(.5[stem,bourstem],0); x1=good.x 5u; y1=.5[h,-d]; |
| 4583 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4584 |
top y2=h-like_curve; |
| 4585 |
x3-lft x2l=2u; |
| 4586 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4587 |
rt x4l=9u; |
| 4588 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4589 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4590 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4591 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4592 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4593 |
y5r:=y5r-hair; |
| 4594 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4595 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4596 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4597 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4598 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4599 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4600 |
shifted -z1 scaled .95 shifted z1 shifted (5u,0); |
| 4601 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4602 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4603 |
shifted -z1 scaled .9 shifted z1 shifted (9.5u,0); |
| 4604 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4605 |
endchar; |
| 4606 |
|
| 4607 |
iff known chars.math_int_quadruple_uni: |
| 4608 |
bskchar "Quadruple integral sign (for Unicode)"; |
| 4609 |
beginchar(chars.math_int_quadruple_uni,26.5u#,v_center(11/6dh#)); uni "non"; %uni "0x2A0C"; |
| 4610 |
italcorr asc_height#*slant-.25u#; |
| 4611 |
adjust_fit(0,0); |
| 4612 |
pickup tiny.nib; |
| 4613 |
numeric fend; fend:=1.5stem; |
| 4614 |
pos1(.5[stem,bourstem],0); x1=good.x 5u; y1=.5[h,-d]; |
| 4615 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4616 |
top y2=h-like_curve; |
| 4617 |
x3-lft x2l=2u; |
| 4618 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4619 |
rt x4l=9u; |
| 4620 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4621 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4622 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4623 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4624 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4625 |
y5r:=y5r-hair; |
| 4626 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4627 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4628 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4629 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4630 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4631 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4632 |
shifted (5.5u,0); |
| 4633 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4634 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4635 |
shifted (11u,0); |
| 4636 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4637 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4638 |
shifted (16.5u,0); |
| 4639 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4640 |
endchar; |
| 4641 |
|
| 4642 |
iff known chars.math_int_quadruple_uni_var: |
| 4643 |
bskchar "Quadruple integral sign (for Unicode, variant)"; |
| 4644 |
beginchar(chars.math_int_quadruple_uni_var,23.25u#,v_center(11/6dh#)); uni "0x2A0C"; |
| 4645 |
italcorr asc_height#*slant-.25u#; |
| 4646 |
adjust_fit(0,0); |
| 4647 |
pickup tiny.nib; |
| 4648 |
numeric fend; fend:=1.5stem; |
| 4649 |
pos1(.5[stem,bourstem],0); x1=good.x 5u; y1=.5[h,-d]; |
| 4650 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 4651 |
top y2=h-like_curve; |
| 4652 |
x3-lft x2l=2u; |
| 4653 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4654 |
rt x4l=9u; |
| 4655 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4656 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4657 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4658 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 4659 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4660 |
y5r:=y5r-hair; |
| 4661 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4662 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4663 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4664 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4665 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4666 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4667 |
shifted -z1 scaled .9666 shifted z1 shifted (5u,0); |
| 4668 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4669 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4670 |
shifted -z1 scaled .9333 shifted z1 shifted (9.5u,0); |
| 4671 |
filldraw (z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4672 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle) |
| 4673 |
shifted -z1 scaled .9 shifted z1 shifted (13.75u,0); |
| 4674 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4675 |
endchar; |
| 4676 |
|
| 4677 |
iff known chars.math_int_text: |
| 4678 |
bskchar "\textstyle integral sign"; |
| 4679 |
beginchar(chars.math_int_text,8.5u#,0,11/6dh#); uni "non"; |
| 4680 |
italcorr 3u#+curve#; |
| 4681 |
adjust_fit(0,-2.5u#); |
| 4682 |
pickup tiny.nib; |
| 4683 |
numeric fend; fend:=1.5stem; |
| 4684 |
pos1(bourstem,0); x1=good.x .5w; y1=.5[h,-d]; |
| 4685 |
pos2(stem,0); pos3(hair,-90); pos4(fend,180); |
| 4686 |
top y2=h-like_curve; x3-lft x2l=.85*2.75u; |
| 4687 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4688 |
rt x4l=w+curve; z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4689 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4690 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4691 |
pos5(stem,180); pos6(hair,-90); pos7(fend,0); |
| 4692 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4693 |
y5r:=y5r-hair; |
| 4694 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4695 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4696 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4697 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4698 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4699 |
endchar; |
| 4700 |
|
| 4701 |
iff known chars.math_int_disp: |
| 4702 |
bskchar "\displaystyle integral sign"; |
| 4703 |
beginchar(chars.math_int_disp,17u#,0,4dh#); uni "non"; |
| 4704 |
italcorr 8u#+curve#; |
| 4705 |
adjust_fit(0,-7.5u#); |
| 4706 |
pickup tiny.nib; |
| 4707 |
numeric fend; fend:=1.5bourstem; |
| 4708 |
pos1(1.5bourstem,0); x1=good.x .5w; y1=.5[h,-d]; |
| 4709 |
pos2(.5[stem,bourstem],0); pos3(hair,-90); pos4(fend,180); |
| 4710 |
top y2=h-like_curve; x3-lft x2l=2.75u; |
| 4711 |
top y3l=h+o; .45[x2r,x4]=x3; y4''=y3r-1.5like_hair; |
| 4712 |
rt x4l=w+curve; z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4713 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4714 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4715 |
pos5(.5[stem,bourstem],180); pos6(hair,-90); pos7(fend,0); |
| 4716 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4717 |
y5r:=y5r-hair; |
| 4718 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4719 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4720 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4721 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4722 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4723 |
endchar; |
| 4724 |
|
| 4725 |
iff known chars.math_int_up_text: |
| 4726 |
bskchar "\textstyle integral upright sign"; |
| 4727 |
beginchar(chars.math_int_up_text,8.5u#,0,11/6dh#); uni "non"; |
| 4728 |
italcorr u#+curve#; |
| 4729 |
adjust_fit(0,-2u#); |
| 4730 |
pickup tiny.nib; |
| 4731 |
numeric fend; fend:=1.5stem; |
| 4732 |
pos1(bourstem,0); x1=good.x .5w; y1=.5[h,-d]; |
| 4733 |
pos2(stem,0); pos3(hair,-90); pos4(fend,180); |
| 4734 |
top y2=h-like_curve; x3-lft x2l=.85*2.75u; x2=x1; |
| 4735 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 4736 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4737 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4738 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4739 |
pos5(stem,180); pos6(hair,-90); pos7(fend,0); |
| 4740 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4741 |
y5r:=y5r-hair; |
| 4742 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4743 |
y1r:=y1r+o; y1l:=y1l-o; |
| 4744 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4745 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4746 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4747 |
endchar; |
| 4748 |
|
| 4749 |
iff known chars.math_int_up_disp: |
| 4750 |
bskchar "\displaystyle integral upright sign"; |
| 4751 |
beginchar(chars.math_int_up_disp,17u#,0,4dh#); uni "non"; |
| 4752 |
italcorr 2u#+curve#; |
| 4753 |
adjust_fit(0,-4.5u#); |
| 4754 |
pickup tiny.nib; |
| 4755 |
numeric fend; fend:=1.5bourstem; |
| 4756 |
pos1(1.5bourstem,0); x1=good.x .5w; y1=.5[h,-d]; |
| 4757 |
pos2(.5[stem,bourstem],0); pos3(hair,-90); pos4(fend,180); |
| 4758 |
top y2=h-like_curve; x3-lft x2l=2.75u; x2=x1; |
| 4759 |
top y3l=h+o; .45[x2r,x4]=x3; y4''=y3r-1.5like_hair; |
| 4760 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 4761 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 4762 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 4763 |
pos5(.5[stem,bourstem],180); pos6(hair,-90); pos7(fend,0); |
| 4764 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 4765 |
y5r:=y5r-hair; |
| 4766 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 4767 |
y1r:=y1r-o; y1l:=y1l+o; |
| 4768 |
filldraw z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 4769 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 4770 |
penlabels(1,2,3,4,5,6,7); labels(4',4'',7',7''); |
| 4771 |
endchar; |
| 4772 |
|
| 4773 |
iff known chars.math_int_bump: |
| 4774 |
bskchar "Integral sign with bump"; |
| 4775 |
beginchar(chars.math_int_bump,10u#,v_center(11/6dh#)); uni "non"; |
| 4776 |
italcorr asc_height#*slant-2u#; |
| 4777 |
adjust_fit(0,0); |
| 4778 |
pickup tiny.nib; |
| 4779 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 4780 |
path p[]; |
| 4781 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 4782 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 4783 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 4784 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 4785 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 4786 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 4787 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 4788 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 4789 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 4790 |
y13r:=y13r-hair; |
| 4791 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 4792 |
y9r:=y9r-o; y9l:=y9l+o; |
| 4793 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 4794 |
circle_points(rule_thickness); |
| 4795 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 4796 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 4797 |
p1=reverse (draw_circle.l); |
| 4798 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 4799 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 4800 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 4801 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 4802 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4803 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 4804 |
..subpath(rundy(p0,tim2),length p0) of p0&cycle; |
| 4805 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 4806 |
endchar; |
| 4807 |
|
| 4808 |
iff known chars.math_oint_uni: |
| 4809 |
bskchar "Contour integral sign (for Unicode)"; |
| 4810 |
beginchar(chars.math_oint_uni,10u#,v_center(11/6dh#)); uni "0x222E"; |
| 4811 |
italcorr asc_height#*slant-2u#; |
| 4812 |
adjust_fit(0,0); |
| 4813 |
pickup tiny.nib; |
| 4814 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 4815 |
path p[]; |
| 4816 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 4817 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 4818 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 4819 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 4820 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 4821 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 4822 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 4823 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 4824 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 4825 |
y13r:=y13r-hair; |
| 4826 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 4827 |
y9r:=y9r-o; y9l:=y9l+o; |
| 4828 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 4829 |
circle_points(rule_thickness); |
| 4830 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 4831 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 4832 |
p1=reverse (draw_circle.l); |
| 4833 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 4834 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 4835 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 4836 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 4837 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4838 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 4839 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 4840 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 4841 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 4842 |
p2=reverse (draw_circle.r); |
| 4843 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 4844 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 4845 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 4846 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 4847 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 4848 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 4849 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 4850 |
endchar; |
| 4851 |
|
| 4852 |
iff known chars.math_oint_text: |
| 4853 |
bskchar "\textstyle contour integral sign"; |
| 4854 |
beginchar(chars.math_oint_text,8.5u#,0,11/6dh#); uni "non"; |
| 4855 |
italcorr 3u#+curve#; |
| 4856 |
adjust_fit(0,-2.5u#); |
| 4857 |
pickup tiny.nib; |
| 4858 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 4859 |
path p[]; |
| 4860 |
pos9(bourstem,0); x9=good.x .5w; y9=.5[h,-d]; |
| 4861 |
pos10(stem,0); pos11(hair,-90); pos12(fend,180); |
| 4862 |
top y10=h-like_curve; x11-lft x10l=.85*2.75u; |
| 4863 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 4864 |
rt x12l=w+curve; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 4865 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 4866 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 4867 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 4868 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 4869 |
y13r:=y13r-hair; |
| 4870 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 4871 |
y9r:=y9r-o; y9l:=y9l+o; |
| 4872 |
lft x6=u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 4873 |
circle_points(rule_thickness); |
| 4874 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 4875 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 4876 |
p1=reverse (draw_circle.l); |
| 4877 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 4878 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 4879 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 4880 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 4881 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4882 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 4883 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 4884 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 4885 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 4886 |
p2=reverse (draw_circle.r); |
| 4887 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 4888 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 4889 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 4890 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 4891 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 4892 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 4893 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 4894 |
endchar; |
| 4895 |
|
| 4896 |
iff known chars.math_oint_disp: |
| 4897 |
bskchar "\displaystyle contour integral sign"; |
| 4898 |
beginchar(chars.math_oint_disp,17u#,0,4dh#); uni "non"; |
| 4899 |
italcorr 6u#+curve#; |
| 4900 |
adjust_fit(0,-5.5u#); |
| 4901 |
pickup tiny.nib; |
| 4902 |
numeric fend, tim[]; fend:=1.5bourstem; oblu:=4oblu; |
| 4903 |
path p[]; |
| 4904 |
pos9(1.5bourstem,0); x9=good.x .5w; y9=.5[h,-d]; |
| 4905 |
pos10(.5[stem,bourstem],0); pos11(hair,-90); pos12(fend,180); |
| 4906 |
top y10=h-like_curve; x11-lft x10l=2.75u; |
| 4907 |
top y11l=h+o; .45[x10r,x12]=x11; y12''=y11r-like_hair; |
| 4908 |
rt x12l=w+curve; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 4909 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 4910 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 4911 |
pos13(.5[stem,bourstem],180); pos14(hair,-90); pos15(fend,0); |
| 4912 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 4913 |
y13r:=y13r-hair; |
| 4914 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 4915 |
y9r:=y9r-o; y9l:=y9l+o; |
| 4916 |
lft x6=u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 4917 |
circle_points(1.2rule_thickness); |
| 4918 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 4919 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 4920 |
p1=reverse (draw_circle.l); |
| 4921 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 4922 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 4923 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 4924 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 4925 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4926 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 4927 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 4928 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 4929 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 4930 |
p2=reverse (draw_circle.r); |
| 4931 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 4932 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 4933 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 4934 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 4935 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 4936 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 4937 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 4938 |
endchar; |
| 4939 |
|
| 4940 |
iff known chars.math_int_rect_pole_uni: |
| 4941 |
bskchar "Line integral with rectangular path around pole sign (for Unicode)"; |
| 4942 |
beginchar(chars.math_int_rect_pole_uni,10u#,v_center(11/6dh#)); uni "0x2A12"; |
| 4943 |
italcorr asc_height#*slant-2u#; |
| 4944 |
adjust_fit(0,0); |
| 4945 |
pickup tiny.nib; |
| 4946 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 4947 |
path p[]; |
| 4948 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 4949 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 4950 |
pos5(.5[stem,bourstem],0); x5=good.x .5w; y5=.5[h,-d]; |
| 4951 |
pos6(.5[stem,hair],0); pos7(hair,-90); pos8(fend,180); |
| 4952 |
top y6=h-like_curve; x7-lft x6l=2u; |
| 4953 |
top y7l=h+o; .5[x6r,x8]=x7; y8''=y7r-like_hair; |
| 4954 |
rt x8l=w-u; z8'=z8+.2fend*down+o*left; z8''=z8+.5(fend-currentbreadth)*dir45; |
| 4955 |
y6r:=y6l+hair; z7'r=z7r+.5hair*right; |
| 4956 |
.5[x9,x6]=.5[x7,x10]=.5[x8,x11]=x5; |
| 4957 |
pos9(stem,180); pos10(hair,-90); pos11(fend,0); |
| 4958 |
bot y9=-d+like_curve; bot y10l=-d-o; y11''=y10l+like_hair; |
| 4959 |
y9r:=y9r-hair; |
| 4960 |
z11'=z11+.2fend*up+o*right; z11''=z11+.5(fend-currentbreadth)*dir(-135); |
| 4961 |
y5r:=y5r-o; y5l:=y5l+o; |
| 4962 |
rt x1=rt x2=w-u; x3=x4; y1=y4; y2=y3; .5[z1,z3]=z5; y1-y2=x1-x3; |
| 4963 |
x1l:=x2r:=x1-(rule_thickness-currentbreadth); |
| 4964 |
x3r:=x4l:=x3+(rule_thickness-currentbreadth); |
| 4965 |
p0=z9r..z10l{left}..z11r..z11'..z11l{down}..z11''..z10r..z9l...z5r...z6r...{right}z7r |
| 4966 |
..z8r..z8'..z8l{up}..z8''..z7l..z6l...z5l...cycle; |
| 4967 |
p1=obl(1r,2l,4r)---obl(4r,1r,3l)---obl(3l,4r,2l)---obl(2l,3l,1r)---cycle; |
| 4968 |
p2=obl(4l,3r,1l)---obl(1l,4l,2r)---obl(2r,1l,3r)---obl(3r,2r,4l)--cycle; |
| 4969 |
(tim0,tim1-1)=p0 intersectiontimes subpath(1,length p1) of p1; |
| 4970 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 4971 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p2; |
| 4972 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p2; |
| 4973 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 4974 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 4975 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 4976 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 4977 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2 |
| 4978 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 4979 |
dot(5); |
| 4980 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(8',8'',11',11''); |
| 4981 |
endchar; |
| 4982 |
|
| 4983 |
iff known chars.math_int_semicirc_pole_uni: |
| 4984 |
bskchar "Line integral with semicircular path around pole sign (for Unicode)"; |
| 4985 |
beginchar(chars.math_int_semicirc_pole_uni,10u#,v_center(11/6dh#)); uni "0x2A13"; |
| 4986 |
italcorr asc_height#*slant-2u#; |
| 4987 |
adjust_fit(0,0); |
| 4988 |
pickup tiny.nib; |
| 4989 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 4990 |
path p[]; |
| 4991 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 4992 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 4993 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 4994 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 4995 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 4996 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 4997 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 4998 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 4999 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5000 |
y13r:=y13r-hair; |
| 5001 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5002 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5003 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5004 |
circle_points(rule_thickness); |
| 5005 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5006 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5007 |
p1=reverse (draw_circle.l); |
| 5008 |
p2=subpath(-2,7) of (draw_circle.r); |
| 5009 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5010 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5011 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p2; |
| 5012 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p2; |
| 5013 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5014 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5015 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5016 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2 |
| 5017 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5018 |
dot(9); |
| 5019 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5020 |
endchar; |
| 5021 |
|
| 5022 |
iff known chars.math_int_not_pole_uni: |
| 5023 |
bskchar "Line integral without pole sign (for Unicode)"; |
| 5024 |
beginchar(chars.math_int_not_pole_uni,11u#,v_center(11/6dh#)); uni "0x2A14"; |
| 5025 |
italcorr asc_height#*slant-2u#; |
| 5026 |
adjust_fit(0,0); |
| 5027 |
pickup tiny.nib; |
| 5028 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5029 |
path p[]; |
| 5030 |
pos9(.5[stem,bourstem],0); x9=good.x .5(w-u); y9=.5[h,-d]; |
| 5031 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5032 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5033 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5034 |
rt x12l=w-2u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5035 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5036 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5037 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5038 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5039 |
y13r:=y13r-hair; |
| 5040 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5041 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5042 |
z16=(w-4u,y9); |
| 5043 |
lft x6=2u+(x16-x9); y2=y9; y8-y4=x2-x6; .5[x2,x6]=x16; |
| 5044 |
circle_points(rule_thickness); |
| 5045 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5046 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5047 |
p1=subpath(-2,6) of reverse (draw_circle.l); |
| 5048 |
p2=subpath(-2,6) of (draw_circle.r); |
| 5049 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5050 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,10) of p0) intersectiontimes p1; |
| 5051 |
(tim4-10,tim5)=(subpath(10,length p0) of p0) intersectiontimes p2; |
| 5052 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p2; |
| 5053 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5054 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 5055 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 5056 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5057 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2 |
| 5058 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5059 |
dot(16); |
| 5060 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15'',16); |
| 5061 |
endchar; |
| 5062 |
|
| 5063 |
iff known chars.math_oint_point_uni: |
| 5064 |
bskchar "Contour integral around point sign (for Unicode)"; |
| 5065 |
beginchar(chars.math_oint_point_uni,10u#,v_center(11/6dh#)); uni "0x2A15"; |
| 5066 |
italcorr asc_height#*slant-2u#; |
| 5067 |
adjust_fit(0,0); |
| 5068 |
pickup tiny.nib; |
| 5069 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5070 |
path p[]; |
| 5071 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5072 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5073 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5074 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5075 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5076 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5077 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5078 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5079 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5080 |
y13r:=y13r-hair; |
| 5081 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5082 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5083 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5084 |
circle_points(rule_thickness); |
| 5085 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5086 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5087 |
p1=reverse (draw_circle.l); |
| 5088 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5089 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5090 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5091 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5092 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5093 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5094 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5095 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 5096 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5097 |
infill draw_circle.r; |
| 5098 |
dot(9); |
| 5099 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5100 |
endchar; |
| 5101 |
|
| 5102 |
iff known chars.math_int_quat_uni: |
| 5103 |
bskchar "Quaternion integral sign (for Unicode)"; |
| 5104 |
beginchar(chars.math_int_quat_uni,10u#,v_center(11/6dh#)); uni "0x2A16"; |
| 5105 |
italcorr asc_height#*slant-2u#; |
| 5106 |
adjust_fit(0,0); |
| 5107 |
pickup tiny.nib; |
| 5108 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5109 |
path p[]; |
| 5110 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 5111 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 5112 |
pos5(.5[stem,bourstem],0); x5=good.x .5w; y5=.5[h,-d]; |
| 5113 |
pos6(.5[stem,hair],0); pos7(hair,-90); pos8(fend,180); |
| 5114 |
top y6=h-like_curve; x7-lft x6l=2u; |
| 5115 |
top y7l=h+o; .5[x6r,x8]=x7; y8''=y7r-like_hair; |
| 5116 |
rt x8l=w-u; z8'=z8+.2fend*down+o*left; z8''=z8+.5(fend-currentbreadth)*dir45; |
| 5117 |
y6r:=y6l+hair; z7'r=z7r+.5hair*right; |
| 5118 |
.5[x9,x6]=.5[x7,x10]=.5[x8,x11]=x5; |
| 5119 |
pos9(stem,180); pos10(hair,-90); pos11(fend,0); |
| 5120 |
bot y9=-d+like_curve; bot y10l=-d-o; y11''=y10l+like_hair; |
| 5121 |
y9r:=y9r-hair; |
| 5122 |
z11'=z11+.2fend*up+o*right; z11''=z11+.5(fend-currentbreadth)*dir(-135); |
| 5123 |
y5r:=y5r-o; y5l:=y5l+o; |
| 5124 |
rt x1=rt x2=w-u; x3=x4; y1=y4; y2=y3; .5[z1,z3]=z5; y1-y2=x1-x3; |
| 5125 |
x1l:=x2r:=x1-(rule_thickness-currentbreadth); |
| 5126 |
x3r:=x4l:=x3+(rule_thickness-currentbreadth); |
| 5127 |
p0=z9r..z10l{left}..z11r..z11'..z11l{down}..z11''..z10r..z9l...z5r...z6r...{right}z7r |
| 5128 |
..z8r..z8'..z8l{up}..z8''..z7l..z6l...z5l...cycle; |
| 5129 |
p1=obl(1r,2l,4r)---obl(4r,1r,3l)---obl(3l,4r,2l)---obl(2l,3l,1r)---cycle; |
| 5130 |
p2=obl(4l,1l,3r)---obl(3r,4l,2r)---obl(2r,3r,1l)---obl(1l,2r,4l)---cycle; |
| 5131 |
(tim0,tim1-1)=p0 intersectiontimes subpath(1,length p1) of p1; |
| 5132 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5133 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5134 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5135 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5136 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 5137 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 5138 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5139 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 5140 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5141 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 5142 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5143 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 5144 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 5145 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 5146 |
..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 5147 |
infill subpath(rundy(p2,tim13),length p2) of p2 |
| 5148 |
..subpath(0,rundy(p2,tim15).zpet) of p2 |
| 5149 |
..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 5150 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(8',8'',11',11''); |
| 5151 |
endchar; |
| 5152 |
|
| 5153 |
iff known chars.math_int_union: |
| 5154 |
bskchar "Integral sign with union"; |
| 5155 |
beginchar(chars.math_int_union,10u#,v_center(11/6dh#)); uni "0x2A1A"; |
| 5156 |
italcorr asc_height#*slant-2u#; |
| 5157 |
adjust_fit(0,0); |
| 5158 |
pickup tiny.nib; |
| 5159 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5160 |
path p[]; |
| 5161 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 5162 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 5163 |
y1=y5; .5[y1,y3]=y9; y1-y3=x_height; |
| 5164 |
x1=x2=2u; x4=x5; x3=.5[x1,x4]=x9; |
| 5165 |
y2=y4=y3+(x3-x2); |
| 5166 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5167 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5168 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5169 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5170 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5171 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5172 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5173 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5174 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5175 |
y13r:=y13r-hair; |
| 5176 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5177 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5178 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 5179 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5180 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5181 |
p1=z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr; |
| 5182 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5183 |
(tim2,tim3-4)=subpath(0,10) of p0 intersectiontimes subpath(4,infinity) of p1; |
| 5184 |
(tim4-10,tim5-4)=subpath(10,length p0) of p0 intersectiontimes subpath(4,infinity) of p1; |
| 5185 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes subpath(0,4) of p1; |
| 5186 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5187 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5188 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5189 |
..subpath(rundy(p1,tim5),infinity) of p1 |
| 5190 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5191 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5192 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5193 |
endchar; |
| 5194 |
|
| 5195 |
iff known chars.math_int_intersection: |
| 5196 |
bskchar "Integral sign with intersection"; |
| 5197 |
beginchar(chars.math_int_intersection,10u#,v_center(11/6dh#)); uni "0x2A19"; |
| 5198 |
italcorr asc_height#*slant-2u#; |
| 5199 |
adjust_fit(0,0); |
| 5200 |
pickup tiny.nib; |
| 5201 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5202 |
path p[]; |
| 5203 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,-90); |
| 5204 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 5205 |
y1=y5; .5[y1,y3]=y9; y3-y1=x_height; |
| 5206 |
x1=x2=2u; x4=x5; x3=.5[x1,x4]=x9; |
| 5207 |
y2=y4=y3-(x3-x2); |
| 5208 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5209 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5210 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5211 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5212 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5213 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5214 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5215 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5216 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5217 |
y13r:=y13r-hair; |
| 5218 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5219 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5220 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 5221 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5222 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5223 |
p1=z1rr---z2r...z3r...z4r---z5rr..z5l---z4l...z3l...z2l---z1l; |
| 5224 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5225 |
(tim2,tim3-4)=subpath(0,10) of p0 intersectiontimes subpath(4,infinity) of p1; |
| 5226 |
(tim4-10,tim5-4)=subpath(10,length p0) of p0 intersectiontimes subpath(4,infinity) of p1; |
| 5227 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes subpath(0,4) of p1; |
| 5228 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5229 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5230 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5231 |
..subpath(rundy(p1,tim5),infinity) of p1 |
| 5232 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5233 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5234 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5235 |
endchar; |
| 5236 |
|
| 5237 |
iff known chars.math_int_arrow_left_hook: |
| 5238 |
bskchar "Integral sign with leftwards arrow with hook"; |
| 5239 |
beginchar(chars.math_int_arrow_left_hook,15u#,v_center(11/6dh#)); uni "0x2A17"; |
| 5240 |
italcorr asc_height#*slant-2u#; |
| 5241 |
adjust_fit(0,0); |
| 5242 |
pickup tiny.nib; |
| 5243 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5244 |
path p[]; |
| 5245 |
pos1(rule_thickness,90); pos2(rule_thickness,180); pos3(rule_thickness,270); |
| 5246 |
lft x0=u; lft x1=w-4u; y0=y1l=math_axis; |
| 5247 |
x2l=w-u; x3=x1+hair; y2=.5[y1,y3]; y3l=math_axis-4u; x3r:=x3r+hair; |
| 5248 |
pos9(.5[stem,bourstem],0); x9=good.x .5w+u; y9=.5[h,-d]; |
| 5249 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5250 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5251 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5252 |
rt x12l=w-3u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5253 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5254 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5255 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5256 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5257 |
y13r:=y13r-hair; |
| 5258 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5259 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5260 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5261 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5262 |
p1=(reverse sipka(0,1))---z1l..{down}z2r..{left}z3l..{right}z3r..{up}z2l..z1r---z0a.l; |
| 5263 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5264 |
(tim2,tim3-10)=subpath(0,10) of p0 intersectiontimes subpath(10,infinity) of p1; |
| 5265 |
(tim4-10,tim5-10)=subpath(10,length p0) of p0 intersectiontimes subpath(10,infinity) of p1; |
| 5266 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes subpath(0,9) of p1; |
| 5267 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5268 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5269 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5270 |
..subpath(rundy(p1,tim5),infinity) of p1 |
| 5271 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5272 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5273 |
penlabels(2,3,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5274 |
endchar; |
| 5275 |
|
| 5276 |
iff known chars.math_int_times: |
| 5277 |
bskchar "Integral sign with times sign"; |
| 5278 |
beginchar(chars.math_int_times,10u#,v_center(11/6dh#)); uni "0x2A18"; |
| 5279 |
italcorr asc_height#*slant-2u#; |
| 5280 |
adjust_fit(0,0); |
| 5281 |
pickup tiny.nib; |
| 5282 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5283 |
path p[]; |
| 5284 |
pos0(rule_thickness,135); pos1(rule_thickness,135); |
| 5285 |
pos2(rule_thickness,45); pos3(rule_thickness,45); |
| 5286 |
x0r=x2l=1.5u; x1l=x3r; .5[x0r,x1l]=x9=good.x .5w; |
| 5287 |
y0l=y3l; y1r=y2r; .5[y1r,y0l]=y9=.5[h,-d]; y2r-y0l=x1l-x2l; |
| 5288 |
z4=whatever[z3l,z2l]=whatever[z0l,z1l]; |
| 5289 |
z5=whatever[z3r,z2r]=whatever[z0l,z1l]; |
| 5290 |
z6=whatever[z3r,z2r]=whatever[z0r,z1r]; |
| 5291 |
z7=whatever[z3l,z2l]=whatever[z0r,z1r]; |
| 5292 |
pos9(.5[stem,bourstem],0); |
| 5293 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5294 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5295 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5296 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5297 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5298 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5299 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5300 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5301 |
y13r:=y13r-hair; |
| 5302 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5303 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5304 |
bskpoints(0,1,hair,hair); bskpoints(3,2,.5hair,.5hair); |
| 5305 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5306 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5307 |
{{ save oblu; oblu:=3f_obl; |
| 5308 |
p1=z0l---obl(4,0l,3l)---z3l..z3rr---obl(5,3r,1l)---z1ll..z1r---obl(6,1r,2r)---z2r |
| 5309 |
..z2ll---obl(7,2l,0r)---z0rr..z0l; |
| 5310 |
}}; |
| 5311 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5312 |
(tim2,tim3-5)=subpath(0,10) of p0 intersectiontimes subpath(5,infinity) of p1; |
| 5313 |
(tim4-10,tim5-5)=subpath(10,length p0) of p0 intersectiontimes subpath(5,infinity) of p1; |
| 5314 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes subpath(0,4) of p1; |
| 5315 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5316 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 5317 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5318 |
..subpath(rundy(p1,tim5),infinity) of p1 |
| 5319 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5320 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5321 |
penlabels(0,1,2,3,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5322 |
endchar; |
| 5323 |
|
| 5324 |
iff known chars.math_oint_clock_uni: |
| 5325 |
bskchar "Clockwise contour integral sign (for Unicode)"; |
| 5326 |
beginchar(chars.math_oint_clock_uni,10u#,v_center(11/6dh#)); uni "0x2232"; |
| 5327 |
italcorr asc_height#*slant-2u#; |
| 5328 |
adjust_fit(0,0); |
| 5329 |
pickup tiny.nib; |
| 5330 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5331 |
path p[]; |
| 5332 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5333 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5334 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5335 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5336 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5337 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5338 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5339 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5340 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5341 |
y13r:=y13r-hair; |
| 5342 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5343 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5344 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5345 |
circle_points(rule_thickness); |
| 5346 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5347 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5348 |
p1=reverse (draw_circle.l); |
| 5349 |
{{ save arrsize, arrwidth; arrsize=arrwidth=curve; |
| 5350 |
pos17(rule_thickness,0); |
| 5351 |
.5[z17r,z16]=z2; x17r=x16; y17-y16=arrsize; |
| 5352 |
p4:=reverse (sipka(16,17)); |
| 5353 |
}}; |
| 5354 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5355 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5356 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5357 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5358 |
(tim16,tim17-2)=p1 intersectiontimes subpath(2,4) of p4; |
| 5359 |
tim18=xpart(p1 intersectiontimes ((x9,ypart(point infinity of p4))--(w,ypart(point infinity of p4)))); |
| 5360 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5361 |
..subpath(rundy(p1,tim1),rundy(p1,tim16).zpet) of p1 |
| 5362 |
..subpath(rundy(p4,tim17),rundy(p4,(length p4,2/3(x16e-x17r))).zpet) of p4 |
| 5363 |
..subpath(rundy(p1,tim18),rundy(p1,tim3).zpet) of p1 |
| 5364 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5365 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 5366 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5367 |
p2=reverse (draw_circle.r); |
| 5368 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 5369 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5370 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 5371 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 5372 |
(tim19,tim20)=p2 intersectiontimes subpath(0,4) of p4; |
| 5373 |
tim21=xpart(p2 intersectiontimes ((x9,ypart(point 0 of p4))--(w,ypart(point 0 of p4)))); |
| 5374 |
infill subpath(rundy(p2,tim9),rundy(p2,tim19).zpet) of p2 |
| 5375 |
..(reverse subpath(rundy(p4,(0,2/3(x16e-x17r))),rundy(p4,tim20).zpet) of p4) |
| 5376 |
..subpath(rundy(p2,tim21),rundy(p2,tim11).zpet) of p2 |
| 5377 |
..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 5378 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 5379 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5380 |
endchar; |
| 5381 |
|
| 5382 |
iff known chars.math_oint_anticlock_uni: |
| 5383 |
bskchar "Anticlockwise contour integral sign (for Unicode)"; |
| 5384 |
beginchar(chars.math_oint_anticlock_uni,10u#,v_center(11/6dh#)); uni "0x2233"; |
| 5385 |
italcorr asc_height#*slant-2u#; |
| 5386 |
adjust_fit(0,0); |
| 5387 |
pickup tiny.nib; |
| 5388 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5389 |
path p[]; |
| 5390 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5391 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5392 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5393 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5394 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5395 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5396 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5397 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5398 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5399 |
y13r:=y13r-hair; |
| 5400 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5401 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5402 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5403 |
circle_points(rule_thickness); |
| 5404 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5405 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5406 |
p1=reverse (draw_circle.l); |
| 5407 |
{{ save arrsize, arrwidth; arrsize=arrwidth=curve; |
| 5408 |
pos17(rule_thickness,0); |
| 5409 |
1/3[y17r,y16]=y2; x17r=x16=x2; y16-y17=arrsize; |
| 5410 |
p4:=reverse (sipka(16,17)); |
| 5411 |
}}; |
| 5412 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5413 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5414 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5415 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5416 |
(tim16,tim17)=p1 intersectiontimes subpath(0,4) of p4; |
| 5417 |
tim18=xpart(p1 intersectiontimes ((x9,ypart(point 0 of p4))--(w,ypart(point 0 of p4)))); |
| 5418 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5419 |
..subpath(rundy(p1,tim1),rundy(p1,tim18).zpet) of p1 |
| 5420 |
..subpath(rundy(p4,(0,2/3(x17r-x16e))),rundy(p4,tim17).zpet) of p4 |
| 5421 |
..subpath(rundy(p1,tim18),rundy(p1,tim3).zpet) of p1 |
| 5422 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5423 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 5424 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5425 |
p2=reverse (draw_circle.r); |
| 5426 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 5427 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5428 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 5429 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 5430 |
(tim19,tim20-2)=p2 intersectiontimes subpath(2,4) of p4; |
| 5431 |
tim21=xpart(p2 intersectiontimes ((x9,ypart(point infinity of p4))--(w,ypart(point infinity of p4)))); |
| 5432 |
infill subpath(rundy(p2,tim9),rundy(p2,tim21).zpet) of p2 |
| 5433 |
..(reverse subpath(rundy(p4,tim20),rundy(p4,length p4).zpet) of p4) |
| 5434 |
..subpath(rundy(p2,tim19),rundy(p2,tim11).zpet) of p2 |
| 5435 |
..reverse subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0..cycle; |
| 5436 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 5437 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5438 |
endchar; |
| 5439 |
|
| 5440 |
iff known chars.math_oint_double_uni: |
| 5441 |
bskchar "Surface integral sign (for Unicode)"; |
| 5442 |
beginchar(chars.math_oint_double_uni,15.5u#,v_center(11/6dh#)); uni "0x222F"; |
| 5443 |
italcorr asc_height#*slant-.25u#; |
| 5444 |
adjust_fit(0,0); |
| 5445 |
pickup tiny.nib; oblu:=2oblu; |
| 5446 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5447 |
pos9(.5[stem,bourstem],0); x9=good.x 5u; y9=.5[h,-d]; |
| 5448 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5449 |
lft x6=u; y2=y9; y8-y4=1/2(x2-x6); rt x2=w-u; |
| 5450 |
top y10=h-like_curve; |
| 5451 |
x11-lft x10l=2u; |
| 5452 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5453 |
rt x12l=9u; |
| 5454 |
z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5455 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5456 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5457 |
pos13(.5[stem,hair],180); pos14(hair,-90); pos15(fend,0); |
| 5458 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5459 |
y13r:=y13r-hair; |
| 5460 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5461 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5462 |
circle_points(rule_thickness); |
| 5463 |
p0:=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r |
| 5464 |
...z10r...{right}z11r..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5465 |
p1:=p0 shifted (5.5u,0); |
| 5466 |
p2:=reverse(draw_circle.l); p4:=subpath(-1,7) of p2; |
| 5467 |
p3:=reverse(draw_circle.r); |
| 5468 |
(tim0,tim1-4)=p1 intersectiontimes subpath(4,8) of p2; |
| 5469 |
(tim2,tim3-6)=p1 intersectiontimes subpath(6,8) of p2; |
| 5470 |
(tim4-10,tim5)=subpath(10,length p1) of p1 intersectiontimes p4; |
| 5471 |
(tim6,tim7)=p0 intersectiontimes subpath(0,2) of p4; |
| 5472 |
(tim8-10,tim9)=subpath(10,length p0) of p0 intersectiontimes subpath(0,2) of p2; |
| 5473 |
(tim10-10,tim11-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,6) of p2; |
| 5474 |
(tim12,tim13-2)=p0 intersectiontimes subpath(2,6) of p2; |
| 5475 |
(tim14-10,tim15-2)=subpath(10,length p1) of p1 intersectiontimes subpath(2,6) of p2; |
| 5476 |
(tim16,tim17)=p0 intersectiontimes subpath(0,2) of p3; |
| 5477 |
(tim18,tim19-2)=p0 intersectiontimes subpath(2,4) of p3; |
| 5478 |
(tim20-10,tim21-4)=subpath(10,length p1) of p1 intersectiontimes subpath(4,6) of p3; |
| 5479 |
(tim22-10,tim23-6)=subpath(10,length p1) of p1 intersectiontimes subpath(6,8) of p3; |
| 5480 |
(tim24-10,tim25)=subpath(10,length p0) of p0 intersectiontimes p3; |
| 5481 |
(tim26-10,tim27-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,4) of p3; |
| 5482 |
(tim28,tim29-4)=p1 intersectiontimes subpath(4,6) of p3; |
| 5483 |
(tim30,tim31-6)=p1 intersectiontimes subpath(6,8) of p3; |
| 5484 |
filldraw subpath(0,rundy(p1,tim0).zpet) of p1 |
| 5485 |
..subpath(rundy(p2,tim1),rundy(p2,tim3).zpet) of p2 |
| 5486 |
..subpath(rundy(p1,tim2),rundy(p1,tim4).zpet) of p1 |
| 5487 |
..subpath(rundy(p4,tim5),rundy(p4,tim7).zpet) of p4 |
| 5488 |
..subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 5489 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 5490 |
..subpath(rundy(p0,tim10),length p0) of p0 |
| 5491 |
..subpath(0,rundy(p0,tim12).zpet) of p0 |
| 5492 |
..subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2 |
| 5493 |
..subpath(rundy(p1,tim14),length p1) of p1..cycle; |
| 5494 |
infill subpath(0,rundy(p3,tim17).zpet) of p3 |
| 5495 |
..(reverse subpath(rundy(p0,tim18),rundy(p0,tim16).zpet) of p0) |
| 5496 |
..subpath(rundy(p3,tim19),rundy(p3,tim21).zpet) of p3 |
| 5497 |
..(reverse subpath(rundy(p1,tim22),rundy(p1,tim20).zpet) of p1) |
| 5498 |
..subpath(rundy(p3,tim23),8) of p3..cycle; |
| 5499 |
infill subpath(rundy(p0,tim24),rundy(p0,tim26).zpet) of p0 |
| 5500 |
..(reverse subpath(rundy(p3,tim25),rundy(p3,tim27).zpet) of p3)..cycle; |
| 5501 |
infill subpath(rundy(p1,tim28),rundy(p1,tim30).zpet) of p1 |
| 5502 |
..(reverse subpath(rundy(p3,tim29),rundy(p3,tim31).zpet) of p3)..cycle; |
| 5503 |
penlabels(9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5504 |
endchar; |
| 5505 |
|
| 5506 |
iff known chars.math_oint_double_uni_alt: |
| 5507 |
bskchar "Surface integral sign (for Unicode)---alternative"; |
| 5508 |
beginchar(chars.math_oint_double_uni_alt,15.5u#,v_center(11/6dh#)); uni "non";%"0x222F"; |
| 5509 |
italcorr asc_height#*slant-.25u#; |
| 5510 |
adjust_fit(0,0); |
| 5511 |
pickup tiny.nib; |
| 5512 |
path p[]; numeric tim[], fend; fend:=1.5stem; oblu:=2oblu; |
| 5513 |
pos9(.5[stem,bourstem],0); x9=good.x 5u; y9=.5[h,-d]; |
| 5514 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5515 |
lft x6=u; y2=y9; y8-y4=1/2(x2-x6); rt x2=w-u; |
| 5516 |
top y10=h-like_curve; |
| 5517 |
x11-lft x10l=2u; |
| 5518 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5519 |
rt x12l=9u; |
| 5520 |
z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5521 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5522 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5523 |
pos13(.5[stem,hair],180); pos14(hair,-90); pos15(fend,0); |
| 5524 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5525 |
y13r:=y13r-hair; |
| 5526 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5527 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5528 |
circle_points(rule_thickness); |
| 5529 |
p0:=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r |
| 5530 |
...z10r...{right}z11r..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5531 |
p1:=p0 shifted (5.5u,0); |
| 5532 |
p2:=reverse(draw_circle.l); p4:=subpath(-1,7) of p2; |
| 5533 |
p3:=draw_circle.r; |
| 5534 |
(tim0,tim1-4)=p1 intersectiontimes subpath(4,8) of p2; |
| 5535 |
(tim2,tim3-6)=p1 intersectiontimes subpath(6,8) of p2; |
| 5536 |
(tim4-10,tim5)=subpath(10,length p1) of p1 intersectiontimes p4; |
| 5537 |
(tim6,tim7)=p0 intersectiontimes subpath(0,2) of p4; |
| 5538 |
(tim8-10,tim9)=subpath(10,length p0) of p0 intersectiontimes subpath(0,2) of p2; |
| 5539 |
(tim10-10,tim11-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,6) of p2; |
| 5540 |
(tim12,tim13-2)=p0 intersectiontimes subpath(2,6) of p2; |
| 5541 |
(tim14-10,tim15-2)=subpath(10,length p1) of p1 intersectiontimes subpath(2,6) of p2; |
| 5542 |
filldraw subpath(0,rundy(p1,tim0).zpet) of p1 |
| 5543 |
..subpath(rundy(p2,tim1),rundy(p2,tim3).zpet) of p2 |
| 5544 |
..subpath(rundy(p1,tim2),rundy(p1,tim4).zpet) of p1 |
| 5545 |
..subpath(rundy(p4,tim5),rundy(p4,tim7).zpet) of p4 |
| 5546 |
..subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 5547 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 5548 |
..subpath(rundy(p0,tim10),length p0) of p0 |
| 5549 |
..subpath(0,rundy(p0,tim12).zpet) of p0 |
| 5550 |
..subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2 |
| 5551 |
..subpath(rundy(p1,tim14),length p1) of p1..cycle; |
| 5552 |
infill p3; |
| 5553 |
penlabels(9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5554 |
endchar; |
| 5555 |
|
| 5556 |
iff known chars.math_oint_triple_uni: |
| 5557 |
bskchar "Volume integral sign (for Unicode)"; |
| 5558 |
beginchar(chars.math_oint_triple_uni,21u#,v_center(11/6dh#)); uni "non"; |
| 5559 |
italcorr asc_height#*slant-.25u#; |
| 5560 |
adjust_fit(0,0); |
| 5561 |
pickup tiny.nib; oblu:=2oblu; |
| 5562 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5563 |
pos9(.5[stem,bourstem],0); x9=good.x 5u; y9=.5[h,-d]; |
| 5564 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5565 |
lft x6=u; y2=y9; y8-y4=.35(x2-x6); rt x2=w-u; |
| 5566 |
top y10=h-like_curve; |
| 5567 |
x11-lft x10l=2u; |
| 5568 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5569 |
rt x12l=9u; |
| 5570 |
z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5571 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5572 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5573 |
pos13(.5[stem,hair],180); pos14(hair,-90); pos15(fend,0); |
| 5574 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5575 |
y13r:=y13r-hair; |
| 5576 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5577 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5578 |
circle_points(rule_thickness); |
| 5579 |
p0:=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r |
| 5580 |
...z10r...{right}z11r..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5581 |
p1:=p0 shifted (11u,0); |
| 5582 |
p5:=p0 shifted (5.5u,0); |
| 5583 |
p2:=reverse(draw_circle.l); p4:=subpath(-1,7) of p2; |
| 5584 |
p3:=reverse(draw_circle.r); p6:=subpath(-2,6) of p3; |
| 5585 |
(tim0,tim1-4)=p1 intersectiontimes subpath(4,8) of p2; |
| 5586 |
(tim2,tim3-6)=p1 intersectiontimes subpath(6,8) of p2; |
| 5587 |
(tim4-10,tim5)=subpath(10,length p1) of p1 intersectiontimes p4; |
| 5588 |
(tim6,tim7)=p0 intersectiontimes subpath(0,2) of p4; |
| 5589 |
(tim8-10,tim9)=subpath(10,length p0) of p0 intersectiontimes subpath(0,2) of p2; |
| 5590 |
(tim10-10,tim11-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,6) of p2; |
| 5591 |
(tim12,tim13-2)=p0 intersectiontimes subpath(2,6) of p2; |
| 5592 |
(tim14-10,tim15-2)=subpath(10,length p1) of p1 intersectiontimes subpath(2,6) of p2; |
| 5593 |
(tim16,tim17)=p0 intersectiontimes subpath(0,2) of p3; |
| 5594 |
(tim18,tim19-2)=p0 intersectiontimes subpath(2,4) of p3; |
| 5595 |
(tim20-10,tim21-4)=subpath(10,length p1) of p1 intersectiontimes subpath(4,6) of p3; |
| 5596 |
(tim22-10,tim23)=subpath(10,length p1) of p1 intersectiontimes subpath(0,4) of p6; |
| 5597 |
(tim24-10,tim25)=subpath(10,length p0) of p0 intersectiontimes p3; |
| 5598 |
(tim26-10,tim27-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,4) of p3; |
| 5599 |
(tim28,tim29-4)=p1 intersectiontimes subpath(4,6) of p3; |
| 5600 |
(tim30,tim31-6)=p1 intersectiontimes subpath(6,8) of p3; |
| 5601 |
(tim32,tim33)=p5 intersectiontimes subpath(0,4) of p4; |
| 5602 |
(tim34-10,tim35)=subpath(10,length p5) of p5 intersectiontimes subpath(0,4) of p4; |
| 5603 |
(tim36-10,tim37-2)=subpath(10,length p5) of p5 intersectiontimes subpath(2,6) of p2; |
| 5604 |
(tim38,tim39-2)=p5 intersectiontimes subpath(2,6) of p2; |
| 5605 |
filldraw subpath(0,rundy(p1,tim0).zpet) of p1 |
| 5606 |
..subpath(rundy(p2,tim1),rundy(p2,tim3).zpet) of p2 |
| 5607 |
..subpath(rundy(p1,tim2),rundy(p1,tim4).zpet) of p1 |
| 5608 |
..subpath(rundy(p4,tim5),rundy(p4,tim33).zpet) of p4 |
| 5609 |
..subpath(rundy(p5,tim32),rundy(p5,tim34).zpet) of p5 |
| 5610 |
..subpath(rundy(p4,tim35),rundy(p4,tim7).zpet) of p4 |
| 5611 |
..subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 5612 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 5613 |
..subpath(rundy(p0,tim10),length p0) of p0 |
| 5614 |
..subpath(0,rundy(p0,tim12).zpet) of p0 |
| 5615 |
..subpath(rundy(p2,tim13),rundy(p2,tim37).zpet) of p2 |
| 5616 |
..subpath(rundy(p5,tim36),length p5) of p5 |
| 5617 |
..subpath(0,rundy(p5,tim38).zpet) of p5 |
| 5618 |
..subpath(rundy(p2,tim39),rundy(p2,tim15).zpet) of p2 |
| 5619 |
..subpath(rundy(p1,tim14),length p1) of p1..cycle; |
| 5620 |
(tim40,tim41)=subpath(0,2) of p3 intersectiontimes p5; |
| 5621 |
(tim42-2,tim43)=subpath(2,4) of p3 intersectiontimes p5; |
| 5622 |
(tim44-2,tim45)=subpath(2,5) of p3 intersectiontimes subpath(0,10) of p5; |
| 5623 |
(tim46,tim47)=subpath(0,4) of p6 intersectiontimes subpath(0,10) of p5; |
| 5624 |
infill subpath(rundy(p3,tim40),rundy(p3,tim17).zpet) of p3 |
| 5625 |
..(reverse subpath(rundy(p0,tim18),rundy(p0,tim16).zpet) of p0) |
| 5626 |
..subpath(rundy(p3,tim19),rundy(p3,tim42).zpet) of p3 |
| 5627 |
..(reverse subpath(rundy(p5,tim41),rundy(p5,tim43).zpet) of p5)..cycle; |
| 5628 |
infill subpath(rundy(p3,tim44),rundy(p3,tim21).zpet) of p3 |
| 5629 |
..(reverse subpath(rundy(p1,tim22),rundy(p1,tim20).zpet) of p1) |
| 5630 |
..subpath(rundy(p6,tim23),rundy(p6,tim46).zpet) of p6 |
| 5631 |
..(reverse subpath(rundy(p5,tim45),rundy(p5,tim47).zpet) of p5) |
| 5632 |
..cycle; |
| 5633 |
infill subpath(rundy(p0,tim24),rundy(p0,tim26).zpet) of p0 |
| 5634 |
..(reverse subpath(rundy(p3,tim25),rundy(p3,tim27).zpet) of p3)..cycle; |
| 5635 |
infill subpath(rundy(p1,tim28),rundy(p1,tim30).zpet) of p1 |
| 5636 |
..(reverse subpath(rundy(p3,tim29),rundy(p3,tim31).zpet) of p3)..cycle; |
| 5637 |
penlabels(9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5638 |
endchar; |
| 5639 |
|
| 5640 |
iff known chars.math_oint_triple_uni_var: |
| 5641 |
bskchar "Volume integral sign (for Unicode, variant)"; |
| 5642 |
beginchar(chars.math_oint_triple_uni_var,19u#,v_center(11/6dh#)); uni "0x2230"; |
| 5643 |
italcorr asc_height#*slant-.25u#; |
| 5644 |
adjust_fit(0,0); |
| 5645 |
pickup tiny.nib; oblu:=2oblu; |
| 5646 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5647 |
pos9(.5[stem,bourstem],0); x9=good.x 5u; y9=.5[h,-d]; |
| 5648 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5649 |
lft x6=u; y2=y9; y8-y4=.35(x2-x6); rt x2=w-u; |
| 5650 |
top y10=h-like_curve; |
| 5651 |
x11-lft x10l=2u; |
| 5652 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5653 |
rt x12l=9u; |
| 5654 |
z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5655 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5656 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5657 |
pos13(.5[stem,hair],180); pos14(hair,-90); pos15(fend,0); |
| 5658 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5659 |
y13r:=y13r-hair; |
| 5660 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5661 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5662 |
circle_points(rule_thickness); |
| 5663 |
p0:=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r |
| 5664 |
...z10r...{right}z11r..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5665 |
p1:=p0 shifted -z1 scaled .9 shifted z1 shifted (9.5u,0); |
| 5666 |
p5:=p0 shifted -z1 scaled .95 shifted z1 shifted (5u,0); |
| 5667 |
p2:=reverse(draw_circle.l); p4:=subpath(-1,7) of p2; |
| 5668 |
p3:=reverse(draw_circle.r); p6:=subpath(-2,6) of p3; |
| 5669 |
(tim0,tim1-4)=p1 intersectiontimes subpath(4,8) of p2; |
| 5670 |
(tim2,tim3-6)=p1 intersectiontimes subpath(6,8) of p2; |
| 5671 |
(tim4-10,tim5)=subpath(10,length p1) of p1 intersectiontimes p4; |
| 5672 |
(tim6,tim7)=p0 intersectiontimes subpath(0,2) of p4; |
| 5673 |
(tim8-10,tim9)=subpath(10,length p0) of p0 intersectiontimes subpath(0,2) of p2; |
| 5674 |
(tim10-10,tim11-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,6) of p2; |
| 5675 |
(tim12,tim13-2)=p0 intersectiontimes subpath(2,6) of p2; |
| 5676 |
(tim14-10,tim15-2)=subpath(10,length p1) of p1 intersectiontimes subpath(2,6) of p2; |
| 5677 |
(tim16,tim17)=p0 intersectiontimes subpath(0,4) of p6; |
| 5678 |
(tim18,tim19-2)=p0 intersectiontimes subpath(2,4) of p3; |
| 5679 |
(tim20-10,tim21-4)=subpath(10,length p1) of p1 intersectiontimes subpath(4,6) of p3; |
| 5680 |
(tim22-10,tim23)=subpath(10,length p1) of p1 intersectiontimes subpath(0,4) of p6; |
| 5681 |
(tim24-10,tim25)=subpath(10,length p0) of p0 intersectiontimes p3; |
| 5682 |
(tim26-10,tim27-2)=subpath(10,length p0) of p0 intersectiontimes subpath(2,4) of p3; |
| 5683 |
(tim28,tim29-4)=p1 intersectiontimes subpath(4,6) of p3; |
| 5684 |
(tim30,tim31-6)=p1 intersectiontimes subpath(6,8) of p3; |
| 5685 |
(tim32,tim33)=p5 intersectiontimes subpath(0,4) of p4; |
| 5686 |
(tim34-10,tim35)=subpath(10,length p5) of p5 intersectiontimes subpath(0,4) of p4; |
| 5687 |
(tim36-10,tim37-2)=subpath(10,length p5) of p5 intersectiontimes subpath(2,6) of p2; |
| 5688 |
(tim38,tim39-2)=p5 intersectiontimes subpath(2,6) of p2; |
| 5689 |
filldraw subpath(0,rundy(p1,tim0).zpet) of p1 |
| 5690 |
..subpath(rundy(p2,tim1),rundy(p2,tim3).zpet) of p2 |
| 5691 |
..subpath(rundy(p1,tim2),rundy(p1,tim4).zpet) of p1 |
| 5692 |
..subpath(rundy(p4,tim5),rundy(p4,tim33).zpet) of p4 |
| 5693 |
..subpath(rundy(p5,tim32),rundy(p5,tim34).zpet) of p5 |
| 5694 |
..subpath(rundy(p4,tim35),rundy(p4,tim7).zpet) of p4 |
| 5695 |
..subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 5696 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 5697 |
..subpath(rundy(p0,tim10),length p0) of p0 |
| 5698 |
..subpath(0,rundy(p0,tim12).zpet) of p0 |
| 5699 |
..subpath(rundy(p2,tim13),rundy(p2,tim37).zpet) of p2 |
| 5700 |
..subpath(rundy(p5,tim36),length p5) of p5 |
| 5701 |
..subpath(0,rundy(p5,tim38).zpet) of p5 |
| 5702 |
..subpath(rundy(p2,tim39),rundy(p2,tim15).zpet) of p2 |
| 5703 |
..subpath(rundy(p1,tim14),length p1) of p1..cycle; |
| 5704 |
(tim40,tim41-10)=subpath(0,4) of p6 intersectiontimes subpath(10,length p5) of p5; |
| 5705 |
(tim42-2,tim43-10)=subpath(2,5) of p3 intersectiontimes subpath(10,length p5) of p5; |
| 5706 |
(tim44-2,tim45)=subpath(2,5) of p3 intersectiontimes subpath(0,10) of p5; |
| 5707 |
(tim46,tim47)=subpath(0,4) of p6 intersectiontimes subpath(0,10) of p5; |
| 5708 |
infill subpath(rundy(p6,tim40),rundy(p6,tim17).zpet) of p6 |
| 5709 |
..(reverse subpath(rundy(p0,tim18),rundy(p0,tim16).zpet) of p0) |
| 5710 |
..subpath(rundy(p3,tim19),rundy(p3,tim42).zpet) of p3 |
| 5711 |
..(reverse subpath(rundy(p5,tim41),rundy(p5,tim43).zpet) of p5)..cycle; |
| 5712 |
infill subpath(rundy(p3,tim44),rundy(p3,tim21).zpet) of p3 |
| 5713 |
..(reverse subpath(rundy(p1,tim22),rundy(p1,tim20).zpet) of p1) |
| 5714 |
..subpath(rundy(p6,tim23),rundy(p6,tim46).zpet) of p6 |
| 5715 |
..(reverse subpath(rundy(p5,tim45),rundy(p5,tim47).zpet) of p5) |
| 5716 |
..cycle; |
| 5717 |
infill subpath(rundy(p0,tim24),rundy(p0,tim26).zpet) of p0 |
| 5718 |
..(reverse subpath(rundy(p3,tim25),rundy(p3,tim27).zpet) of p3)..cycle; |
| 5719 |
infill subpath(rundy(p1,tim28),rundy(p1,tim30).zpet) of p1 |
| 5720 |
..(reverse subpath(rundy(p3,tim29),rundy(p3,tim31).zpet) of p3)..cycle; |
| 5721 |
penlabels(9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5722 |
endchar; |
| 5723 |
|
| 5724 |
iff known chars.math_int_clock_uni: |
| 5725 |
bskchar "Clockwise integral sign (for Unicode)"; |
| 5726 |
beginchar(chars.math_int_clock_uni,10u#,v_center(11/6dh#)); uni "0x2231"; |
| 5727 |
italcorr asc_height#*slant-2u#; |
| 5728 |
adjust_fit(0,0); |
| 5729 |
pickup tiny.nib; |
| 5730 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5731 |
path p[]; |
| 5732 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5733 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5734 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5735 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5736 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5737 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5738 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5739 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5740 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5741 |
y13r:=y13r-hair; |
| 5742 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5743 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5744 |
lft x6=2u; y2=y9-.25(x2-x6); y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5745 |
circle_points(rule_thickness); |
| 5746 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5747 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5748 |
p1=reverse (draw_circle.l); |
| 5749 |
p2=reverse (draw_circle.r); |
| 5750 |
{{ save arrsize, arrwidth; arrsize=arrwidth=curve; |
| 5751 |
pos17(rule_thickness,0); |
| 5752 |
.5[z17r,z16]=z2; x17r=x16; y17-y16=arrsize; |
| 5753 |
p4:=reverse (sipka(16,17)); |
| 5754 |
}}; |
| 5755 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5756 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5757 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5758 |
(tim6,tim7)=p0 intersectiontimes p2; |
| 5759 |
(tim8-ceiling tim6,tim9)=(subpath(ceiling tim6,length p0) of p0) intersectiontimes p2; |
| 5760 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5761 |
tim12=xpart(p1 intersectiontimes ((x9,ypart(point infinity of p4))--(w,ypart(point infinity of p4)))); |
| 5762 |
tim13=xpart(p2 intersectiontimes ((x9,ypart(point 0 of p4))--(w,ypart(point 0 of p4)))); |
| 5763 |
filldraw subpath(0,rundy(p0,tim8).zpet) of p0 |
| 5764 |
..(reverse subpath(rundy(p2,tim13),rundy(p2,tim9).zpet) of p2) |
| 5765 |
..subpath(rundy(p4,(0,2/3(x16e-x17r))),rundy(p4,(length p4,2/3(x16e-x17r))).zpet) of p4 |
| 5766 |
..subpath(rundy(p1,tim12),rundy(p1,tim3).zpet) of p1 |
| 5767 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5768 |
..subpath(rundy(p1,tim5),2) of p1 |
| 5769 |
..(reverse subpath(rundy(p2,tim11),2) of p2) |
| 5770 |
..subpath(rundy(p0,tim10),length p0) of p0..cycle; |
| 5771 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5772 |
endchar; |
| 5773 |
|
| 5774 |
iff known chars.math_int_anticlock_uni: |
| 5775 |
bskchar "Anticlockwise integral sign (for Unicode)"; |
| 5776 |
beginchar(chars.math_int_anticlock_uni,10u#,v_center(11/6dh#)); uni "0x2A11"; |
| 5777 |
italcorr asc_height#*slant-2u#; |
| 5778 |
adjust_fit(0,0); |
| 5779 |
pickup tiny.nib; |
| 5780 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5781 |
path p[]; |
| 5782 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5783 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5784 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5785 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5786 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5787 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5788 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5789 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5790 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5791 |
y13r:=y13r-hair; |
| 5792 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5793 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5794 |
lft x6=2u; y2=y9+.25(x2-x6); y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5795 |
circle_points(rule_thickness); |
| 5796 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5797 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5798 |
p1=reverse (draw_circle.l); |
| 5799 |
p2=reverse (draw_circle.r); |
| 5800 |
{{ save arrsize, arrwidth; arrsize=arrwidth=curve; |
| 5801 |
pos17(rule_thickness,0); |
| 5802 |
1/3[y17r,y16]=y2; x17r=x16=x2; y16-y17=arrsize; |
| 5803 |
p4:=reverse (sipka(16,17)); |
| 5804 |
}}; |
| 5805 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5806 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5807 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5808 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5809 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 5810 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5811 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 5812 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 5813 |
(tim16,tim17)=p1 intersectiontimes subpath(0,4) of p4; |
| 5814 |
tim18=xpart(p1 intersectiontimes ((x9,ypart(point 0 of p4))--(w,ypart(point 0 of p4)))); |
| 5815 |
(tim19,tim20-2)=p2 intersectiontimes subpath(4,length p4) of p4; |
| 5816 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5817 |
..subpath(rundy(p1,tim1),rundy(p1,tim18).zpet) of p1 |
| 5818 |
..subpath(rundy(p4,(0,.5(x17r-x16e))),rundy(p4,length p4).zpet) of p4 |
| 5819 |
..(reverse subpath(rundy(p2,tim9),rundy(p2,(tim19,f_obl)).zpet) of p2) |
| 5820 |
..subpath(rundy(p0,tim8),rundy(p0,tim14).zpet) of p0 |
| 5821 |
..(reverse subpath(2,rundy(p2,tim15).zpet) of p2) |
| 5822 |
..subpath(2,rundy(p1,tim7).zpet) of p1 |
| 5823 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5824 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5825 |
endchar; |
| 5826 |
|
| 5827 |
iff known chars.math_oint_circ_uni: |
| 5828 |
bskchar "Circulation integral sign (for Unicode)"; |
| 5829 |
beginchar(chars.math_oint_circ_uni,10u#,v_center(11/6dh#)); uni "0x2A10"; |
| 5830 |
italcorr asc_height#*slant-2u#; |
| 5831 |
adjust_fit(0,0); |
| 5832 |
pickup tiny.nib; |
| 5833 |
numeric fend, tim[]; fend:=1.5stem; oblu:=2oblu; |
| 5834 |
path p[]; |
| 5835 |
pos9(.5[stem,bourstem],0); x9=good.x .5w; y9=.5[h,-d]; |
| 5836 |
pos10(.5[stem,hair],0); pos11(hair,-90); pos12(fend,180); |
| 5837 |
top y10=h-like_curve; x11-lft x10l=2u; |
| 5838 |
top y11l=h+o; .5[x10r,x12]=x11; y12''=y11r-like_hair; |
| 5839 |
rt x12l=w-u; z12'=z12+.2fend*down+o*left; z12''=z12+.5(fend-currentbreadth)*dir45; |
| 5840 |
y10r:=y10l+hair; z11'r=z11r+.5hair*right; |
| 5841 |
.5[x13,x10]=.5[x11,x14]=.5[x12,x15]=x9; |
| 5842 |
pos13(stem,180); pos14(hair,-90); pos15(fend,0); |
| 5843 |
bot y13=-d+like_curve; bot y14l=-d-o; y15''=y14l+like_hair; |
| 5844 |
y13r:=y13r-hair; |
| 5845 |
z15'=z15+.2fend*up+o*right; z15''=z15+.5(fend-currentbreadth)*dir(-135); |
| 5846 |
y9r:=y9r-o; y9l:=y9l+o; |
| 5847 |
lft x6=2u; y2=y9; y8-y4=x2-x6; .5[x2,x6]=x9; |
| 5848 |
circle_points(rule_thickness); |
| 5849 |
p0=z13r..z14l{left}..z15r..z15'..z15l{down}..z15''..z14r..z13l...z9r...z10r...{right}z11r |
| 5850 |
..z12r..z12'..z12l{up}..z12''..z11l..z10l...z9l...cycle; |
| 5851 |
p1=reverse (draw_circle.l); |
| 5852 |
p2=reverse (draw_circle.r); |
| 5853 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5854 |
(tim2-ceiling tim0,tim3)=(subpath (ceiling tim0,length p0) of p0) intersectiontimes p1; |
| 5855 |
(tim4-ceiling tim2,tim5)=(subpath(ceiling tim2,length p0) of p0) intersectiontimes p1; |
| 5856 |
(tim6-ceiling tim4,tim7)=(subpath(ceiling tim4,length p0) of p0) intersectiontimes p1; |
| 5857 |
(tim8,tim9)=p0 intersectiontimes p2; |
| 5858 |
(tim10-ceiling tim8,tim11)=(subpath(ceiling tim8,length p0) of p0) intersectiontimes p2; |
| 5859 |
(tim12-ceiling tim10,tim13)=(subpath(ceiling tim10,length p0) of p0) intersectiontimes p2; |
| 5860 |
(tim14-ceiling tim12,tim15)=(subpath(ceiling tim12,length p0) of p0) intersectiontimes p2; |
| 5861 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5862 |
..subpath(rundy(p1,tim1),5) of p1 |
| 5863 |
..(reverse subpath(rundy(p2,tim9),5) of p2) |
| 5864 |
..subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 5865 |
..(reverse subpath(7,rundy(p2,tim11).zpet) of p2) |
| 5866 |
..subpath(7,rundy(p1,tim3).zpet) of p1 |
| 5867 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5868 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 5869 |
..subpath(rundy(p0,tim6),length p0) of p0&cycle; |
| 5870 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2..reverse subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0..cycle; |
| 5871 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(12',12'',15',15''); |
| 5872 |
endchar; |
| 5873 |
|
| 5874 |
iff known chars.math_int_finite_uni: |
| 5875 |
bskchar "Finite part integral sign (for Unicode)"; |
| 5876 |
beginchar(chars.math_int_finite_uni,10u#,v_center(11/6dh#)); uni "0x2A0D"; |
| 5877 |
italcorr asc_height#*slant-.25u#; |
| 5878 |
adjust_fit(0,0); |
| 5879 |
pickup tiny.nib; |
| 5880 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5881 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 5882 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 5883 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 5884 |
top y2=h-like_curve; |
| 5885 |
x3-lft x2l=2u; |
| 5886 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 5887 |
rt x4l=w-u; |
| 5888 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 5889 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 5890 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 5891 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 5892 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 5893 |
y5r:=y5r-hair; |
| 5894 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 5895 |
y1r:=y1r-o; y1l:=y1l+o; |
| 5896 |
.5[z8,z9]=z1; y8=y9; x8=2u; |
| 5897 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 5898 |
p0:=z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 5899 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 5900 |
p1:=z8l--z9ll; |
| 5901 |
p2:=z9r--z8rr; |
| 5902 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5903 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 5904 |
(tim4-10,tim5)=subpath(10,length p0) of p0 intersectiontimes p2; |
| 5905 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes p1; |
| 5906 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5907 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 5908 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 5909 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5910 |
..subpath(rundy(p2,tim5),infinity) of p2 |
| 5911 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5912 |
..subpath(rundy(p0,tim6),length p0) of p0..cycle; |
| 5913 |
penlabels(1,2,3,4,5,6,7,8,9); labels(4',4'',7',7'',8rr,9ll); |
| 5914 |
endchar; |
| 5915 |
|
| 5916 |
iff known chars.math_int_average_uni: |
| 5917 |
bskchar "Integral average sign (for Unicode)"; |
| 5918 |
beginchar(chars.math_int_average_uni,10u#,v_center(11/6dh#)); uni "0x2A0F"; |
| 5919 |
italcorr asc_height#*slant-.25u#; |
| 5920 |
adjust_fit(0,0); |
| 5921 |
pickup tiny.nib; |
| 5922 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5923 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 5924 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 5925 |
top y2=h-like_curve; |
| 5926 |
x3-lft x2l=2u; |
| 5927 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 5928 |
rt x4l=w-u; |
| 5929 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 5930 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 5931 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 5932 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 5933 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 5934 |
y5r:=y5r-hair; |
| 5935 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 5936 |
y1r:=y1r-o; y1l:=y1l+o; |
| 5937 |
.5[z8,z9]=z1; x8=2u; y8=y1-curve; |
| 5938 |
pos8(rule_thickness,angle(z8-z9)-90); pos9(rule_thickness,angle(z8-z9)-90); |
| 5939 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 5940 |
p0:=z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 5941 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 5942 |
p1:=z8l--z9ll; |
| 5943 |
p2:=z9r--z8rr; |
| 5944 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5945 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 5946 |
(tim4-10,tim5)=subpath(10,length p0) of p0 intersectiontimes p2; |
| 5947 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes p1; |
| 5948 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5949 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 5950 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 5951 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 5952 |
..subpath(rundy(p2,tim5),infinity) of p2 |
| 5953 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 5954 |
..subpath(rundy(p0,tim6),length p0) of p0..cycle; |
| 5955 |
penlabels(1,2,3,4,5,6,7,8,9); labels(4',4'',7',7'',8rr,9ll); |
| 5956 |
endchar; |
| 5957 |
|
| 5958 |
iff known chars.math_int_dbar_uni: |
| 5959 |
bskchar "Integral sign with double stroke (for Unicode)"; |
| 5960 |
beginchar(chars.math_int_dbar_uni,10u#,v_center(11/6dh#)); uni "0x2A0E"; |
| 5961 |
italcorr asc_height#*slant-.25u#; |
| 5962 |
adjust_fit(0,0); |
| 5963 |
pickup tiny.nib; |
| 5964 |
path p[]; numeric tim[], fend; fend:=1.5stem; |
| 5965 |
pos1(.5[stem,bourstem],0); x1=good.x .5w; y1=.5[h,-d]; |
| 5966 |
pos2(.5[stem,hair],0); pos3(hair,-90); pos4(fend,180); |
| 5967 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 5968 |
pos10(rule_thickness,90); pos11(rule_thickness,90); |
| 5969 |
top y2=h-like_curve; |
| 5970 |
x3-lft x2l=2u; |
| 5971 |
top y3l=h+o; .5[x2r,x4]=x3; y4''=y3r-like_hair; |
| 5972 |
rt x4l=w-u; |
| 5973 |
z4'=z4+.2fend*down+o*left; z4''=z4+.5(fend-currentbreadth)*dir45; |
| 5974 |
y2r:=y2l+hair; z3'r=z3r+.5hair*right; |
| 5975 |
.5[x5,x2]=.5[x3,x6]=.5[x4,x7]=x1; |
| 5976 |
pos5(.5[stem,hair],180); pos6(hair,-90); pos7(fend,0); |
| 5977 |
bot y5=-d+like_curve; bot y6l=-d-o; y7''=y6l+like_hair; |
| 5978 |
y5r:=y5r-hair; |
| 5979 |
z7'=z7+.2fend*up+o*right; z7''=z7+.5(fend-currentbreadth)*dir(-135); |
| 5980 |
y1r:=y1r-o; y1l:=y1l+o; |
| 5981 |
.5[z8,z11]=z1; y8=y9; y10=y11; x8=x10=2u; x9=x11; y10-y8=4rule_thickness; |
| 5982 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 5983 |
bskpoints(11,10,rule_thickness,rule_thickness); |
| 5984 |
p0:=z5r..z6l{left}..z7r..z7'..z7l{down}..z7''..z6r..z5l...z1r |
| 5985 |
...z2r...{right}z3r..z4r..z4'..z4l{up}..z4''..z3l..z2l...z1l...cycle; |
| 5986 |
p1:=z8l--z9ll; |
| 5987 |
p2:=z9r--z8rr; |
| 5988 |
p3:=z10ll--z11l; |
| 5989 |
p4:=z11rr--z10r; |
| 5990 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 5991 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 5992 |
(tim4-10,tim5)=subpath(10,length p0) of p0 intersectiontimes p2; |
| 5993 |
(tim6-10,tim7)=subpath(10,length p0) of p0 intersectiontimes p1; |
| 5994 |
(tim8,tim9)=p0 intersectiontimes p3; |
| 5995 |
(tim10,tim11)=p0 intersectiontimes p4; |
| 5996 |
(tim12-10,tim13)=subpath(10,length p0) of p0 intersectiontimes p4; |
| 5997 |
(tim14-10,tim15)=subpath(10,length p0) of p0 intersectiontimes p3; |
| 5998 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 5999 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 6000 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 6001 |
..subpath(rundy(p0,tim2),rundy(p0,tim8).zpet) of p0 |
| 6002 |
..subpath(rundy(p3,tim9),infinity) of p3 |
| 6003 |
..subpath(0,rundy(p4,tim11).zpet) of p4 |
| 6004 |
..subpath(rundy(p0,tim10),rundy(p0,tim12).zpet) of p0 |
| 6005 |
..subpath(rundy(p4,tim13),infinity) of p4 |
| 6006 |
..subpath(0,rundy(p3,tim15).zpet) of p3 |
| 6007 |
..subpath(rundy(p0,tim14),rundy(p0,tim4).zpet) of p0 |
| 6008 |
..subpath(rundy(p2,tim5),infinity) of p2 |
| 6009 |
..subpath(0,rundy(p1,tim7).zpet) of p1 |
| 6010 |
..subpath(rundy(p0,tim6),length p0) of p0..cycle; |
| 6011 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(4',4'',7',7'',8rr,9ll,10ll,11rr); |
| 6012 |
endchar; |
| 6013 |
|
| 6014 |
iff known chars.math_sum_integral: |
| 6015 |
bskchar "Summation sign with integral"; |
| 6016 |
beginchar(chars.math_sum_integral,12u#,v_center(10/6dh#)); uni "0x2A0B"; |
| 6017 |
adjust_fit(0,0); |
| 6018 |
pickup tiny.nib; |
| 6019 |
path p[]; numeric tim[]; oblu.more:=2oblu; |
| 6020 |
numeric alpha, top_stem, top_arm, bot_arm, fend; fend:=1.5stem; |
| 6021 |
top_arm=Vround rule_thickness; |
| 6022 |
bot_arm=Vround .5[cap_stem,rule_thickness]; |
| 6023 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 6024 |
pos7(.5[stem,bourstem],0); x7=good.x .5w; y7=.5[h,-d]; |
| 6025 |
pos8(.5[stem,hair],0); pos9(hair,-90); pos10(fend,180); |
| 6026 |
y2-y1=2/3(h+d); .5[y1,y2]=.5[h,-d]; |
| 6027 |
lft x1l=lft x2l-o=.5u; |
| 6028 |
bot y3r=y1; top y4r=y2; rt x3l=w-u; x4r=w-2u; |
| 6029 |
pos3(beak,-90); z3d=(x3r-2ser_height,y1+bot_arm); |
| 6030 |
pos4(.65beak,90); z4d=(x4r-ser_height,y2r.b); |
| 6031 |
z3l.o=z3l+o*left; z4l.o=z4l+o*left; |
| 6032 |
x5r=.5w-o; y5=.5[h,-d]+cap_hair; |
| 6033 |
alpha=diag_ratio(2,cap_stem,y2-y5,x5r-x2r); |
| 6034 |
pos5(alpha*cap_stem,0); |
| 6035 |
alpha:=diag_ratio(2,cap_hair,y5-y1,x5r-x1r); |
| 6036 |
pos6(alpha*cap_hair,0); z5r=z6r; |
| 6037 |
z1r-z1r.b=bot_arm*down; |
| 6038 |
y1'=y1+2bot_arm; z1'=z6l+whatever*(z1r.b-z6r); |
| 6039 |
z5'=whatever[z2l+top_arm*down,z5l]=whatever[z6l,z1']; |
| 6040 |
y2r.b=y2-bot_arm; z2r.b=z5r+whatever*(z2l-z5'); |
| 6041 |
top y8=h-like_curve; |
| 6042 |
x9-lft x8l=2u; |
| 6043 |
top y9l=h+o; .5[x8r,x10]=x9; y10''=y9r-like_hair; |
| 6044 |
rt x10l=w-2u; |
| 6045 |
z10'=z10+.2fend*down+o*left; z10''=z10+.5(fend-currentbreadth)*dir45; |
| 6046 |
y8r:=y8l+hair; z9'r=z9r+.5hair*right; |
| 6047 |
.5[x11,x8]=.5[x9,x12]=.5[x10,x13]=x7; |
| 6048 |
pos11(.5[stem,hair],180); pos12(hair,-90); pos13(fend,0); |
| 6049 |
bot y11=-d+like_curve; bot y12l=-d-o; y13''=y12l+like_hair; |
| 6050 |
y11r:=y11r-hair; |
| 6051 |
z13'=z13+.2fend*up+o*right; z13''=z13+.5(fend-currentbreadth)*dir(-135); |
| 6052 |
y7r:=y7r-o; y7l:=y7l+o; |
| 6053 |
p0:=z3l..{dir-110}z3l.o..z3d---obl(1r.b,3d,5r).more---obl(5r,1r.b,2r.b).more---obl(2r.b,5r,4d).more---z4d..z4l.o{dir-70}..z4l---z4r+hair*down..z4r+hair*left---obl(2l,4r,5')---obl(5',2l,1l)---obl(1l,5',3r)---obl(3r,1r,3l); |
| 6054 |
p1:=z11r..z12l{left}..z13r..z13'..z13l{down}..z13''..z12r..z11l...z7r |
| 6055 |
...z8r...{right}z9r..z10r..z10'..z10l{up}..z10''..z9l..z8l...z7l...cycle; |
| 6056 |
p2=subpath(15,length p1) of p1; |
| 6057 |
p3=subpath(0,12) of p0; |
| 6058 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 6059 |
(tim2-7,tim3)=subpath(7,infinity) of p0 intersectiontimes subpath(0,10) of p1; |
| 6060 |
(tim4-11,tim5)=subpath(11,infinity) of p0 intersectiontimes subpath(0,10) of p1; |
| 6061 |
(tim6-11,tim7-10)=subpath(11,infinity) of p0 intersectiontimes subpath(10,length p1) of p1; |
| 6062 |
(tim8-17,tim9-10)=subpath(17,infinity) of p0 intersectiontimes subpath(10,length p1) of p1; |
| 6063 |
(tim10-17,tim11)=subpath(17,infinity) of p0 intersectiontimes subpath(0,8) of p1; |
| 6064 |
(tim12,tim13)=p2 intersectiontimes subpath(0,4) of p3; |
| 6065 |
(tim14,tim15-4)=p2 intersectiontimes subpath(4,infinity) of p3; |
| 6066 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 6067 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 6068 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 6069 |
..subpath(rundy(p1,tim5),rundy(p1,tim7).zpet) of p1 |
| 6070 |
..subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 6071 |
..subpath(rundy(p1,tim9),length p1) of p1 |
| 6072 |
..subpath(0,rundy(p1,tim11).zpet) of p1 |
| 6073 |
..subpath(rundy(p0,tim10),infinity) of p0---cycle; |
| 6074 |
oblu:=2oblu; |
| 6075 |
infill subpath(rundy(p3,tim13),rundy(p3,(tim15,3f_obl)).zpet) of p3 |
| 6076 |
..subpath(rundy(p2,(tim14,3f_obl)),rundy(p2,tim12).zpet) of p2..cycle; |
| 6077 |
(tim16,tim17-7)=p2 intersectiontimes subpath(7,infinity) of p3; |
| 6078 |
(tim18,tim19-4)=p2 intersectiontimes subpath(4,7) of p3; |
| 6079 |
infill subpath(rundy(p2,tim16),rundy(p2,(tim18,4f_obl)).zpet) of p2 |
| 6080 |
..subpath(rundy(p3,(tim19,4f_obl)),rundy(p3,tim17).zpet) of p3..cycle; |
| 6081 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); labels(1',1r.b,4d,4l.o,5',2r.b); |
| 6082 |
endchar; |
| 6083 |
|
| 6084 |
iff known chars.math_sqintersection: |
| 6085 |
bskchar "Square set intersection sign"; |
| 6086 |
beginchar(chars.math_sqintersection,11u#,.8asc_height#,0); uni "0x2293"; |
| 6087 |
adjust_fit(0,0); |
| 6088 |
pickup tiny.nib; |
| 6089 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6090 |
bot y1=bot y4=-d; top y2=top y3=h; |
| 6091 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6092 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6093 |
y2r:=y3l:=y3-rule_thickness+currentbreadth; |
| 6094 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6095 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6096 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6097 |
endchar; |
| 6098 |
|
| 6099 |
iff known chars.math_sqintersection_double: |
| 6100 |
bskchar "Double square set intersection sign"; |
| 6101 |
beginchar(chars.math_sqintersection_double,11u#,.8asc_height#,0); uni "0x2A4E"; |
| 6102 |
adjust_fit(0,0); |
| 6103 |
pickup tiny.nib; |
| 6104 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6105 |
pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 6106 |
bot y1=bot y4=bot y5=bot y8=-d; top y2=top y3=h; |
| 6107 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; top y6=top y7=bot y2r-2rule_thickness; |
| 6108 |
lft x5l-x1r=if not boldmath:2.25\\fi rule_thickness; .5[x5,x8]=.5[x6,x7]=.5[x1,x4]; x5=x6; |
| 6109 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6110 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 6111 |
y2r:=y3l:=y3-rule_thickness+currentbreadth; y6r:=y7l:=y7-rule_thickness+currentbreadth; |
| 6112 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6113 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6114 |
filldraw z5l---z6ll..z6---z7..z7rr---z8r..z8ll---obl(7l,8l,6r) |
| 6115 |
--obl(6r,7l,5r)---z5rr..cycle; |
| 6116 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,5rr,6ll,7rr,8ll); |
| 6117 |
endchar; |
| 6118 |
|
| 6119 |
iff known chars.math_sqintersection_uni: |
| 6120 |
bskchar "N-ary square set intersection sign (for Unicode)"; |
| 6121 |
beginchar(chars.math_sqintersection_uni,14u#,v_center(10/6dh#)); uni "0x2A05"; |
| 6122 |
adjust_fit(0,0); |
| 6123 |
pickup tiny.nib; |
| 6124 |
pos1(stem,0); pos2(stem,0); pos3(stem,0); pos4(stem,0); |
| 6125 |
bot y1=bot y4=-d; top y2=top y3=h; |
| 6126 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6127 |
bskpoints(1,2,stem,stem); bskpoints(3,4,stem,stem); |
| 6128 |
y2r:=y3l:=y3-stem+currentbreadth; |
| 6129 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6130 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6131 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6132 |
endchar; |
| 6133 |
|
| 6134 |
iff known chars.math_squnion: |
| 6135 |
bskchar "Square set union sign"; |
| 6136 |
beginchar(chars.math_squnion,11u#,.8asc_height#,0); uni "0x2294"; |
| 6137 |
adjust_fit(0,0); |
| 6138 |
pickup tiny.nib; |
| 6139 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6140 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6141 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6142 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6143 |
y2r:=y3l:=y3+rule_thickness-currentbreadth; |
| 6144 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6145 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6146 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6147 |
endchar; |
| 6148 |
|
| 6149 |
iff known chars.math_squnion_double: |
| 6150 |
bskchar "Double square set union sign"; |
| 6151 |
beginchar(chars.math_squnion_double,11u#,.8asc_height#,0); uni "0x2A4F"; |
| 6152 |
adjust_fit(0,0); |
| 6153 |
pickup tiny.nib; |
| 6154 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6155 |
pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 6156 |
top y1=top y4=top y5=top y8=h; bot y2=bot y3=-d; |
| 6157 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; bot y6=bot y7=top y2r+2rule_thickness; |
| 6158 |
lft x5l-x1r=if not boldmath:2.25\\fi rule_thickness; .5[x5,x8]=.5[x6,x7]=.5[x1,x4]; x5=x6; |
| 6159 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6160 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 6161 |
y2r:=y3l:=y3+rule_thickness-currentbreadth; y6r:=y7l:=y7+rule_thickness-currentbreadth; |
| 6162 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6163 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6164 |
filldraw z5l---z6ll..z6---z7..z7rr---z8r..z8ll---obl(7l,8l,6r) |
| 6165 |
--obl(6r,7l,5r)---z5rr..cycle; |
| 6166 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,5rr,6ll,7rr,8ll); |
| 6167 |
endchar; |
| 6168 |
|
| 6169 |
iff known chars.math_squnion_text: |
| 6170 |
bskchar "\textstyle square set union sign"; |
| 6171 |
beginchar(chars.math_squnion_text,14u#,0,10/6dh#); uni "non"; |
| 6172 |
adjust_fit(0,0); |
| 6173 |
pickup tiny.nib; |
| 6174 |
pos1(stem,0); pos2(stem,0); pos3(stem,0); pos4(stem,0); |
| 6175 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6176 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6177 |
bskpoints(1,2,stem,stem); bskpoints(3,4,stem,stem); |
| 6178 |
y2r:=y3l:=y3+stem-currentbreadth; |
| 6179 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4..z4ll---obl(3l,4l,2r) |
| 6180 |
--obl(2r,3l,1r)---z1rr..z1..cycle; |
| 6181 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6182 |
endchar; |
| 6183 |
|
| 6184 |
iff known chars.math_squnion_uni: |
| 6185 |
bskchar "N-ary square set union sign (for Unicode)"; |
| 6186 |
beginchar(chars.math_squnion_uni,14u#,v_center(10/6dh#)); uni "0x2A06"; |
| 6187 |
adjust_fit(0,0); |
| 6188 |
pickup tiny.nib; |
| 6189 |
pos1(stem,0); pos2(stem,0); pos3(stem,0); pos4(stem,0); |
| 6190 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6191 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6192 |
bskpoints(1,2,stem,stem); bskpoints(3,4,stem,stem); |
| 6193 |
y2r:=y3l:=y3+stem-currentbreadth; |
| 6194 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4..z4ll---obl(3l,4l,2r) |
| 6195 |
--obl(2r,3l,1r)---z1rr..z1..cycle; |
| 6196 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6197 |
endchar; |
| 6198 |
|
| 6199 |
iff known chars.math_squnion_disp: |
| 6200 |
bskchar "\displaystyle square set union sign"; |
| 6201 |
beginchar(chars.math_squnion_disp,18u#,0,14/6dh#); uni "non"; |
| 6202 |
adjust_fit(0,0); |
| 6203 |
pickup tiny.nib; |
| 6204 |
pos1(bourstem,0); pos2(bourstem,0); pos3(bourstem,0); pos4(bourstem,0); |
| 6205 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6206 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6207 |
bskpoints(1,2,stem,stem); bskpoints(3,4,stem,stem); |
| 6208 |
y2r:=y3l:=y3+bourstem-currentbreadth; |
| 6209 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4+2o*up..z4ll---obl(3l,4l,2r) |
| 6210 |
--obl(2r,3l,1r)---z1rr..z1+2o*up..cycle; |
| 6211 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6212 |
endchar; |
| 6213 |
|
| 6214 |
iff known chars.math_sqmultiunion: |
| 6215 |
bskchar "Multiset square set union sign"; |
| 6216 |
beginchar(chars.math_sqmultiunion,11u#,.8asc_height#,0); uni "non"; |
| 6217 |
adjust_fit(0,0); |
| 6218 |
pickup tiny.nib; |
| 6219 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6220 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6221 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 6222 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6223 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6224 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6225 |
y2r:=y3l:=y3+rule_thickness-currentbreadth; |
| 6226 |
lft x6=rt x1r + stem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y2,y1]; |
| 6227 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6228 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 6229 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6230 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6231 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6232 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6233 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6234 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6235 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6236 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6237 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,2ll,3rr,4ll,5rr); |
| 6238 |
endchar; |
| 6239 |
|
| 6240 |
iff known chars.math_sqcup: |
| 6241 |
bskchar "Square cup sign"; |
| 6242 |
beginchar(chars.math_sqcup,11u#,x_height#,0); uni "non"; |
| 6243 |
adjust_fit(0,0); |
| 6244 |
pickup tiny.nib; |
| 6245 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6246 |
top y1=top y4=h; bot y2=bot y3=-d; |
| 6247 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6248 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6249 |
y2r:=y3l:=y3+rule_thickness-currentbreadth; |
| 6250 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6251 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6252 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6253 |
endchar; |
| 6254 |
|
| 6255 |
iff known chars.math_sqcap: |
| 6256 |
bskchar "Square cap sign"; |
| 6257 |
beginchar(chars.math_sqcap,11u#,x_height#,0); uni "non"; |
| 6258 |
adjust_fit(0,0); |
| 6259 |
pickup tiny.nib; |
| 6260 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 6261 |
bot y1=bot y4=-d; top y2=top y3=h; |
| 6262 |
lft x1l=lft x2l=u; x3r=x4r=w-x1l; |
| 6263 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 6264 |
y2r:=y3l:=y3-rule_thickness+currentbreadth; |
| 6265 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 6266 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 6267 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 6268 |
endchar; |
| 6269 |
|
| 6270 |
iff known chars.math_union: |
| 6271 |
bskchar "Set union sign"; |
| 6272 |
beginchar(chars.math_union,11u#,.8asc_height#,0); uni "0x222A"; |
| 6273 |
italcorr .8asc_height#*slant-.5u#; |
| 6274 |
adjust_fit(0,0); |
| 6275 |
pickup tiny.nib; |
| 6276 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6277 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6278 |
top y1=top y5=h; bot y3l=-d-o; |
| 6279 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6280 |
y2=y4=y3+(x3-x2); |
| 6281 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6282 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6283 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6284 |
endchar; |
| 6285 |
|
| 6286 |
iff known chars.math_union_serif_closed: |
| 6287 |
bskchar "Closed set union sign with serifs"; |
| 6288 |
beginchar(chars.math_union_serif_closed,14u#,.8asc_height#,0); uni "0x2A4C"; |
| 6289 |
italcorr .8asc_height#*slant-.5u#; |
| 6290 |
adjust_fit(0,0); |
| 6291 |
pickup tiny.nib; |
| 6292 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6293 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6294 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6295 |
bot y3l=-d-o; y1=y5=y6l; |
| 6296 |
lft x1l=lft x2l=2.5u; x4l=x5l=w-x1l; x3=.5w; |
| 6297 |
y2=y4=y3+(x3-x2); |
| 6298 |
lft x6=u; rt x7=w-u; top y6r=top y7r=h; |
| 6299 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 6300 |
filldraw obl(1l,6l,2l)---z2l...z3l...z4l---obl(5l,4l,7ll)---z7ll..z7r---z6rr..z6l---cycle; |
| 6301 |
infill obl(5r,1r,4r)---z4r...z3r...z2r---obl(1r,2r,5r)---cycle; |
| 6302 |
penlabels(1,2,3,4,5,6,7); labels(6rr,7ll); |
| 6303 |
endchar; |
| 6304 |
|
| 6305 |
iff known chars.math_union_serif_closed_smash: |
| 6306 |
bskchar "Closed set union sign with serifs and smash sign"; |
| 6307 |
beginchar(chars.math_union_serif_closed_smash,14u#,.8asc_height#,0); uni "0x2A50"; |
| 6308 |
italcorr .8asc_height#*slant-.5u#; |
| 6309 |
adjust_fit(0,0); |
| 6310 |
pickup tiny.nib; |
| 6311 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6312 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6313 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6314 |
pos8(hair,45); pos9(hair,45); |
| 6315 |
pos10(hair,45); pos11(hair,45); |
| 6316 |
pos12(hair,-45); pos13(hair,-45); |
| 6317 |
pos14(hair,-45); pos15(hair,-45); |
| 6318 |
bot y3l=-d-o; y1=y5=y6l; |
| 6319 |
lft x1l=lft x2l=2.5u; x4l=x5l=w-x1l; x3=.5w; |
| 6320 |
y2=y4=y3+(x3-x2); |
| 6321 |
lft x6=u; rt x7=w-u; top y6r=top y7r=h; |
| 6322 |
y8=y12; y11=y15; x10=x13; x9=x14; y8-y11=x9-x10=.5(x4r-x2r); .5[x9,x10]=.5w; .5[y8,y11]=math_axis; |
| 6323 |
z10-z8=.5(x9-x10)*dir225; z9-z8=z11-z10; z13-z12=z15-z14; z14-z12=.5(x9-x10)*dir-45; |
| 6324 |
z8'=whatever[z12l,z13l]=whatever[z8r,z9r]; |
| 6325 |
z9'=whatever[z12r,z13r]=whatever[z8r,z9r]; |
| 6326 |
z10'=whatever[z12r,z13r]=whatever[z8l,z9l]; |
| 6327 |
z11'=whatever[z12r,z13r]=whatever[z10r,z11r]; |
| 6328 |
z12'=whatever[z12r,z13r]=whatever[z10l,z11l]; |
| 6329 |
z13'=whatever[z12l,z13l]=whatever[z10l,z11l]; |
| 6330 |
z14'=whatever[z12l,z13l]=whatever[z10r,z11r]; |
| 6331 |
z15'=whatever[z12l,z13l]=whatever[z8l,z9l]; |
| 6332 |
z16'=whatever[z14l,z15l]=whatever[z8r,z9r]; |
| 6333 |
z17'=whatever[z14r,z15r]=whatever[z8r,z9r]; |
| 6334 |
z18'=whatever[z14r,z15r]=whatever[z8l,z9l]; |
| 6335 |
z19'=whatever[z14r,z15r]=whatever[z10r,z11r]; |
| 6336 |
z20'=whatever[z14r,z15r]=whatever[z10l,z11l]; |
| 6337 |
z21'=whatever[z14l,z15l]=whatever[z10l,z11l]; |
| 6338 |
z22'=whatever[z14l,z15l]=whatever[z10r,z11r]; |
| 6339 |
z23'=whatever[z14l,z15l]=whatever[z8l,z9l]; |
| 6340 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 6341 |
filldraw obl(1l,6l,2l)---z2l...z3l...z4l---obl(5l,4l,7ll)---z7ll..z7r---z6rr..z6l---cycle; |
| 6342 |
infill obl(5r,1r,4r)---z4r...z3r...z2r---obl(1r,2r,5r)---cycle; |
| 6343 |
filldraw z8r---obl(8',8r,12l)---z12l..z12r---obl(9',12r,16')---obl(16',9',14l)---z14l..z14r |
| 6344 |
---obl(17',14r,9r)---z9r..z9l---obl(18',9l,19')---obl(19',18',11r)---z11r..z11l |
| 6345 |
---obl(20',11l,15r)---z15r..z15l---obl(21',15l,12')---obl(12',11l,13r)---z13r..z13l |
| 6346 |
---obl(13',13l,10l)---z10l..z10r---obl(14',10r,15')---obl(15',14',8l)---z8l..cycle; |
| 6347 |
infill obl(10',23',11')---obl(11',10',22')---obl(22',11',23')---obl(23',22',10')---cycle; |
| 6348 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); |
| 6349 |
labels(6rr,7ll,9ll,10ll,12rr,13ll,14ll,15rr,8',9',10',11',12',13',14',15',16',17',18',19',20',21',22',23'); |
| 6350 |
endchar; |
| 6351 |
|
| 6352 |
iff known chars.math_union_union: |
| 6353 |
bskchar "Two joinde set union signs"; |
| 6354 |
beginchar(chars.math_union_union,16u#,.8asc_height#,0); uni "0x2A4A"; |
| 6355 |
italcorr .8asc_height#*slant-.5u#; |
| 6356 |
adjust_fit(0,0); |
| 6357 |
path p[]; numeric tim[]; |
| 6358 |
pickup tiny.nib; |
| 6359 |
oblu:=2oblu; |
| 6360 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6361 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6362 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,90); |
| 6363 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6364 |
top y1=top y5=top y6=top y10=h; bot y3l=bot y8l=-d-o; |
| 6365 |
lft x1l=lft x2l=u; x4=x5=x6=x7=.5w; x3=.5[x1,x4]; x8=.5[x6,x9];rt x9l=rt x10l=w-u; |
| 6366 |
y2=y4=y7=y9=y3+(x3-x2); |
| 6367 |
bskpoints(1,2,hair,hair); bskpoints(10,9,hair,hair); |
| 6368 |
p0=z1l---z2l...z3l...z4l---z5l; |
| 6369 |
p1=z6l---z7l...z8l..z9l---z10l; |
| 6370 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 6371 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 6372 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 6373 |
..z10rr---z9r...z8r...z7r---z5l..z5r---z4r...z3r...z2r---z1rr..cycle; |
| 6374 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,10rr); |
| 6375 |
endchar; |
| 6376 |
|
| 6377 |
iff known chars.math_union_minus: |
| 6378 |
bskchar "Set union sign with minus"; |
| 6379 |
beginchar(chars.math_union_minus,11u#,.8asc_height#,0); uni "0x2A41"; |
| 6380 |
italcorr asc_height#*slant-.5u#; |
| 6381 |
adjust_fit(0,0); |
| 6382 |
pickup tiny.nib; |
| 6383 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6384 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6385 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6386 |
top y1=top y5=h; bot y3l=-d-o; |
| 6387 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6388 |
y2=y4=y3+(x3-x2); |
| 6389 |
.5[x6,x7]=.5w; lft x6=rt x2r+rule_thickness; y6=y7=math_axis; |
| 6390 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6391 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6392 |
filldraw bskrule(6,7,hair,hair); |
| 6393 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 6394 |
endchar; |
| 6395 |
|
| 6396 |
iff known chars.math_union_overbar: |
| 6397 |
bskchar "Set union sign with overbar"; |
| 6398 |
beginchar(chars.math_union_overbar,11u#,asc_height#,0); uni "0x2A42"; |
| 6399 |
italcorr asc_height#*slant-.5u#; |
| 6400 |
adjust_fit(0,0); |
| 6401 |
pickup tiny.nib; |
| 6402 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6403 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6404 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6405 |
top y1=top y5=.8h; bot y3l=-d-o; |
| 6406 |
lft x1l=lft x2l=lft x6=u; x4l=x5l=x7=w-x1l; x3=.5w; |
| 6407 |
y2=y4=y3+(x3-x2); top y6r=top y7r=h; |
| 6408 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6409 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6410 |
filldraw bskrule(6,7,hair,0); |
| 6411 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 6412 |
endchar; |
| 6413 |
|
| 6414 |
iff known chars.math_union_logor: |
| 6415 |
bskchar "Set union sign with logical or sign"; |
| 6416 |
beginchar(chars.math_union,11u#,.8asc_height#,0); uni "0x2A45"; |
| 6417 |
italcorr .8asc_height#*slant-.5u#; |
| 6418 |
adjust_fit(0,0); |
| 6419 |
pickup tiny.nib; |
| 6420 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6421 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6422 |
top y1=top y5=h; bot y3l=-d-o; |
| 6423 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6424 |
y2=y4=y3+(x3-x2); |
| 6425 |
x6=.5w; y6=max(5u,2rule_thickness); lft x7l=rt x1r+rule_thickness; |
| 6426 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6427 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6428 |
logor(6,7,8); |
| 6429 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6430 |
endchar; |
| 6431 |
|
| 6432 |
iff known chars.math_union_uni: |
| 6433 |
bskchar "N-ary set union sign (for Unicode)"; |
| 6434 |
beginchar(chars.math_union_uni,14u#,v_center(10/6dh#)); uni "0x22C3"; |
| 6435 |
adjust_fit(0,0); |
| 6436 |
pickup tiny.nib; |
| 6437 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,90); pos4(stem,180); pos5(stem,180); |
| 6438 |
top y1=top y5=h; bot y3l=-d-o; |
| 6439 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6440 |
y2=y4=y3+(x3-x2); |
| 6441 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6442 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6443 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6444 |
endchar; |
| 6445 |
|
| 6446 |
iff known chars.math_union_text: |
| 6447 |
bskchar "\textstyle set union sign"; |
| 6448 |
beginchar(chars.math_union_text,14u#,0,10/6dh#); uni "non"; |
| 6449 |
adjust_fit(0,0); |
| 6450 |
pickup tiny.nib; |
| 6451 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,90); pos4(stem,180); pos5(stem,180); |
| 6452 |
top y1=top y5=h; bot y3l=-d-o; |
| 6453 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6454 |
y2=y4=y3+(x3-x2); |
| 6455 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6456 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6457 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6458 |
endchar; |
| 6459 |
|
| 6460 |
iff known chars.math_union_disp: |
| 6461 |
bskchar "\displaystyle set union sign"; |
| 6462 |
beginchar(chars.math_union_disp,18u#,0,14/6dh#); uni "non"; |
| 6463 |
adjust_fit(0,0); |
| 6464 |
pickup tiny.nib; |
| 6465 |
pos1(bourstem,0); pos2(bourstem,0); pos3(.9bourstem,90); pos4(bourstem,180); pos5(bourstem,180); |
| 6466 |
top y1=top y5=h; bot y3l=-d-o; |
| 6467 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6468 |
y2=y4=y3+(x3-x2); |
| 6469 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6470 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*up..z5rr---z4r...z3r...z2r---z1rr..z1+2o*up..cycle; |
| 6471 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6472 |
endchar; |
| 6473 |
|
| 6474 |
iff known chars.math_cup: |
| 6475 |
bskchar "Cup sign"; |
| 6476 |
beginchar(chars.math_cup,11u#,x_height#,0); uni "non"; |
| 6477 |
italcorr .8asc_height#*slant-.5u#; |
| 6478 |
adjust_fit(0,0); |
| 6479 |
pickup tiny.nib; |
| 6480 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6481 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6482 |
top y1=top y5=h; bot y3l=-d-o; |
| 6483 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6484 |
y2=y4=y3+(x3-x2); |
| 6485 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6486 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6487 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6488 |
endchar; |
| 6489 |
|
| 6490 |
iff known chars.math_parallel_union: |
| 6491 |
bskchar "Parallel set union sign"; |
| 6492 |
beginchar(chars.math_parallel_union,11u#,.8asc_height#,0); uni "0x22D3"; |
| 6493 |
italcorr .8asc_height#*slant-.5u#; |
| 6494 |
adjust_fit(0,0); |
| 6495 |
pickup tiny.nib; |
| 6496 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6497 |
pos4(rule_thickness,180); pos5(rule_thickness,180); pos6(rule_thickness,0); |
| 6498 |
pos7(rule_thickness,0); pos8(.9rule_thickness,90); pos9(rule_thickness,180); |
| 6499 |
pos10(rule_thickness,180); |
| 6500 |
top y1=top y5=top y6=top y10=h; bot y3l=-d-o; |
| 6501 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x8=.5w; |
| 6502 |
y2=y4=y3+(x3-x2); lft x6l=lft x7l=x1r+if not boldmath: 2.25\\fi rule_thickness; |
| 6503 |
y7=y9=y8+(x8-x7); x9=x10=w-x6; bot y8l=y3r+2rule_thickness; |
| 6504 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6505 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6506 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6507 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6508 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 6509 |
endchar; |
| 6510 |
|
| 6511 |
iff known chars.math_multiunion: |
| 6512 |
bskchar "Multiset union sign"; |
| 6513 |
beginchar(chars.math_multiunion,11u#,.8asc_height#,0); uni "0x228E"; |
| 6514 |
adjust_fit(0,0); |
| 6515 |
pickup tiny.nib; |
| 6516 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 6517 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6518 |
top y1=top y5=h; bot y3l=-d-o; |
| 6519 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6520 |
y2=y4=y3+(x3-x2); |
| 6521 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6522 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6523 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6524 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 6525 |
lft x6=rt x1r + stem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y3l,y1]; |
| 6526 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6527 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 6528 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6529 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6530 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6531 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6532 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6533 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6534 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 6535 |
endchar; |
| 6536 |
|
| 6537 |
iff known chars.math_multiunion_uni: |
| 6538 |
bskchar "N-ary union with plus"; |
| 6539 |
beginchar(chars.math_multiunion_uni,14u#,v_center(10/6dh#)); uni "0x2A04"; |
| 6540 |
adjust_fit(0,0); |
| 6541 |
pickup tiny.nib; |
| 6542 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,90); pos4(stem,180); pos5(stem,180); |
| 6543 |
top y1=top y5=h; bot y3l=-d-o; |
| 6544 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6545 |
y2=y4=y3+(x3-x2); |
| 6546 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6547 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6548 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6549 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 6550 |
lft x6=rt x1r + stem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y3l,y1]; |
| 6551 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6552 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 6553 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6554 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6555 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6556 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6557 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6558 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6559 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 6560 |
endchar; |
| 6561 |
|
| 6562 |
iff known chars.math_multiunion_text: |
| 6563 |
bskchar "\textstyle multiset union sign"; |
| 6564 |
beginchar(chars.math_multiunion_text,14u#,0,10/6dh#); uni "non"; |
| 6565 |
adjust_fit(0,0); |
| 6566 |
pickup tiny.nib; |
| 6567 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,90); pos4(stem,180); pos5(stem,180); |
| 6568 |
top y1=top y5=h; bot y3l=-d-o; |
| 6569 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6570 |
y2=y4=y3+(x3-x2); |
| 6571 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6572 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6573 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6574 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 6575 |
lft x6=rt x1r + stem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y3l,y1]; |
| 6576 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6577 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 6578 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6579 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6580 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6581 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6582 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6583 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6584 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 6585 |
endchar; |
| 6586 |
|
| 6587 |
iff known chars.math_multiunion_disp: |
| 6588 |
bskchar "\displaystyle multiset union sign"; |
| 6589 |
beginchar(chars.math_multiunion_disp,18u#,0,14/6dh#); uni "non"; |
| 6590 |
adjust_fit(0,0); |
| 6591 |
pickup tiny.nib; |
| 6592 |
pos1(bourstem,0); pos2(bourstem,0); pos3(.9bourstem,90); pos4(bourstem,180); pos5(bourstem,180); |
| 6593 |
top y1=top y5=h; bot y3l=-d-o; |
| 6594 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6595 |
y2=y4=y3+(x3-x2); |
| 6596 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6597 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*up..z5rr---z4r...z3r...z2r---z1rr..z1+2o*up..cycle; |
| 6598 |
pos6(stem,90); pos7(stem,90); |
| 6599 |
pos8(stem,0); pos9(stem,0); |
| 6600 |
lft x6=rt x1r + bourstem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y3l,y1]; |
| 6601 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6602 |
bskpoints(6,7,stem,stem); bskpoints(9,8,.5stem,.5stem); |
| 6603 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6604 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6605 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6606 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6607 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6608 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6609 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 6610 |
endchar; |
| 6611 |
|
| 6612 |
iff known chars.math_multiset: |
| 6613 |
bskchar "Multiset sign"; |
| 6614 |
beginchar(chars.math_multiset,11u#,.8asc_height#,0); uni "0x228C"; |
| 6615 |
adjust_fit(0,0); |
| 6616 |
pickup tiny.nib; |
| 6617 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 6618 |
pos4(rule_thickness,180); pos5(rule_thickness,180); pos6(rule_thickness,90); |
| 6619 |
top y1=top y5=h; bot y3l=-d-o; |
| 6620 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6621 |
y2=y4=y3+(x3-x2); |
| 6622 |
lft x7=rt x1r + stem; x7=w-x6; y6l=y7=.5[y3l,y1]; |
| 6623 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(6,7,hair,hair); |
| 6624 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6625 |
{{ save arrsize, arrwidth; numeric arrsize, arrwidth; |
| 6626 |
arrsize=1.2arrwidth=if boldmath: 2.15 else:2\\ fi curve; |
| 6627 |
filldraw sipka(7,6)---z6rr..z6l---cycle; |
| 6628 |
}}; |
| 6629 |
penlabels(0,1,2,3,4,5); labels(1rr,5rr); |
| 6630 |
endchar; |
| 6631 |
|
| 6632 |
iff known chars.math_multiset_multiply: |
| 6633 |
bskchar "Multiset multiplication sign"; |
| 6634 |
beginchar(chars.math_multiset_multiply,11u#,.8asc_height#,0); uni "0x228D"; |
| 6635 |
adjust_fit(0,0); |
| 6636 |
pickup tiny.nib; |
| 6637 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 6638 |
pos4(rule_thickness,180); pos5(rule_thickness,180); pos6(rule_thickness,90); |
| 6639 |
top y1=top y5=h; bot y3l=-d-o; |
| 6640 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=.5w; |
| 6641 |
y2=y4=y3+(x3-x2); y6=.5[y3l,y1]; |
| 6642 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6643 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6644 |
dot(6); |
| 6645 |
penlabels(0,1,2,3,4,5); labels(1rr,5rr); |
| 6646 |
endchar; |
| 6647 |
|
| 6648 |
iff known chars.math_multiset_multiply_n: |
| 6649 |
bskchar "N-ary union with dot"; |
| 6650 |
beginchar(chars.math_multiset_multiply_n,14u#,v_center(10/6dh#)); uni "0x2A03"; |
| 6651 |
adjust_fit(0,0); |
| 6652 |
pickup tiny.nib; |
| 6653 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,90); pos4(stem,180); pos5(stem,180); |
| 6654 |
top y1=top y5=h; bot y3l=-d-o; |
| 6655 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=.5w; |
| 6656 |
y2=y4=y3+(x3-x2); y6=.5[y3l,y1]; |
| 6657 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6658 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6659 |
{{ numeric old_dot; old_dot:=dot_size; save dot_size; numeric dot_size; dot_size:=1.5old_dot; |
| 6660 |
dot(6); }}; |
| 6661 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6662 |
endchar; |
| 6663 |
|
| 6664 |
iff known chars.math_intersection: |
| 6665 |
bskchar "Set intersection sign"; |
| 6666 |
beginchar(chars.math_intersection,11u#,.8asc_height#,0); uni "0x2229"; |
| 6667 |
italcorr .8asc_height#*slant-u#; |
| 6668 |
adjust_fit(0,0); |
| 6669 |
pickup tiny.nib; |
| 6670 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6671 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6672 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6673 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6674 |
y2=y4=y3-(x3-x2); |
| 6675 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6676 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6677 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6678 |
endchar; |
| 6679 |
|
| 6680 |
iff known chars.math_intersection_serif_closed: |
| 6681 |
bskchar "Closed set intersection sign with serifs"; |
| 6682 |
beginchar(chars.math_intersection_serif_closed,14u#,.8asc_height#,0); uni "0x2A4D"; |
| 6683 |
italcorr .8asc_height#*slant-u#; |
| 6684 |
adjust_fit(0,0); |
| 6685 |
pickup tiny.nib; |
| 6686 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6687 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6688 |
pos6(rule_thickness,270); pos7(rule_thickness,270); |
| 6689 |
top y3l=h+o; y1=y5=y6l; |
| 6690 |
lft x1l=lft x2l=2.5u; x4l=x5l=w-x1l; x3=.5w; |
| 6691 |
y2=y4=y3-(x3-x2); |
| 6692 |
lft x6=u; rt x7=w-u; bot y6r=bot y7r=-d; |
| 6693 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 6694 |
filldraw obl(1l,6l,2l)---z2l...z3l...z4l---obl(5l,4l,7ll)---z7ll..z7r---z6rr..z6l---cycle; |
| 6695 |
infill obl(5r,1r,4r)---z4r...z3r...z2r---obl(1r,2r,5r)---cycle; |
| 6696 |
penlabels(1,2,3,4,5,7,8); labels(6rr,7ll); |
| 6697 |
endchar; |
| 6698 |
|
| 6699 |
iff known chars.math_intersection_intersection: |
| 6700 |
bskchar "Two joined set intersection signs"; |
| 6701 |
beginchar(chars.math_intersection_intersection,16u#,.8asc_height#,0); uni "0x2A4B"; |
| 6702 |
italcorr .8asc_height#*slant-u#; |
| 6703 |
adjust_fit(0,0); |
| 6704 |
path p[]; numeric tim[]; |
| 6705 |
pickup tiny.nib; |
| 6706 |
oblu:=2oblu; |
| 6707 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6708 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6709 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,-90); |
| 6710 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6711 |
bot y1=bot y5=bot y6=bot y10=-d; top y3l=top y8l=h+o; |
| 6712 |
lft x1l=lft x2l=u; x4=x5=x6=x7=.5w; x3=.5[x1,x4]; x8=.5[x6,x9]; rt x9l=rt x10l=w-u; |
| 6713 |
y2=y4=y7=y9=y3-(x3-x2); |
| 6714 |
bskpoints(1,2,hair,hair); bskpoints(10,9,hair,hair); |
| 6715 |
p0=z1l---z2l...z3l...z4l---z5l; |
| 6716 |
p1=z6l---z7l...z8l..z9l---z10l; |
| 6717 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 6718 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 6719 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 6720 |
..z10rr---z9r...z8r...z7r---z5l..z5r---z4r...z3r...z2r---z1rr..cycle; |
| 6721 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,10rr); |
| 6722 |
endchar; |
| 6723 |
|
| 6724 |
iff known chars.math_intersection_dot: |
| 6725 |
bskchar "Set intersection sign with dot"; |
| 6726 |
beginchar(chars.math_intersection_dot,11u#,.8asc_height#,0); uni "0x2A40"; |
| 6727 |
italcorr .8asc_height#*slant-u#; |
| 6728 |
adjust_fit(0,0); |
| 6729 |
pickup tiny.nib; |
| 6730 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6731 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6732 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6733 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=.5w; |
| 6734 |
y2=y4=y3-(x3-x2); y6=.5[y3l,y1]; |
| 6735 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6736 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6737 |
dot(6); |
| 6738 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6739 |
endchar; |
| 6740 |
|
| 6741 |
iff known chars.math_intersection_overbar: |
| 6742 |
bskchar "Set intersection sign with overbar"; |
| 6743 |
beginchar(chars.math_intersection_overbar,11u#,asc_height#,0); uni "0x2A43"; |
| 6744 |
italcorr asc_height#*slant-u#; |
| 6745 |
adjust_fit(0,0); |
| 6746 |
pickup tiny.nib; |
| 6747 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6748 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6749 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6750 |
bot y1=bot y5=-d; top y3l=.8h+o; |
| 6751 |
lft x1l=lft x2l=lft x6=u; x4l=x5l=x7=w-x1l; x3=.5w; |
| 6752 |
y2=y4=y3-(x3-x2); top y6r=top y7r=h; |
| 6753 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6754 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6755 |
filldraw bskrule(6,7,hair,0); |
| 6756 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 6757 |
endchar; |
| 6758 |
|
| 6759 |
iff known chars.math_intersection_logand: |
| 6760 |
bskchar "Set intersection sign with logical and inside"; |
| 6761 |
beginchar(chars.math_intersection_logand,11u#,.8asc_height#,0); uni "0x2A44"; |
| 6762 |
italcorr asc_height#*slant-u#; |
| 6763 |
adjust_fit(0,0); |
| 6764 |
pickup tiny.nib; |
| 6765 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6766 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6767 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6768 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=.5w; |
| 6769 |
y2=y4=y3-(x3-x2); y6=h-max(5u,2rule_thickness); lft x7r=rt x1r+rule_thickness; |
| 6770 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6771 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6772 |
logand(6,7,8); |
| 6773 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6774 |
endchar; |
| 6775 |
|
| 6776 |
iff known chars.math_intersection_uni: |
| 6777 |
bskchar "N-ary set intersection sign (for Unicode)"; |
| 6778 |
beginchar(chars.math_intersection_uni,14u#,v_center(10/6dh#)); uni "0x22C2"; |
| 6779 |
adjust_fit(0,0); |
| 6780 |
pickup tiny.nib; |
| 6781 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,-90); pos4(stem,180); pos5(stem,180); |
| 6782 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6783 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6784 |
y2=y4=y3-(x3-x2); |
| 6785 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6786 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6787 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6788 |
endchar; |
| 6789 |
|
| 6790 |
iff known chars.math_intersection_text: |
| 6791 |
bskchar "\textstyle set intersection sign"; |
| 6792 |
beginchar(chars.math_intersection_text,14u#,0,10/6dh#); uni "non"; |
| 6793 |
adjust_fit(0,0); |
| 6794 |
pickup tiny.nib; |
| 6795 |
pos1(stem,0); pos2(stem,0); pos3(.9stem,-90); pos4(stem,180); pos5(stem,180); |
| 6796 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6797 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6798 |
y2=y4=y3-(x3-x2); |
| 6799 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6800 |
filldraw z1l---z2l...z3l...z4l---z5l..z5..z5rr---z4r...z3r...z2r---z1rr..z1..cycle; |
| 6801 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6802 |
endchar; |
| 6803 |
|
| 6804 |
iff known chars.math_intersection_disp: |
| 6805 |
bskchar "\displaystyle set intersection sign"; |
| 6806 |
beginchar(chars.math_intersection_disp,18u#,0,14/6dh#); uni "non"; |
| 6807 |
adjust_fit(0,0); |
| 6808 |
pickup tiny.nib; |
| 6809 |
pos1(bourstem,0); pos2(bourstem,0); pos3(.9bourstem,-90); pos4(bourstem,180); pos5(bourstem,180); |
| 6810 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6811 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6812 |
y2=y4=y3-(x3-x2); |
| 6813 |
bskpoints(1,2,stem,stem); bskpoints(5,4,stem,stem); |
| 6814 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*down..z5rr---z4r...z3r...z2r---z1rr..z1+2o*down..cycle; |
| 6815 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6816 |
endchar; |
| 6817 |
|
| 6818 |
iff known chars.math_cap: |
| 6819 |
bskchar "Cap sign"; |
| 6820 |
beginchar(chars.math_cap,11u#,x_height#,0); uni "non"; |
| 6821 |
italcorr .8asc_height#*slant-u#; |
| 6822 |
adjust_fit(0,0); |
| 6823 |
pickup tiny.nib; |
| 6824 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6825 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6826 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6827 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6828 |
y2=y4=y3-(x3-x2); |
| 6829 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6830 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6831 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 6832 |
endchar; |
| 6833 |
|
| 6834 |
iff known chars.math_parallel_intersection: |
| 6835 |
bskchar "Parallel set intersection sign"; |
| 6836 |
beginchar(chars.math_parallel_intersection,11u#,.8asc_height#,0); uni "0x22D2"; |
| 6837 |
italcorr .8asc_height#*slant-u#; |
| 6838 |
adjust_fit(0,0); |
| 6839 |
pickup tiny.nib; |
| 6840 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6841 |
pos4(rule_thickness,180); pos5(rule_thickness,180); pos6(rule_thickness,0); |
| 6842 |
pos7(rule_thickness,0); pos8(rule_thickness,-90); pos9(rule_thickness,180); |
| 6843 |
pos10(rule_thickness,180); |
| 6844 |
bot y1=bot y5=bot y6=bot y10=-d; top y3l=h+o; top y8l=y3r-2rule_thickness; |
| 6845 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x8=.5w; |
| 6846 |
y2=y4=y3-(x3-x2); y7=y9=y8-(x8-x7); lft x6l=lft x7l=x1r+if not boldmath: 2.25\\fi rule_thickness; x9=x10=w-x6; |
| 6847 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6848 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6849 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6850 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6851 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 6852 |
endchar; |
| 6853 |
|
| 6854 |
iff known chars.math_multiintersection: |
| 6855 |
bskchar "Multiset intersection sign"; |
| 6856 |
beginchar(chars.math_multiintersection,11u#,.8asc_height#,0); uni "non"; |
| 6857 |
adjust_fit(0,0); |
| 6858 |
pickup tiny.nib; |
| 6859 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6860 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6861 |
bot y1=bot y5=-d; top y3l=h+o; |
| 6862 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6863 |
y2=y4=y3-(x3-x2); |
| 6864 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6865 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6866 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 6867 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 6868 |
lft x6=rt x1r + stem; x7=w-x6; y6=y7=.5[y8,y9]=.5[y3l,y1]; |
| 6869 |
x8=x9=.5w; y8-y9=x7-x6; |
| 6870 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 6871 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 6872 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 6873 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 6874 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 6875 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 6876 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 6877 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 6878 |
endchar; |
| 6879 |
|
| 6880 |
iff known chars.math_cup_cap: |
| 6881 |
bskchar "Cup above cap sign"; |
| 6882 |
beginchar(chars.math_cup_cap,9u#,v_center(asc_height#+rule_thickness#)); uni "0x2A46"; |
| 6883 |
italcorr .8asc_height#*slant-.5u#; |
| 6884 |
adjust_fit(0,0); |
| 6885 |
pickup tiny.nib; |
| 6886 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6887 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6888 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,-90); |
| 6889 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6890 |
top y1=top y5=h; bot y3l=math_axis+1.5rule_thickness; |
| 6891 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6892 |
y2=y4=y3+(x3-x2); |
| 6893 |
bot y6=bot y10=-d; top y8l=math_axis-1.5rule_thickness; |
| 6894 |
lft x6l=lft x7l=u; x9l=x10l=w-x6l; x8=.5w; |
| 6895 |
y7=y9=y8-(x8-x7); |
| 6896 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6897 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6898 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6899 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6900 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr); |
| 6901 |
endchar; |
| 6902 |
|
| 6903 |
iff known chars.math_cup_cap_rule: |
| 6904 |
bskchar "Cup above cap sign wih rule"; |
| 6905 |
beginchar(chars.math_cup_cap_rule,9u#,v_center(asc_height#+rule_thickness#)); uni "0x2A48"; |
| 6906 |
italcorr .8asc_height#*slant-.5u#; |
| 6907 |
adjust_fit(0,0); |
| 6908 |
pickup tiny.nib; |
| 6909 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 6910 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6911 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(rule_thickness,-90); |
| 6912 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6913 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 6914 |
top y1=top y5=h; bot y3l=math_axis+1.5rule_thickness; |
| 6915 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6916 |
y2=y4=y3+(x3-x2); |
| 6917 |
bot y6=bot y10=-d; top y8l=math_axis-1.5rule_thickness; |
| 6918 |
lft x6l=lft x7l=u; x9l=x10l=w-x6l; x8=.5w; |
| 6919 |
y7=y9=y8-(x8-x7); |
| 6920 |
y11=y12=math_axis; x11=x6l; x12=x9l; |
| 6921 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6922 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6923 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6924 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6925 |
filldraw bskrule(11,12,rule_thickness,rule_thickness); |
| 6926 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12); labels(1rr,5rr); |
| 6927 |
endchar; |
| 6928 |
|
| 6929 |
iff known chars.math_cap_cup: |
| 6930 |
bskchar "Cap above cup sign"; |
| 6931 |
beginchar(chars.math_cap_cup,9u#,v_center(asc_height#+rule_thickness#)); uni "0x2A47"; |
| 6932 |
italcorr .8asc_height#*slant-u#; |
| 6933 |
adjust_fit(0,0); |
| 6934 |
pickup tiny.nib; |
| 6935 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6936 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6937 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(.9rule_thickness,90); |
| 6938 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6939 |
bot y1=bot y5=math_axis+1.5rule_thickness; top y3l=h+o; |
| 6940 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6941 |
y2=y4=y3-(x3-x2); |
| 6942 |
top y6=top y10=math_axis-1.5rule_thickness; bot y8l=-d-o; |
| 6943 |
lft x6l=lft x7l=u; x9l=x10l=w-x6l; x8=.5w; |
| 6944 |
y7=y9=y8+(x8-x7); |
| 6945 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6946 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6947 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6948 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6949 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 6950 |
endchar; |
| 6951 |
|
| 6952 |
iff known chars.math_cap_cup_rule: |
| 6953 |
bskchar "Cap above cup sign with rule"; |
| 6954 |
beginchar(chars.math_cap_cup_rule,9u#,v_center(asc_height#+rule_thickness#)); uni "0x2A49"; |
| 6955 |
italcorr .8asc_height#*slant-u#; |
| 6956 |
adjust_fit(0,0); |
| 6957 |
pickup tiny.nib; |
| 6958 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 6959 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 6960 |
pos6(rule_thickness,0); pos7(rule_thickness,0); pos8(.9rule_thickness,90); |
| 6961 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 6962 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 6963 |
bot y1=bot y5=math_axis+1.5rule_thickness; top y3l=h+o; |
| 6964 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=.5w; |
| 6965 |
y2=y4=y3-(x3-x2); |
| 6966 |
top y6=top y10=math_axis-1.5rule_thickness; bot y8l=-d-o; |
| 6967 |
lft x6l=lft x7l=u; x9l=x10l=w-x6l; x8=.5w; |
| 6968 |
y7=y9=y8+(x8-x7); |
| 6969 |
y11=y12=math_axis; x11=x6l; x12=x9l; |
| 6970 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 6971 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 6972 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr---z4r...z3r...z2r---z1rr..cycle; |
| 6973 |
filldraw z6l---z7l...z8l...z9l---z10l..z10rr---z9r...z8r...z7r---z6rr..cycle; |
| 6974 |
filldraw bskrule(11,12,rule_thickness,rule_thickness); |
| 6975 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12); labels(1rr,5rr,6rr,10rr); |
| 6976 |
endchar; |
| 6977 |
|
| 6978 |
iff known chars.math_infinity: |
| 6979 |
bskchar "Infinity sign"; |
| 6980 |
beginchar(chars.math_infinity,16u#,x_height#,0); uni "0x221E"; |
| 6981 |
italcorr x_height#*slant-u#; |
| 6982 |
adjust_fit(0,0); |
| 6983 |
pickup tiny.nib; |
| 6984 |
path p[]; numeric testem, tlstem, tim[]; oblu:=2oblu; |
| 6985 |
testem=.5[curve, hair]; tlstem=.75[curve,stem]; |
| 6986 |
pos1(testem,90); pos2(tlstem,270); pos3(tlstem,270); pos4(testem,90); |
| 6987 |
pos5(vair,180); pos6(vair,180); |
| 6988 |
lft x6r=u; rt x5l=w-u; |
| 6989 |
bot y3r=bot y1l=-o; top y4r=top y2l=h+o; |
| 6990 |
x3=x4=.27(w-2u)+u; x1=x2=.76(w-2u)+u; |
| 6991 |
y5=y6=.5h; z0=(.5w,.5h); |
| 6992 |
p0:=z6{down}..z3..z0..z2..{up}z5; pos0(curve,angle(direction 2 of p0)-90); |
| 6993 |
p1=z6r{down}..z3r..z0r..z2r..z5r{down}; |
| 6994 |
p2=z4l{right}..z0{dir-70}..{right}z1l; |
| 6995 |
p3=z5l{up}..z2l..z0l..z3l..{up}z6l; |
| 6996 |
p4=z1r{left}..z0{dir110}..{left}z4r; |
| 6997 |
p5=z6l{down}..z3l..z0l..z2l..z5l{down}; |
| 6998 |
z10=bsktouch(p1,right,p2,left); |
| 6999 |
tim1=xpart(p1 intersectiontimes (z10--(x3,y10))); |
| 7000 |
tim2=xpart(p2 intersectiontimes (z10--(x1,y10))); |
| 7001 |
z11=bsktouch(p3,left,p4,right); |
| 7002 |
tim3=xpart(p3 intersectiontimes (z11--(x2,y11))); |
| 7003 |
tim4=xpart(p4 intersectiontimes (z11--(x3,y11))); |
| 7004 |
(tim5,tim6)=p5 intersectiontimes p2; |
| 7005 |
(tim7,tim8)=p1 intersectiontimes p4; |
| 7006 |
filldraw subpath(0,rundy(p1,tim1).zpet) of p1 |
| 7007 |
..subpath(rundy(p2,tim2),infinity) of p2 |
| 7008 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 7009 |
..subpath(rundy(p4,tim4),infinity) of p4..cycle; |
| 7010 |
infill subpath(0,rundy(p5,tim5).zpet) of p5 .. |
| 7011 |
(reverse subpath(0,rundy(p2,tim6).zpet) of p2) .. cycle; |
| 7012 |
infill subpath(rundy(p1,tim7),infinity) of p1 |
| 7013 |
..subpath(0,rundy(p4,tim8).zpet) of p4..cycle; |
| 7014 |
penlabels(0,1,2,3,4,5,6); |
| 7015 |
endchar; |
| 7016 |
|
| 7017 |
iff known chars.math_infinity_incomplete: |
| 7018 |
bskchar "Incomplete infinity sign"; |
| 7019 |
beginchar(chars.math_infinity_incomplete,16u#,x_height#,0); uni "0x29DC"; |
| 7020 |
italcorr x_height#*slant-u#; |
| 7021 |
adjust_fit(0,0); |
| 7022 |
pickup tiny.nib; |
| 7023 |
path p[]; numeric testem, tlstem, tim[]; oblu:=2oblu; |
| 7024 |
testem=.5[curve, hair]; tlstem=.75[curve,stem]; |
| 7025 |
pos1(testem,90); pos2(tlstem,270); pos3(tlstem,270); pos4(testem,90); |
| 7026 |
pos5(vair,180); pos6(vair,180); |
| 7027 |
lft x6r=u; rt x5l=w-u; |
| 7028 |
bot y3r=bot y1l=-o; top y4r=top y2l=h+o; |
| 7029 |
x3=x4=.27(w-2u)+u; x1=x2=.76(w-2u)+u; |
| 7030 |
y5=y6=.5h; z0=(.5w,.5h); |
| 7031 |
p0:=z6{down}..z3..z0..z2..{up}z5; pos0(curve,angle(direction 2 of p0)-90); |
| 7032 |
p1=z6r{down}..z3r..z0r..z2r..z5r{down}; |
| 7033 |
p2=z4l{right}..z0{dir-70}..{right}z1l; |
| 7034 |
p4=z1r{left}..z0r{dir110}..{left}z4r; |
| 7035 |
p5=z6l{down}..z3l..z0l..z2l..z5l{down}; |
| 7036 |
z10=bsktouch(p1,right,p2,left); |
| 7037 |
tim1=xpart(p1 intersectiontimes (z10--(x3,y10))); |
| 7038 |
tim2=xpart(p2 intersectiontimes (z10--(x1,y10))); |
| 7039 |
(tim3,tim4)=p5 intersectiontimes p2; |
| 7040 |
filldraw subpath(0,rundy(p1,tim1).zpet) of p1 |
| 7041 |
..subpath(rundy(p2,tim2),infinity) of p2 |
| 7042 |
..{up}z5l..{down}z5r..p4..cycle; |
| 7043 |
infill subpath(0,rundy(p5,tim3).zpet) of p5 .. |
| 7044 |
(reverse subpath(0,rundy(p2,tim4).zpet) of p2) .. cycle; |
| 7045 |
penlabels(0,1,2,3,4,5,6); |
| 7046 |
endchar; |
| 7047 |
|
| 7048 |
iff known chars.math_propto: |
| 7049 |
bskchar "Proportionality sign"; |
| 7050 |
beginchar(chars.math_propto,12u#,x_height#,0); uni "0x221D"; |
| 7051 |
italcorr x_height#*slant-.25u#; |
| 7052 |
adjust_fit(0,0); |
| 7053 |
pickup tiny.nib; |
| 7054 |
path p[]; numeric testem, tlstem, tim[]; oblu:=2oblu; |
| 7055 |
testem=.5[curve, hair]; tlstem=.75[curve,stem]; |
| 7056 |
pos1(testem,90); pos2(testem,270); pos3(tlstem,270); pos4(testem,90); |
| 7057 |
pos5(vair,180); pos6(vair,180); |
| 7058 |
lft x6r=u; rt x5l=w+2u; |
| 7059 |
bot y3r=bot y1l=-o; top y4r=top y2l=h+o; |
| 7060 |
x3=x4=.5[x6,x0]-o; x1=w-u-.5testem; x2=w-u-.5tlstem; |
| 7061 |
y5=y6=.5h; z0=.5[z6,z5]; |
| 7062 |
p0:=z6{down}..z3..z0..z2..{up}z5; pos0(curve,angle(direction 2 of p0)-90); |
| 7063 |
p1=z6r{down}..z3r..z0r..z2r..z5r{down}; |
| 7064 |
p2=z4l{right}..z0{dir-70}..{right}z1l; |
| 7065 |
p3=z5l{up}..z2l..z0l..z3l..{up}z6l; |
| 7066 |
p4=z1r{left}..z0{dir110}..{left}z4r; |
| 7067 |
p5=z6l{down}..z3l..z0l..z2l..z5l{down}; |
| 7068 |
|
| 7069 |
z10=bsktouch(p1,right,p2,left); |
| 7070 |
tim1=xpart(p1 intersectiontimes (z10--(x3,y10))); |
| 7071 |
tim2=xpart(p2 intersectiontimes (z10--(x1,y10))); |
| 7072 |
z11=bsktouch(p3,left,p4,right); |
| 7073 |
tim3=xpart(p3 intersectiontimes (z11--(x2,y11))); |
| 7074 |
tim4=xpart(p4 intersectiontimes (z11--(x3,y11))); |
| 7075 |
(tim5,tim6)=p5 intersectiontimes p2; |
| 7076 |
(tim7,tim8)=p1 intersectiontimes p4; |
| 7077 |
|
| 7078 |
filldraw subpath(0,rundy(p1,tim1).zpet) of p1 |
| 7079 |
..subpath(rundy(p2,tim2),infinity) of p2 |
| 7080 |
..subpath(0,rundy(p4,tim8).zpet) of p4 |
| 7081 |
..subpath(2,3) of p1 |
| 7082 |
..subpath(1,rundy(p3,tim3).zpet) of p3 |
| 7083 |
..subpath(rundy(p4,tim4),infinity) of p4..cycle; |
| 7084 |
infill subpath(0,rundy(p5,tim5).zpet) of p5 .. |
| 7085 |
(reverse subpath(0,rundy(p2,tim6).zpet) of p2) .. cycle; |
| 7086 |
penlabels(0,1,2,3,4,5,6); |
| 7087 |
endchar; |
| 7088 |
|
| 7089 |
iff known chars.sign_surd: |
| 7090 |
bskchar "Root sign (surd)"; |
| 7091 |
beginchar(chars.sign_surd,10u#,asc_height#,0); uni "0x221A"; |
| 7092 |
adjust_fit(0,0); |
| 7093 |
pickup tiny.nib; |
| 7094 |
path p[]; numeric tim[]; |
| 7095 |
oblu:=2oblu; |
| 7096 |
numeric theta; theta:=220; |
| 7097 |
pos0(rule_thickness,90); pos2(rule_thickness,90); |
| 7098 |
pos3(rule_thickness,theta-90); pos4(rule_thickness,theta-90); |
| 7099 |
x1l=good.x(w-2u); top y1l=h-o+apex_o; |
| 7100 |
x2l=5u; bot y2l=-d-apex_o; |
| 7101 |
y0r=y1r; x0r=w; |
| 7102 |
bot y3l=2/3[h,-d]; lft x3r=2u; |
| 7103 |
x4l=u; z4l=z3l+whatever*dir(theta); |
| 7104 |
z3'=z3r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7105 |
z2'=z2r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7106 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7107 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7108 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7109 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7110 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7111 |
p3:=(x1l,y0l){dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l; |
| 7112 |
z5=bsktouch(p1,left,p2,right); |
| 7113 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7114 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7115 |
filldraw z0l---(x1l+f_obl,y0l)..subpath(rundy(p3,(0,f_obl)),infinity) of p3 |
| 7116 |
&subpath(0,rundy(p0,1).zpet) of p0 |
| 7117 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7118 |
---subpath(0,rundy(p2,tim2).zpet) of p2 |
| 7119 |
..subpath(rundy(p1,tim1),rundy(p1,(length p1,f_obl)).zpet) of p1 |
| 7120 |
..z1r+f_obl*right---z0r..cycle; |
| 7121 |
penlabels(0,1,2,3,4); labels(2',2'',3',5); |
| 7122 |
endchar; |
| 7123 |
|
| 7124 |
iff known chars.sign_root: |
| 7125 |
bskchar "Root sign (text)"; |
| 7126 |
beginchar(chars.sign_root,14u#,asc_height#,0); uni "non"; |
| 7127 |
adjust_fit(0,0); |
| 7128 |
pickup tiny.nib; |
| 7129 |
path p[]; numeric tim[]; |
| 7130 |
oblu:=2oblu; |
| 7131 |
numeric theta; theta:=95; |
| 7132 |
pos2(rule_thickness,90); |
| 7133 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7134 |
x1l=good.x(w-u+.5); top y1l=h-o+apex_o; |
| 7135 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7136 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7137 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7138 |
z3'=z3r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7139 |
z2'=z2r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7140 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7141 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7142 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7143 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7144 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7145 |
z5=bsktouch(p1,left,p2,right); |
| 7146 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7147 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7148 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7149 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7150 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7151 |
..cycle; |
| 7152 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7153 |
endchar; |
| 7154 |
|
| 7155 |
iff known chars.math_root: |
| 7156 |
bskchar "Root sign (math)"; |
| 7157 |
beginchar(chars.math_root,14u#,rule_thickness#,body_height#+paren_depth#-rule_thickness#); uni "non"; |
| 7158 |
adjust_fit(0,0); |
| 7159 |
pickup tiny.nib; |
| 7160 |
path p[]; numeric tim[]; |
| 7161 |
oblu:=2oblu; |
| 7162 |
numeric theta; theta:=95; |
| 7163 |
pos2(rule_thickness,90); |
| 7164 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7165 |
x1l=good.x(w+.5); bot y1l=0; |
| 7166 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7167 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7168 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7169 |
z3'=z3r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7170 |
z2'=z2r+(stem-currentbreadth)*unitvector(z3-z4); |
| 7171 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7172 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7173 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7174 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7175 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7176 |
z5=bsktouch(p1,left,p2,right); |
| 7177 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7178 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7179 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7180 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7181 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7182 |
..cycle; |
| 7183 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7184 |
endchar; |
| 7185 |
|
| 7186 |
iff known chars.math_root_big: |
| 7187 |
bskchar "\big root sign"; |
| 7188 |
beginchar(chars.math_root_big,18u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 7189 |
adjust_fit(0,0); |
| 7190 |
pickup tiny.nib; |
| 7191 |
path p[]; numeric tim[]; |
| 7192 |
oblu:=2oblu; |
| 7193 |
numeric theta; theta:=95; |
| 7194 |
pos2(rule_thickness,90); |
| 7195 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7196 |
x1l=good.x(w+.5); bot y1l=0; |
| 7197 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7198 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7199 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7200 |
z3'=z3r+stem*unitvector(z3-z4); |
| 7201 |
z2'=z2r+stem*unitvector(z3-z4); |
| 7202 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7203 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7204 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7205 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7206 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7207 |
z5=bsktouch(p1,left,p2,right); |
| 7208 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7209 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7210 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7211 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7212 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7213 |
..cycle; |
| 7214 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7215 |
endchar; |
| 7216 |
|
| 7217 |
iff known chars.math_root_Big: |
| 7218 |
bskchar "\Big root sign"; |
| 7219 |
beginchar(chars.math_root_Big,18u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 7220 |
adjust_fit(0,0); |
| 7221 |
pickup tiny.nib; |
| 7222 |
path p[]; numeric tim[]; |
| 7223 |
oblu:=2oblu; |
| 7224 |
numeric theta; theta:=95; |
| 7225 |
pos2(rule_thickness,90); |
| 7226 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7227 |
x1l=good.x(w+.5); bot y1l=0; |
| 7228 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7229 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7230 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7231 |
z3'=z3r+stem*unitvector(z3-z4); |
| 7232 |
z2'=z2r+stem*unitvector(z3-z4); |
| 7233 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7234 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7235 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7236 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7237 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7238 |
z5=bsktouch(p1,left,p2,right); |
| 7239 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7240 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7241 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7242 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7243 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7244 |
..cycle; |
| 7245 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7246 |
endchar; |
| 7247 |
|
| 7248 |
iff known chars.math_root_bigg: |
| 7249 |
bskchar "\bigg root sign"; |
| 7250 |
beginchar(chars.math_root_bigg,18u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 7251 |
adjust_fit(0,0); |
| 7252 |
pickup tiny.nib; |
| 7253 |
path p[]; numeric tim[]; |
| 7254 |
oblu:=2oblu; |
| 7255 |
numeric theta; theta:=95; |
| 7256 |
pos2(rule_thickness,90); |
| 7257 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7258 |
x1l=good.x(w+.5); bot y1l=0; |
| 7259 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7260 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7261 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7262 |
z3'=z3r+stem*unitvector(z3-z4); |
| 7263 |
z2'=z2r+stem*unitvector(z3-z4); |
| 7264 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7265 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7266 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7267 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7268 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7269 |
z5=bsktouch(p1,left,p2,right); |
| 7270 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7271 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7272 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7273 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7274 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7275 |
..cycle; |
| 7276 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7277 |
endchar; |
| 7278 |
|
| 7279 |
iff known chars.math_root_Bigg: |
| 7280 |
bskchar "\Bigg root sign"; |
| 7281 |
beginchar(chars.math_root_Bigg,18u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 7282 |
adjust_fit(0,0); |
| 7283 |
pickup tiny.nib; |
| 7284 |
path p[]; numeric tim[]; |
| 7285 |
oblu:=2oblu; |
| 7286 |
numeric theta; theta:=95; |
| 7287 |
pos2(rule_thickness,90); |
| 7288 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7289 |
x1l=good.x(w+.5); bot y1l=0; |
| 7290 |
x2l=.5w; bot y2l=-d-apex_o; |
| 7291 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7292 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7293 |
z3'=z3r+stem*unitvector(z3-z4); |
| 7294 |
z2'=z2r+stem*unitvector(z3-z4); |
| 7295 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7296 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7297 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7298 |
p1:=z2''{dir(angle(z1-z2)+2)}..{dir(angle(z1-z2)-2)}z1r; |
| 7299 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7300 |
z5=bsktouch(p1,left,p2,right); |
| 7301 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7302 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7303 |
filldraw z1l{dir(angle(z2-z1)-2)}..{dir(angle(z2-z1)+2)}z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7304 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7305 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7306 |
..cycle; |
| 7307 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7308 |
endchar; |
| 7309 |
|
| 7310 |
iff known chars.math_root_bottom: |
| 7311 |
bskchar "Extensible root sign---bottom"; |
| 7312 |
beginchar(chars.math_root_bottom,19u#,0,3dh#); uni "non"; |
| 7313 |
adjust_fit(0,0); |
| 7314 |
pickup tiny.nib; |
| 7315 |
path p[]; numeric tim[]; |
| 7316 |
oblu:=2oblu; |
| 7317 |
numeric theta; theta:=95; |
| 7318 |
pos2(rule_thickness,90); |
| 7319 |
pos3(rule_thickness,theta); pos4(rule_thickness,theta); |
| 7320 |
y1l=h; x1l=x2l=w-6u; bot y2l=-d-apex_o; |
| 7321 |
bot y3l=2/3[h,-d]; lft x3r=3u; |
| 7322 |
x4l=u; z4l=z3l+whatever*((z3-z2) rotated theta); |
| 7323 |
z3'=z3r+stem*unitvector(z3-z4); |
| 7324 |
z2'=z2r+stem*unitvector(z3-z4); |
| 7325 |
z2''=z2r+(rule_thickness-currentbreadth)*unitvector(z2l-z1l) rotated -90; |
| 7326 |
pos1(rule_thickness,angle(z2''-z2r)); |
| 7327 |
p0:=z2l{dir(angle(z3-z2)-5)}..{dir(angle(z3-z2)+5)}z3l; |
| 7328 |
p1:=z2''--z1r; |
| 7329 |
p2:=z3'{dir(angle(z2'-z3')+5)}..{dir(angle(z2'-z3')-5)}z2'; |
| 7330 |
z5=bsktouch(p1,left,p2,right); |
| 7331 |
tim1=xpart(p1 intersectiontimes (z5--(w,y5))); |
| 7332 |
tim2=xpart(p2 intersectiontimes (z5--(0,y5))); |
| 7333 |
filldraw z1l--z2l&subpath(0,rundy(p0,1).zpet) of p0 |
| 7334 |
..subpath (rundy(z3l--z4l,0),infinity) of (z3l--z4l)..z4r |
| 7335 |
---subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p1,tim1),infinity) of p1 |
| 7336 |
..cycle; |
| 7337 |
penlabels(1,2,3,4); labels(2',2'',3'); |
| 7338 |
endchar; |
| 7339 |
|
| 7340 |
iff known chars.math_root_mid: |
| 7341 |
bskchar "Extensible root sign---extension module"; |
| 7342 |
beginchar(chars.math_root_mid,19u#,0,dh#); uni "non"; |
| 7343 |
adjust_fit(0,0); |
| 7344 |
pickup tiny.nib; |
| 7345 |
path p[]; numeric tim[]; |
| 7346 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 7347 |
y1=h; x1l=x2l=w-6u; bot y2=-d; |
| 7348 |
filldraw z1l---z2l..z2r---z1r..cycle; |
| 7349 |
penlabels(1,2); |
| 7350 |
endchar; |
| 7351 |
|
| 7352 |
iff known chars.math_root_top: |
| 7353 |
bskchar "Extensible root sign---top"; |
| 7354 |
beginchar(chars.math_root_top,19u#,rule_thickness#,dh#-rule_thickness#); uni "non"; |
| 7355 |
adjust_fit(0,0); |
| 7356 |
pickup tiny.nib; |
| 7357 |
path p[]; numeric tim[]; oblu.more:=2oblu; |
| 7358 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 7359 |
pos3(rule_thickness,90); |
| 7360 |
y1=-d; x1r=x2r=w-6u; bot y3l=0; y3r=y2; |
| 7361 |
x3=good.x(w+.5); y2r:=y3l; |
| 7362 |
filldraw z1l---obl(2l,1l,3r)---z3r..z3l---obl(2r,3l,1r).more---z1r..cycle; |
| 7363 |
penlabels(1,2,3); |
| 7364 |
endchar; |
| 7365 |
|
| 7366 |
iff known chars.math_root_end: |
| 7367 |
bskchar "Root sign ending"; |
| 7368 |
beginchar(chars.math_root_end,3u#,rule_thickness#,2rule_thickness#); uni "non"; |
| 7369 |
adjust_fit(0,0); |
| 7370 |
pickup tiny.nib; |
| 7371 |
oblu:=2oblu; |
| 7372 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 7373 |
pos3(rule_thickness,0); |
| 7374 |
x1=0; rt x2=w-u; bot y1l=0; y2=y1; |
| 7375 |
lft x3l=x1+o; y3=-d; |
| 7376 |
filldraw z1r---z2r..z2l{dir(angle(z3r-z2r)-40)}..z3r..{dir60}z3l...{left}z1l..cycle; |
| 7377 |
penlabels(1,2,3); |
| 7378 |
endchar; |
| 7379 |
|
| 7380 |
iff known chars.math_partial: |
| 7381 |
bskchar "Partial difference sign"; |
| 7382 |
beginchar(chars.math_partial,9u#,asc_height#,0); uni "0x2202"; |
| 7383 |
italcorr .7asc_height#*slant; |
| 7384 |
adjust_fit(0,0); |
| 7385 |
pickup tiny.nib; |
| 7386 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 7387 |
pos1(vair,180); pos2(hair,90); pos3(curve,0); pos4(hair,270); |
| 7388 |
pos5(curve,180); pos6(hair,-90); pos7(curve,0); |
| 7389 |
lft x3l=u; y1=y3=.5x_height; x2=x4=.5w+.5hair; bot y2l=-o; .5[y4r,y2r]=y3; |
| 7390 |
rt x5l=w-u; y5l=y1r+stem; top y6l=h+o; x6=.5w+.5stem; |
| 7391 |
x7=x6-like_stem; y7=y6r-2/3like_stem; |
| 7392 |
p0=z2r{right}..z5r..{dir180}z6r; x1r=xpart (((0,y1)--(w,y1))intersectionpoint p0); |
| 7393 |
p1=z2l{left}..z3l..z4l{right}..{down}z1l; |
| 7394 |
z8=bsktouch(p0,left,subpath(1,infinity) of p1,right); |
| 7395 |
tim1=xpart(p1 intersectiontimes (z8--(x4,y8))); |
| 7396 |
tim2=xpart(p0 intersectiontimes (z8--(w,y8))); |
| 7397 |
filldraw z7r{down}..z7l{up}..{dir0}z6l...z5l..{left}z2l..subpath(0,rundy(p1,tim1).zpet) of p1 |
| 7398 |
..subpath(rundy(p0,tim2),infinity) of p0..cycle; |
| 7399 |
infill z1r{up}..z4r{left}..z3r..z2r..cycle; |
| 7400 |
penlabels(1,2,3,4,5,6,7); |
| 7401 |
math_fit(-.5bar_height#*slant,0); |
| 7402 |
endchar; |
| 7403 |
|
| 7404 |
iff known chars.math_dag: |
| 7405 |
bskchar "Dagger symbol"; |
| 7406 |
beginchar(chars.math_dag,10u#,asc_height#,0); uni "0x2020"; |
| 7407 |
adjust_fit(0,0); |
| 7408 |
pickup tiny.nib; |
| 7409 |
numeric am; am=.5[hair,stem]; |
| 7410 |
pos1(hair,0); pos2(curve,0); pos3(hair,0); |
| 7411 |
pos4(am,90); pos5(curve,90); pos6(curve+hair,0); |
| 7412 |
pos7(am,90); pos8(curve,90); |
| 7413 |
x1=x2=x6=.5w; bot y1=-d-apex_o; y2=x_height-curve; bot z3=(x2,x_height+curve); |
| 7414 |
top y6=h; |
| 7415 |
z4-z3r=z3l-z7=1.5stem*right; rt z5=(w-1.25u,y4); x8=w-x5; y8=y5; |
| 7416 |
filldraw z1r{up}..z2r---obl(3r,2r,4l)---z4l..{right}z5l..(lft w-u,y5) |
| 7417 |
..{left}z5r..z4r---obl(3r,4r,6r)..{up}z6r..top top z6 |
| 7418 |
..z6l{down}..obl(3l,6l,7r)---z7r..{left}z8r..(rt u,y8) |
| 7419 |
..{right}z8l..z7l---obl(3l,7l,2l)---z2l..{down}z1l..cycle; |
| 7420 |
penlabels(1,2,3,4,5,6,7,8); |
| 7421 |
endchar; |
| 7422 |
|
| 7423 |
iff known chars.math_dagger: |
| 7424 |
bskchar "Double dagger symbol"; |
| 7425 |
beginchar(chars.math_dagger,10u#,asc_height#,0); uni "0x2021"; |
| 7426 |
adjust_fit(0,0); |
| 7427 |
pickup tiny.nib; |
| 7428 |
numeric am; am=.5[hair,stem]; |
| 7429 |
pos1(hair,0); pos2(curve,0); pos3(hair,0); |
| 7430 |
pos4(am,90); pos5(curve,90); pos6(curve+hair,0); |
| 7431 |
pos7(am,90); pos8(curve,90); |
| 7432 |
pos9(curve,0); pos10(hair,0); |
| 7433 |
pos11(am,90); pos12(curve,90); pos13(curve+hair,0); |
| 7434 |
pos14(am,90); pos15(curve,90); |
| 7435 |
x2=x6=x9=x10=x13=.5w; y2=x_height-.5curve; bot z3=(x2,x_height+curve); |
| 7436 |
z4-z3r=z3l-z7=z11-z10r=z10l-z14=1.5stem*right; rt z5=(w-1.25u,y4); |
| 7437 |
x8=x15=w-x5; y8=y5; x12=x5; y15=y12=y11; |
| 7438 |
.5[y2,y9]=.5(h-d)=.5[y3,y10]; top y6=h; bot y13=-d; |
| 7439 |
z1=.5[z2,z9]; |
| 7440 |
filldraw z2r---obl(3r,2r,4l)---z4l..{right}z5l..(lft w-u,y5) |
| 7441 |
..{left}z5r..z4r---obl(3r,4r,6r)..{up}z6r..top top z6 |
| 7442 |
..z6l{down}..obl(3l,6l,7r)---z7r..{left}z8r..(rt u,y8) |
| 7443 |
..{right}z8l..z7l---obl(3l,7l,2l)---z2l..z1l |
| 7444 |
..z9l---obl(10l,9l,14r)---z14r..{left}z15r..(rt u,y15) |
| 7445 |
..{right}z15l..z14l---obl(10r,14l,13l)..{down}z13l..bot bot z13 |
| 7446 |
..{up}z13r..obl(10r,13r,11l)---z11l..{right}z12l..(lft w-u,y12) |
| 7447 |
..{left}z12r..z11r---obl(10r,11r,9r)---z9r..z1r..cycle; |
| 7448 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); |
| 7449 |
endchar; |
| 7450 |
|
| 7451 |
iff known chars.sign_died: |
| 7452 |
bskchar "Died symbol"; |
| 7453 |
beginchar(chars.sign_died,9u#,.5[asc_height#,x_height#],0); uni "non"; |
| 7454 |
adjust_fit(0,0); |
| 7455 |
pickup tiny.nib; |
| 7456 |
numeric am; am=.5[hair,stem]; |
| 7457 |
pos1(curve,0); pos2(hair,0); |
| 7458 |
pos3(am,90); pos4(curve,90); pos5(curve,0); |
| 7459 |
pos6(am,90); pos7(curve,90); |
| 7460 |
x1=x2=x5=.5w; bot y1=-d; y2=.65h; top y5=h; |
| 7461 |
z3-z2r=z2l-z6=1.5stem*right; rt z4=(w-u,y3); x7=w-x4; y7=y4; |
| 7462 |
filldraw z1r---obl(2r,1r,3l)---z3l..{right}z4l--z4r..z3r |
| 7463 |
---obl(2r,3r,5r)---z5r..z5+o*up..z5l---obl(2l,5l,6r) |
| 7464 |
---z6r..{left}z7r--z7l..z6l---obl(2l,6l,1l)---z1l--cycle; |
| 7465 |
penlabels(1,2,3,4,5,6,7); |
| 7466 |
endchar; |
| 7467 |
|
| 7468 |
iff known chars.arrow_right: |
| 7469 |
bskchar "Rightward arrow"; |
| 7470 |
beginchar(chars.arrow_right,15u#,v_center(5u#)); uni "0x2192"; |
| 7471 |
adjust_fit(0,0); |
| 7472 |
pickup tiny.nib; |
| 7473 |
pos1(rule_thickness,90); |
| 7474 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7475 |
bskpoints(1,0,hair,hair); |
| 7476 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7477 |
labels(1rr); |
| 7478 |
endchar; |
| 7479 |
|
| 7480 |
iff known chars.arrow_right_long: |
| 7481 |
bskchar "Long rightward arrow"; |
| 7482 |
beginchar(chars.arrow_right_long,22u#,v_center(5u#)); uni "0x27F6"; |
| 7483 |
adjust_fit(0,0); |
| 7484 |
pickup tiny.nib; |
| 7485 |
pos1(rule_thickness,90); |
| 7486 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7487 |
bskpoints(1,0,hair,hair); |
| 7488 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7489 |
labels(1rr); |
| 7490 |
endchar; |
| 7491 |
|
| 7492 |
iff known chars.arrow_right_doublehead: |
| 7493 |
bskchar "Rightward arrow with doublehead"; |
| 7494 |
beginchar(chars.arrow_right_doublehead,17u#,v_center(5u#)); uni "0x21A0"; |
| 7495 |
adjust_fit(0,0); |
| 7496 |
pickup tiny.nib; |
| 7497 |
path p[]; numeric tim[]; |
| 7498 |
pos1(rule_thickness,90); |
| 7499 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7500 |
bskpoints(1,0,hair,hair); |
| 7501 |
p0:=sipka(0,1); |
| 7502 |
p1:=p0 shifted (rt x0a-x0,0); |
| 7503 |
tim1=xpart(p1 intersectiontimes (z1l--(w,y0a.l))); |
| 7504 |
tim2-1=xpart(subpath(1,infinity) of p1 intersectiontimes (top z1r--(w,top y1r))); |
| 7505 |
tim3-5=xpart(subpath(5,infinity) of p0 intersectiontimes (z1l--(w,y0a.l))); |
| 7506 |
tim4=xpart(subpath(0,2) of p0 intersectiontimes (top z1r--(w,top y1r))); |
| 7507 |
filldraw subpath(rundy(p0,tim4),rundy(p0,tim3).zpet) of p0 |
| 7508 |
..subpath(rundy(p1,tim1),infinity) of p1---z1l..z1rr |
| 7509 |
---subpath(0,rundy(p1,tim2).zpet) of p1..cycle; |
| 7510 |
labels(1rr); |
| 7511 |
endchar; |
| 7512 |
|
| 7513 |
iff known chars.arrow_right_short: |
| 7514 |
bskchar "Short rightward arrow"; |
| 7515 |
beginchar(chars.arrow_right_short,9u#,v_center(5u#)); uni "non"; |
| 7516 |
adjust_fit(0,0); |
| 7517 |
pickup tiny.nib; |
| 7518 |
pos1(rule_thickness,90); |
| 7519 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7520 |
bskpoints(1,0,hair,hair); |
| 7521 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7522 |
labels(1rr); |
| 7523 |
endchar; |
| 7524 |
|
| 7525 |
iff known chars.arrow_right_triangle: |
| 7526 |
bskchar "Rightward arrow with triangle head"; |
| 7527 |
beginchar(chars.arrow_right_triangle,15u#,v_center(5u#)); uni "0x279D"; |
| 7528 |
adjust_fit(0,0); |
| 7529 |
pickup tiny.nib; |
| 7530 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7531 |
x0=w-u; x1=w-x0; y0=y1=y2=y3=math_axis; x2=x3+o=x0-arrsize; |
| 7532 |
bskpoints(1,0,hair,hair); |
| 7533 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---z1rr..z1l---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7534 |
penlabels(1,2,3); labels(0,1rr); |
| 7535 |
endchar; |
| 7536 |
|
| 7537 |
iff known chars.arrow_right_triangle_white: |
| 7538 |
bskchar "Rightward arrow with white triangle head"; |
| 7539 |
beginchar(chars.arrow_right_triangle_white,15u#,v_center(5u#)); uni "0x21FE"; |
| 7540 |
adjust_fit(0,0); |
| 7541 |
pickup tiny.nib; |
| 7542 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7543 |
x0=w-u; x1=w-x0; y0=y1=y2=y3=math_axis; x2=x3+o=x0-arrsize; |
| 7544 |
z0'-z0=(0,rule_thickness-currentbreadth) rotated angle(z2r-z0); |
| 7545 |
z0''-z0=(rule_thickness-currentbreadth,0) rotated angle(z2r-z0); |
| 7546 |
x2'l=x2'r=x2+rule_thickness-currentbreadth; |
| 7547 |
z2'r=z0'+whatever*(z2r-z0); z2'l=z0''+whatever*(z2l-z0); |
| 7548 |
z0'''=whatever[z2'l,z0'']=whatever[z2'r,z0']; |
| 7549 |
bskpoints(1,0,hair,hair); |
| 7550 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---z1rr..z1l---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7551 |
oblu:=2oblu; |
| 7552 |
infill obl(0''',2'r,2'l)---obl(2'l,0''',2'r)---obl(2'r,2'l,0''')---cycle; |
| 7553 |
penlabels(1,2,2',3); labels(0,0',0'',0''',1rr); |
| 7554 |
endchar; |
| 7555 |
|
| 7556 |
iff known chars.arrow_left_triangle: |
| 7557 |
bskchar "Leftward arrow with triangle head"; |
| 7558 |
beginchar(chars.arrow_left_triangle,15u#,v_center(5u#)); uni "non"; |
| 7559 |
adjust_fit(0,0); |
| 7560 |
pickup tiny.nib; |
| 7561 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7562 |
x0=u; x1=w-x0; y0=y1=y2=y3=math_axis; x2=x3-o=x0+arrsize; |
| 7563 |
bskpoints(1,0,hair,hair); |
| 7564 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---z1rr..z1l---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7565 |
penlabels(1,2,3); labels(0,1rr); |
| 7566 |
endchar; |
| 7567 |
|
| 7568 |
iff known chars.arrow_left_triangle_white: |
| 7569 |
bskchar "Leftward arrow with white triangle head"; |
| 7570 |
beginchar(chars.arrow_left_triangle_white,15u#,v_center(5u#)); uni "0x21FD"; |
| 7571 |
adjust_fit(0,0); |
| 7572 |
pickup tiny.nib; |
| 7573 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7574 |
x0=u; x1=w-x0; y0=y1=y2=y3=math_axis; x2=x3-o=x0+arrsize; |
| 7575 |
z0'-z0=(0,-rule_thickness+currentbreadth) rotated angle(z2r-z0); |
| 7576 |
z0''-z0=(rule_thickness-currentbreadth,0) rotated angle(z2r-z0); |
| 7577 |
x2'l=x2'r=x2-rule_thickness+currentbreadth; |
| 7578 |
z2'r=z0'+whatever*(z2r-z0); z2'l=z0''+whatever*(z2l-z0); |
| 7579 |
z0'''=whatever[z2'l,z0'']=whatever[z2'r,z0']; |
| 7580 |
bskpoints(1,0,hair,hair); |
| 7581 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---z1rr..z1l---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7582 |
oblu:=2oblu; |
| 7583 |
infill obl(0''',2'r,2'l)---obl(2'l,0''',2'r)---obl(2'r,2'l,0''')---cycle; |
| 7584 |
penlabels(1,2,2',3); labels(0,0',0'',0''',1rr); |
| 7585 |
endchar; |
| 7586 |
|
| 7587 |
iff known chars.arrow_left_right_triangle: |
| 7588 |
bskchar "Left-rightward arrow with triangle heads"; |
| 7589 |
beginchar(chars.arrow_left_right_triangle,15u#,v_center(5u#)); uni "non"; |
| 7590 |
adjust_fit(0,0); |
| 7591 |
pickup tiny.nib; |
| 7592 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7593 |
penpos4(2arrwidth,90); |
| 7594 |
x0=w-u; x5=u; x1=x4-o=x5+arrsize; y0=y1=y2=y3=y4=y5=math_axis; x2=x3+o=x0-arrsize; |
| 7595 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---obl(1r,3r,4r)---obl(4r,1r,5) |
| 7596 |
---obl(5,4r,4l)---obl(4l,5,1l)---obl(1l,4l,3l)---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7597 |
penlabels(1,2,3,4); labels(0,5); |
| 7598 |
endchar; |
| 7599 |
|
| 7600 |
iff known chars.arrow_left_right_triangle_white: |
| 7601 |
bskchar "Left-rightward arrow with white triangle heads"; |
| 7602 |
beginchar(chars.arrow_left_right_triangle_white,15u#,v_center(5u#)); uni "0x21FF"; |
| 7603 |
adjust_fit(0,0); |
| 7604 |
pickup tiny.nib; |
| 7605 |
pos1(rule_thickness,90); penpos2(2arrwidth,90); pos3(rule_thickness,90); |
| 7606 |
penpos4(2arrwidth,90); |
| 7607 |
x0=w-u; x5=u; x1=x4-o=x5+arrsize; y0=y1=y2=y3=y4=y5=math_axis; x2=x3+o=x0-arrsize; |
| 7608 |
z0'-z0=(0,rule_thickness-currentbreadth) rotated angle(z2r-z0); |
| 7609 |
z0''-z0=(rule_thickness-currentbreadth,0) rotated angle(z2r-z0); |
| 7610 |
x2'l=x2'r=x2+rule_thickness-currentbreadth; |
| 7611 |
z2'r=z0'+whatever*(z2r-z0); z2'l=z0''+whatever*(z2l-z0); |
| 7612 |
z0'''=whatever[z2'l,z0'']=whatever[z2'r,z0']; |
| 7613 |
|
| 7614 |
z5'-z5=(0,-rule_thickness+currentbreadth) rotated angle(z4r-z5); |
| 7615 |
z5''-z5=(rule_thickness-currentbreadth,0) rotated angle(z4r-z5); |
| 7616 |
x4'l=x4'r=x4-rule_thickness+currentbreadth; |
| 7617 |
z4'r=z5'+whatever*(z4r-z5); z4'l=z5''+whatever*(z4l-z5); |
| 7618 |
z5'''=whatever[z4'l,z5'']=whatever[z4'r,z5']; |
| 7619 |
filldraw obl(0,2l,2r)---obl(2r,0,3r)---obl(3r,2r,1r)---obl(1r,3r,4r)---obl(4r,1r,5) |
| 7620 |
---obl(5,4r,4l)---obl(4l,5,1l)---obl(1l,4l,3l)---obl(3l,1l,2l)---obl(2l,3l,0)---cycle; |
| 7621 |
oblu:=2oblu; |
| 7622 |
infill obl(0''',2'r,2'l)---obl(2'l,0''',2'r)---obl(2'r,2'l,0''')---cycle; |
| 7623 |
infill obl(5''',4'r,4'l)---obl(4'l,5''',4'r)---obl(4'r,4'l,5''')---cycle; |
| 7624 |
penlabels(1,2,2',3,4,4'); labels(0,0',0'',0''',5); |
| 7625 |
endchar; |
| 7626 |
|
| 7627 |
iff known chars.arrow_right_two: |
| 7628 |
bskchar "Two rightward arrows"; |
| 7629 |
beginchar(chars.arrow_right_two,15u#,v_center(13u#)); uni "0x21C9"; |
| 7630 |
adjust_fit(0,0); |
| 7631 |
pickup tiny.nib; |
| 7632 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 7633 |
rt x0=rt x2=w-u; x1=x3=w-x0; y0=y1r; y2=y3r; .5[y0,y2]=math_axis; bot y2-top y1=2arrwidth+o; |
| 7634 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 7635 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7636 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 7637 |
labels(1rr,3rr); |
| 7638 |
endchar; |
| 7639 |
|
| 7640 |
iff known chars.arrow_right_three: |
| 7641 |
bskchar "Three rightward arrows"; |
| 7642 |
beginchar(chars.arrow_right_three,15u#,v_center(13u#)); uni "0x21F6"; |
| 7643 |
adjust_fit(0,0); |
| 7644 |
pickup tiny.nib; |
| 7645 |
pos1(rule_thickness,90); pos3(rule_thickness,90); pos5(rule_thickness,90); |
| 7646 |
{{ save arrwidth, arrsize; |
| 7647 |
numeric arrsize, arrwidth; arrsize=1.2arrwidth=if boldmath: 2.35 else:2\\ fi curve; |
| 7648 |
rt x0=rt x2=rt x4=w-u; x1=x3=x5=w-x0; y0=y1r; y2=y3r; y4=y5r; |
| 7649 |
.5[y0,y4]=y2=math_axis; bot y2-top y1=2arrwidth+o; |
| 7650 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); bskpoints(5,4,hair,hair); |
| 7651 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7652 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 7653 |
filldraw sipka(4,5)---z5l..z5rr---cycle; |
| 7654 |
}}; |
| 7655 |
labels(1rr,3rr,5rr); |
| 7656 |
endchar; |
| 7657 |
|
| 7658 |
iff known chars.arrow_right_not: |
| 7659 |
bskchar "Rightward arrow with negation"; |
| 7660 |
beginchar(chars.arrow_right_not,15u#,v_center(5u#)); uni "0x219B"; |
| 7661 |
adjust_fit(0,0); |
| 7662 |
pickup tiny.nib; |
| 7663 |
oblu.more:=2oblu; |
| 7664 |
pos1(rule_thickness,90); |
| 7665 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7666 |
.5[x2,x3]=.5[x0c,x1]; .5[y2,y3]=y0; x3-x2=.5(y3-y2); top y3=h; |
| 7667 |
pos2(rule_thickness,angle(z2-z3)+90); pos3(rule_thickness,angle(z2-z3)+90); |
| 7668 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7669 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7670 |
bskpoints(1,0,hair,hair); |
| 7671 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7672 |
filldraw sipka(0,1)---obl(2'r,0a.l,2r)---z2rr..z2l---obl(2'l,2l,1l).more |
| 7673 |
---z1l..z1rr---obl(3'l,1rr,3l)---z3ll..z3r---obl(3'r,3r,0a.r).more---cycle; |
| 7674 |
penlabels(2,3); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7675 |
endchar; |
| 7676 |
|
| 7677 |
iff known chars.arrow_right_not_vert: |
| 7678 |
bskchar "Rightward arrow with vertical negation"; |
| 7679 |
beginchar(chars.arrow_right_not_vert,15u#,v_center(5u#)); uni "0x21F8"; |
| 7680 |
adjust_fit(0,0); |
| 7681 |
pickup tiny.nib; |
| 7682 |
pos1(rule_thickness,90); |
| 7683 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7684 |
x2=x3=.5[x0c,x1]; .5[y2,y3]=y0; top y3=h; |
| 7685 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 7686 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7687 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7688 |
bskpoints(1,0,hair,hair); |
| 7689 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7690 |
filldraw sipka(0,1)---obl(2'r,0a.l,2r)---z2rr..z2l---obl(2'l,2l,1l) |
| 7691 |
---z1l..z1rr---obl(3'l,1rr,3l)---z3ll..z3r---obl(3'r,3r,0a.r)---cycle; |
| 7692 |
penlabels(2,3); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7693 |
endchar; |
| 7694 |
|
| 7695 |
iff known chars.arrow_right_not_vert_double: |
| 7696 |
bskchar "Rightward arrow with double vertical negation"; |
| 7697 |
beginchar(chars.arrow_right_not_vert_double,15u#,v_center(5u#)); uni "0x21FB"; |
| 7698 |
adjust_fit(0,0); |
| 7699 |
pickup tiny.nib; |
| 7700 |
pos1(rule_thickness,90); |
| 7701 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 7702 |
x2=x3; .5[x2,x4]=.5[x0c,x1]; x4=x5; x4-x2=min(3rule_thickness,3u); |
| 7703 |
.5[y2,y3]=.5[y4,y5]=y0; top y3=top y5=h; |
| 7704 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 7705 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 7706 |
y2'l=y2'r=y4'l=y4'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7707 |
y3'l=y3'r=y5'l=y5'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7708 |
x4'l=x5'l=x4l; x4'r=x5'r=x4r; |
| 7709 |
bskpoints(1,0,hair,hair); |
| 7710 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7711 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 7712 |
filldraw sipka(0,1)---obl(4'r,0a.l,4r)---z4rr..z4l---tobl(4'l,4l,2'r) |
| 7713 |
---obl(2'r,0a.l,2r)---z2rr..z2l---obl(2'l,2l,1l) |
| 7714 |
---z1l..z1rr---obl(3'l,1rr,3l)---z3ll..z3r---tobl(3'r,3r,5'l) |
| 7715 |
---tobl(5'l,3'r,5ll)---z5ll..z5r---obl(5'r,5r,0a.r)---cycle; |
| 7716 |
penlabels(2,3,4,5); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7717 |
endchar; |
| 7718 |
|
| 7719 |
iff known chars.arrow_right_tail: |
| 7720 |
bskchar "Rightward arrow with tail"; |
| 7721 |
beginchar(chars.arrow_right_tail,15u#,v_center(5u#)); uni "0x21A3"; |
| 7722 |
adjust_fit(0,0); |
| 7723 |
pickup tiny.nib; |
| 7724 |
pos1(rule_thickness,90); |
| 7725 |
rt x0=w-u; x1=w-x0+arrsize; y0=y1r=math_axis; |
| 7726 |
forsuffixes $=b,e,d,c: z1$-z1=z0$-z0; endfor; |
| 7727 |
x1r:=x1l:=x1r-u; |
| 7728 |
filldraw sipka(0,1)---z1l{dir210}..z1b{dir225}..{dir45}z1b+hair*up |
| 7729 |
..z1c..z1d..z1e+hair*down{dir135}..{dir-45}z1e..{dir-30}z1r--cycle; |
| 7730 |
labels(1b,1c,1d,1e); |
| 7731 |
endchar; |
| 7732 |
|
| 7733 |
iff known chars.arrow_hook_left: |
| 7734 |
bskchar "Left hook for rightward arrows"; |
| 7735 |
beginchar(chars.arrow_hook_left,5u#,math_axis#+4u#,-math_axis#); uni "non"; |
| 7736 |
adjust_fit(0,0); |
| 7737 |
pickup tiny.nib; |
| 7738 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); pos4(rule_thickness,270); |
| 7739 |
y1r=y2r=math_axis; rt x2=w-u; x1=x2+hair; |
| 7740 |
x3l=u; x4=x2; y3=.5[y2,y4]; y4l=h; |
| 7741 |
x4l:=x4l-hair; |
| 7742 |
filldraw z1l---z2l..z3l{up}..{right}z4l..{left}z4r..{down}z3r..z2r---z1r..cycle; |
| 7743 |
penlabels(1,2,3,4); |
| 7744 |
endchar; |
| 7745 |
|
| 7746 |
iff known chars.arrow_right_hook: |
| 7747 |
bskchar "Rightward hook arrow"; |
| 7748 |
beginchar(chars.arrow_right_hook,18u#,v_center(5u#)); uni "0x21AA"; |
| 7749 |
adjust_fit(0,0); |
| 7750 |
pickup tiny.nib; |
| 7751 |
pos1(rule_thickness,90); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 7752 |
rt x0=w-u; rt x1=4u; y0=y1r=math_axis; |
| 7753 |
x2l=u; x3=x1; y2=.5[y1,y3]; y3l=math_axis+4u; x3l:=x3l-hair; |
| 7754 |
filldraw sipka(0,1)---z1l..z2l{up}..{right}z3l..{left}z3r..{down}z2r..z1r---cycle; |
| 7755 |
penlabels(2,3); labels(1rr); |
| 7756 |
endchar; |
| 7757 |
|
| 7758 |
iff known chars.arrow_right_circle: |
| 7759 |
bskchar "Rightward arrow through circle"; |
| 7760 |
beginchar(chars.arrow_right_circle,18u#,v_center(11u#)); uni "0x21F4"; |
| 7761 |
adjust_fit(0,0); |
| 7762 |
pickup tiny.nib; |
| 7763 |
path p[]; numeric tim[]; |
| 7764 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 7765 |
.5[y8,y4]=math_axis; .5[x2,x6]=.5[x9,x10]; x2-x6=y8-y4=6u; |
| 7766 |
lft x9=u; rt x10=w-5u; rt x11=w-u; y9r=y10=y11=math_axis; |
| 7767 |
circle_points(rule_thickness); |
| 7768 |
bskpoints(9,10,hair,hair); |
| 7769 |
p0:=reverse (draw_circle.l); |
| 7770 |
p1:=reverse (draw_circle.r); |
| 7771 |
p2:=z9rr{left}..z9l---z10l..z10r---z9rr; |
| 7772 |
(tim0-1,tim1-1)=subpath(1,3) of p0 intersectiontimes subpath(1,2) of p2; |
| 7773 |
(tim2-5,tim3)=subpath(5,7) of p0 intersectiontimes subpath(0,2) of p2; |
| 7774 |
(tim4-5,tim5-3)=subpath(5,7) of p0 intersectiontimes subpath(3,4) of p2; |
| 7775 |
(tim6-1,tim7-3)=subpath(1,3) of p0 intersectiontimes subpath(3,4) of p2; |
| 7776 |
(tim8-1,tim9-1)=subpath(1,3) of p1 intersectiontimes subpath(1,2) of p2; |
| 7777 |
(tim10-5,tim11)=subpath(5,7) of p1 intersectiontimes subpath(0,2) of p2; |
| 7778 |
(tim12-5,tim13-3)=subpath(5,7) of p1 intersectiontimes subpath(3,4) of p2; |
| 7779 |
(tim14-1,tim15-3)=subpath(1,3) of p1 intersectiontimes subpath(3,4) of p2; |
| 7780 |
filldraw subpath(0,rundy(p2,tim1).zpet) of p2 |
| 7781 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 7782 |
..subpath(rundy(p2,tim3),2) of p2 |
| 7783 |
..reverse sipka(11,10) |
| 7784 |
..subpath(3,rundy(p2,tim5).zpet) of p2 |
| 7785 |
..subpath(rundy(p0,tim4),length p0) of p0 |
| 7786 |
..subpath(0,rundy(p0,tim6).zpet) of p0 |
| 7787 |
..subpath(rundy(p2,tim7),infinity) of p2..cycle; |
| 7788 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 7789 |
..subpath(rundy(p1,tim10).zpet,rundy(p1,tim8)) of p1..cycle; |
| 7790 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2 |
| 7791 |
..reverse subpath(0,rundy(p1,tim14).zpet) of p1 |
| 7792 |
..reverse subpath(rundy(p1,tim12),length p1) of p1..cycle; |
| 7793 |
penlabels(9,10); |
| 7794 |
endchar; |
| 7795 |
|
| 7796 |
|
| 7797 |
iff known chars.arrow_left: |
| 7798 |
bskchar "Leftward arrow"; |
| 7799 |
beginchar(chars.arrow_left,15u#,v_center(5u#)); uni "0x2190"; |
| 7800 |
adjust_fit(0,0); |
| 7801 |
pickup tiny.nib; |
| 7802 |
pos1(rule_thickness,90); |
| 7803 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7804 |
bskpoints(1,0,hair,hair); |
| 7805 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 7806 |
labels(1rr); |
| 7807 |
endchar; |
| 7808 |
|
| 7809 |
iff known chars.arrow_left_long: |
| 7810 |
bskchar "Long leftward arrow"; |
| 7811 |
beginchar(chars.arrow_left_long,22u#,v_center(5u#)); uni "0x27F5"; |
| 7812 |
adjust_fit(0,0); |
| 7813 |
pickup tiny.nib; |
| 7814 |
pos1(rule_thickness,90); |
| 7815 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7816 |
bskpoints(1,0,hair,hair); |
| 7817 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 7818 |
labels(1rr); |
| 7819 |
endchar; |
| 7820 |
|
| 7821 |
iff known chars.arrow_left_doublehead: |
| 7822 |
bskchar "Leftward arrow with doublehead"; |
| 7823 |
beginchar(chars.arrow_left_doublehead,17u#,v_center(5u#)); uni "0x219E"; |
| 7824 |
adjust_fit(0,0); |
| 7825 |
pickup tiny.nib; |
| 7826 |
path p[]; numeric tim[]; |
| 7827 |
pos1(rule_thickness,90); |
| 7828 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7829 |
bskpoints(1,0,hair,hair); |
| 7830 |
p0:=sipka(0,1); |
| 7831 |
p1:=p0 shifted (lft x0a-x0,0); |
| 7832 |
tim1=xpart(p1 intersectiontimes (z1r--(0,y0a.l))); |
| 7833 |
tim2-1=xpart(subpath(1,infinity) of p1 intersectiontimes (bot z1l--(0,bot y1l))); |
| 7834 |
tim3-6=xpart(subpath(6,infinity) of p0 intersectiontimes (top z1r--(0,top y1r))); |
| 7835 |
tim4=xpart(subpath(0,2) of p0 intersectiontimes (bot z1l--(0,bot y1l))); |
| 7836 |
filldraw subpath(rundy(p0,tim4),rundy(p0,tim3).zpet) of p0 |
| 7837 |
..subpath(rundy(p1,tim1),infinity) of p1---z1rr..z1l |
| 7838 |
---subpath(0,rundy(p1,tim2).zpet) of p1..cycle; |
| 7839 |
labels(1rr); |
| 7840 |
endchar; |
| 7841 |
|
| 7842 |
iff known chars.arrow_left_short: |
| 7843 |
bskchar "Short leftward arrow"; |
| 7844 |
beginchar(chars.arrow_left_short,9u#,v_center(5u#)); uni "non"; |
| 7845 |
adjust_fit(0,0); |
| 7846 |
pickup tiny.nib; |
| 7847 |
pos1(rule_thickness,90); |
| 7848 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7849 |
bskpoints(1,0,hair,hair); |
| 7850 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 7851 |
labels(1rr); |
| 7852 |
endchar; |
| 7853 |
|
| 7854 |
iff known chars.arrow_left_two: |
| 7855 |
bskchar "Two leftward arrows"; |
| 7856 |
beginchar(chars.arrow_left_two,15u#,v_center(13u#)); uni "0x21C7"; |
| 7857 |
adjust_fit(0,0); |
| 7858 |
pickup tiny.nib; |
| 7859 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 7860 |
lft x0=lft x2=u; x1=x3=w-x0; y0=y1l; y2=y3l; .5[y0,y2]=math_axis; bot y2-top y1=2arrwidth; |
| 7861 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 7862 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 7863 |
filldraw sipka(2,3)---z3rr..z3l---cycle; |
| 7864 |
labels(1rr,3rr); |
| 7865 |
endchar; |
| 7866 |
|
| 7867 |
iff known chars.arrow_left_not: |
| 7868 |
bskchar "Leftward arrow with negation"; |
| 7869 |
beginchar(chars.arrow_left_not,15u#,v_center(5u#)); uni "0x219A"; |
| 7870 |
adjust_fit(0,0); |
| 7871 |
pickup tiny.nib; |
| 7872 |
oblu.more:=2oblu; |
| 7873 |
pos1(rule_thickness,90); |
| 7874 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7875 |
.5[x2,x3]=.5[x0c,x1]; .5[y2,y3]=y0; x3-x2=.5(y3-y2); top y3=h; |
| 7876 |
pos2(rule_thickness,angle(z2-z3)+90); pos3(rule_thickness,angle(z2-z3)+90); |
| 7877 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7878 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7879 |
bskpoints(1,0,hair,hair); |
| 7880 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7881 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---obl(3'r,3r,1r).more |
| 7882 |
---z1rr..z1l---obl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r).more---cycle; |
| 7883 |
penlabels(2,3); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7884 |
endchar; |
| 7885 |
|
| 7886 |
iff known chars.arrow_left_not_vert: |
| 7887 |
bskchar "Leftward arrow with vertical negation"; |
| 7888 |
beginchar(chars.arrow_left_not_vert,15u#,v_center(5u#)); uni "0x21F7"; |
| 7889 |
adjust_fit(0,0); |
| 7890 |
pickup tiny.nib; |
| 7891 |
pos1(rule_thickness,90); |
| 7892 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7893 |
x2=x3=.5[x0c,x1]; .5[y2,y3]=y0; top y3=h; |
| 7894 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 7895 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7896 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7897 |
bskpoints(1,0,hair,hair); |
| 7898 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7899 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---obl(3'r,3r,1r) |
| 7900 |
---z1rr..z1l---obl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r)---cycle; |
| 7901 |
penlabels(2,3); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7902 |
endchar; |
| 7903 |
|
| 7904 |
iff known chars.arrow_left_dash: |
| 7905 |
bskchar "Leftward dashed arrow"; |
| 7906 |
beginchar(chars.arrow_left_dash,15u#,v_center(5u#)); uni "0x21E0"; |
| 7907 |
adjust_fit(0,0); |
| 7908 |
pickup tiny.nib; |
| 7909 |
pos1(rule_thickness,90); |
| 7910 |
pos2(rule_thickness,90); pos3(rule_thickness,90); pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 7911 |
lft x0=u; x1=.5w-u; y0=y1l=y2l=y3l=y4l=y5l=math_axis; |
| 7912 |
rt x5=w-u; x2-x1=x4-x3=2.5rule_thickness; x5-x4=x3-x2; |
| 7913 |
bskpoints(1,0,hair,hair); bskpoints(5,4,hair,hair); |
| 7914 |
filldraw sipka(0,1)---z1r..z1l---cycle; |
| 7915 |
filldraw z2r---z3r..z3l---z2l..cycle; |
| 7916 |
filldraw z4r---z5rr..z5l---z4ll..cycle; |
| 7917 |
penlabels(2,3,4,5); labels(1rr,4ll,5rr); |
| 7918 |
endchar; |
| 7919 |
|
| 7920 |
iff known chars.arrow_up_dash: |
| 7921 |
bskchar "Upward dashed arrow"; |
| 7922 |
beginchar(chars.arrow_up_dash,9u#,asc_height#,0); uni "0x21E1"; |
| 7923 |
italcorr x_height#*slant; |
| 7924 |
adjust_fit(0,0); |
| 7925 |
pickup tiny.nib; |
| 7926 |
pos1(rule_thickness,0); |
| 7927 |
pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 7928 |
x0=x1l=x2l=x3l=x4l=x5l=.5w-o; |
| 7929 |
top y0=h+apex_o; bot y1=x_height; |
| 7930 |
bot y5=-d; y1-y2=y3-y4=2.5rule_thickness; y5-y4=y3-y2; |
| 7931 |
bskpoints(1,0,hair,hair); bskpoints(5,4,hair,hair); |
| 7932 |
filldraw sipka(0,1)---z1r..z1l---cycle; |
| 7933 |
filldraw z2r---z3r..z3l---z2l..cycle; |
| 7934 |
filldraw z4r---z5rr..z5l---z4ll..cycle; |
| 7935 |
penlabels(2,3,4,5); labels(1rr,4ll,5rr); |
| 7936 |
endchar; |
| 7937 |
|
| 7938 |
iff known chars.arrow_right_dash: |
| 7939 |
bskchar "Rightward dashed arrow"; |
| 7940 |
beginchar(chars.arrow_right_dash,15u#,v_center(5u#)); uni "0x21E2"; |
| 7941 |
adjust_fit(0,0); |
| 7942 |
pickup tiny.nib; |
| 7943 |
pos1(rule_thickness,90); |
| 7944 |
pos2(rule_thickness,90); pos3(rule_thickness,90); pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 7945 |
rt x0=w-u; x1=.5w+u; y0=y1r=y2r=y3r=y4r=y5r=math_axis; |
| 7946 |
lft x5=u; x2-x1=x4-x3=-2.5rule_thickness; x5-x4=x3-x2; |
| 7947 |
bskpoints(1,0,hair,hair); bskpoints(5,4,hair,hair); |
| 7948 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 7949 |
filldraw z2r---z3r..z3l---z2l..cycle; |
| 7950 |
filldraw z4r---z5rr..z5l---z4ll..cycle; |
| 7951 |
penlabels(2,3,4,5); labels(1rr,4ll,5rr); |
| 7952 |
endchar; |
| 7953 |
|
| 7954 |
iff known chars.arrow_down_dash: |
| 7955 |
bskchar "Downward dashed arrow"; |
| 7956 |
beginchar(chars.arrow_down_dash,9u#,asc_height#,0); uni "0x21E3"; |
| 7957 |
adjust_fit(0,0); |
| 7958 |
pickup tiny.nib; |
| 7959 |
pos1(rule_thickness,0); |
| 7960 |
pos2(rule_thickness,0); pos3(rule_thickness,0); pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 7961 |
x0=x1r=x2r=x3r=x4r=x5r=.5w+o; |
| 7962 |
bot y0=-d-apex_o; top y1=(h-x_height); |
| 7963 |
top y5=h; y1-y2=y3-y4=-2.5rule_thickness; y5-y4=y3-y2; |
| 7964 |
bskpoints(1,0,hair,hair); bskpoints(5,4,hair,hair); |
| 7965 |
filldraw sipka(0,1)---z1l..z1r---cycle; |
| 7966 |
filldraw z2r---z3r..z3l---z2l..cycle; |
| 7967 |
filldraw z4r---z5rr..z5l---z4ll..cycle; |
| 7968 |
penlabels(2,3,4,5); labels(1rr,4ll,5rr); |
| 7969 |
endchar; |
| 7970 |
|
| 7971 |
iff known chars.arrow_left_not_vert_double: |
| 7972 |
bskchar "Leftward arrow with double vertical negation"; |
| 7973 |
beginchar(chars.arrow_left_not_vert_double,15u#,v_center(5u#)); uni "0x21FA"; |
| 7974 |
adjust_fit(0,0); |
| 7975 |
pickup tiny.nib; |
| 7976 |
pos1(rule_thickness,90); |
| 7977 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 7978 |
x2=x3; .5[x2,x4]=.5[x0c,x1]; x4=x5; x4-x2=min(3rule_thickness,3u); |
| 7979 |
.5[y2,y3]=.5[y4,y5]=y0; top y3=top y5=h; |
| 7980 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 7981 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 7982 |
y2'l=y2'r=y4'l=y4'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 7983 |
y3'l=y3'r=y5'l=y5'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 7984 |
x5'l=x4'l=x5l; x5'r=x4'r=x5r; |
| 7985 |
bskpoints(1,0,hair,hair); |
| 7986 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 7987 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 7988 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---tobl(3'r,3r,5'l) |
| 7989 |
---tobl(5'l,3'r,5l)---z5ll..z5r---obl(5'r,5r,1r) |
| 7990 |
---z1rr..z1l---obl(4'r,1l,4r)---z4rr..z4l---tobl(4'l,4l,2'r) |
| 7991 |
---tobl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r)---cycle; |
| 7992 |
penlabels(2,3,4,5); labels(1rr,2'l,2'r,3'l,3'r,2rr,3ll); |
| 7993 |
endchar; |
| 7994 |
|
| 7995 |
iff known chars.arrow_left_tail: |
| 7996 |
bskchar "Leftward arrow with tail"; |
| 7997 |
beginchar(chars.arrow_left_tail,15u#,v_center(5u#)); uni "0x21A2"; |
| 7998 |
adjust_fit(0,0); |
| 7999 |
pickup tiny.nib; |
| 8000 |
pos1(rule_thickness,90); |
| 8001 |
lft x0=u; x1=w-x0-arrsize; y0=y1l=math_axis; |
| 8002 |
forsuffixes $=b,e,d,c: z1$-z1=z0$-z0; endfor; |
| 8003 |
x1r:=x1l:=x1r+u; |
| 8004 |
filldraw sipka(0,1)---z1r{dir30}..{dir45}z1b..z1b+hair*down{dir225} |
| 8005 |
..z1c..z1d..{dir-45}z1e+hair*up..{dir135}z1e..{dir150}z1l---cycle; |
| 8006 |
labels(1b,1c,1d,1e); |
| 8007 |
endchar; |
| 8008 |
|
| 8009 |
iff known chars.arrow_hook_right: |
| 8010 |
bskchar "Right hook for leftward arrow"; |
| 8011 |
beginchar(chars.arrow_hook_right,5u#,math_axis#+4u#,-math_axis#); uni "non"; |
| 8012 |
adjust_fit(0,0); |
| 8013 |
pickup tiny.nib; |
| 8014 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 8015 |
y1l=y2l=math_axis; lft x2=u; x1=x2-hair; |
| 8016 |
x3l=w-u; x4=x2; y3=.5[y2,y4]; y4l=h; |
| 8017 |
x4r:=x4r+hair; |
| 8018 |
filldraw z1l---z2l..z3l{up}..{left}z4l..{right}z4r..{down}z3r..z2r---z1r..cycle; |
| 8019 |
penlabels(1,2,3,4); |
| 8020 |
endchar; |
| 8021 |
|
| 8022 |
iff known chars.arrow_left_hook: |
| 8023 |
bskchar "Leftward arrow with hook"; |
| 8024 |
beginchar(chars.arrow_left_hook,18u#,v_center(5u#)); uni "0x21A9"; |
| 8025 |
adjust_fit(0,0); |
| 8026 |
pickup tiny.nib; |
| 8027 |
pos1(rule_thickness,90); pos2(rule_thickness,180); pos3(rule_thickness,270); |
| 8028 |
lft x0=u; lft x1=w-4u; y0=y1l=math_axis; |
| 8029 |
x2l=w-u; x3=x1+hair; y2=.5[y1,y3]; y3l=math_axis+4u; x3r:=x3r+hair; |
| 8030 |
filldraw sipka(0,1)---z1r..{up}z2r..z3r{left}..z3l{right}..z2l{down}..z1l---cycle; |
| 8031 |
penlabels(2,3); labels(1rr); |
| 8032 |
endchar; |
| 8033 |
|
| 8034 |
iff known chars.arrow_left_above_right: |
| 8035 |
bskchar "Leftward arrow above rightward arrow"; |
| 8036 |
beginchar(chars.arrow_left_above_right,15u#,v_center(13u#)); uni "0x21C6"; |
| 8037 |
adjust_fit(0,0); |
| 8038 |
pickup tiny.nib; |
| 8039 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 8040 |
lft x0=u; x1=w-x0; rt x2=w-u; x3=w-x2; y0=y1l; y2=y3r; |
| 8041 |
.5[y0,y2]=math_axis; bot y2-top y1=-2arrwidth; |
| 8042 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8043 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8044 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 8045 |
labels(1rr,3rr); |
| 8046 |
endchar; |
| 8047 |
|
| 8048 |
iff known chars.arrow_left_above_right_stop: |
| 8049 |
bskchar "Leftward arrow above rightward arrow with stop bars"; |
| 8050 |
beginchar(chars.arrow_left_above_right_stop,15u#,v_center(13u#)); uni "0x21B9"; |
| 8051 |
adjust_fit(0,0); |
| 8052 |
pickup tiny.nib; |
| 8053 |
path p[]; numeric tim[]; |
| 8054 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 8055 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 8056 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 8057 |
lft x0=u; x1=w-x0; rt x2=w-u; x3=w-x2; y0=y1l; y2=y3r; |
| 8058 |
.5[y0,y2]=math_axis; bot y2-top y1=-2arrwidth; |
| 8059 |
.5[y4,y5]=y0; y4=y0b; x4l=x5l=x0; |
| 8060 |
.5[y6,y7]=y2; y6=y2e; x6r=x7r=x2; |
| 8061 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8062 |
p0=sipka(0,1); |
| 8063 |
p1=reverse bskrule(4,5,rule_thickness,rule_thickness); |
| 8064 |
p2=sipka(2,3); |
| 8065 |
p3=bskrule(7,6,rule_thickness,rule_thickness); |
| 8066 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 8067 |
tim4=round(tim0); |
| 8068 |
(tim2-tim4,tim3)=subpath(tim4,infinity) of p0 intersectiontimes p1; |
| 8069 |
(tim5,tim6)=p2 intersectiontimes p3; |
| 8070 |
tim9=round(tim5); |
| 8071 |
(tim7-tim9,tim8)=subpath(tim9,infinity) of p2 intersectiontimes p3; |
| 8072 |
oblu:=2oblu; |
| 8073 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 8074 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 8075 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 8076 |
..subpath(rundy(p0,tim2),infinity) of p0---z1rr..z1l---cycle; |
| 8077 |
filldraw subpath(0,rundy(p2,tim5).zpet) of p2 |
| 8078 |
..subpath(rundy(p3,tim6),length p3) of p3 |
| 8079 |
..subpath(0,rundy(p3,tim8).zpet) of p3 |
| 8080 |
..subpath(rundy(p2,tim7),infinity) of p2---z3l..z3r---cycle ; |
| 8081 |
penlabels(4,5,6,7); labels(1rr,3rr); |
| 8082 |
endchar; |
| 8083 |
|
| 8084 |
iff known chars.arrow_right_above_left: |
| 8085 |
bskchar "Rightward arrow above leftward arrow"; |
| 8086 |
beginchar(chars.arrow_right_above_left,15u#,v_center(13u#)); uni "0x21C4"; |
| 8087 |
adjust_fit(0,0); |
| 8088 |
pickup tiny.nib; |
| 8089 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 8090 |
lft x0=u; x1=w-x0; rt x2=w-u; x3=w-x2; y0=y1l; y2=y3r; |
| 8091 |
.5[y0,y2]=math_axis; bot y2-top y1=2arrwidth; |
| 8092 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8093 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8094 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 8095 |
labels(1rr,3rr); |
| 8096 |
endchar; |
| 8097 |
|
| 8098 |
iff known chars.arrow_up_tip_left: |
| 8099 |
bskchar "Upward arrow with leftward tip"; |
| 8100 |
beginchar(chars.arrow_up_tip_left,9.5u#,asc_height#,0); uni "0x21B0"; |
| 8101 |
adjust_fit(0,0); |
| 8102 |
pickup tiny.nib; |
| 8103 |
pos1(rule_thickness,90); pos2(rule_thickness,0); |
| 8104 |
lft x0=u; x1=w-x0; y0=y1l=h-arrwidth; x1l:=x1l-rule_thickness+currentbreadth; |
| 8105 |
bot y2=-d; rt x2r=w-u; |
| 8106 |
bskpoints(2,1,hair,hair); |
| 8107 |
filldraw sipka(0,1)---obl(1r,0a.l,2r)---z2rr..z2l---obl(1l,2l,0a.r)---cycle; |
| 8108 |
penlabels(2); labels(2rr); |
| 8109 |
endchar; |
| 8110 |
|
| 8111 |
iff known chars.arrow_up_tip_right: |
| 8112 |
bskchar "Upward arrow with rightward tip"; |
| 8113 |
beginchar(chars.arrow_up_tip_right,9.5u#,asc_height#,0); uni "0x21B1"; |
| 8114 |
adjust_fit(0,0); |
| 8115 |
pickup tiny.nib; |
| 8116 |
pos1(rule_thickness,90); pos2(rule_thickness,0); |
| 8117 |
rt x0=w-u; x1=w-x0; y0=y1r=h-arrwidth; x1l:=x1l+rule_thickness-currentbreadth; |
| 8118 |
bot y2=-d; lft x2l=u; |
| 8119 |
bskpoints(2,1,hair,hair); |
| 8120 |
filldraw sipka(0,1)---obl(1l,0a.l,2r)---z2rr..z2l---obl(1r,2l,0a.r)---cycle; |
| 8121 |
penlabels(2); labels(2rr); |
| 8122 |
endchar; |
| 8123 |
|
| 8124 |
iff known chars.arrow_down_tip_left: |
| 8125 |
bskchar "Downward arrow with leftward tip"; |
| 8126 |
beginchar(chars.arrow_down_tip_left,9.5u#,asc_height#,0); uni "0x21B2"; |
| 8127 |
adjust_fit(0,0); |
| 8128 |
pickup tiny.nib; |
| 8129 |
pos1(rule_thickness,90); pos2(rule_thickness,180); |
| 8130 |
lft x0=u; x1=w-x0; y0=y1l=arrwidth; x1r:=x1r-rule_thickness+currentbreadth; |
| 8131 |
top y2=h; rt x2l=w-u; |
| 8132 |
bskpoints(2,1,hair,hair); |
| 8133 |
filldraw sipka(0,1)---obl(1r,0a.l,2r)---z2rr..z2l---obl(1l,2l,0a.r)---cycle; |
| 8134 |
penlabels(2); labels(2rr); |
| 8135 |
endchar; |
| 8136 |
|
| 8137 |
iff known chars.arrow_CR: |
| 8138 |
bskchar "Carriage return arrow"; |
| 8139 |
beginchar(chars.arrow_CR,12u#,.5[x_height#,asc_height#],0); uni "0x21B5"; |
| 8140 |
adjust_fit(0,0); |
| 8141 |
pickup tiny.nib; |
| 8142 |
pos1(rule_thickness,90); pos2(rule_thickness,180); |
| 8143 |
lft x0=u; x1=w-x0; y0=y1l=arrwidth; x1r:=x1r-rule_thickness+currentbreadth; |
| 8144 |
top y2=h; rt x2l=w-u; |
| 8145 |
bskpoints(2,1,hair,hair); |
| 8146 |
filldraw sipka(0,1)---obl(1r,0a.l,2r)---z2rr..z2l---obl(1l,2l,0a.r)---cycle; |
| 8147 |
penlabels(2); labels(2rr); |
| 8148 |
endchar; |
| 8149 |
|
| 8150 |
iff known chars.arrow_LF: |
| 8151 |
bskchar "Line feed arrow"; |
| 8152 |
beginchar(chars.arrow_LF,13u#,x_height#,0); uni "0x21B4"; |
| 8153 |
adjust_fit(0,0); |
| 8154 |
pickup tiny.nib; |
| 8155 |
pos1(rule_thickness,0); pos2(rule_thickness,90); |
| 8156 |
x0=x1r=w-u-arrwidth; top y2r=h; lft x2=u; |
| 8157 |
bot y0=-d-apex_o; top y1=h; y1l:=y1l-rule_thickness+currentbreadth; |
| 8158 |
bskpoints(2,1,hair,hair); |
| 8159 |
filldraw sipka(0,1)---obl(1l,0a.l,2l)---z2l..z2rr---obl(1r,2r,0a.r)---cycle; |
| 8160 |
penlabels(2); labels(2rr); |
| 8161 |
endchar; |
| 8162 |
|
| 8163 |
iff known chars.arrow_down_tip_right: |
| 8164 |
bskchar "Downward arrow with rightward tip"; |
| 8165 |
beginchar(chars.arrow_down_tip_right,9.5u#,asc_height#,0); uni "0x21B3"; |
| 8166 |
adjust_fit(0,0); |
| 8167 |
pickup tiny.nib; |
| 8168 |
pos1(rule_thickness,90); pos2(rule_thickness,180); |
| 8169 |
rt x0=w-u; x1=w-x0; y0=y1r=arrwidth; x1r:=x1r+rule_thickness-currentbreadth; |
| 8170 |
top y2=h; lft x2r=u; |
| 8171 |
bskpoints(2,1,hair,hair); |
| 8172 |
filldraw sipka(0,1)---obl(1l,0a.l,2r)---z2rr..z2l---obl(1r,2l,0a.r)---cycle; |
| 8173 |
penlabels(2); labels(2rr); |
| 8174 |
endchar; |
| 8175 |
|
| 8176 |
iff known chars.arrow_up: |
| 8177 |
bskchar "Upward arrow"; |
| 8178 |
beginchar(chars.arrow_up,9u#,asc_height#,0); uni "0x2191"; |
| 8179 |
italcorr x_height#*slant; |
| 8180 |
adjust_fit(0,0); |
| 8181 |
pickup tiny.nib; |
| 8182 |
pos1(rule_thickness,0); |
| 8183 |
x0=x1l=.5w-o; |
| 8184 |
top y0=h+apex_o; bot y1=-d; |
| 8185 |
bskpoints(1,0,hair,hair); |
| 8186 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8187 |
labels(1rr); |
| 8188 |
endchar; |
| 8189 |
|
| 8190 |
iff known chars.arrow_up_doublehead: |
| 8191 |
bskchar "Upward arrow with doublehead"; |
| 8192 |
beginchar(chars.arrow_up_doublehead,9u#,asc_height#,0); uni "0x219F"; |
| 8193 |
adjust_fit(0,0); |
| 8194 |
pickup tiny.nib; |
| 8195 |
path p[]; numeric tim[]; |
| 8196 |
pos1(rule_thickness,0); |
| 8197 |
x0=x1l=.5w-o; top y0=h+apex_o; bot y1=-d; |
| 8198 |
bskpoints(1,0,hair,hair); |
| 8199 |
p0:=sipka(0,1); |
| 8200 |
p1:=p0 shifted (0,bot y0a-y0); |
| 8201 |
tim1=xpart(p1 intersectiontimes (z1r--(x0a.r,h))); |
| 8202 |
tim2-1=xpart(subpath(1,infinity) of p1 intersectiontimes (lft z1l--(lft x1l,h))); |
| 8203 |
tim3-5=xpart(subpath(5,infinity) of p0 intersectiontimes (rt z1r--(rt x0a.l,h))); |
| 8204 |
tim4=xpart(subpath(0,2) of p0 intersectiontimes (lft z1l--(lft x1l,h))); |
| 8205 |
filldraw subpath(rundy(p0,tim4),rundy(p0,tim3).zpet) of p0 |
| 8206 |
..subpath(rundy(p1,tim1),infinity) of p1---z1rr..z1l |
| 8207 |
---subpath(0,rundy(p1,tim2).zpet) of p1..cycle; |
| 8208 |
labels(1rr); |
| 8209 |
endchar; |
| 8210 |
|
| 8211 |
iff known chars.arrow_up_bars: |
| 8212 |
bskchar "Upward arrow with two horizontal bars"; |
| 8213 |
beginchar(chars.arrow_up_bars,9u#,asc_height#,0); uni "0x21DE"; |
| 8214 |
italcorr x_height#*slant; |
| 8215 |
adjust_fit(0,0); |
| 8216 |
pickup tiny.nib; |
| 8217 |
pos1(rule_thickness,0); |
| 8218 |
x0=x1l=.5w-o; |
| 8219 |
top y0=h+apex_o; bot y1=-d; |
| 8220 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 8221 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 8222 |
.5[x2,x3]=.5[x4,x5]=x1; y2=y3; y4=y5; .5[y2,y4]=.5[y0c,y1]; y4-y2=min(3rule_thickness,3u); |
| 8223 |
lft x2=lft x4=u; |
| 8224 |
y5'r=y4'r=y4r; y5'l=y4'l=y4l; y2'r=y3'r=y3r; y2'l=y3'l=y3l; |
| 8225 |
x5'r=x5'l=x3'r=x3'l=x1r; x4'r=x4'l=x2'r=x2'l=x1l; |
| 8226 |
bskpoints(1,0,hair,hair); |
| 8227 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8228 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 8229 |
filldraw sipka(0,1)---obl(5'r,0a.l,5r)---z5r..z5ll---tobl(5'l,5ll,3'r) |
| 8230 |
---tobl(3'r,5'l,3r)---z3r..z3ll---obl(3'l,3ll,1r)---z1rr..z1l |
| 8231 |
---obl(2'l,1l,2l)---z2l..z2rr---tobl(2'r,2rr,4'l)---tobl(4'l,2'r,4l) |
| 8232 |
---z4l..z4rr---obl(4'r,4rr,0a.r)---cycle; |
| 8233 |
penlabels(2,3,4,5); labels(1rr); |
| 8234 |
endchar; |
| 8235 |
|
| 8236 |
iff known chars.arrow_up_two: |
| 8237 |
bskchar "Two upward arrows"; |
| 8238 |
beginchar(chars.arrow_up_two,15.5u#,asc_height#,0); uni "0x21C8"; |
| 8239 |
italcorr x_height#*slant; |
| 8240 |
adjust_fit(0,0); |
| 8241 |
pickup tiny.nib; |
| 8242 |
pos1(rule_thickness,0); pos3(rule_thickness,0); |
| 8243 |
x0=x1l; lft x0=u+arrwidth; |
| 8244 |
x2=x3l; rt x2=w-u-arrwidth; |
| 8245 |
top y0=top y2=h+apex_o; bot y1=bot y3=-d; |
| 8246 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8247 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8248 |
filldraw sipka(2,3)---z3rr..z3l---cycle; |
| 8249 |
labels(1rr,2rr); |
| 8250 |
endchar; |
| 8251 |
|
| 8252 |
iff known chars.arrow_down: |
| 8253 |
bskchar "Downward arrow"; |
| 8254 |
beginchar(chars.arrow_down,9u#,asc_height#,0); uni "0x2193"; |
| 8255 |
adjust_fit(0,0); |
| 8256 |
pickup tiny.nib; |
| 8257 |
pos1(rule_thickness,0); |
| 8258 |
x0=x1r=.5w+o; |
| 8259 |
bot y0=-d-apex_o; top y1=h; |
| 8260 |
bskpoints(1,0,hair,hair); |
| 8261 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 8262 |
labels(1rr); |
| 8263 |
endchar; |
| 8264 |
|
| 8265 |
iff known chars.arrow_down_doublehead: |
| 8266 |
bskchar "Downward arrow with doublehead"; |
| 8267 |
beginchar(chars.arrow_down_doublehead,9u#,asc_height#,0); uni "0x21A1"; |
| 8268 |
adjust_fit(0,0); |
| 8269 |
pickup tiny.nib; |
| 8270 |
path p[]; numeric tim[]; |
| 8271 |
pos1(rule_thickness,0); |
| 8272 |
x0=x1r=.5w+o; bot y0=-d-apex_o; top y1=h; |
| 8273 |
bskpoints(1,0,hair,hair); |
| 8274 |
p0:=sipka(0,1); |
| 8275 |
p1:=p0 shifted (0,bot y0a-y0); |
| 8276 |
tim1=xpart(p1 intersectiontimes (z1l--(x0a.l,-d))); |
| 8277 |
tim2-1=xpart(subpath(1,infinity) of p1 intersectiontimes (rt z1r--(rt x1r,-d))); |
| 8278 |
tim3-5=xpart(subpath(5,infinity) of p0 intersectiontimes (lft z1l--(lft x0a.l,-d))); |
| 8279 |
tim4=xpart(subpath(0,2) of p0 intersectiontimes (rt z1r--(rt x1r,-d))); |
| 8280 |
filldraw subpath(rundy(p0,tim4),rundy(p0,tim3).zpet) of p0 |
| 8281 |
..subpath(rundy(p1,tim1),infinity) of p1---z1l..z1rr |
| 8282 |
---subpath(0,rundy(p1,tim2).zpet) of p1..cycle; |
| 8283 |
labels(1rr); |
| 8284 |
endchar; |
| 8285 |
|
| 8286 |
iff known chars.arrow_down_bars: |
| 8287 |
bskchar "Downward arrow with two horizontal bars"; |
| 8288 |
beginchar(chars.arrow_down_bars,9u#,asc_height#,0); uni "0x21DF"; |
| 8289 |
adjust_fit(0,0); |
| 8290 |
pickup tiny.nib; |
| 8291 |
pos1(rule_thickness,0); |
| 8292 |
x0=x1r=.5w+o; |
| 8293 |
bot y0=-d-apex_o; top y1=h; |
| 8294 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 8295 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 8296 |
.5[x2,x3]=.5[x4,x5]=x1; y2=y3; y4=y5; .5[y2,y4]=.5[y0c,y1]; y4-y2=min(3rule_thickness,3u); |
| 8297 |
lft x2=lft x4=u; |
| 8298 |
y5'r=y4'r=y4r; y5'l=y4'l=y4l; y2'r=y3'r=y3r; y2'l=y3'l=y3l; |
| 8299 |
x5'r=x5'l=x3'r=x3'l=x1r; x4'r=x4'l=x2'r=x2'l=x1l; |
| 8300 |
bskpoints(1,0,hair,hair); |
| 8301 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8302 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 8303 |
filldraw sipka(0,1)---obl(2'l,0a.l,2l)---z2l..z2rr---tobl(2'r,2rr,4'l) |
| 8304 |
---tobl(4'l,2'r,4l)---z4l..z4rr---obl(4'r,4rr,1l)---z1l..z1rr |
| 8305 |
---obl(5'r,1r,5r)---z5r..z5ll---tobl(5'l,5ll,3'r)---tobl(3'r,5'l,3r) |
| 8306 |
---z3r..z3ll---obl(3'l,3ll,0a.r)---cycle; |
| 8307 |
penlabels(2,3,4,5); labels(1rr); |
| 8308 |
labels(1rr); |
| 8309 |
endchar; |
| 8310 |
|
| 8311 |
iff known chars.arrow_down_two: |
| 8312 |
bskchar "Two downward arrow"; |
| 8313 |
beginchar(chars.arrow_down_two,15.5u#,asc_height#,0); uni "0x21CA"; |
| 8314 |
adjust_fit(0,0); |
| 8315 |
pickup tiny.nib; |
| 8316 |
pos1(rule_thickness,0); pos3(rule_thickness,0); |
| 8317 |
x0=x1r; lft x0=u+arrwidth; |
| 8318 |
x2=x3r; rt x2=w-u-arrwidth; |
| 8319 |
bot y0=bot y2=-d-apex_o; top y1=top y3=h; |
| 8320 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8321 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 8322 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 8323 |
labels(1rr,2rr); |
| 8324 |
endchar; |
| 8325 |
|
| 8326 |
iff known chars.arrow_up_arrow_down: |
| 8327 |
bskchar "Upward arrow followed by downward arrow"; |
| 8328 |
beginchar(chars.arrow_up_arrow_down,14u#,asc_height#,0); uni "0x21C5"; |
| 8329 |
italcorr x_height#*slant; |
| 8330 |
adjust_fit(0,0); |
| 8331 |
pickup tiny.nib; |
| 8332 |
pos1(rule_thickness,0); pos3(rule_thickness,0); |
| 8333 |
x0=x1l; x0=u+arrwidth; |
| 8334 |
top y0=h+apex_o; bot y1=-d; |
| 8335 |
x2=x3r; x2=w-u-arrwidth; |
| 8336 |
top y3=h; bot y2=-d-o; |
| 8337 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8338 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8339 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 8340 |
labels(1rr,3rr); |
| 8341 |
endchar; |
| 8342 |
|
| 8343 |
iff known chars.arrow_down_arrow_up: |
| 8344 |
bskchar "Downward arrow followed by upward arrow"; |
| 8345 |
beginchar(chars.arrow_down_arrow_up,14u#,asc_height#,0); uni "0x21F5"; |
| 8346 |
italcorr x_height#*slant; |
| 8347 |
adjust_fit(0,0); |
| 8348 |
pickup tiny.nib; |
| 8349 |
pos1(rule_thickness,0); pos3(rule_thickness,0); |
| 8350 |
x0=x1l; rt x0=w-u-arrwidth; |
| 8351 |
top y0=h+apex_o; bot y1=-d; |
| 8352 |
x2=x3r; lft x2=u+arrwidth; |
| 8353 |
top y3=h; bot y2=-d-o; |
| 8354 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8355 |
filldraw sipka(0,1)---z1rr..z1l---cycle; |
| 8356 |
filldraw sipka(2,3)---z3l..z3rr---cycle; |
| 8357 |
labels(1rr,3rr); |
| 8358 |
endchar; |
| 8359 |
|
| 8360 |
iff known chars.arrow_left_squiggly: |
| 8361 |
bskchar "Leftward squiggly arrow"; |
| 8362 |
beginchar(chars.arrow_left_squiggly,17u#,v_center(5u#)); uni "0x21DC"; |
| 8363 |
adjust_fit(0,0); |
| 8364 |
pickup tiny.nib; |
| 8365 |
numeric sh; oblu.more:=2f_obl; |
| 8366 |
pos1(rule_thickness,90); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 8367 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 8368 |
lft x0=u; x1=x0+arrsize+u; rt x6=w-u; y0=y1l=math_axis; |
| 8369 |
y3r=y5r=h; y4l=-d; y6=y1; x4=.5[x1,x6]; .5[x3,x5]=x4; .5[x4,x6]=x5; |
| 8370 |
sh:=rule_thickness/abs(cosd(angle(z1r-z3r)))-currentbreadth; |
| 8371 |
y3l:=y5l:=y3r-sh; y4r:=y4l+sh; |
| 8372 |
filldraw reverse sipka(0,1)---obl(1l,0a.r,3l)---obl(3l,1l,4l).more---obl(4l,3l,5l) |
| 8373 |
---obl(5l,4l,6l).more---z6l..z6r---obl(5r,6r,4r)---obl(4r,5r,3r).more |
| 8374 |
---obl(3r,4r,1r)---obl(1r,3r,0a.l)---cycle; |
| 8375 |
penlabels(3,4,5,6); |
| 8376 |
endchar; |
| 8377 |
|
| 8378 |
iff known chars.arrow_right_squiggly: |
| 8379 |
bskchar "Rightward squiggly arrow"; |
| 8380 |
beginchar(chars.arrow_right_squiggly,17u#,v_center(5u#)); uni "0x21DD"; |
| 8381 |
adjust_fit(0,0); |
| 8382 |
pickup tiny.nib; |
| 8383 |
numeric sh; oblu.more:=2f_obl; |
| 8384 |
pos1(rule_thickness,90); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 8385 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 8386 |
rt x0=w-u; x1=x0-arrsize-u; lft x6=u; y0=y1r=math_axis; |
| 8387 |
y3r=y5r=h; y4l=-d; y6=y1; x4=.5[x1,x6]; .5[x3,x5]=x4; .5[x4,x6]=x5; |
| 8388 |
sh:=rule_thickness/abs(cosd(angle(z3r-z1r)))-currentbreadth; |
| 8389 |
y3l:=y5l:=y3r-sh; y4r:=y4l+sh; |
| 8390 |
filldraw sipka(0,1)---obl(1l,0a.l,3l)---obl(3l,1l,4l).more---obl(4l,3l,5l) |
| 8391 |
---obl(5l,4l,6l).more---z6l..z6r---obl(5r,6r,4r)---obl(4r,5r,3r).more |
| 8392 |
---obl(3r,4r,1r)---obl(1r,3r,0a.r)---cycle; |
| 8393 |
penlabels(3,4,5,6); |
| 8394 |
endchar; |
| 8395 |
|
| 8396 |
iff known chars.arrow_right_left_squiggly: |
| 8397 |
bskchar "Rightward and leftward squiggly arrow"; |
| 8398 |
beginchar(chars.arrow_right_left_squiggly,21u#,v_center(5u#)); uni "non"; |
| 8399 |
adjust_fit(0,0); |
| 8400 |
pickup tiny.nib; |
| 8401 |
numeric sh; oblu.more:=2f_obl; |
| 8402 |
pos1(rule_thickness,90); pos2'(rule_thickness,90); pos3(rule_thickness,90); |
| 8403 |
pos4(rule_thickness,90); pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 8404 |
rt x0=w-u; x1=x0-arrsize-u; lft x2=u; x6=x2+arrsize+u; y0=y1r=y2=y2'r=y6l=math_axis; |
| 8405 |
y3r=y5r=h; y4l=-d; x4=.5[x1,x6]; .5[x3,x5]=x4; .5[x4,x6]=x5; x2'=x6; |
| 8406 |
sh:=rule_thickness/abs(cosd(angle(z3r-z1r)))-currentbreadth; |
| 8407 |
y3l:=y5l:=y3r-sh; y4r:=y4l+sh; |
| 8408 |
filldraw sipka(0,1)---obl(1l,0a.l,3l)---obl(3l,1l,4l).more---obl(4l,3l,5l) |
| 8409 |
---obl(5l,4l,6l).more---z6l..sipka(2,2')..z6r---obl(5r,6r,4r)---obl(4r,5r,3r).more |
| 8410 |
---obl(3r,4r,1r)---obl(1r,3r,0a.r)---cycle; |
| 8411 |
penlabels(3,4,5,6); |
| 8412 |
endchar; |
| 8413 |
|
| 8414 |
iff known chars.arrow_left_curly: |
| 8415 |
bskchar "Leftward curly arrow"; |
| 8416 |
beginchar(chars.arrow_left_curly,15u#,v_center(10u#)); uni "0x21AB"; |
| 8417 |
adjust_fit(0,0); |
| 8418 |
pickup tiny.nib; |
| 8419 |
pos1(rule_thickness,90); pos2(rule_thickness,180); pos3(rule_thickness,270); |
| 8420 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 8421 |
pos1'(rule_thickness,90); pos1''(rule_thickness,90); |
| 8422 |
lft x0=u; y0=y1l=math_axis; |
| 8423 |
rt x2l=w-u; .5[x2,x4]=x1; x4=x5; top y3l=h; bot y5=-d; y2=y4=.5[y1,y3]; x3=x1; x2-x4=y3-y1; |
| 8424 |
bskpoints(5,4,hair,hair); |
| 8425 |
z1'=(x4l,y1); z1''=(x4r,y1); |
| 8426 |
filldraw sipka(0,1)---obl(1'r,0a.l,4l)---z4l..z3l..z2l..z1l |
| 8427 |
---obl(1''l,1l,5r)---z5rr..z5l---obl(1'l,5l,0a.r)---cycle; |
| 8428 |
infill z4r..z3r..z2r..z1r---obl(1''r,1r,4r)---cycle; |
| 8429 |
penlabels(1',1'',2,3,4,5); labels(5rr); |
| 8430 |
endchar; |
| 8431 |
|
| 8432 |
iff known chars.arrow_right_curly: |
| 8433 |
bskchar "Rightward curly arrow"; |
| 8434 |
beginchar(chars.arrow_right_curly,15u#,v_center(10u#)); uni "0x21AC"; |
| 8435 |
adjust_fit(0,0); |
| 8436 |
pickup tiny.nib; |
| 8437 |
pos1(rule_thickness,90); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 8438 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 8439 |
pos1'(rule_thickness,270); pos1''(rule_thickness,270); |
| 8440 |
rt x0=w-u; y0=y1r=math_axis; |
| 8441 |
lft x2l=u; .5[x2,x4]=x1; x4=x5; top y3l=h; bot y5=-d; y2=y4=.5[y1,y3]; x3=x1; x4-x2=y3-y1; |
| 8442 |
bskpoints(5,4,hair,hair); |
| 8443 |
z1'=(x4l,y1); z1''=(x4r,y1); |
| 8444 |
filldraw sipka(0,1)---obl(1'r,0a.l,5l)---z5l..z5rr---obl(1''r,5r,1l)---z1l..z2l..z3l..z4l---obl(1'l,4l,0a.r)---cycle; |
| 8445 |
infill z4r..z3r..z2r..z1r---obl(1''l,1r,4r)---cycle; |
| 8446 |
penlabels(1',1'',2,3,4,5); labels(5rr); |
| 8447 |
endchar; |
| 8448 |
|
| 8449 |
iff known chars.arrow_left_down_curly: |
| 8450 |
bskchar "Leftward down curly arrow"; |
| 8451 |
beginchar(chars.arrow_left_down_curly,15u#,v_center(10u#)); uni "non"; |
| 8452 |
adjust_fit(0,0); |
| 8453 |
pickup tiny.nib; |
| 8454 |
pos1(rule_thickness,90); pos2(rule_thickness,180); pos3(rule_thickness,90); |
| 8455 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 8456 |
pos1'(rule_thickness,90); pos1''(rule_thickness,90); |
| 8457 |
lft x0=u; y0=y1l=math_axis; |
| 8458 |
rt x2l=w-u; .5[x2,x4]=x1; x4=x5; bot y3l=-d; top y5=h; y2=y4=.5[y1,y3]; x3=x1; x2-x4=y1-y3; |
| 8459 |
bskpoints(5,4,hair,hair); |
| 8460 |
z1'=(x4l,y1); z1''=(x4r,y1); |
| 8461 |
filldraw sipka(0,1)---obl(1'r,0a.l,5l)---z5l..z5rr---obl(1''r,5r,1r) |
| 8462 |
---z1r..z2l..z3l..z4l---obl(1'l,4l,0a.r)--cycle; |
| 8463 |
infill z4r..z3r..z2r..z1l---obl(1''l,1l,4r)---cycle; |
| 8464 |
penlabels(1',1'',2,3,4,5); labels(5rr); |
| 8465 |
endchar; |
| 8466 |
|
| 8467 |
iff known chars.arrow_right_down_curly: |
| 8468 |
bskchar "Rightward down curly arrow"; |
| 8469 |
beginchar(chars.arrow_right_down_curly,15u#,v_center(10u#)); uni "non"; |
| 8470 |
adjust_fit(0,0); |
| 8471 |
pickup tiny.nib; |
| 8472 |
pos1(rule_thickness,90); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 8473 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 8474 |
pos1'(rule_thickness,270); pos1''(rule_thickness,270); |
| 8475 |
rt x0=w-u; y0=y1r=math_axis; |
| 8476 |
lft x2l=u; .5[x2,x4]=x1; x4=x5; bot y3l=-d; top y5=h; y2=y4=.5[y1,y3]; x3=x1; x4-x2=y1-y3; |
| 8477 |
bskpoints(5,4,hair,hair); |
| 8478 |
z1'=(x4l,y1); z1''=(x4r,y1); |
| 8479 |
filldraw sipka(0,1)---obl(1'r,0a.l,4l)---z4l..z3l..z2l..z1r---obl(1''l,1r,5r) |
| 8480 |
---z5rr..z5l---obl(1'l,5l,0a.r)--cycle; |
| 8481 |
infill z4r..z3r..z2r..z1l---obl(1''r,1l,4r)---cycle; |
| 8482 |
penlabels(1',1'',2,3,4,5); labels(5rr); |
| 8483 |
endchar; |
| 8484 |
|
| 8485 |
iff known chars.arrow_arch_left_down: |
| 8486 |
bskchar "Arch with left downward arrow"; |
| 8487 |
beginchar(chars.arrow_arch_left_down,17u#,x_height#,0); uni "0x21B6"; |
| 8488 |
adjust_fit(0,0); |
| 8489 |
pickup tiny.nib; |
| 8490 |
path p; numeric theta; |
| 8491 |
pos1(rule_thickness,0); pos2(rule_thickness,-90); pos3(rule_thickness,180); |
| 8492 |
lft x1l=.5u+arrwidth; x0=x1; bot y0=-o; y1=arrsize+1; |
| 8493 |
top y2l=h+o; rt x3l=w-u; y3=0; x2=.45[x1,x3]; |
| 8494 |
p=z3{up}..{left}z2; theta=angle(direction xpart(p intersectiontimes (z1--(w,y1))) of p); |
| 8495 |
filldraw sipka(0,1)if y1l>y0a.l:..z1l fi {dir(180-theta)}..{right}z2l..{down}z3l |
| 8496 |
..z3r{up}..{left}z2r..{dir(360-theta)}z1r..cycle; |
| 8497 |
penlabels(2,3); |
| 8498 |
endchar; |
| 8499 |
|
| 8500 |
iff known chars.arrow_arch_right_down: |
| 8501 |
bskchar "Arch with right downward arrow"; |
| 8502 |
beginchar(chars.arrow_arch_right_down,17u#,x_height#,0); uni "0x21B7"; |
| 8503 |
adjust_fit(0,0); |
| 8504 |
pickup tiny.nib; |
| 8505 |
path p; numeric theta; |
| 8506 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 8507 |
rt x1r=w-.5u-arrwidth; x0=x1; bot y0=-o; y1=arrsize+1; |
| 8508 |
top y2r=h+o; lft x3r=u; y3=0; x2=.45[x1,x3]; |
| 8509 |
p=z3{up}..{right}z2; theta=angle(direction xpart(p intersectiontimes (z1--(w,y1))) of p); |
| 8510 |
filldraw sipka(0,1)..z1l{dir(180-theta)}..{left}z2l..{down}z3l |
| 8511 |
..z3r{up}..{right}z2r..{dir(360-theta)}z1r..cycle; |
| 8512 |
penlabels(2,3); |
| 8513 |
endchar; |
| 8514 |
|
| 8515 |
iff known chars.arrow_open_loop_left_down: |
| 8516 |
bskchar "Open-loop downward arrow with left tip"; |
| 8517 |
beginchar(chars.arrow_open_loop_left_down,14u#,asc_height#,0); uni "non"; |
| 8518 |
adjust_fit(0,0); |
| 8519 |
pickup tiny.nib; |
| 8520 |
path p; numeric tim[]; |
| 8521 |
lft x1l=.5u+arrwidth; bot y0=-o; z1=z0+arrsize*dir110; |
| 8522 |
top y2l=h+o; x3l=w-4u; y3=0; x2=.45[x1,w-u]; |
| 8523 |
pos1(rule_thickness,10); pos2(rule_thickness,-90); pos3(rule_thickness,140); |
| 8524 |
p=z1{dir110}..z2{right}..{dir-130}z3; |
| 8525 |
tim0=xpart(p intersectiontimes ((x2,x_height)--(w,x_height))); |
| 8526 |
tim1=xpart(p intersectiontimes ((x2,x_height)--(0,x_height))); |
| 8527 |
pos3'(rule_thickness,angle(direction tim0 of p)-90); z3'=point tim0 of p; |
| 8528 |
pos1'(rule_thickness,angle(direction tim1 of p)-90); z1'=point tim1 of p; |
| 8529 |
filldraw sipka(0,1){dir110}..z1'l..{right}z2l..z3'l..{dir-130}z3l |
| 8530 |
..z3r{dir50}..z3'r..{left}z2r..z1'r..{dir-70}cycle; |
| 8531 |
penlabels(1',2,3,3'); |
| 8532 |
endchar; |
| 8533 |
|
| 8534 |
iff known chars.arrow_open_loop_right_up: |
| 8535 |
bskchar "Open-loop upward arrow with right tip"; |
| 8536 |
beginchar(chars.arrow_open_loop_right_up,14u#,asc_height#,0); uni "non"; |
| 8537 |
adjust_fit(0,0); |
| 8538 |
pickup tiny.nib; |
| 8539 |
path p; numeric tim[]; |
| 8540 |
rt x1r=w-.5u-arrwidth; bot y0=-o; z1=z0+arrsize*dir70; |
| 8541 |
top y2r=h+o; x3r=4u; y3=0; x2=.45[x1,u]; |
| 8542 |
pos1(rule_thickness,170); pos2(rule_thickness,90); pos3(rule_thickness,220); |
| 8543 |
p=z1{dir70}..z2{left}..{dir-50}z3; |
| 8544 |
tim0=xpart(p intersectiontimes ((x2,x_height)--(0,x_height))); |
| 8545 |
tim1=xpart(p intersectiontimes ((x2,x_height)--(w,x_height))); |
| 8546 |
pos3'(rule_thickness,angle(direction tim0 of p)-90); z3'=point tim0 of p; |
| 8547 |
pos1'(rule_thickness,angle(direction tim1 of p)-90); z1'=point tim1 of p; |
| 8548 |
filldraw sipka(0,1){dir70}..z1'l..{left}z2l..z3'l..{dir-50}z3l |
| 8549 |
..z3r{dir130}..z3'r..{right}z2r..z1'r..{dir-110}cycle; |
| 8550 |
penlabels(1',2,3,3'); |
| 8551 |
endchar; |
| 8552 |
|
| 8553 |
iff known chars.arrow_open_loop_up_right: |
| 8554 |
bskchar "Open-loop rightward arrow with upper tip"; |
| 8555 |
beginchar(chars.arrow_open_loop_up_right,15u#,v_center(1.3x_height#)); uni "non"; |
| 8556 |
adjust_fit(0,0); |
| 8557 |
pickup tiny.nib; |
| 8558 |
path p; numeric tim[]; |
| 8559 |
lft x0=u-o; top y1l=h-arrwidth+.2h; z1=z0+arrsize*dir20; |
| 8560 |
rt x2l=w-u; y3=-d+.25x_height+.2h; x3=u; y2=.45[y1,-d+.2h]; |
| 8561 |
pos1(rule_thickness,100); pos2(rule_thickness,180); pos3(rule_thickness,40); |
| 8562 |
p=z1{dir20}..z2{down}..{dir130}z3; |
| 8563 |
tim0=xpart(p intersectiontimes ((2/3w,y2)--(2/3w,-2h))); |
| 8564 |
tim1=xpart(p intersectiontimes ((2/3w,y2)--(2/3w,h))); |
| 8565 |
pos3'(rule_thickness,angle(direction tim0 of p)-90); z3'=point tim0 of p; |
| 8566 |
pos1'(rule_thickness,angle(direction tim1 of p)-90); z1'=point tim1 of p; |
| 8567 |
filldraw sipka(0,1){dir20}..z1'l..{down}z2l..z3'l..{dir130}z3l |
| 8568 |
..z3r{dir-50}..z3'r..{up}z2r..z1'r..{dir200}cycle; |
| 8569 |
penlabels(1',2,3,3'); |
| 8570 |
endchar; |
| 8571 |
|
| 8572 |
iff known chars.arrow_open_loop_down_left: |
| 8573 |
bskchar "Open-loop leftward arrow with lower tip"; |
| 8574 |
beginchar(chars.arrow_open_loop_down_left,15u#,v_center(1.3x_height#)); uni "non"; |
| 8575 |
adjust_fit(0,0); |
| 8576 |
pickup tiny.nib; |
| 8577 |
path p; numeric tim[]; |
| 8578 |
rt x0=w-u+o; bot y1l=-d+arrwidth-.2h; z1=z0+arrsize*dir200; |
| 8579 |
lft x2l=u; y3=.8h-.25x_height; x3=w-u; y2=.45[y1,.8h]; |
| 8580 |
pos1(rule_thickness,-80); pos2(rule_thickness,0); pos3(rule_thickness,220); |
| 8581 |
p=z1{dir200}..z2{up}..{dir-50}z3; |
| 8582 |
tim0=xpart(p intersectiontimes ((1/3w,y2)--(1/3w,2h))); |
| 8583 |
tim1=xpart(p intersectiontimes ((1/3w,y2)--(1/3w,-2h))); |
| 8584 |
pos3'(rule_thickness,angle(direction tim0 of p)-90); z3'=point tim0 of p; |
| 8585 |
pos1'(rule_thickness,angle(direction tim1 of p)-90); z1'=point tim1 of p; |
| 8586 |
filldraw sipka(0,1){dir200}..z1'l..{up}z2l..z3'l..{dir-50}z3l |
| 8587 |
..z3r{dir130}..z3'r..{down}z2r..z1'r..{dir20}cycle; |
| 8588 |
penlabels(1',2,3,3'); |
| 8589 |
endchar; |
| 8590 |
|
| 8591 |
iff known chars.arrow_curve_left_down: |
| 8592 |
bskchar "Curved arrow with left downward arrow"; |
| 8593 |
beginchar(chars.arrow_curve_left_down,17u#,v_center(.65x_height#)); uni "0x293A"; |
| 8594 |
adjust_fit(0,0); |
| 8595 |
pickup tiny.nib; |
| 8596 |
path p[]; numeric theta; |
| 8597 |
lft x1=u+.5arrwidth; y1=y3; .5[y1-.5arrsize,y2]=math_axis; top y2=h+o-.5rule_thickness; |
| 8598 |
x2=.5[w-u,x1]; x3=w-u-.25rule_thickness; |
| 8599 |
p0=z3..{left}z2..z1; |
| 8600 |
theta:=angle(direction infinity of p0); |
| 8601 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,90); pos3(rule_thickness,theta-180); |
| 8602 |
pos4(rule_thickness,theta+90); |
| 8603 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8604 |
filldraw z3r{dir(-theta)}..{left}z2r..reverse sipka(5,4)..{right}z2l..{dir(180-theta)}z3l..cycle; |
| 8605 |
penlabels(1,2,3); |
| 8606 |
endchar; |
| 8607 |
|
| 8608 |
iff known chars.arrow_curve_right_down: |
| 8609 |
bskchar "Curved arrow with right downward arrow"; |
| 8610 |
beginchar(chars.arrow_curve_right_down,17u#,v_center(.65x_height#)); uni "non"; |
| 8611 |
adjust_fit(0,0); |
| 8612 |
pickup tiny.nib; |
| 8613 |
path p[]; numeric theta; |
| 8614 |
rt x1=w-u-.5arrwidth; y1=y3; .5[y1-.5arrsize,y2]=math_axis; top y2=h+o-.5rule_thickness; |
| 8615 |
x2=.5[u,x1]; x3=u+.25rule_thickness; |
| 8616 |
p0=z3..{right}z2..z1; |
| 8617 |
theta:=angle(direction infinity of p0); |
| 8618 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,90); pos3(rule_thickness,theta-180); |
| 8619 |
pos4(rule_thickness,theta+90); |
| 8620 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8621 |
filldraw z3r{dir(-theta)}..{right}z2r..sipka(5,4)..{left}z2l..{dir(180-theta)}z3l..cycle; |
| 8622 |
penlabels(1,2,3); |
| 8623 |
endchar; |
| 8624 |
|
| 8625 |
iff known chars.arrow_curve_left_right_down: |
| 8626 |
bskchar "Curved arrow with left-right downward arrow"; |
| 8627 |
beginchar(chars.arrow_curve_left_right_down,17u#,v_center(.65x_height#)); uni "non"; |
| 8628 |
adjust_fit(.5u#,.5u#); |
| 8629 |
pickup tiny.nib; |
| 8630 |
path p[]; numeric theta; |
| 8631 |
rt x1=w-u-.5arrwidth; y1=y3; .5[y1-.45arrsize,y2]=math_axis; top y2=h+o-.5rule_thickness; |
| 8632 |
x2=.5w; lft x3=u+.5arrwidth; |
| 8633 |
p0=z3..{right}z2..z1; |
| 8634 |
theta:=angle(direction infinity of p0); |
| 8635 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,90); pos3(rule_thickness,theta-180); |
| 8636 |
z4=z1+arrwidth*dir(theta); |
| 8637 |
z5=z3+arrwidth*dir(180-theta); |
| 8638 |
filldraw z2r{right}..sipka(4,1)..{left}z2l..sipka(5,3)..cycle; |
| 8639 |
penlabels(1,2,3); |
| 8640 |
endchar; |
| 8641 |
|
| 8642 |
iff known chars.arrow_curve_left_up: |
| 8643 |
bskchar "Curved arrow with left upward arrow"; |
| 8644 |
beginchar(chars.arrow_curve_left_up,17u#,v_center(.65x_height#)); uni "non"; |
| 8645 |
adjust_fit(0,0); |
| 8646 |
pickup tiny.nib; |
| 8647 |
path p[]; numeric theta; |
| 8648 |
lft x1=u+.5arrwidth; y1=y3; .5[y1+.5arrsize,y2]=math_axis; bot y2=-d-o+.5rule_thickness; |
| 8649 |
x2=.5[w-u,x1]; x3=w-u-.25rule_thickness; |
| 8650 |
p0=z3..{left}z2..z1; |
| 8651 |
theta:=angle(direction infinity of p0); |
| 8652 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,theta-180); |
| 8653 |
pos4(rule_thickness,theta+90); |
| 8654 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8655 |
filldraw z3r{dir(-theta)}..{left}z2r..sipka(5,4)..{right}z2l..{dir(180-theta)}z3l..cycle; |
| 8656 |
penlabels(1,2,3); |
| 8657 |
endchar; |
| 8658 |
|
| 8659 |
iff known chars.arrow_curve_right_up: |
| 8660 |
bskchar "Curved arrow with right upward arrow"; |
| 8661 |
beginchar(chars.arrow_curve_right_up,17u#,v_center(.65x_height#)); uni "non"; |
| 8662 |
adjust_fit(0,0); |
| 8663 |
pickup tiny.nib; |
| 8664 |
path p[]; numeric theta; |
| 8665 |
rt x1=w-u-.5arrwidth; y1=y3; .5[y1+.5arrsize,y2]=math_axis; bot y2=-d-o+.5rule_thickness; |
| 8666 |
x2=.5[u,x1]; x3=u+.25rule_thickness; |
| 8667 |
p0=z3..{right}z2..z1; |
| 8668 |
theta:=angle(direction infinity of p0); |
| 8669 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,theta-180); |
| 8670 |
pos4(rule_thickness,theta+90); |
| 8671 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8672 |
filldraw z3r{dir(-theta)}..{right}z2r..reverse sipka(5,4)..{left}z2l..{dir(180-theta)}z3l..cycle; |
| 8673 |
penlabels(1,2,3); |
| 8674 |
endchar; |
| 8675 |
|
| 8676 |
iff known chars.arrow_curve_left_right_up: |
| 8677 |
bskchar "Curved arrow with left-right upward arrow"; |
| 8678 |
beginchar(chars.arrow_curve_left_right_up,17u#,v_center(.65x_height#)); uni "non"; |
| 8679 |
adjust_fit(.5u#,.5u#); |
| 8680 |
pickup tiny.nib; |
| 8681 |
path p[]; numeric theta; |
| 8682 |
rt x1=w-u-.5arrwidth; y1=y3; .5[y1+.45arrsize,y2]=math_axis; bot y2=-d-o+.5rule_thickness; |
| 8683 |
x2=.5w; lft x3=u+.5arrwidth; |
| 8684 |
p0=z3..{right}z2..z1; |
| 8685 |
theta:=angle(direction infinity of p0); |
| 8686 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,theta-180); |
| 8687 |
z4=z1+arrwidth*dir(theta); |
| 8688 |
z5=z3+arrwidth*dir(180-theta); |
| 8689 |
filldraw z2r{right}..reverse sipka(4,1)..{left}z2l..reverse sipka(5,3)..cycle; |
| 8690 |
penlabels(1,2,3); |
| 8691 |
endchar; |
| 8692 |
|
| 8693 |
iff known chars.arrow_left_wavy: |
| 8694 |
bskchar "Wavy leftwards arrow"; |
| 8695 |
beginchar(chars.arrow_left_wavy,19u#,v_center(.65x_height#)); uni "0x219C"; |
| 8696 |
adjust_fit(0,0); |
| 8697 |
pickup tiny.nib; |
| 8698 |
path p[]; numeric theta; |
| 8699 |
lft x1=u+.5arrwidth; .5[y1+.5arrsize,y2]=math_axis; |
| 8700 |
bot y2=-d-o+.5rule_thickness; y3-y2=.25(x6-x2); y6=y2; |
| 8701 |
x2=.5[x3,x1]; x3=.5[x2,x6]; x6=w-u-.25rule_thickness; |
| 8702 |
theta:=150; |
| 8703 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); |
| 8704 |
pos4(rule_thickness,theta+90); pos6(rule_thickness,-90); |
| 8705 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8706 |
filldraw z6r{dir(theta)}..z3r{left}..{left}z2r..sipka(5,4) |
| 8707 |
..{right}z2l..{right}z3l..{dir(180+theta)}z6l..cycle; |
| 8708 |
penlabels(1,2,3,6); |
| 8709 |
endchar; |
| 8710 |
|
| 8711 |
iff known chars.arrow_right_wavy: |
| 8712 |
bskchar "Wavy rightwards arrow"; |
| 8713 |
beginchar(chars.arrow_right_wavy,19u#,v_center(.65x_height#)); uni "0x219D"; |
| 8714 |
adjust_fit(0,0); |
| 8715 |
pickup tiny.nib; |
| 8716 |
path p[]; numeric theta; |
| 8717 |
rt x1=w-u-.5arrwidth; .5[y1+.5arrsize,y2]=math_axis; |
| 8718 |
bot y2=-d-o+.5rule_thickness; y3-y2=.25(x2-x6); y6=y2; |
| 8719 |
x2=.5[x3,x1]; x3=.5[x2,x6]; x6=u+.25rule_thickness; |
| 8720 |
theta:=30; |
| 8721 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); |
| 8722 |
pos4(rule_thickness,theta+90); pos6(rule_thickness,-90); |
| 8723 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8724 |
filldraw z6r{dir(theta)}..z3r{right}..{right}z2r..reverse sipka(5,4) |
| 8725 |
..{left}z2l..{left}z3l..{dir(180+theta)}z6l..cycle; |
| 8726 |
penlabels(1,2,3,6); |
| 8727 |
endchar; |
| 8728 |
|
| 8729 |
iff known chars.arrow_left_right_wavy: |
| 8730 |
bskchar "Wavy left-right arrow"; |
| 8731 |
beginchar(chars.arrow_left_right_wavy,19u#,v_center(.65x_height#)); uni "0x21AD"; |
| 8732 |
adjust_fit(0,0); |
| 8733 |
pickup tiny.nib; |
| 8734 |
path p[]; numeric theta; |
| 8735 |
lft x1=u+.5arrwidth; .5[y1+.5arrsize,y2]=math_axis; |
| 8736 |
bot y2=-d-o+rule_thickness; .5[y2,y3]=math_axis; |
| 8737 |
x2=.5[x3,x1]; x3=.5[x2,x6]; x6=w-u-.5arrwidth; .5[y6,y1]=math_axis; |
| 8738 |
theta:=150; |
| 8739 |
pos1(rule_thickness,theta+90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); |
| 8740 |
pos4(rule_thickness,theta+90); pos6(rule_thickness,-90); pos7(rule_thickness,theta+90); |
| 8741 |
z4=z1+.25arrwidth*dir(theta+180); z5=z1+.75arrwidth*dir(theta); |
| 8742 |
z7=z6+.25arrwidth*dir(theta); z8=z6+.75arrwidth*dir(theta-180); |
| 8743 |
p0=sipka(8,7); |
| 8744 |
p1=sipka(5,4); |
| 8745 |
p2=z8a{z6-z8}..{left}z3..{left}z2..{z5-z1}z5a; |
| 8746 |
pos9(rule_thickness,angle(direction 1.5 of p2)+90); z9=point 1.5 of p2; |
| 8747 |
filldraw p0..{left}z3r..z9r..{left}z2r..p1..{right}z2l..z9l..{right}z3l..cycle; |
| 8748 |
penlabels(1,2,3,6,9); |
| 8749 |
endchar; |
| 8750 |
|
| 8751 |
iff known chars.math_contradiction: |
| 8752 |
bskchar "Contradiction symbol"; |
| 8753 |
beginchar(chars.math_contradiction,10u#,asc_height#,asc_depth#); uni "0x21AF"; |
| 8754 |
adjust_fit(0,0); |
| 8755 |
pickup tiny.nib; |
| 8756 |
path p[]; numeric theta; oblu.more:=2oblu; |
| 8757 |
theta=60; |
| 8758 |
pos1(rule_thickness,theta-90); pos2(rule_thickness,-80); pos3(rule_thickness,theta-90); |
| 8759 |
bot y0=-d-o; x0=3u; x3=.5w; top y3l=h; |
| 8760 |
rt x1r=w-u; z1=z0+whatever*dir theta; |
| 8761 |
x2l=u; z2=z1+whatever*dir 190; |
| 8762 |
p0=sipka(0,1); |
| 8763 |
z1'=whatever[z0a.l,z1l]=z2r+whatever*dir10; |
| 8764 |
z2'=whatever[z2l,z1l]=z3r+whatever*(z3l-z2r); |
| 8765 |
z3'=whatever[z2l,z1l]=whatever[z1r,z0a.r]; |
| 8766 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8767 |
filldraw p0---obl(1',0a.l,2r).more---obl(2r,1',3l)---z3ll..z3r |
| 8768 |
---obl(2',3r,3').more---z3'..z1r---cycle; |
| 8769 |
penlabels(1,2,3); labels(1',2',3'); |
| 8770 |
endchar; |
| 8771 |
|
| 8772 |
iff known chars.harpoon_right_up: |
| 8773 |
bskchar "Rightward up harpoon"; |
| 8774 |
beginchar(chars.harpoon_right_up,15u#,v_center(5u#)); uni "0x21C0"; |
| 8775 |
adjust_fit(0,0); |
| 8776 |
pickup tiny.nib; |
| 8777 |
pos1(rule_thickness,90); |
| 8778 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 8779 |
bskpoints(1,0,hair,hair); |
| 8780 |
filldraw subpath (0,4) of sipka(0,1)...{left}z0a.l---z1l..z1rr---cycle; |
| 8781 |
labels(1rr); |
| 8782 |
endchar; |
| 8783 |
|
| 8784 |
iff known chars.harpoon_right_down: |
| 8785 |
bskchar "Rightward down harpoon"; |
| 8786 |
beginchar(chars.harpoon_right_down,15u#,v_center(5u#)); uni "0x21C1"; |
| 8787 |
adjust_fit(0,0); |
| 8788 |
pickup tiny.nib; |
| 8789 |
pos1(rule_thickness,90); |
| 8790 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 8791 |
bskpoints(1,0,hair,hair); |
| 8792 |
filldraw subpath (4,infinity) of sipka(0,1)---z1l..z1rr---cycle; |
| 8793 |
labels(1rr); |
| 8794 |
endchar; |
| 8795 |
|
| 8796 |
iff known chars.harpoon_left_up: |
| 8797 |
bskchar "Leftward up harpoon"; |
| 8798 |
beginchar(chars.harpoon_left_up,15u#,v_center(5u#)); uni "0x21BC"; |
| 8799 |
adjust_fit(0,0); |
| 8800 |
pickup tiny.nib; |
| 8801 |
pos1(rule_thickness,90); |
| 8802 |
rt x1=w-u; x1=w-x0; y0=y1l=math_axis; |
| 8803 |
bskpoints(1,0,hair,hair); |
| 8804 |
filldraw subpath (4,infinity) of sipka(0,1)---z1rr..z1l---cycle; |
| 8805 |
labels(1rr); |
| 8806 |
endchar; |
| 8807 |
|
| 8808 |
iff known chars.harpoon_left_down: |
| 8809 |
bskchar "Leftward down harpoon"; |
| 8810 |
beginchar(chars.harpoon_left_down,15u#,v_center(5u#)); uni "0x21BD"; |
| 8811 |
adjust_fit(0,0); |
| 8812 |
pickup tiny.nib; |
| 8813 |
pos1(rule_thickness,90); |
| 8814 |
rt x1=w-u; x1=w-x0; y0=y1l=math_axis; |
| 8815 |
bskpoints(1,0,hair,hair); |
| 8816 |
filldraw subpath (0,4) of sipka(0,1)...{right}z0a.l---z1rr..z1l---cycle; |
| 8817 |
labels(1rr); |
| 8818 |
endchar; |
| 8819 |
|
| 8820 |
iff known chars.harpoon_right_up_left_down: |
| 8821 |
bskchar "Rightward up harpoon above leftward down harpoon"; |
| 8822 |
beginchar(chars.harpoon_right_up_left_down,15u#,v_center(8u#)); uni "0x21CC"; |
| 8823 |
adjust_fit(0,0); |
| 8824 |
pickup tiny.nib; |
| 8825 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 8826 |
rt x0=rt x3=w-u; x1=x2=w-x0; y0=y1r; y2=y3l; .5[y0,y2]=math_axis; y1l-y3r=2u; |
| 8827 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8828 |
filldraw subpath (0,4) of sipka(0,1)...{left}z0a.l---z1l..z1rr---cycle; |
| 8829 |
filldraw subpath (0,4) of sipka(2,3)...{right}z2a.l---z3rr..z3l---cycle; |
| 8830 |
labels(1rr,3rr); |
| 8831 |
endchar; |
| 8832 |
|
| 8833 |
iff known chars.harpoon_left_up_right_down: |
| 8834 |
bskchar "Leftward up harpoon above rightward down harpoon"; |
| 8835 |
beginchar(chars.harpoon_left_up_right_down,15u#,v_center(8u#)); uni "0x21CB"; |
| 8836 |
adjust_fit(0,0); |
| 8837 |
pickup tiny.nib; |
| 8838 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 8839 |
rt x0=rt x3=w-u; x1=x2=w-x0; y0=y1r; y2=y3l; .5[y0,y2]=math_axis; y1r-y3l=-2u; |
| 8840 |
bskpoints(1,0,hair,hair); bskpoints(3,2,hair,hair); |
| 8841 |
filldraw subpath (4,infinity) of sipka(0,1)---z1l..z1rr---cycle; |
| 8842 |
filldraw subpath (4,infinity) of sipka(2,3)---z3rr..z3l---cycle; |
| 8843 |
labels(1rr,3rr); |
| 8844 |
endchar; |
| 8845 |
|
| 8846 |
iff known chars.harpoon_up_left: |
| 8847 |
bskchar "Upward left harpoon"; |
| 8848 |
beginchar(chars.harpoon_up_left,6u#,asc_height#,0); uni "0x21BF"; |
| 8849 |
italcorr x_height#*slant; |
| 8850 |
adjust_fit(0,0); |
| 8851 |
pickup tiny.nib; |
| 8852 |
pos1(rule_thickness,0); |
| 8853 |
x0=x1l; rt x1r=w-u; |
| 8854 |
top y0=h+apex_o; bot y1=-d; |
| 8855 |
bskpoints(1,0,hair,hair); |
| 8856 |
filldraw subpath(0,4) of sipka(0,1)...{down}z0a.l---z1rr..z1l---cycle; |
| 8857 |
labels(1rr); |
| 8858 |
endchar; |
| 8859 |
|
| 8860 |
iff known chars.harpoon_up_right: |
| 8861 |
bskchar "Upward right harpoon"; |
| 8862 |
beginchar(chars.harpoon_up_right,6u#,asc_height#,0); uni "0x21BE"; |
| 8863 |
italcorr x_height#*slant; |
| 8864 |
adjust_fit(0,0); |
| 8865 |
pickup tiny.nib; |
| 8866 |
pos1(rule_thickness,0); |
| 8867 |
lft x0=lft x1l=u; |
| 8868 |
top y0=h+apex_o; bot y1=-d; |
| 8869 |
bskpoints(1,0,hair,hair); |
| 8870 |
filldraw subpath(4,infinity) of sipka(0,1)---z1rr..z1l---cycle; |
| 8871 |
labels(1rr); |
| 8872 |
endchar; |
| 8873 |
|
| 8874 |
iff known chars.harpoon_down_left: |
| 8875 |
bskchar "Downward left harpoon"; |
| 8876 |
beginchar(chars.harpoon_down_left,6u#,asc_height#,0); uni "0x21C3"; |
| 8877 |
adjust_fit(0,0); |
| 8878 |
pickup tiny.nib; |
| 8879 |
pos1(rule_thickness,0); |
| 8880 |
x0=x1r; rt x1r=w-u; |
| 8881 |
top y0=-d-apex_o; bot y1=h; |
| 8882 |
bskpoints(1,0,hair,hair); |
| 8883 |
filldraw subpath(4,infinity) of sipka(0,1)---z1l..z1rr---cycle; |
| 8884 |
labels(1rr); |
| 8885 |
endchar; |
| 8886 |
|
| 8887 |
iff known chars.harpoon_down_right: |
| 8888 |
bskchar "Downward right harpoon"; |
| 8889 |
beginchar(chars.harpoon_down_right,6u#,asc_height#,0); uni "0x21C2"; |
| 8890 |
adjust_fit(0,0); |
| 8891 |
pickup tiny.nib; |
| 8892 |
pos1(rule_thickness,0); |
| 8893 |
x0=x1r; lft x1l=u; |
| 8894 |
top y0=-d-apex_o; bot y1=h; |
| 8895 |
bskpoints(1,0,hair,hair); |
| 8896 |
filldraw subpath(0,4) of sipka(0,1)...{up}z0a.l---z1l..z1rr---cycle; |
| 8897 |
labels(1rr); |
| 8898 |
endchar; |
| 8899 |
|
| 8900 |
iff known chars.arrow_left_right: |
| 8901 |
bskchar "Left-right arrow"; |
| 8902 |
beginchar(chars.arrow_left_right,18u#,v_center(5u#)); uni "0x2194"; |
| 8903 |
adjust_fit(0,0); |
| 8904 |
pickup tiny.nib; |
| 8905 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8906 |
lft x0=u; x1=w-x0; y0=y1=math_axis; |
| 8907 |
filldraw sipka(0,1)---sipka(1,0)---cycle; |
| 8908 |
endchar; |
| 8909 |
|
| 8910 |
iff known chars.arrow_left_right_long: |
| 8911 |
bskchar "Long left-right arrow"; |
| 8912 |
beginchar(chars.arrow_left_right_long,25u#,v_center(5u#)); uni "0x27F7"; |
| 8913 |
adjust_fit(0,0); |
| 8914 |
pickup tiny.nib; |
| 8915 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8916 |
lft x0=u; x1=w-x0; y0=y1=math_axis; |
| 8917 |
filldraw sipka(0,1)---sipka(1,0)---cycle; |
| 8918 |
endchar; |
| 8919 |
|
| 8920 |
iff known chars.arrow_left_right_not: |
| 8921 |
bskchar "Left-right arrow with negation"; |
| 8922 |
beginchar(chars.arrow_left_right_not,18u#,v_center(5u#)); uni "0x21AE"; |
| 8923 |
adjust_fit(0,0); |
| 8924 |
pickup tiny.nib; |
| 8925 |
oblu.more:=2oblu; |
| 8926 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8927 |
lft x0=u; x1=w-x0; y0=y1=math_axis; |
| 8928 |
.5[x2,x3]=.5[x0,x1]; .5[y2,y3]=y0; x3-x2=.5(y3-y2); top y3=h; |
| 8929 |
pos2(rule_thickness,angle(z2-z3)+90); pos3(rule_thickness,angle(z2-z3)+90); |
| 8930 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 8931 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 8932 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8933 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---obl(3'r,3r,1r).more |
| 8934 |
---sipka(1,0)---obl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r).more---cycle; |
| 8935 |
penlabels(2,3); |
| 8936 |
endchar; |
| 8937 |
|
| 8938 |
iff known chars.arrow_left_right_not_vert: |
| 8939 |
bskchar "Left-right arrow with vertical negation"; |
| 8940 |
beginchar(chars.arrow_left_right_not_vert,18u#,v_center(5u#)); uni "0x21F9"; |
| 8941 |
adjust_fit(0,0); |
| 8942 |
pickup tiny.nib; |
| 8943 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8944 |
lft x0=u; x1=w-x0; y0=y1=math_axis; |
| 8945 |
x2=x3=.5[x0,x1]; .5[y2,y3]=y0; top y3=h; |
| 8946 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 8947 |
y2'l=y2'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 8948 |
y3'l=y3'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 8949 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8950 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---obl(3'r,3r,1r) |
| 8951 |
---sipka(1,0)---obl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r)---cycle; |
| 8952 |
penlabels(2,3); |
| 8953 |
endchar; |
| 8954 |
|
| 8955 |
iff known chars.arrow_left_right_not_vert_double: |
| 8956 |
bskchar "Left-right arrow with double vertical negation"; |
| 8957 |
beginchar(chars.arrow_left_right_not_vert_double,18u#,v_center(5u#)); uni "0x21FC"; |
| 8958 |
adjust_fit(0,0); |
| 8959 |
pickup tiny.nib; |
| 8960 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8961 |
lft x0=u; x1=w-x0; y0=y1=math_axis; |
| 8962 |
x2=x3; .5[x2,x4]=.5[x0,x1]; x4=x5; x4-x2=min(3rule_thickness,3u); |
| 8963 |
.5[y2,y3]=.5[y4,y5]=y0; top y3=top y5=h; |
| 8964 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 8965 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 8966 |
y2'l=y2'r=y4'l=y4'r=y1l; z2'l=whatever[z2l,z3l]; z2'r=whatever[z2r,z3r]; |
| 8967 |
y3'l=y3'r=y5'l=y5'r=y1r; z3'l=whatever[z2l,z3l]; z3'r=whatever[z2r,z3r]; |
| 8968 |
x4'l=x5'l=x4l; x4'r=x5'r=x4r; |
| 8969 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 8970 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 8971 |
filldraw sipka(0,1)---obl(3'l,0a.l,3l)---z3ll..z3r---tobl(3'r,3r,1r) |
| 8972 |
---tobl(5'l,3'r,5l)---z5ll..z5r---obl(5'r,5r,1r) |
| 8973 |
---sipka(1,0)---obl(4'r,1a.l,4r)---z4rr..z4l---tobl(4'l,4l,2'r) |
| 8974 |
---tobl(2'r,1l,2r)---z2rr..z2l---obl(2'l,2l,0a.r)---cycle; |
| 8975 |
penlabels(2,3,4,5); |
| 8976 |
endchar; |
| 8977 |
|
| 8978 |
iff known chars.arrow_left_right_bar: |
| 8979 |
bskchar "Left-right arrow above bar"; |
| 8980 |
beginchar(chars.arrow_left_right_bar,18u#,v_center(5u#+min(3rule_thickness#,3u))); uni "non"; |
| 8981 |
adjust_fit(0,0); |
| 8982 |
pickup tiny.nib; |
| 8983 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8984 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 8985 |
lft x0=lft x2=u; x1=x3=w-x0; y0=y1=math_axis+2rule_thickness; bot y2l=bot y3l=-d; |
| 8986 |
filldraw sipka(0,1)---sipka(1,0)---cycle; |
| 8987 |
filldraw bskrule(2,3,hair,hair); |
| 8988 |
labels(2,3); |
| 8989 |
endchar; |
| 8990 |
|
| 8991 |
iff known chars.arrow_left_right_bar_top: |
| 8992 |
bskchar "Left-right arrow below bar"; |
| 8993 |
beginchar(chars.arrow_left_right_bar_top,18u#,v_center(5u#+min(3rule_thickness#,3u))); uni "non"; |
| 8994 |
adjust_fit(0,0); |
| 8995 |
pickup tiny.nib; |
| 8996 |
pos1(rule_thickness,90); pos0(rule_thickness,90); |
| 8997 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 8998 |
lft x0=lft x2=u; x1=x3=w-x0; y0=y1=math_axis-2rule_thickness; top y2r=top y3r=h; |
| 8999 |
filldraw sipka(0,1)---sipka(1,0)---cycle; |
| 9000 |
filldraw bskrule(2,3,hair,hair); |
| 9001 |
labels(2,3); |
| 9002 |
endchar; |
| 9003 |
|
| 9004 |
iff known chars.arrow_up_down: |
| 9005 |
bskchar "Up-down arrow"; |
| 9006 |
beginchar(chars.arrow_up_down,9u#,asc_height#,0); uni "0x2195"; |
| 9007 |
adjust_fit(0,0); |
| 9008 |
pickup tiny.nib; |
| 9009 |
pos1(rule_thickness,0); pos0(rule_thickness,0); |
| 9010 |
x0=x1l=.5w; top y0=h+apex_o; bot y1=-d-apex_o; |
| 9011 |
filldraw sipka(0,1)---sipka(1,0)---cycle; |
| 9012 |
endchar; |
| 9013 |
|
| 9014 |
iff known chars.arrow_up_down_bar_bot: |
| 9015 |
bskchar "Up-down arrow with bottom bar"; |
| 9016 |
beginchar(chars.arrow_up_down_bar_bot,9u#,asc_height#,0); uni "0x21A8"; |
| 9017 |
adjust_fit(0,0); |
| 9018 |
pickup tiny.nib; |
| 9019 |
path p[]; numeric tim[]; |
| 9020 |
pos1(rule_thickness,0); pos0(rule_thickness,0); |
| 9021 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 9022 |
x0=x1l=.5w; top y0=h+apex_o; bot y1=-d-apex_o; |
| 9023 |
lft x2=u; rt x3=w-u; y2l=y3l=y1; |
| 9024 |
p0=sipka(1,0); |
| 9025 |
p1=reverse bskrule(2,3,rule_thickness,rule_thickness); |
| 9026 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 9027 |
tim4=round(tim0); |
| 9028 |
(tim2-tim4,tim3)=subpath(tim4,infinity) of p0 intersectiontimes p1; |
| 9029 |
oblu:=2oblu; |
| 9030 |
filldraw sipka(0,1)---subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9031 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 9032 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 9033 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 9034 |
penlabels(2,3); |
| 9035 |
endchar; |
| 9036 |
|
| 9037 |
iff known chars.arrow_right_raise: |
| 9038 |
bskchar "Rightward raising arrow"; |
| 9039 |
beginchar(chars.arrow_right_raise,15u#,v_center(5u#)); uni "non"; |
| 9040 |
adjust_fit(0,0); |
| 9041 |
pickup tiny.nib; |
| 9042 |
path arr; |
| 9043 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 9044 |
pos0'(rule_thickness,0); |
| 9045 |
lft x1=u; x2=.5[x1,x3]; x3=w-u-arrsize*cosd(30); |
| 9046 |
bot y1l=bot y2l=0; y3=bar_height; |
| 9047 |
arr:=z1---z2..{dir30}z3; |
| 9048 |
pos3(rule_thickness,angle(direction infinity of arr) + 90); |
| 9049 |
z0'=z0-direction infinity of arr; |
| 9050 |
z0a=z3; |
| 9051 |
filldraw z1r{right}..z2r..{dir30}z3r..sipka(0,0')..z3l{dir210}..z2l..{left}z1l..cycle; |
| 9052 |
penlabels(1,2,3); |
| 9053 |
labels(1rr); |
| 9054 |
endchar; |
| 9055 |
|
| 9056 |
iff known chars.arrow_up_start: |
| 9057 |
bskchar "Upward arrow with starting bar"; |
| 9058 |
beginchar(chars.arrow_up_start,9u#,asc_height#,0); uni "0x21A5"; |
| 9059 |
adjust_fit(0,0); |
| 9060 |
pickup tiny.nib; |
| 9061 |
oblu:=2oblu; |
| 9062 |
pos1(rule_thickness,0); |
| 9063 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 9064 |
x0=x1l=.5w-o; |
| 9065 |
bot y2l=bot y3l=0; lft x2=u; x3=w-x2; |
| 9066 |
top y0=h+apex_o; y1=y3r; |
| 9067 |
filldraw sipka(0,1)---obl(1r,0a.l,3r)---z3r..z3l---z2l..z2r---obl(1l,2r,0a.r)---cycle; |
| 9068 |
penlabels(2,3); |
| 9069 |
endchar; |
| 9070 |
|
| 9071 |
iff known chars.arrow_down_start: |
| 9072 |
bskchar "Downward arrow with starting bar"; |
| 9073 |
beginchar(chars.arrow_down_start,9u#,asc_height#,0); uni "0x21A7"; |
| 9074 |
adjust_fit(0,0); |
| 9075 |
pickup tiny.nib; |
| 9076 |
pos1(rule_thickness,0); |
| 9077 |
pos2(rule_thickness,-90); pos3(rule_thickness,-90); |
| 9078 |
x0=x1r=.5w+o; |
| 9079 |
top y2l=top y3l=h; lft x2=u; x3=w-x2; |
| 9080 |
bot y0=-d-apex_o; y1=y2r; |
| 9081 |
bskpoints(1,0,hair,hair); |
| 9082 |
filldraw sipka(0,1)---obl(1l,0a.l,2r)---z2r..z2l---z3l..z3r---obl(1r,3r,0a.r)---cycle; |
| 9083 |
penlabels(2,3); labels(1rr); |
| 9084 |
endchar; |
| 9085 |
|
| 9086 |
iff known chars.arrow_right_start: |
| 9087 |
bskchar "Rightward arrow with starting bar"; |
| 9088 |
beginchar(chars.arrow_right_start,15u#,v_center(5u#)); uni "0x21A6"; |
| 9089 |
adjust_fit(0,0); |
| 9090 |
pickup tiny.nib; |
| 9091 |
pos1(rule_thickness,90); |
| 9092 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 9093 |
rt x0=w-u; y0=y1r=math_axis; |
| 9094 |
lft x2l=lft x3l=u; y2=y0e; y3=y0b; x1=x3r; |
| 9095 |
filldraw sipka(0,1)---obl(1l,0a.l,3r)---z3r..z3l---z2l..z2r---obl(1r,2r,0a.r)---cycle; |
| 9096 |
penlabels(2,3); labels(1rr); |
| 9097 |
endchar; |
| 9098 |
|
| 9099 |
iff known chars.arrow_right_start_long: |
| 9100 |
bskchar "Long rightward arrow with starting bar"; |
| 9101 |
beginchar(chars.arrow_right_start_long,22u#,v_center(5u#)); uni "0x27FC"; |
| 9102 |
adjust_fit(0,0); |
| 9103 |
pickup tiny.nib; |
| 9104 |
pos1(rule_thickness,90); |
| 9105 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 9106 |
rt x0=w-u; y0=y1r=math_axis; |
| 9107 |
lft x2l=lft x3l=u; y2=y0e; y3=y0b; x1=x3r; |
| 9108 |
filldraw sipka(0,1)---obl(1l,0a.l,3r)---z3r..z3l---z2l..z2r---obl(1r,2r,0a.r)---cycle; |
| 9109 |
penlabels(2,3); labels(1rr); |
| 9110 |
endchar; |
| 9111 |
|
| 9112 |
iff known chars.arrow_right_stop: |
| 9113 |
bskchar "Rightward arrow with stopping bar"; |
| 9114 |
beginchar(chars.arrow_right_stop,15u#,v_center(5u#)); uni "0x21E5"; |
| 9115 |
adjust_fit(0,0); |
| 9116 |
pickup tiny.nib; |
| 9117 |
path p[]; numeric tim[]; |
| 9118 |
pos1(rule_thickness,90); |
| 9119 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 9120 |
rt x0=w-u; x1=w-x0; y0=y1r=math_axis; |
| 9121 |
x2l=x3l=x0; y2=y0e; y3=y0b; |
| 9122 |
bskpoints(1,0,hair,hair); |
| 9123 |
p0=sipka(0,1); |
| 9124 |
p1=reverse bskrule(2,3,rule_thickness,rule_thickness); |
| 9125 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 9126 |
tim4=round(tim0); |
| 9127 |
(tim2-tim4,tim3)=subpath(tim4,infinity) of p0 intersectiontimes p1; |
| 9128 |
oblu:=2oblu; |
| 9129 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9130 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 9131 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 9132 |
..subpath(rundy(p0,tim2),infinity) of p0---z1l..z1rr---cycle; |
| 9133 |
penlabels(2,3); labels(1rr); |
| 9134 |
endchar; |
| 9135 |
|
| 9136 |
iff known chars.arrow_left_start: |
| 9137 |
bskchar "Leftward arrow with starting bar"; |
| 9138 |
beginchar(chars.arrow_left_start,15u#,v_center(5u#)); uni "0x21A4"; |
| 9139 |
adjust_fit(0,0); |
| 9140 |
pickup tiny.nib; |
| 9141 |
pos1(rule_thickness,90); |
| 9142 |
pos2(rule_thickness,180); pos3(rule_thickness,180); |
| 9143 |
lft x0=u; y0=y1l=math_axis; |
| 9144 |
rt x2l=rt x3l=w-u; y2=y0b; y3=y0e; x1=x3r; |
| 9145 |
filldraw sipka(0,1)---obl(1r,0a.l,2r)---z2r..z2l---z3l..z3r---obl(1l,3r,0a.r)---cycle; |
| 9146 |
penlabels(2,3); labels(1rr); |
| 9147 |
endchar; |
| 9148 |
|
| 9149 |
iff known chars.arrow_left_start_long: |
| 9150 |
bskchar "Long leftward arrow with starting bar"; |
| 9151 |
beginchar(chars.arrow_left_start_long,22u#,v_center(5u#)); uni "0x27FB"; |
| 9152 |
adjust_fit(0,0); |
| 9153 |
pickup tiny.nib; |
| 9154 |
pos1(rule_thickness,90); |
| 9155 |
pos2(rule_thickness,180); pos3(rule_thickness,180); |
| 9156 |
lft x0=u; y0=y1l=math_axis; |
| 9157 |
rt x2l=rt x3l=w-u; y2=y0b; y3=y0e; x1=x3r; |
| 9158 |
filldraw sipka(0,1)---obl(1r,0a.l,2r)---z2r..z2l---z3l..z3r---obl(1l,3r,0a.r)---cycle; |
| 9159 |
penlabels(2,3); labels(1rr); |
| 9160 |
endchar; |
| 9161 |
|
| 9162 |
iff known chars.arrow_left_stop: |
| 9163 |
bskchar "Leftward arrow with stopping bar"; |
| 9164 |
beginchar(chars.arrow_left_stop,15u#,v_center(5u#)); uni "0x21E4"; |
| 9165 |
adjust_fit(0,0); |
| 9166 |
pickup tiny.nib; |
| 9167 |
path p[]; numeric tim[]; |
| 9168 |
pos1(rule_thickness,90); |
| 9169 |
pos2(rule_thickness,0); pos3(rule_thickness,0); |
| 9170 |
lft x0=u; x1=w-x0; y0=y1l=math_axis; |
| 9171 |
x2l=x3l=x0; y2=y0b; y3=y0e; |
| 9172 |
bskpoints(1,0,hair,hair); |
| 9173 |
p0=sipka(0,1); |
| 9174 |
p1=reverse bskrule(2,3,rule_thickness,rule_thickness); |
| 9175 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 9176 |
tim4=round(tim0); |
| 9177 |
(tim2-tim4,tim3)=subpath(tim4,infinity) of p0 intersectiontimes p1; |
| 9178 |
oblu:=2oblu; |
| 9179 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9180 |
..subpath(rundy(p1,tim1),length p1) of p1 |
| 9181 |
..subpath(0,rundy(p1,tim3).zpet) of p1 |
| 9182 |
..subpath(rundy(p0,tim2),infinity) of p0---z1rr..z1l---cycle; |
| 9183 |
penlabels(2,3); labels(1rr); |
| 9184 |
endchar; |
| 9185 |
|
| 9186 |
iff known chars.math_accent_arrow: |
| 9187 |
bskchar "Arrow (vector) math accent"; |
| 9188 |
beginchar(chars.math_accent_arrow,9u#,asc_height#,0); uni "non"; |
| 9189 |
adjust_fit(0,0); |
| 9190 |
pickup tiny.nib; |
| 9191 |
{{ save arrwidth, arrsize; |
| 9192 |
arrsize:=3hair; 1.2arrwidth=arrsize; |
| 9193 |
pos1(.25[hair,stem],90); |
| 9194 |
y0=y1=h-.5arrwidth; |
| 9195 |
x0=w-u; lft x1=u; |
| 9196 |
filldraw sipka(0,1)---z1l..z1r---cycle; |
| 9197 |
}}; |
| 9198 |
penlabels(1); |
| 9199 |
endchar; |
| 9200 |
|
| 9201 |
iff known chars.arrow_NE: |
| 9202 |
bskchar "Northeast arrow"; |
| 9203 |
beginchar(chars.arrow_NE,20u#,asc_height#,asc_depth#); uni "0x2197"; |
| 9204 |
adjust_fit(0,0); |
| 9205 |
pickup tiny.nib; |
| 9206 |
rt x0=w-u; lft x1l=u+.5(rule_thickness-.5currentbreadth); |
| 9207 |
top y0=h; bot y1l=-d; |
| 9208 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9209 |
bskpoints(1,0,hair,hair); |
| 9210 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9211 |
labels(1rr); |
| 9212 |
endchar; |
| 9213 |
|
| 9214 |
iff known chars.arrow_double_NE: |
| 9215 |
bskchar "Double northeast arrow"; |
| 9216 |
beginchar(chars.arrow_double_NE,20u#,asc_height#,asc_depth#); uni "0x21D7"; |
| 9217 |
adjust_fit(0,0); |
| 9218 |
pickup tiny.nib; |
| 9219 |
rt x0=w-u; lft x1l=u+.5(rule_thickness-.5currentbreadth); |
| 9220 |
top y0=h; bot y1l=-d; |
| 9221 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9222 |
z2-z3=(0,-dbf) rotated angle(z0-z1); bot y2=-d; lft x3=u; |
| 9223 |
bskpoints(1,0,hair,hair); |
| 9224 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 9225 |
labels(1rr); |
| 9226 |
endchar; |
| 9227 |
|
| 9228 |
iff known chars.arrow_NNE: |
| 9229 |
bskchar "Northnortheast arrow"; |
| 9230 |
beginchar(chars.arrow_NNE,11u#,asc_height#,asc_depth#); uni "non"; |
| 9231 |
adjust_fit(0,0); |
| 9232 |
pickup tiny.nib; |
| 9233 |
rt x0=w-2u; lft x1l=u+.5(rule_thickness-.5currentbreadth); |
| 9234 |
top y0=h; bot y1l=-d; |
| 9235 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9236 |
bskpoints(1,0,hair,hair); |
| 9237 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9238 |
labels(1rr); |
| 9239 |
endchar; |
| 9240 |
|
| 9241 |
iff known chars.arrow_SE: |
| 9242 |
bskchar "Southeast arrow"; |
| 9243 |
beginchar(chars.arrow_SE,20u#,asc_height#,asc_depth#); uni "0x2198"; |
| 9244 |
adjust_fit(0,0); |
| 9245 |
pickup tiny.nib; |
| 9246 |
rt x0=w-u; lft x1r=u+.5(rule_thickness-.5currentbreadth); |
| 9247 |
bot y0=-d; top y1r=h; |
| 9248 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9249 |
bskpoints(1,0,hair,hair); |
| 9250 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9251 |
labels(1rr); |
| 9252 |
endchar; |
| 9253 |
|
| 9254 |
iff known chars.arrow_SE_corner: |
| 9255 |
bskchar "Southeast arrow to corner"; |
| 9256 |
beginchar(chars.arrow_SE_corner,21u#+hair#,asc_height#,asc_depth#+u#); uni "0x21F2"; |
| 9257 |
adjust_fit(0,0); |
| 9258 |
pickup tiny.nib; |
| 9259 |
rt x0=w-2u; lft x1r=u+.5(rule_thickness-.5currentbreadth); |
| 9260 |
bot y0=-d+u; top y1r=h; |
| 9261 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9262 |
pos2(hair,-90); pos3(hair,-90); pos4(hair,180); |
| 9263 |
lft x4r=rt x0+tiny; top y4=h; bot y2r=bot y3r=-d; x3=x4l; lft x2=u; x3l:=x4r; |
| 9264 |
bskpoints(1,0,hair,hair); bskpoints(4,3,hair,hair); |
| 9265 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9266 |
filldraw z2r---obl(3r,2r,4l)---z4l..z4rr---obl(3l,4r,2l)---z2l..cycle; |
| 9267 |
penlabels(2,3,4); labels(1rr,4rr); |
| 9268 |
endchar; |
| 9269 |
|
| 9270 |
iff known chars.arrow_double_SE: |
| 9271 |
bskchar "Double southeast arrow"; |
| 9272 |
beginchar(chars.arrow_double_SE,20u#,asc_height#,asc_depth#); uni "0x21D8"; |
| 9273 |
adjust_fit(0,0); |
| 9274 |
pickup tiny.nib; |
| 9275 |
rt x0=w-u; lft x1r=u+.5(rule_thickness-.5currentbreadth); |
| 9276 |
bot y0=-d; top y1r=h; |
| 9277 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9278 |
z2-z3=(0,-dbf) rotated angle(z0-z1); top y3=h; lft x2=u; |
| 9279 |
bskpoints(1,0,hair,hair); |
| 9280 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 9281 |
labels(1rr); |
| 9282 |
endchar; |
| 9283 |
|
| 9284 |
iff known chars.arrow_SSE: |
| 9285 |
bskchar "Southsoutheast arrow"; |
| 9286 |
beginchar(chars.arrow_SSE,11u#,asc_height#,asc_depth#); uni "non"; |
| 9287 |
adjust_fit(0,0); |
| 9288 |
pickup tiny.nib; |
| 9289 |
rt x0=w-2u; lft x1r=u+.5(rule_thickness-.5currentbreadth); |
| 9290 |
bot y0=-d; top y1r=h; |
| 9291 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9292 |
bskpoints(1,0,hair,hair); |
| 9293 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9294 |
labels(1rr); |
| 9295 |
endchar; |
| 9296 |
|
| 9297 |
iff known chars.arrow_NW: |
| 9298 |
bskchar "Northwest arrow"; |
| 9299 |
beginchar(chars.arrow_NW,20u#,asc_height#,asc_depth#); uni "0x2196"; |
| 9300 |
adjust_fit(0,0); |
| 9301 |
pickup tiny.nib; |
| 9302 |
lft x0=u; rt x1l=w-u; |
| 9303 |
top y0=h; bot y1l=-d+.5(rule_thickness-.5currentbreadth); |
| 9304 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9305 |
bskpoints(1,0,hair,hair); |
| 9306 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9307 |
labels(1rr); |
| 9308 |
endchar; |
| 9309 |
|
| 9310 |
iff known chars.arrow_NW_corner: |
| 9311 |
bskchar "Northwest arrow to corner"; |
| 9312 |
beginchar(chars.arrow_NW_corner,21u#+hair#,asc_height#+u#,asc_depth#); uni "0x21F1"; |
| 9313 |
adjust_fit(0,0); |
| 9314 |
pickup tiny.nib; |
| 9315 |
lft x0=2u; rt x1l=w-u; |
| 9316 |
top y0=h-u; bot y1l=-d+.5(rule_thickness-.5currentbreadth); |
| 9317 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9318 |
pos2(hair,90); pos3(hair,90); pos4(hair,0); |
| 9319 |
rt x4r=lft x0-tiny; bot y4=-d; top y2r=top y3r=h; x3=x4l; rt x2=w-u; x3l:=x4r; |
| 9320 |
bskpoints(1,0,hair,hair); bskpoints(4,3,hair,hair); |
| 9321 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9322 |
filldraw z2r---obl(3r,2r,4l)---z4l..z4rr---obl(3l,4r,2l)---z2l..cycle; |
| 9323 |
penlabels(2,3,4); labels(1rr,4rr); |
| 9324 |
endchar; |
| 9325 |
|
| 9326 |
iff known chars.arrow_NW_line_top: |
| 9327 |
bskchar "Northwest arrow to top line"; |
| 9328 |
beginchar(chars.arrow_NW_line_top,21u#+hair#,asc_height#+u#,asc_depth#); uni "0x21B8"; |
| 9329 |
adjust_fit(0,0); |
| 9330 |
pickup tiny.nib; |
| 9331 |
lft x0=2u; rt x1l=w-u; |
| 9332 |
top y0=h-u; bot y1l=-d+.5(rule_thickness-.5currentbreadth); |
| 9333 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9334 |
pos2(hair,90); pos3(hair,90); |
| 9335 |
top y2r=top y3r=h; lft x3=u; rt x2=w-u; |
| 9336 |
bskpoints(1,0,hair,hair); |
| 9337 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9338 |
filldraw bskrule(2,3,hair,hair)..cycle; |
| 9339 |
penlabels(2,3,4); labels(1rr,2rr,3ll); |
| 9340 |
endchar; |
| 9341 |
|
| 9342 |
iff known chars.arrow_double_NW: |
| 9343 |
bskchar "Double northwest arrow"; |
| 9344 |
beginchar(chars.arrow_double_NW,20u#,asc_height#,asc_depth#); uni "0x21D6"; |
| 9345 |
adjust_fit(0,0); |
| 9346 |
pickup tiny.nib; |
| 9347 |
lft x0=u; rt x1l=w-u; |
| 9348 |
top y0=h; bot y1l=-d+.5(rule_thickness-.5currentbreadth); |
| 9349 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9350 |
z2-z3=(0,-dbf) rotated angle(z0-z1); bot y3=-d; rt x2=w-u; |
| 9351 |
bskpoints(1,0,hair,hair); |
| 9352 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 9353 |
penlabels(2,3); labels(1rr); |
| 9354 |
endchar; |
| 9355 |
|
| 9356 |
iff known chars.arrow_NNW: |
| 9357 |
bskchar "Northnorthwest arrow"; |
| 9358 |
beginchar(chars.arrow_NNW,11u#,asc_height#,asc_depth#); uni "non"; |
| 9359 |
adjust_fit(0,0); |
| 9360 |
pickup tiny.nib; |
| 9361 |
lft x0=2u; rt x1l=w-u; |
| 9362 |
top y0=h; bot y1l=-d+.5(rule_thickness-.5currentbreadth); |
| 9363 |
pos1(rule_thickness,angle(z0-z1l)+90); |
| 9364 |
bskpoints(1,0,hair,hair); |
| 9365 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9366 |
labels(1rr); |
| 9367 |
endchar; |
| 9368 |
|
| 9369 |
iff known chars.arrow_SW: |
| 9370 |
bskchar "Southwest arrow"; |
| 9371 |
beginchar(chars.arrow_SW,20u#,asc_height#,asc_depth#); uni "0x2199"; |
| 9372 |
adjust_fit(0,0); |
| 9373 |
pickup tiny.nib; |
| 9374 |
lft x0=u; rt x1r=w-u; |
| 9375 |
bot y0=-d; top y1r=h-.5(rule_thickness-.5currentbreadth); |
| 9376 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9377 |
bskpoints(1,0,hair,hair); |
| 9378 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9379 |
labels(1rr); |
| 9380 |
endchar; |
| 9381 |
|
| 9382 |
iff known chars.arrow_double_SW: |
| 9383 |
bskchar "Double southwest arrow"; |
| 9384 |
beginchar(chars.arrow_double_SW,20u#,asc_height#,asc_depth#); uni "0x21D9"; |
| 9385 |
adjust_fit(0,0); |
| 9386 |
pickup tiny.nib; |
| 9387 |
lft x0=u; rt x1r=w-u; |
| 9388 |
bot y0=-d; top y1r=h-.5(rule_thickness-.5currentbreadth); |
| 9389 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9390 |
z2-z3=(0,-dbf) rotated angle(z0-z1); top y2=h; rt x3=w-u; |
| 9391 |
bskpoints(1,0,hair,hair); |
| 9392 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 9393 |
labels(1rr); |
| 9394 |
endchar; |
| 9395 |
|
| 9396 |
iff known chars.arrow_SSW: |
| 9397 |
bskchar "Southsouthwest arrow"; |
| 9398 |
beginchar(chars.arrow_SSW,11u#,asc_height#,asc_depth#); uni "non"; |
| 9399 |
adjust_fit(0,0); |
| 9400 |
pickup tiny.nib; |
| 9401 |
lft x0=2u; rt x1r=w-u; |
| 9402 |
bot y0=-d; top y1r=h-.5(rule_thickness-.5currentbreadth); |
| 9403 |
pos1(rule_thickness,angle(z0-z1r)+90); |
| 9404 |
bskpoints(1,0,hair,hair); |
| 9405 |
filldraw sipka(0,1)---z1l..z1rr---cycle; |
| 9406 |
labels(1rr); |
| 9407 |
endchar; |
| 9408 |
|
| 9409 |
iff known chars.arrow_clockwise: |
| 9410 |
bskchar "Clockwise arrow"; |
| 9411 |
beginchar(chars.arrow_clockwise,16u#,asc_height#,desc_depth#); uni "0x21BB"; |
| 9412 |
adjust_fit(0,0); |
| 9413 |
pickup tiny.nib; |
| 9414 |
path p[]; numeric tim[], theta; |
| 9415 |
x2=w-x6; y2=y0=.5[h,-d]; x0=x8; y8=h-arrwidth; y8-y4=x2-x6; |
| 9416 |
circle_points(rule_thickness); |
| 9417 |
p0:=draw_circle; |
| 9418 |
p1:=draw_circle.l; |
| 9419 |
p2:=draw_circle.r; |
| 9420 |
theta=angle(direction 7.5 of p0); |
| 9421 |
pos10(rule_thickness,theta+90); |
| 9422 |
z9+arrsize*dir(theta+180)+(rule_thickness-currentbreadth)*dir(theta+90)=point 7.5 of p0; |
| 9423 |
z9=z10l+2u*dir(theta); |
| 9424 |
filldraw subpath(1,7) of p1..sipka(9,10).. subpath(7,1) of p2..cycle; |
| 9425 |
endchar; |
| 9426 |
|
| 9427 |
iff known chars.arrow_counterclockwise: |
| 9428 |
bskchar "Counterclockwise arrow"; |
| 9429 |
beginchar(chars.arrow_counterclockwise,16u#,asc_height#,desc_depth#); uni "0x21BA"; |
| 9430 |
adjust_fit(0,0); |
| 9431 |
pickup tiny.nib; |
| 9432 |
path p[]; numeric tim[], theta; |
| 9433 |
x2=w-x6; y2=y0=.5[h,-d]; x0=x8; y8=h-arrwidth; y8-y4=x2-x6; |
| 9434 |
circle_points(rule_thickness); |
| 9435 |
p0:=draw_circle; |
| 9436 |
p1:=draw_circle.l; |
| 9437 |
p2:=draw_circle.r; |
| 9438 |
theta=angle(direction .5 of p0)+180; |
| 9439 |
pos10(rule_thickness,theta+90); |
| 9440 |
z9+arrsize*dir(theta+180)+(rule_thickness-currentbreadth)*dir(theta+90)=point .5 of p0; |
| 9441 |
z9=z10l+2u*dir(theta); |
| 9442 |
filldraw sipka(9,10)..subpath(1,7) of p1..subpath(7,1) of p2..cycle; |
| 9443 |
endchar; |
| 9444 |
|
| 9445 |
iff known chars.math_accent_tie: |
| 9446 |
bskchar "Tie math accent"; |
| 9447 |
beginchar(chars.math_accent_tie,6u#,asc_height#,0); uni "non"; |
| 9448 |
adjust_fit(0,0); |
| 9449 |
pickup tiny.nib; |
| 9450 |
x0=.5w; x2=w+5u+2letter_fit; |
| 9451 |
tieacc(0,1,2); |
| 9452 |
endchar; |
| 9453 |
|
| 9454 |
iff known chars.math_ell: |
| 9455 |
bskchar "Ell (lowercase script-like letter l)"; |
| 9456 |
beginchar(chars.math_ell,8u#,asc_height#,0); uni "0x2113"; |
| 9457 |
adjust_fit(0,0); |
| 9458 |
italcorr .75asc_height#*slant; |
| 9459 |
pickup tiny.nib; |
| 9460 |
numeric tim[]; |
| 9461 |
path p[]; |
| 9462 |
pos1(stem,180); pos2(hair,90); pos3(.45[hair,stem],0); pos4(hair,270); pos0(vair,-60); |
| 9463 |
pos1'(stem,180); |
| 9464 |
lft x1'r=1.5u; y1=3hair; top y2r=h+o; x2=.5w-hair; y0l=y1-2hair; x0=w-u; |
| 9465 |
rt x3r=w-1.5u; y3=.7h; lft x4l=1.5u; |
| 9466 |
x1=.5[x2,x3]; y1'=y3+hair; |
| 9467 |
bot y4r=0; z4'=(x4-like_hair,y4); |
| 9468 |
p0=z4l..{up}z3l..z2l{left}..z1'l..z1l..{dir60}z0l; |
| 9469 |
p1=z0l{dir60}..{dir-120}z0r..z1r..z1'r..{right}z2r..z3r{down}..{dir-140}z4r..z4'..{right}z4l; |
| 9470 |
p2=subpath(2,infinity) of p0; |
| 9471 |
p3=subpath (0,3) of reverse p1; |
| 9472 |
p4=reverse p0; |
| 9473 |
p5=reverse subpath(2,6) of p1; |
| 9474 |
(tim1,tim2)=p0 intersectiontimes p2; |
| 9475 |
(tim3,tim4)=p3 intersectiontimes subpath (0,3) of p1; |
| 9476 |
(tim5,tim6-4)=p4 intersectiontimes subpath (4,infinity) of p1; |
| 9477 |
(tim7,tim8)=p0 intersectiontimes subpath(0,3) of p1; |
| 9478 |
filldraw subpath(0,rundy(p3,(tim3,curve)).zpet) of p3 |
| 9479 |
..reverse subpath (0,rundy(p1,(tim4,curve)).zpet) of p1 |
| 9480 |
..subpath (0,rundy(p4,tim5).zpet) of p4 |
| 9481 |
..reverse subpath (rundy(p1,tim8),rundy(reverse p1,tim6).zpet) of p1 |
| 9482 |
..reverse subpath (0,rundy(p0,tim7).zpet) of p0&cycle; |
| 9483 |
oblu:=curve; |
| 9484 |
infill subpath (rundy(p0,tim1),2) of p0& subpath(0,rundy(p2,tim2).zpet) of p2 ..cycle; |
| 9485 |
penlabels(0,1,1',2,3,4); labels(4'); |
| 9486 |
math_fit(0,u#); |
| 9487 |
endchar; |
| 9488 |
|
| 9489 |
iff known chars.math_weierstrass_p: |
| 9490 |
bskchar "Weierstrass p"; |
| 9491 |
beginchar(chars.math_weierstrass_p,12u#,x_height#,desc_depth#); uni "0x2118"; |
| 9492 |
italcorr .5x_height#*slant; |
| 9493 |
adjust_fit(0,0); |
| 9494 |
pickup tiny.nib; |
| 9495 |
path p[]; numeric tim[]; |
| 9496 |
oblu:=2oblu; |
| 9497 |
pos0(.45[hair,stem],-40); pos1(hair,-10); pos2(hair,0); pos3(hair,270); pos4(curve,180); |
| 9498 |
pos5(hair,90); pos5'(vair,300); pos6(stem,0); pos7(hair,90); |
| 9499 |
rt x4l=w-u; y4=.5h; top y3l=h+o; bot y1r=-d+.25x_height; lft x1l=2u; |
| 9500 |
x0l=u; bot y0r=-d; |
| 9501 |
x3=.5[x2,x4]; y2=y4; z2=z1+whatever*dir80; |
| 9502 |
bot y5l=0; x5=x3; |
| 9503 |
z5'=(.5[x5,x8],.5[y5,y4]); |
| 9504 |
x6l=u+stem; z6=z2l+whatever*dir(200); |
| 9505 |
x7=u; y7r=h-o; |
| 9506 |
pos8(stem,angle(z7r-z2r)-90); |
| 9507 |
z8=z2l; |
| 9508 |
p0:=z5l{right}..z4l..z3l..z2l..{down}z1l..z0l; |
| 9509 |
p1:=z5'{up}..z8r..{left}z7r; |
| 9510 |
z10=bsktouch(p0,left,p1,right); |
| 9511 |
tim0=xpart(p0 intersectiontimes (z10--(x3,y10))); |
| 9512 |
tim1=xpart(p1 intersectiontimes (z10--(0,y10))); |
| 9513 |
filldraw z0r..z1r{up}..z2r..z3r..z4r..{left}z5r..{dir60}z5'r..{dir-120}z5'l |
| 9514 |
..subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p1,tim1),infinity) of p1 |
| 9515 |
--z7l{right}..z6l |
| 9516 |
..{down}z1l..{direction infinity of p0}z0l..{(direction infinity of p0) rotated 180}cycle; |
| 9517 |
penlabels(0,1,2,3,4,5,5',6,7,8); labels(9,10); |
| 9518 |
math_fit(0,ic#); |
| 9519 |
endchar; |
| 9520 |
|
| 9521 |
iff known chars.math_logor: |
| 9522 |
bskchar "Logical or sign"; |
| 9523 |
beginchar(chars.math_logor,12u#,.8asc_height#,0); uni "0x2228"; |
| 9524 |
italcorr .8asc_height#*slant-.25u#; |
| 9525 |
adjust_fit(0,0); |
| 9526 |
pickup tiny.nib; |
| 9527 |
oblu:=2oblu; |
| 9528 |
x0=.5w; bot y0=-d-apex_o; |
| 9529 |
logor(0,1,2); |
| 9530 |
endchar; |
| 9531 |
|
| 9532 |
iff known chars.math_logor_dot: |
| 9533 |
bskchar "Logical or sign with dot"; |
| 9534 |
beginchar(chars.math_logor_dot,12u#,asc_height#,0); uni "0x2A52"; |
| 9535 |
italcorr .8asc_height#*slant-.25u#; |
| 9536 |
adjust_fit(0,0); |
| 9537 |
pickup tiny.nib; |
| 9538 |
oblu:=2oblu; |
| 9539 |
x0=x3=.5w; bot y0=-d-apex_o; y1l=.8h; y3=h; |
| 9540 |
logor(0,1,2); |
| 9541 |
dot(3); |
| 9542 |
endchar; |
| 9543 |
|
| 9544 |
iff known chars.math_logor_dot_inside: |
| 9545 |
bskchar "Logical or sign with dot inside"; |
| 9546 |
beginchar(chars.math_logor_dot_inside,12u#,.8asc_height#,0); uni "0x27C7"; |
| 9547 |
italcorr .8asc_height#*slant-.25u#; |
| 9548 |
adjust_fit(0,0); |
| 9549 |
pickup tiny.nib; |
| 9550 |
oblu:=2oblu; |
| 9551 |
x0=x3=.5w; bot y0=-d-apex_o; y3=h-dot_size; |
| 9552 |
logor(0,1,2); |
| 9553 |
dot(3); |
| 9554 |
endchar; |
| 9555 |
|
| 9556 |
iff known chars.math_logor_intersect: |
| 9557 |
bskchar "Two intersecting logical ors"; |
| 9558 |
beginchar(chars.math_logor_intersect,16u#,.8asc_height#,0); uni "0x2A56"; |
| 9559 |
italcorr .8asc_height#*slant-u#; |
| 9560 |
adjust_fit(0,0); |
| 9561 |
pickup tiny.nib; |
| 9562 |
path p[]; numeric tim[]; |
| 9563 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 9564 |
x0=.5w-2u; x3=.5w+2u; bot y0=bot y3=-d-apex_o; lft x4l=5u; |
| 9565 |
logor(0,1,2).nodraw; |
| 9566 |
p0:=_logor; p2:=z2l--z0l; |
| 9567 |
logor(3,4,5).nodraw; |
| 9568 |
p1:=_logor; |
| 9569 |
(tim0,tim1)=p0 intersectiontimes subpath(0,2) of p1; |
| 9570 |
(tim2,tim3-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 9571 |
(tim4,tim5-2)=p2 intersectiontimes subpath(2,infinity) of p1; |
| 9572 |
(tim6,tim7)=p2 intersectiontimes subpath(0,2) of p1; |
| 9573 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9574 |
..subpath(rundy(p1,tim1),rundy(p1,(tim3,oblu.more)).zpet) of p1 |
| 9575 |
..subpath(rundy(p0,(tim2,oblu.more)),infinity) of p0 |
| 9576 |
..subpath(0,rundy(p2,tim4).zpet) of p2 |
| 9577 |
..subpath(rundy(p1,tim5),infinity) of p1---z3l |
| 9578 |
..subpath(0,rundy(p1,(tim7,oblu.more)).zpet) of p1 |
| 9579 |
..subpath(rundy(p2,(tim6,oblu.more)),infinity) of p2..cycle; |
| 9580 |
endchar; |
| 9581 |
|
| 9582 |
iff known chars.math_logor_intersect_nary: |
| 9583 |
bskchar "N-ary two intersecting logical ors"; |
| 9584 |
beginchar(chars.math_logor_intersect_nary,20u#,v_center(10/6dh#)); uni "0x2A08"; |
| 9585 |
adjust_fit(0,0); |
| 9586 |
pickup tiny.nib; |
| 9587 |
path p[]; numeric tim[]; |
| 9588 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 9589 |
{{ save rule_thickness; rule_thickness:=stem; |
| 9590 |
x0=.5w-2u; x3=.5w+2u; bot y0=bot y3=-d-apex_o; lft x4l=5u; |
| 9591 |
logor(0,1,2).nodraw; |
| 9592 |
p0:=_logor; p2:=z2l--z0l; |
| 9593 |
logor(3,4,5).nodraw; |
| 9594 |
p1:=_logor; |
| 9595 |
}}; |
| 9596 |
(tim0,tim1)=p0 intersectiontimes subpath(0,2) of p1; |
| 9597 |
(tim2,tim3-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 9598 |
(tim4,tim5-2)=p2 intersectiontimes subpath(2,infinity) of p1; |
| 9599 |
(tim6,tim7)=p2 intersectiontimes subpath(0,2) of p1; |
| 9600 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9601 |
..subpath(rundy(p1,tim1),rundy(p1,(tim3,oblu.more)).zpet) of p1 |
| 9602 |
..subpath(rundy(p0,(tim2,oblu.more)),infinity) of p0 |
| 9603 |
..subpath(0,rundy(p2,tim4).zpet) of p2 |
| 9604 |
..subpath(rundy(p1,tim5),infinity) of p1---z3l |
| 9605 |
..subpath(0,rundy(p1,(tim7,oblu.more)).zpet) of p1 |
| 9606 |
..subpath(rundy(p2,(tim6,oblu.more)),infinity) of p2..cycle; |
| 9607 |
endchar; |
| 9608 |
|
| 9609 |
iff known chars.math_logxor: |
| 9610 |
bskchar "Logical xor sign"; |
| 9611 |
beginchar(chars.math_logxor,12u#,asc_height#,0); uni "0x22BB"; |
| 9612 |
italcorr .8asc_height#*slant-.25u#; |
| 9613 |
adjust_fit(0,0); |
| 9614 |
pickup tiny.nib; |
| 9615 |
oblu:=2oblu; |
| 9616 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9617 |
x0=.5w; bot y0=.2asc_height-apex_o; |
| 9618 |
lft x3=u; x4=w-x3; bot y3l=bot y4l=-d; |
| 9619 |
logor(0,1,2); |
| 9620 |
filldraw bskrule(3,4,hair,0); |
| 9621 |
penlabels(3,4); |
| 9622 |
endchar; |
| 9623 |
|
| 9624 |
iff known chars.math_vee_small_underbar: |
| 9625 |
bskchar "Small vee sign with underbar"; |
| 9626 |
beginchar(chars.math_vee_small_underbar,12u#,x_height#,0); uni "0x2A61"; |
| 9627 |
italcorr x_height#*slant-.25u#; |
| 9628 |
adjust_fit(0,0); |
| 9629 |
pickup tiny.nib; |
| 9630 |
oblu:=2oblu; |
| 9631 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9632 |
x0=.5w; bot y0=.2asc_height-apex_o; x1l=3u; |
| 9633 |
lft x3=u; x4=w-x3; bot y3l=bot y4l=-d; |
| 9634 |
logor(0,1,2); |
| 9635 |
filldraw bskrule(3,4,hair,0); |
| 9636 |
penlabels(3,4); |
| 9637 |
endchar; |
| 9638 |
|
| 9639 |
iff known chars.math_lognor: |
| 9640 |
bskchar "Logical nor sign"; |
| 9641 |
beginchar(chars.math_lognor,12u#,asc_height#,0); uni "0x22BD"; |
| 9642 |
italcorr .8asc_height#*slant-.25u#; |
| 9643 |
adjust_fit(0,0); |
| 9644 |
pickup tiny.nib; |
| 9645 |
oblu:=2oblu; |
| 9646 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9647 |
x0=.5w; bot y0=-apex_o; y1l=.8asc_height; |
| 9648 |
lft x3=u; x4=w-x3; top y3r=top y4r=h; |
| 9649 |
logor(0,1,2); |
| 9650 |
filldraw bskrule(3,4,hair,0); |
| 9651 |
penlabels(3,4); |
| 9652 |
endchar; |
| 9653 |
|
| 9654 |
iff known chars.math_logor_doublebar: |
| 9655 |
bskchar "Logical or sign with double bar above"; |
| 9656 |
beginchar(chars.math_logor_doublebar,12u#,asc_height#+.3x_height#,0); uni "0x2A62"; |
| 9657 |
italcorr .8asc_height#*slant-.25u#; |
| 9658 |
adjust_fit(0,0); |
| 9659 |
pickup tiny.nib; |
| 9660 |
oblu:=2oblu; |
| 9661 |
x0=.5w; bot y0=-d-apex_o; y1l=.8asc_height; |
| 9662 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9663 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 9664 |
top y5r=top y6r=h; lft x3=lft x5=u; x4=x6=w-x3; |
| 9665 |
y3=y4; y5-y3=.3x_height; |
| 9666 |
logor(0,1,2); |
| 9667 |
filldraw bskrule(3,4,hair,0); |
| 9668 |
filldraw bskrule(6,5,hair,0); |
| 9669 |
endchar; |
| 9670 |
|
| 9671 |
iff known chars.math_logor_double_underbar: |
| 9672 |
bskchar "Logical or sign with double underbar"; |
| 9673 |
beginchar(chars.math_logor_double_underbar,12u#,asc_height#+.3x_height#,0); uni "0x2A63"; |
| 9674 |
italcorr .8asc_height#*slant-.25u#; |
| 9675 |
adjust_fit(0,0); |
| 9676 |
pickup tiny.nib; |
| 9677 |
oblu:=2oblu; |
| 9678 |
x0=.5w; bot y0=.2asc_height+.3x_height-apex_o; y1l=h; |
| 9679 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9680 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 9681 |
bot y5l=bot y6l=0; lft x3=lft x5=u; x4=x6=w-x3; |
| 9682 |
y3=y4; y3-y5=.3x_height; |
| 9683 |
logor(0,1,2); |
| 9684 |
filldraw bskrule(3,4,hair,0); |
| 9685 |
filldraw bskrule(6,5,hair,0); |
| 9686 |
endchar; |
| 9687 |
|
| 9688 |
iff known chars.math_vee_in_vee: |
| 9689 |
bskchar "Vee in vee sign"; |
| 9690 |
beginchar(chars.math_vee_in_vee,12u#,.8asc_height#,0); uni "0x2A54"; |
| 9691 |
italcorr .8asc_height#*slant-.25u#; |
| 9692 |
adjust_fit(0,0); |
| 9693 |
pickup tiny.nib; |
| 9694 |
oblu:=2oblu; |
| 9695 |
x0=x3=.5w; bot y0=-d-apex_o; |
| 9696 |
y3-y0=max(5u,2rule_thickness); |
| 9697 |
logor(0,1,2); |
| 9698 |
z4l=z3l+whatever*(z1r-z0'''); |
| 9699 |
logor(3,4,5); |
| 9700 |
endchar; |
| 9701 |
|
| 9702 |
iff known chars.math_lattice_sup_uni: |
| 9703 |
bskchar "Lattice supremum sign (for Unicode)"; |
| 9704 |
beginchar(chars.math_lattice_sup_uni,14u#,v_center(10/6dh#)); uni "0x22C1"; |
| 9705 |
adjust_fit(0,0); |
| 9706 |
pickup tiny.nib; |
| 9707 |
oblu:=2oblu; |
| 9708 |
x0=.5w; bot y0=-d-apex_o; |
| 9709 |
{{ save rule_thickness; rule_thickness:=stem; logor(0,1,2); }}; |
| 9710 |
endchar; |
| 9711 |
|
| 9712 |
iff known chars.math_lattice_sup_text: |
| 9713 |
bskchar "\textstyle lattice supremum sign"; |
| 9714 |
beginchar(chars.math_lattice_sup_text,14u#,0,10/6dh#); uni "non"; |
| 9715 |
adjust_fit(0,0); |
| 9716 |
pickup tiny.nib; |
| 9717 |
oblu:=2oblu; |
| 9718 |
x0=.5w; bot y0=-d-apex_o; |
| 9719 |
{{ save rule_thickness; rule_thickness:=stem; logor(0,1,2); }}; |
| 9720 |
endchar; |
| 9721 |
|
| 9722 |
iff known chars.math_lattice_sup_disp: |
| 9723 |
bskchar "\displaystyle lattice supremum sign"; |
| 9724 |
beginchar(chars.math_lattice_sup_disp,18u#,0,14/6dh#); uni "non"; |
| 9725 |
adjust_fit(0,0); |
| 9726 |
pickup tiny.nib; |
| 9727 |
oblu:=2oblu; |
| 9728 |
x0=.5w; bot y0=-d-apex_o; |
| 9729 |
{{ save rule_thickness; rule_thickness:=bourstem; logor(0,1,2); }}; |
| 9730 |
endchar; |
| 9731 |
|
| 9732 |
iff known chars.math_logor_sloping: |
| 9733 |
bskchar "Sloping logical or sign"; |
| 9734 |
beginchar(chars.math_logor_sloping,12u#,.8asc_height#,0); uni "0x2A57"; |
| 9735 |
italcorr h#*slant; |
| 9736 |
adjust_fit(0,0); |
| 9737 |
pickup tiny.nib; |
| 9738 |
numeric theta; |
| 9739 |
oblu:=2oblu; |
| 9740 |
pos0(rule_thickness,0); pos1(rule_thickness,0); |
| 9741 |
lft x0l=lft x1l=u; bot y0=0; y2r+.25rule_thickness=y1=h; rt x2r=w-u; |
| 9742 |
theta:=angle(z2r-z0l); |
| 9743 |
pos2(rule_thickness,theta-90); |
| 9744 |
bskpoints(0,1,hair,hair); |
| 9745 |
z0'=z0r+(rule_thickness-currentbreadth)*dir(theta+22); |
| 9746 |
y0''=y0; z0''=z2l+whatever*(z2r-z0'); |
| 9747 |
x0'''=x1r; z0'''=whatever[z2l,z0'']; |
| 9748 |
filldraw z1ll---z0l..z0r..z0'---z2r..z2l---obl(0''',2l,1r)---z1r..cycle; |
| 9749 |
penlabels(0,1,2); labels(0',0'',0'''); |
| 9750 |
endchar; |
| 9751 |
|
| 9752 |
iff known chars.math_logor_mid: |
| 9753 |
bskchar "Logical or sign with middle stem"; |
| 9754 |
beginchar(chars.math_logor_mid,12u#,.8asc_height#,0); uni "0x2A5B"; |
| 9755 |
italcorr h#*slant; |
| 9756 |
adjust_fit(0,0); |
| 9757 |
pickup tiny.nib; |
| 9758 |
path p[]; numeric tim[]; |
| 9759 |
oblu:=2oblu; |
| 9760 |
pos3(rule_thickness,180);pos4(rule_thickness,180); |
| 9761 |
x0=x3=x4=.5w; bot y0=-d-apex_o; y3=y0; y4=y1; |
| 9762 |
logor(0,1,2).nodraw; |
| 9763 |
p0:=_logor; |
| 9764 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 9765 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 9766 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 9767 |
oblu:=3f_obl; |
| 9768 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9769 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 9770 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 9771 |
penlabels(3,4); labels(4ll); |
| 9772 |
endchar; |
| 9773 |
|
| 9774 |
iff known chars.math_logor_bared: |
| 9775 |
bskchar "Logical or bared sign"; |
| 9776 |
beginchar(chars.math_logor_bared,12u#,.8asc_height#,0); uni "0x2A5D"; |
| 9777 |
italcorr .8asc_height#*slant-.25u#; |
| 9778 |
adjust_fit(0,0); |
| 9779 |
pickup tiny.nib; |
| 9780 |
path p[]; numeric tim[]; |
| 9781 |
oblu:=2oblu; |
| 9782 |
pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 9783 |
x0=.5w; bot y0=-d-apex_o; |
| 9784 |
lft x3=u; rt x4=w-u; y3=y4=1/3[math_axis,h]; |
| 9785 |
logor(0,1,2).nodraw; |
| 9786 |
p0=_logor; |
| 9787 |
p1=z4r--z3r; |
| 9788 |
p2=z3l--z4l; |
| 9789 |
y5l=y4l; y5r=y4r; |
| 9790 |
z5l=whatever[point 0 of p0,point infinity of p0]; |
| 9791 |
z5r=whatever[point 0 of p0,point infinity of p0]; |
| 9792 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 9793 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 9794 |
(tim4-3,tim5)=subpath(3,4) of p0 intersectiontimes p2; |
| 9795 |
(tim6-4,tim7)=subpath(4,infinity) of p0 intersectiontimes p2; |
| 9796 |
(tim8-4,tim9)=subpath(4,infinity) of p0 intersectiontimes p1; |
| 9797 |
(tim10-3,tim11)=subpath(3,4) of p0 intersectiontimes p1; |
| 9798 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9799 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 9800 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 9801 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 9802 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2 |
| 9803 |
..subpath(rundy(p0,tim6),infinity) of p0 |
| 9804 |
---obl(5l,2l,4l)---z4l..z4r---obl(5r,4r,0r)---cycle; |
| 9805 |
infill subpath(rundy(p0,tim10),rundy(p0,tim8).zpet) of p0 |
| 9806 |
..subpath(rundy(p1,tim9),rundy(p1,tim11).zpet) of p1..cycle; |
| 9807 |
penlabels(3,4,5); |
| 9808 |
endchar; |
| 9809 |
|
| 9810 |
iff known chars.math_logand: |
| 9811 |
bskchar "Logical and sign"; |
| 9812 |
beginchar(chars.math_logand,12u#,.8asc_height#,0); uni "0x2227"; |
| 9813 |
italcorr .8asc_height#*slant-u#; |
| 9814 |
adjust_fit(0,0); |
| 9815 |
pickup tiny.nib; |
| 9816 |
oblu:=2oblu; |
| 9817 |
x0=.5w; top y0=h+apex_o; |
| 9818 |
logand(0,1,2); |
| 9819 |
endchar; |
| 9820 |
|
| 9821 |
iff known chars.math_logand_dot: |
| 9822 |
bskchar "Logical and sign with dot"; |
| 9823 |
beginchar(chars.math_logand_dot,12u#,asc_height#,0); uni "0x2A51"; |
| 9824 |
italcorr .8asc_height#*slant-u#; |
| 9825 |
adjust_fit(0,0); |
| 9826 |
pickup tiny.nib; |
| 9827 |
oblu:=2oblu; |
| 9828 |
x0=x3=.5w; top y0=.8h+apex_o; y3=h; |
| 9829 |
logand(0,1,2); |
| 9830 |
dot(3); |
| 9831 |
endchar; |
| 9832 |
|
| 9833 |
iff known chars.math_logand_dot_inside: |
| 9834 |
bskchar "Logical and sign with dot inside"; |
| 9835 |
beginchar(chars.math_logand_dot_inside,12u#,.8asc_height#,0); uni "0x27D1"; |
| 9836 |
italcorr .8asc_height#*slant-u#; |
| 9837 |
adjust_fit(0,0); |
| 9838 |
pickup tiny.nib; |
| 9839 |
oblu:=2oblu; |
| 9840 |
x0=x3=.5w; top y0=h+apex_o; y3=dot_size; |
| 9841 |
logand(0,1,2); |
| 9842 |
dot(3); |
| 9843 |
endchar; |
| 9844 |
|
| 9845 |
iff known chars.math_merge: |
| 9846 |
bskchar "Merge sign"; |
| 9847 |
beginchar(chars.math_merge,16u#,.8asc_height#,0); uni "0x2A55"; |
| 9848 |
italcorr .8asc_height#*slant-u#; |
| 9849 |
adjust_fit(0,0); |
| 9850 |
pickup tiny.nib; |
| 9851 |
path p[]; numeric tim[]; |
| 9852 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 9853 |
x0=.5w-2u; x3=.5w+2u; top y0=top y3=h+apex_o; lft x4r=5u; |
| 9854 |
logand(0,1,2).nodraw; |
| 9855 |
p0:=_logand; p2:=z2l--z0r; |
| 9856 |
logand(3,4,5).nodraw; |
| 9857 |
p1:=_logand; |
| 9858 |
(tim0,tim1)=p0 intersectiontimes subpath(0,2) of p1; |
| 9859 |
(tim2,tim3-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 9860 |
(tim4,tim5-2)=p2 intersectiontimes subpath(2,infinity) of p1; |
| 9861 |
(tim6,tim7)=p2 intersectiontimes subpath(0,2) of p1; |
| 9862 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9863 |
..subpath(rundy(p1,tim1),rundy(p1,(tim3,oblu.more)).zpet) of p1 |
| 9864 |
..subpath(rundy(p0,(tim2,oblu.more)),infinity) of p0 |
| 9865 |
..subpath(0,rundy(p2,tim4).zpet) of p2 |
| 9866 |
..subpath(rundy(p1,tim5),infinity) of p1---z3r |
| 9867 |
..subpath(0,rundy(p1,(tim7,oblu.more)).zpet) of p1 |
| 9868 |
..subpath(rundy(p2,(tim6,oblu.more)),infinity) of p2..cycle; |
| 9869 |
endchar; |
| 9870 |
|
| 9871 |
iff known chars.math_merge_nary: |
| 9872 |
bskchar "N-ary merge sign"; |
| 9873 |
beginchar(chars.math_merge_nary,20u#,v_center(10/6dh#)); uni "0x2A07"; |
| 9874 |
adjust_fit(0,0); |
| 9875 |
pickup tiny.nib; |
| 9876 |
path p[]; numeric tim[]; |
| 9877 |
oblu:=2oblu; oblu.more:=3f_obl; |
| 9878 |
{{ save rule_thickness; rule_thickness:=stem; |
| 9879 |
x0=.5w-2u; x3=.5w+2u; top y0=top y3=h+apex_o; lft x4r=5u; |
| 9880 |
logand(0,1,2).nodraw; |
| 9881 |
p0:=_logand; p2:=z2l--z0r; |
| 9882 |
logand(3,4,5).nodraw; |
| 9883 |
p1:=_logand; |
| 9884 |
}}; |
| 9885 |
(tim0,tim1)=p0 intersectiontimes subpath(0,2) of p1; |
| 9886 |
(tim2,tim3-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 9887 |
(tim4,tim5-2)=p2 intersectiontimes subpath(2,infinity) of p1; |
| 9888 |
(tim6,tim7)=p2 intersectiontimes subpath(0,2) of p1; |
| 9889 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9890 |
..subpath(rundy(p1,tim1),rundy(p1,(tim3,oblu.more)).zpet) of p1 |
| 9891 |
..subpath(rundy(p0,(tim2,oblu.more)),infinity) of p0 |
| 9892 |
..subpath(0,rundy(p2,tim4).zpet) of p2 |
| 9893 |
..subpath(rundy(p1,tim5),infinity) of p1---z3r |
| 9894 |
..subpath(0,rundy(p1,(tim7,oblu.more)).zpet) of p1 |
| 9895 |
..subpath(rundy(p2,(tim6,oblu.more)),infinity) of p2..cycle; |
| 9896 |
endchar; |
| 9897 |
|
| 9898 |
iff known chars.math_lognand: |
| 9899 |
bskchar "Logical nand sign"; |
| 9900 |
beginchar(chars.math_lognand,12u#,asc_height#,0); uni "0x22BC"; |
| 9901 |
adjust_fit(0,0); |
| 9902 |
pickup tiny.nib; |
| 9903 |
oblu:=2oblu; |
| 9904 |
x0=.5w; top y0=.8h+apex_o; |
| 9905 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9906 |
top y3r=top y4r=h; lft x3=u; x4=w-x3; |
| 9907 |
logand(0,1,2); |
| 9908 |
filldraw bskrule(3,4,hair,0); |
| 9909 |
endchar; |
| 9910 |
|
| 9911 |
iff known chars.math_logand_doublebar: |
| 9912 |
bskchar "Logical and sign with double bar above"; |
| 9913 |
beginchar(chars.math_logand_doublebar,12u#,asc_height#+.3x_height#,0); uni "0x2A5E"; |
| 9914 |
adjust_fit(0,0); |
| 9915 |
pickup tiny.nib; |
| 9916 |
oblu:=2oblu; |
| 9917 |
x0=.5w; top y0=.8asc_height+apex_o; |
| 9918 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9919 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 9920 |
top y5r=top y6r=h; lft x3=lft x5=u; x4=x6=w-x3; |
| 9921 |
y3=y4; y5-y3=.3x_height; |
| 9922 |
logand(0,1,2); |
| 9923 |
filldraw bskrule(3,4,hair,0); |
| 9924 |
filldraw bskrule(6,5,hair,0); |
| 9925 |
endchar; |
| 9926 |
|
| 9927 |
iff known chars.math_logand_underbar: |
| 9928 |
bskchar "Logical and sign with underbar"; |
| 9929 |
beginchar(chars.math_logand_underbar,12u#,asc_height#,0); uni "0x2A5F"; |
| 9930 |
adjust_fit(0,0); |
| 9931 |
pickup tiny.nib; |
| 9932 |
oblu:=2oblu; |
| 9933 |
x0=.5w; top y0=h+apex_o; y1r=.2asc_height; |
| 9934 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9935 |
bot y3l=0; lft x3=u; x4=w-x3; y3=y4; |
| 9936 |
logand(0,1,2); |
| 9937 |
filldraw bskrule(3,4,hair,0); |
| 9938 |
penlabels(3,4); |
| 9939 |
endchar; |
| 9940 |
|
| 9941 |
iff known chars.math_logand_double_underbar: |
| 9942 |
bskchar "Logical and sign with double underbar"; |
| 9943 |
beginchar(chars.math_logand_double_underbar,12u#,asc_height#+.3x_height#,0); uni "0x2A60"; |
| 9944 |
adjust_fit(0,0); |
| 9945 |
pickup tiny.nib; |
| 9946 |
oblu:=2oblu; |
| 9947 |
x0=.5w; top y0=h+apex_o; y1r=.2asc_height+.3x_height; |
| 9948 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9949 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 9950 |
bot y5l=bot y6l=0; lft x3=lft x5=u; x4=x6=w-x3; |
| 9951 |
y3=y4; y3-y5=.3x_height; |
| 9952 |
logand(0,1,2); |
| 9953 |
filldraw bskrule(3,4,hair,0); |
| 9954 |
filldraw bskrule(6,5,hair,0); |
| 9955 |
penlabels(3,4,5,6); |
| 9956 |
endchar; |
| 9957 |
|
| 9958 |
iff known chars.math_logand_bared: |
| 9959 |
bskchar "Logical and bared sign"; |
| 9960 |
beginchar(chars.math_logand_bared,12u#,.8asc_height#,0); uni "0x2A5C"; |
| 9961 |
italcorr .8asc_height#*slant-u#; |
| 9962 |
adjust_fit(0,0); |
| 9963 |
pickup tiny.nib; |
| 9964 |
path p[]; numeric tim[]; |
| 9965 |
oblu:=2oblu; |
| 9966 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 9967 |
x0=.5w; top y0=h+apex_o; |
| 9968 |
lft x3=u; rt x4=w-u; y3=y4=1/3[math_axis,-d]; |
| 9969 |
logand(0,1,2).nodraw; |
| 9970 |
p0=_logand; |
| 9971 |
p1=z4r--z3r; |
| 9972 |
p2=z3l--z4l; |
| 9973 |
y5l=y4l; y5r=y4r; |
| 9974 |
z5l=whatever[point 0 of p0,point infinity of p0]; |
| 9975 |
z5r=whatever[point 0 of p0,point infinity of p0]; |
| 9976 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 9977 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 9978 |
(tim4-3,tim5)=subpath(3,4) of p0 intersectiontimes p2; |
| 9979 |
(tim6-4,tim7)=subpath(4,infinity) of p0 intersectiontimes p2; |
| 9980 |
(tim8-4,tim9)=subpath(4,infinity) of p0 intersectiontimes p1; |
| 9981 |
(tim10-3,tim11)=subpath(3,4) of p0 intersectiontimes p1; |
| 9982 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 9983 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 9984 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 9985 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 9986 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2 |
| 9987 |
..subpath(rundy(p0,tim6),infinity) of p0 |
| 9988 |
---obl(5l,2l,4l)---z4l..z4r---obl(5r,4r,0r)---cycle; |
| 9989 |
infill subpath(rundy(p0,tim10),rundy(p0,tim8).zpet) of p0 |
| 9990 |
..subpath(rundy(p1,tim9),rundy(p1,tim11).zpet) of p1..cycle; |
| 9991 |
penlabels(3,4,5); |
| 9992 |
endchar; |
| 9993 |
|
| 9994 |
iff known chars.math_wedge_in_wedge: |
| 9995 |
bskchar "Wedge in wedge sign"; |
| 9996 |
beginchar(chars.math_wedge_in_wedge,12u#,.8asc_height#,0); uni "0x2A53"; |
| 9997 |
italcorr .8asc_height#*slant-.25u#; |
| 9998 |
adjust_fit(0,0); |
| 9999 |
pickup tiny.nib; |
| 10000 |
oblu:=2oblu; |
| 10001 |
x0=x3=.5w; top y0=h+apex_o; |
| 10002 |
y0-y3=max(5u,2rule_thickness); |
| 10003 |
logand(0,1,2); |
| 10004 |
z4r=z3r+whatever*(z1l-z0'''); |
| 10005 |
logand(3,4,5); |
| 10006 |
endchar; |
| 10007 |
|
| 10008 |
iff known chars.math_lattice_inf_uni: |
| 10009 |
bskchar "Lattice infinum sign (for Unicode)"; |
| 10010 |
beginchar(chars.math_lattice_inf_uni,14u#,v_center(10/6dh#)); uni "0x22C0"; |
| 10011 |
adjust_fit(0,0); |
| 10012 |
pickup tiny.nib; |
| 10013 |
oblu:=2oblu; |
| 10014 |
x0=.5w; top y0=h+apex_o; |
| 10015 |
{{ save rule_thickness; rule_thickness:=stem; logand(0,1,2); }}; |
| 10016 |
endchar; |
| 10017 |
|
| 10018 |
iff known chars.math_lattice_inf_text: |
| 10019 |
bskchar "\textstyle lattice infinum sign"; |
| 10020 |
beginchar(chars.math_lattice_inf_text,14u#,0,10/6dh#); uni "non"; |
| 10021 |
adjust_fit(0,0); |
| 10022 |
pickup tiny.nib; |
| 10023 |
oblu:=2oblu; |
| 10024 |
x0=.5w; top y0=h+apex_o; |
| 10025 |
{{ save rule_thickness; rule_thickness:=stem; logand(0,1,2); }}; |
| 10026 |
endchar; |
| 10027 |
|
| 10028 |
iff known chars.math_lattice_inf_disp: |
| 10029 |
bskchar "\displaystyle lattice infinum sign"; |
| 10030 |
beginchar(chars.math_lattice_inf_disp,18u#,0,14/6dh#); uni "non"; |
| 10031 |
adjust_fit(0,0); |
| 10032 |
pickup tiny.nib; |
| 10033 |
oblu:=2oblu; |
| 10034 |
x0=.5w; top y0=h+apex_o; |
| 10035 |
{{ save rule_thickness; rule_thickness:=bourstem; logand(0,1,2); }}; |
| 10036 |
endchar; |
| 10037 |
|
| 10038 |
iff known chars.math_logand_sloping: |
| 10039 |
bskchar "Sloping logical and sign"; |
| 10040 |
beginchar(chars.math_logand_sloping,12u#,.8asc_height#,0); uni "0x2A58"; |
| 10041 |
italcorr h#*slant; |
| 10042 |
adjust_fit(0,0); |
| 10043 |
pickup tiny.nib; |
| 10044 |
numeric theta; |
| 10045 |
oblu:=2oblu; |
| 10046 |
pos0(rule_thickness,0); pos2(rule_thickness,0); |
| 10047 |
rt x0r=rt x2r=w-u; top y0=h; y1l-.25rule_thickness=y2=0; lft x1l=u; |
| 10048 |
theta:=angle(z1l-z0l); |
| 10049 |
pos1(rule_thickness,theta+90); |
| 10050 |
bskpoints(2,0,hair,hair); |
| 10051 |
z0'=z0l+(rule_thickness-currentbreadth)*dir(theta+22); |
| 10052 |
y0''=y0; z0''=z1r+whatever*(z1l-z0'); |
| 10053 |
x0'''=x2l; z0'''=whatever[z1r,z0'']; |
| 10054 |
filldraw z2rr---z0r..z0l..z0'---z1l..z1r---obl(0''',1r,2l)---z2l..cycle; |
| 10055 |
penlabels(0,1,2); labels(0',0'',0'''); |
| 10056 |
endchar; |
| 10057 |
|
| 10058 |
iff known chars.math_logand_mid: |
| 10059 |
bskchar "Logical and sign with middle stem"; |
| 10060 |
beginchar(chars.math_logand_mid,12u#,.8asc_height#,0); uni "0x2A5A"; |
| 10061 |
italcorr h#*slant; |
| 10062 |
adjust_fit(0,0); |
| 10063 |
pickup tiny.nib; |
| 10064 |
path p[]; numeric tim[]; |
| 10065 |
oblu:=2oblu; |
| 10066 |
pos3(rule_thickness,180);pos4(rule_thickness,180); |
| 10067 |
x0=x3=x4=.5w; top y0=h+apex_o; y3=y0; y4=y1; |
| 10068 |
logand(0,1,2).nodraw; |
| 10069 |
p0:=_logand; |
| 10070 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 10071 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 10072 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 10073 |
oblu:=3f_obl; |
| 10074 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 10075 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 10076 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 10077 |
penlabels(3,4); labels(4ll); |
| 10078 |
endchar; |
| 10079 |
|
| 10080 |
iff known chars.math_logand_logor_overlap: |
| 10081 |
bskchar "Logical and overlaping logical or sign"; |
| 10082 |
beginchar(chars.math_logand_logor_overlap,12u#,asc_height#,0); uni "0x2A59"; |
| 10083 |
italcorr h#*slant; |
| 10084 |
adjust_fit(0,0); |
| 10085 |
path p[]; numeric tim[]; |
| 10086 |
pickup tiny.nib; |
| 10087 |
oblu:=2oblu; |
| 10088 |
x0=x3=.5w; top y0=.8asc_height+apex_o; bot y3=.2asc_height-apex_o; |
| 10089 |
logand(0,1,2).nodraw; logor(3,4,5).nodraw; |
| 10090 |
p0:=_logand; p1:=_logor; |
| 10091 |
p2:=point 0 of p1--point infinity of p1; |
| 10092 |
p3:=point infinity of p0--point 0 of p0; |
| 10093 |
(tim0,tim1-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 10094 |
(tim2,tim3)=p0 intersectiontimes subpath(0,2) of p1; |
| 10095 |
(tim4-2,tim5)=subpath(2,infinity) of p0 intersectiontimes subpath(0,2) of p1; |
| 10096 |
(tim6-3,tim7)=subpath(3,5) of p0 intersectiontimes p1; |
| 10097 |
(tim8-4,tim9)=subpath(4,6) of p0 intersectiontimes p2; |
| 10098 |
(tim10,tim11)=p2 intersectiontimes p3; |
| 10099 |
(tim12-4,tim13)=subpath(4,6) of p1 intersectiontimes p3; |
| 10100 |
(tim14-3,tim15-3)=subpath(3,4) of p0 intersectiontimes subpath(3,4) of p1; |
| 10101 |
(tim16-5,tim17-5)=subpath(5,6) of p0 intersectiontimes subpath(5,6) of p1; |
| 10102 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 10103 |
..reverse subpath(rundy(p1,tim3),rundy(p1,tim1).zpet) of p1 |
| 10104 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 10105 |
..reverse subpath(0,rundy(p1,tim7).zpet) of p1 |
| 10106 |
..subpath(0,rundy(p2,tim9).zpet) of p2 |
| 10107 |
..subpath(rundy(p0,tim8),infinity) of p0 |
| 10108 |
..subpath(0,rundy(p3,tim11).zpet) of p3 |
| 10109 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 10110 |
..reverse subpath(rundy(p1,tim12),infinity) of p1 |
| 10111 |
..subpath(rundy(p3,tim13),infinity) of p3..cycle; |
| 10112 |
oblu:=1.5f_obl; |
| 10113 |
infill subpath(rundy(p1,tim15),rundy(p1,tim17).zpet) of p1 |
| 10114 |
..subpath(rundy(p0,tim16).zpet,rundy(p0,tim14)) of p0..cycle; |
| 10115 |
endchar; |
| 10116 |
|
| 10117 |
iff known chars.math_less: |
| 10118 |
bskchar "Less than sign"; |
| 10119 |
beginchar(chars.math_less,12u#,v_center(8u#)); uni "0x003C"; |
| 10120 |
italcorr h#*slant; |
| 10121 |
adjust_fit(0,0); |
| 10122 |
pickup tiny.nib; |
| 10123 |
oblu:=2oblu; |
| 10124 |
lft x0l=u; y0=math_axis; |
| 10125 |
less(0,1,2); |
| 10126 |
endchar; |
| 10127 |
|
| 10128 |
iff known chars.math_less_not: |
| 10129 |
bskchar "Negated less than sign"; |
| 10130 |
beginchar(chars.math_less_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x226E"; |
| 10131 |
italcorr h#*slant; |
| 10132 |
adjust_fit(0,0); |
| 10133 |
pickup tiny.nib; |
| 10134 |
oblu:=2oblu; |
| 10135 |
oblu.more:=2.5f_obl; |
| 10136 |
lft x0l=u; y0=math_axis; y1r=math_axis+4u-.5rule_thickness; |
| 10137 |
top rt z3=(w-3u,h); .5[x4,x3]=.5w; y4=-d; |
| 10138 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 10139 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10140 |
less(0,1,2).nodraw; |
| 10141 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10142 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10143 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10144 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10145 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10146 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10147 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10148 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10149 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---obl(2'r,3r,1l).more---z1ll |
| 10150 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10151 |
---z4r..z4ll---obl(3''l,4l,0l')---cycle; |
| 10152 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10153 |
penlabels(2',2'',3,3',3'',4); |
| 10154 |
endchar; |
| 10155 |
|
| 10156 |
iff known chars.math_less_not_vert: |
| 10157 |
bskchar "Negated less than sign with vertical stroke"; |
| 10158 |
beginchar(chars.math_less_not_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 10159 |
italcorr h#*slant; |
| 10160 |
adjust_fit(0,0); |
| 10161 |
pickup tiny.nib; |
| 10162 |
oblu:=2oblu; |
| 10163 |
lft x0l=u; y0=math_axis; y1r=math_axis+4u-.5rule_thickness; |
| 10164 |
top y3=h; x4=x3=.55w; y4=-d; |
| 10165 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 10166 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10167 |
less(0,1,2).nodraw; |
| 10168 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10169 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10170 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10171 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10172 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10173 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10174 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10175 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10176 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---obl(2'r,3r,1l)---z1ll |
| 10177 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10178 |
---z4r..z4ll---obl(3''l,4l,0l')---cycle; |
| 10179 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10180 |
penlabels(2',2'',3,3',3'',4); |
| 10181 |
endchar; |
| 10182 |
|
| 10183 |
iff known chars.math_less_closed: |
| 10184 |
bskchar "Closed less than sign"; |
| 10185 |
beginchar(chars.math_less_closed,15u#,v_center(8u#)); uni "0x2AA6"; |
| 10186 |
italcorr h#*slant; |
| 10187 |
adjust_fit(0,0); |
| 10188 |
pickup tiny.nib; |
| 10189 |
oblu:=2oblu; |
| 10190 |
pos3(rule_thickness,180); |
| 10191 |
lft x0l=u; rt x1r=w-4u; y0=y3=math_axis; rt x3l=w-u; |
| 10192 |
less(0,1,2).nodraw; |
| 10193 |
filldraw subpath(0,2) of _less---z1l...{down}z3l...point infinity of _less---cycle; |
| 10194 |
infill subpath(3,6) of _less...{up}z3r...cycle; |
| 10195 |
penlabels(3); |
| 10196 |
endchar; |
| 10197 |
|
| 10198 |
iff known chars.math_less_eq: |
| 10199 |
bskchar "Less than or equal to sign"; |
| 10200 |
beginchar(chars.math_less_eq,12u#,v_center(11u#)); uni "0x2264"; |
| 10201 |
italcorr h#*slant; |
| 10202 |
adjust_fit(0,0); |
| 10203 |
pickup tiny.nib; |
| 10204 |
oblu:=2oblu; |
| 10205 |
lft x0l=u; y0=h-4u; |
| 10206 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10207 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 10208 |
filldraw bskrule(3,4,hair,hair); |
| 10209 |
less(0,1,2); |
| 10210 |
penlabels(3,4); |
| 10211 |
endchar; |
| 10212 |
|
| 10213 |
iff known chars.math_less_eq_double_slanted: |
| 10214 |
bskchar "Less than or double slanted equal to sign"; |
| 10215 |
beginchar(chars.math_less_eq_double_slanted,12u#,v_center(11u#+.45x_height#)); uni "0x2AF9"; |
| 10216 |
italcorr h#*slant; |
| 10217 |
adjust_fit(0,0); |
| 10218 |
pickup tiny.nib; |
| 10219 |
oblu:=2oblu; |
| 10220 |
lft x0l=u; y0=h-4u; |
| 10221 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y4=-d+.5rule_thickness; y5-y3=y6-y4=.45x_height; y0-y3=y2-y4; |
| 10222 |
less(0,1,2); |
| 10223 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10224 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 10225 |
filldraw bskrule(3,4,hair,hair); |
| 10226 |
filldraw bskrule(5,6,hair,hair); |
| 10227 |
penlabels(3,4,5,6); |
| 10228 |
endchar; |
| 10229 |
|
| 10230 |
iff known chars.math_less_eq_double: |
| 10231 |
bskchar "Less than or double equal to sign"; |
| 10232 |
beginchar(chars.math_less_eq_double,12u#,v_center(11u#+.45x_height#)); uni "0x2266"; |
| 10233 |
italcorr h#*slant; |
| 10234 |
adjust_fit(0,0); |
| 10235 |
pickup tiny.nib; |
| 10236 |
oblu:=2oblu; |
| 10237 |
lft x0l=u; y0=h-4u; |
| 10238 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10239 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10240 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y3l=y4l=-d; y5=y6=y3+.45x_height; |
| 10241 |
filldraw bskrule(3,4,hair,hair); |
| 10242 |
filldraw bskrule(5,6,hair,hair); |
| 10243 |
less(0,1,2); |
| 10244 |
penlabels(3,4,5,6); |
| 10245 |
endchar; |
| 10246 |
|
| 10247 |
iff known chars.math_less_not_eq_double: |
| 10248 |
bskchar "Less than and not double equal to sign"; |
| 10249 |
beginchar(chars.math_less_not_eq_double,12u#,v_center(11u#+.45x_height#)); uni "0x2268"; |
| 10250 |
italcorr h#*slant; |
| 10251 |
adjust_fit(0,0); |
| 10252 |
pickup tiny.nib; |
| 10253 |
oblu:=2oblu; |
| 10254 |
lft x0l=u; y0=h-4u; |
| 10255 |
less(0,1,2); |
| 10256 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10257 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10258 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 10259 |
top rt z7=(x2-2u,y2l-rule_thickness); .5[x8,x7]=.5w; .5[y8,y7]=.5[y3,y5]; |
| 10260 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 10261 |
bskpoints(3,4,hair,hair); bskpoints(5,6,hair,hair); |
| 10262 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 10263 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 10264 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 10265 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 10266 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 10267 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 10268 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 10269 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 10270 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 10271 |
oblu:=f_obl; oblu.more:=2f_obl; |
| 10272 |
if y7rr<y3r: y7rr:=y7r; x7rr:=x7r; fi |
| 10273 |
if y8ll>y5l: y8ll:=y8l; x8ll:=x8l; fi |
| 10274 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r).more---z4r |
| 10275 |
..z4ll---obl(5',4l,6')---obl(6',5',6r).more---z6r..z6ll |
| 10276 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5l).more---z5l |
| 10277 |
..z5rr---obl(9',5r,10')---obl(10',9',3l).more---z3l..cycle; |
| 10278 |
penlabels(3,4,5,6,7,8); labels(4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 10279 |
endchar; |
| 10280 |
|
| 10281 |
iff known chars.math_less_eq_double_not: |
| 10282 |
bskchar "Negated less than or double equal to sign"; |
| 10283 |
beginchar(chars.math_less_eq_double_not,12u#,v_center(11u#+.45x_height#+4rule_thickness#)); uni "non"; |
| 10284 |
italcorr h#*slant; |
| 10285 |
adjust_fit(0,0); |
| 10286 |
pickup tiny.nib; |
| 10287 |
oblu:=2oblu; |
| 10288 |
oblu.more:=2.5f_obl; |
| 10289 |
lft x0l=u; y0=h-4u-2rule_thickness; y1r=h-2.5rule_thickness; |
| 10290 |
top rt z3=(w-3u,h); .5[x4,x3]=.5w; y4=-d; |
| 10291 |
lft x5=lft x7=u; rt x6=rt x8=w-u; y7l=y8l=-d+2rule_thickness; y5=y6=y7+.45x_height; |
| 10292 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 10293 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10294 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 10295 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10296 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 10297 |
less(0,1,2).nodraw; |
| 10298 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10299 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10300 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10301 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10302 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10303 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10304 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10305 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10306 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 10307 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 10308 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 10309 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 10310 |
z7'l=whatever[z3l,z4l]=whatever[z7r,z8r]; |
| 10311 |
z7'r=whatever[z3r,z4r]=whatever[z7r,z8r]; |
| 10312 |
z8'l=whatever[z3l,z4l]=whatever[z7l,z8l]; |
| 10313 |
z8'r=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 10314 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---obl(2'r,3r,1l).more---z1ll |
| 10315 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10316 |
---obl(5'r,3''r,6r)---z6r..z6ll---obl(6'r,6l,7'r)---obl(7'r,6'r,8r)---z8r |
| 10317 |
..z8ll---obl(8'r,8l,4r)---z4r..z4l---obl(8'l,4l,7l)---z7l..z7rr |
| 10318 |
---obl(7'l,7r,6'l)---obl(6'l,4l,5l)---z5l..z5rr---obl(5'l,5r,3''l) |
| 10319 |
---obl(3''l,4l,0l')---cycle; |
| 10320 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10321 |
penlabels(2',2'',3,3',3'',4,5,5',6,6',7,7',8,8'); |
| 10322 |
endchar; |
| 10323 |
|
| 10324 |
iff known chars.math_less_vert_not_eq_double: |
| 10325 |
bskchar "Less than and vertical not double equal to sign"; |
| 10326 |
beginchar(chars.math_less_vert_not_eq_double,12u#,v_center(11u#+.45x_height#)); uni "non"; |
| 10327 |
italcorr h#*slant; |
| 10328 |
adjust_fit(0,0); |
| 10329 |
pickup tiny.nib; |
| 10330 |
oblu:=2oblu; |
| 10331 |
lft x0l=u; y0=h-4u; |
| 10332 |
less(0,1,2); |
| 10333 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10334 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10335 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 10336 |
top y7=y2l-rule_thickness; x8=x7=.5w; .5[y8,y7]=.5[y3,y5]; |
| 10337 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 10338 |
bskpoints(3,4,hair,hair); bskpoints(5,6,hair,hair); |
| 10339 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 10340 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 10341 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 10342 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 10343 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 10344 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 10345 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 10346 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 10347 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 10348 |
oblu:=f_obl; |
| 10349 |
if y7rr<y3r: y7rr:=y7r; x7rr:=x7r; fi |
| 10350 |
if y8ll>y5l: y8ll:=y8l; x8ll:=x8l; fi |
| 10351 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r)---z4r |
| 10352 |
..z4ll---obl(5',4l,6')---obl(6',5',6r)---z6r..z6ll |
| 10353 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5l)---z5l |
| 10354 |
..z5rr---obl(9',5r,10')---obl(10',9',3l)---z3l..cycle; |
| 10355 |
penlabels(3,4,5,6,7,8); labels(4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 10356 |
endchar; |
| 10357 |
|
| 10358 |
iff known chars.math_less_eq_double_not_vert: |
| 10359 |
bskchar "Negated less than or double equal to sign with vertical stroke"; |
| 10360 |
beginchar(chars.math_less_eq_double_not_vert,12u#,v_center(11u#+.45x_height#+4rule_thickness#)); uni "non"; |
| 10361 |
italcorr h#*slant; |
| 10362 |
adjust_fit(0,0); |
| 10363 |
pickup tiny.nib; |
| 10364 |
oblu:=2oblu; |
| 10365 |
oblu.more:=2.5f_obl; |
| 10366 |
lft x0l=u; y0=h-4u-2rule_thickness; y1r=h-2.5rule_thickness; |
| 10367 |
top y3=h; x4=x3=.5w; y4=-d; |
| 10368 |
lft x5=lft x7=u; rt x6=rt x8=w-u; y7l=y8l=-d+2rule_thickness; y5=y6=y7+.45x_height; |
| 10369 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 10370 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10371 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 10372 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10373 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 10374 |
less(0,1,2).nodraw; |
| 10375 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10376 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10377 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10378 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10379 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10380 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10381 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10382 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10383 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 10384 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 10385 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 10386 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 10387 |
z7'l=whatever[z3l,z4l]=whatever[z7r,z8r]; |
| 10388 |
z7'r=whatever[z3r,z4r]=whatever[z7r,z8r]; |
| 10389 |
z8'l=whatever[z3l,z4l]=whatever[z7l,z8l]; |
| 10390 |
z8'r=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 10391 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---obl(2'r,3r,1l)---z1ll |
| 10392 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10393 |
---obl(5'r,3''r,6r)---z6r..z6ll---obl(6'r,6l,7'r)---obl(7'r,6'r,8r)---z8r |
| 10394 |
..z8ll---obl(8'r,8l,4r)---z4r..z4l---obl(8'l,4l,7l)---z7l..z7rr |
| 10395 |
---obl(7'l,7r,6'l)---obl(6'l,4l,5l)---z5l..z5rr---obl(5'l,5r,3''l) |
| 10396 |
---obl(3''l,4l,0l')---cycle; |
| 10397 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10398 |
penlabels(2',2'',3,3',3'',4,5,5',6,6',7,7',8,8'); |
| 10399 |
endchar; |
| 10400 |
|
| 10401 |
iff known chars.math_eq_double_less: |
| 10402 |
bskchar "Double equal to or less than sign"; |
| 10403 |
beginchar(chars.math_eq_double_less,12u#,v_center(11u#+.45x_height#)); uni "0x2A99"; |
| 10404 |
italcorr h#*slant; |
| 10405 |
adjust_fit(0,0); |
| 10406 |
pickup tiny.nib; |
| 10407 |
oblu:=2oblu; |
| 10408 |
lft x0l=u; y0=-d+4u; y1r-y0=4u-.5rule_thickness; |
| 10409 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10410 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10411 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5r=y6r=h; y5-y3=y6-y4=.45x_height; |
| 10412 |
filldraw bskrule(3,4,hair,hair); |
| 10413 |
filldraw bskrule(5,6,hair,hair); |
| 10414 |
less(0,1,2); |
| 10415 |
penlabels(3,4,5,6); |
| 10416 |
endchar; |
| 10417 |
|
| 10418 |
iff known chars.math_sl_eq_double_less: |
| 10419 |
bskchar "Double slanted equal to or less than sign"; |
| 10420 |
beginchar(chars.math_eq_double_less,12u#,v_center(11u#+.45x_height#)); uni "0x2A9B"; |
| 10421 |
italcorr h#*slant; |
| 10422 |
adjust_fit(0,0); |
| 10423 |
pickup tiny.nib; |
| 10424 |
oblu:=2oblu; |
| 10425 |
lft x0l=u; y0=-d+4u; y1r-y0=4u-.5rule_thickness; |
| 10426 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y6=h-.5rule_thickness; y5-y3=y6-y4=.45x_height; |
| 10427 |
less(0,1,2); |
| 10428 |
y6-y5=y1-y0; |
| 10429 |
pos3(rule_thickness,angle(z5-z6)+90); pos4(rule_thickness,angle(z5-z6)+90); |
| 10430 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 10431 |
filldraw bskrule(3,4,hair,hair); |
| 10432 |
filldraw bskrule(5,6,hair,hair); |
| 10433 |
penlabels(3,4,5,6); |
| 10434 |
endchar; |
| 10435 |
|
| 10436 |
iff known chars.math_sim_less_eq_double: |
| 10437 |
bskchar "Similar to or less than or double equal to sign"; |
| 10438 |
beginchar(chars.math_sim_less_eq_double,12u#,v_center(11u#+.9x_height#-rule_thickness#)); uni "0x2A9F"; |
| 10439 |
italcorr h#*slant; |
| 10440 |
adjust_fit(0,0); |
| 10441 |
pickup tiny.nib; |
| 10442 |
oblu:=2oblu; |
| 10443 |
lft x0l=u; y0=math_axis; y1r-y0=4u-.5rule_thickness; |
| 10444 |
top y8=h; |
| 10445 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10446 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10447 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y3l=y4l=-d; y5=y6=y3+.45x_height; |
| 10448 |
filldraw bskrule(3,4,hair,hair); |
| 10449 |
filldraw bskrule(5,6,hair,hair); |
| 10450 |
less(0,1,2); |
| 10451 |
vlnka(7,8); |
| 10452 |
penlabels(3,4,5,6); |
| 10453 |
endchar; |
| 10454 |
|
| 10455 |
iff known chars.math_less_eq_slanted: |
| 10456 |
bskchar "Less than or slanted equal to sign"; |
| 10457 |
beginchar(chars.math_less_eq_slanted,12u#,v_center(11u#)); uni "0x2A7D"; |
| 10458 |
italcorr h#*slant; |
| 10459 |
adjust_fit(0,0); |
| 10460 |
pickup tiny.nib; |
| 10461 |
oblu:=2oblu; |
| 10462 |
lft x0l=u; y0=h-4u; |
| 10463 |
less(0,1,2); |
| 10464 |
lft x3=u; rt x4=w-u; y4=-d+.5rule_thickness; y0-y3=y2-y4; |
| 10465 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10466 |
filldraw bskrule(3,4,hair,hair); |
| 10467 |
penlabels(3,4); |
| 10468 |
endchar; |
| 10469 |
|
| 10470 |
iff known chars.math_less_closed_eq_sl: |
| 10471 |
bskchar "Closed less than or slanted equal to sign"; |
| 10472 |
beginchar(chars.math_less_closed_eq_sl,15u#,v_center(12u#)); uni "0x2AA8"; |
| 10473 |
italcorr h#*slant; |
| 10474 |
adjust_fit(0,0); |
| 10475 |
pickup tiny.nib; |
| 10476 |
oblu:=2oblu; |
| 10477 |
pos3(rule_thickness,180); |
| 10478 |
lft x0l=u; rt x1r=w-4u; y0=y3=h-4u; rt x3l=w-u; |
| 10479 |
less(0,1,2).nodraw; |
| 10480 |
filldraw subpath(0,2) of _less---z1l...{down}z3l...point infinity of _less---cycle; |
| 10481 |
infill subpath(3,6) of _less...{up}z3r...cycle; |
| 10482 |
lft x4=u; x5=x3; y5=-d+.5rule_thickness; z4=z5+whatever*(z0l-z2l); |
| 10483 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 10484 |
filldraw bskrule(4,5,hair,hair); |
| 10485 |
penlabels(3,4,5); |
| 10486 |
endchar; |
| 10487 |
|
| 10488 |
iff known chars.math_less_eq_slanted_dot: |
| 10489 |
bskchar "Less than or slanted equal to sign with dot inside"; |
| 10490 |
beginchar(chars.math_less_eq_slanted_dot,12u#,v_center(11u#)); uni "0x2A7F"; |
| 10491 |
italcorr h#*slant; |
| 10492 |
adjust_fit(0,0); |
| 10493 |
pickup tiny.nib; |
| 10494 |
oblu:=2oblu; |
| 10495 |
lft x0l=u; y0=y5=h-4u; rt x5=w-u-.5dot_size; |
| 10496 |
less(0,1,2); |
| 10497 |
lft x3=u; rt x4=w-u; y4=-d+.5rule_thickness; y0-y3=y2-y4; |
| 10498 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10499 |
filldraw bskrule(3,4,hair,hair); |
| 10500 |
dot(5); |
| 10501 |
penlabels(3,4); |
| 10502 |
endchar; |
| 10503 |
|
| 10504 |
iff known chars.math_less_eq_slanted_dot_left: |
| 10505 |
bskchar "Less than or slanted equal to sign with dot above left"; |
| 10506 |
beginchar(chars.math_less_eq_slanted_dot_left,12u#,v_center(11u#)); uni "0x2A81"; |
| 10507 |
italcorr h#*slant; |
| 10508 |
adjust_fit(0,0); |
| 10509 |
pickup tiny.nib; |
| 10510 |
oblu:=2oblu; |
| 10511 |
lft x0l=u; y0=h-4u; lft x5=u+.5dot_size; top y5=h-.5dot_size; |
| 10512 |
less(0,1,2); |
| 10513 |
lft x3=u; rt x4=w-u; y4=-d+.5rule_thickness; y0-y3=y2-y4; |
| 10514 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10515 |
filldraw bskrule(3,4,hair,hair); |
| 10516 |
dot(5); |
| 10517 |
penlabels(3,4); |
| 10518 |
endchar; |
| 10519 |
|
| 10520 |
iff known chars.math_less_eq_slanted_dot_right: |
| 10521 |
bskchar "Less than or slanted equal to sign with dot above right"; |
| 10522 |
beginchar(chars.math_less_eq_slanted_dot_right,12u#,5.5u#+1.5dot_size#+math_axis#,5.5u#-math_axis#); uni "0x2A83"; |
| 10523 |
italcorr h#*slant; |
| 10524 |
adjust_fit(0,0); |
| 10525 |
pickup tiny.nib; |
| 10526 |
oblu:=2oblu; |
| 10527 |
lft x0l=u; y0=h-4u-1.5dot_size; y1r=h-1.5dot_size-.5rule_thickness; |
| 10528 |
rt x5=w-u-dot_size; y5=h-.5dot_size; |
| 10529 |
less(0,1,2); |
| 10530 |
lft x3=u; rt x4=w-u; y4=-d+.5rule_thickness; y0-y3=y2-y4; |
| 10531 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10532 |
filldraw bskrule(3,4,hair,hair); |
| 10533 |
dot(5); |
| 10534 |
penlabels(3,4); |
| 10535 |
endchar; |
| 10536 |
|
| 10537 |
iff known chars.math_eq_less: |
| 10538 |
bskchar "Equal to or less than sign"; |
| 10539 |
beginchar(chars.math_eq_less,12u#,v_center(11u#)); uni "0x22DC"; |
| 10540 |
italcorr h#*slant; |
| 10541 |
adjust_fit(0,0); |
| 10542 |
pickup tiny.nib; |
| 10543 |
oblu:=2oblu; |
| 10544 |
lft x0l=u; y0=-d+4u; y1r=y0+4u-.5rule_thickness; |
| 10545 |
less(0,1,2); |
| 10546 |
lft x3=u; rt x4=w-u; y3=y4=h-.5rule_thickness; |
| 10547 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10548 |
filldraw bskrule(3,4,hair,hair); |
| 10549 |
penlabels(3,4); |
| 10550 |
endchar; |
| 10551 |
|
| 10552 |
iff known chars.math_eq_slanted_less: |
| 10553 |
bskchar "Slanted equal to or less than sign"; |
| 10554 |
beginchar(chars.math_eq_slanted_less,12u#,v_center(11u#)); uni "0x2A95"; |
| 10555 |
italcorr h#*slant; |
| 10556 |
adjust_fit(0,0); |
| 10557 |
pickup tiny.nib; |
| 10558 |
oblu:=2oblu; |
| 10559 |
lft x0l=u; y0=-d+4u; y1r=y0+4u-.5rule_thickness; |
| 10560 |
less(0,1,2); |
| 10561 |
lft x3=u; rt x4=w-u; y4=h-.5rule_thickness; y0-y3=y1-y4; |
| 10562 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10563 |
filldraw bskrule(3,4,hair,hair); |
| 10564 |
penlabels(3,4); |
| 10565 |
endchar; |
| 10566 |
|
| 10567 |
iff known chars.math_eq_slanted_less_dot: |
| 10568 |
bskchar "Slanted equal to or less than sign with dot inside"; |
| 10569 |
beginchar(chars.math_eq_slanted_less_dot,12u#,v_center(11u#)); uni "0x2A97"; |
| 10570 |
italcorr h#*slant; |
| 10571 |
adjust_fit(0,0); |
| 10572 |
pickup tiny.nib; |
| 10573 |
oblu:=2oblu; |
| 10574 |
lft x0l=u; y0=y5=-d+4u; y1r=y0+4u-.5rule_thickness; rt x5=w-u-.5dot_size; |
| 10575 |
less(0,1,2); |
| 10576 |
lft x3=u; rt x4=w-u; y4=h-.5rule_thickness; y0-y3=y1-y4; |
| 10577 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 10578 |
filldraw bskrule(3,4,hair,hair); |
| 10579 |
dot(5); |
| 10580 |
penlabels(3,4); |
| 10581 |
endchar; |
| 10582 |
|
| 10583 |
iff known chars.math_much_less: |
| 10584 |
bskchar "Much less than sign"; |
| 10585 |
beginchar(chars.math_much_less,17u#,v_center(9u#)); uni "0x226A"; |
| 10586 |
adjust_fit(0,0); |
| 10587 |
pickup tiny.nib; |
| 10588 |
oblu:=2oblu; |
| 10589 |
lft x0l=u; rt x1r=w-6u; y0=y3=math_axis; |
| 10590 |
lft x3l=6u; rt x4r=w-u; |
| 10591 |
less(0,1,2); |
| 10592 |
less(3,4,5); |
| 10593 |
endchar; |
| 10594 |
|
| 10595 |
iff known chars.math_much_less_underbar: |
| 10596 |
bskchar "Much less than sign with underbar"; |
| 10597 |
beginchar(chars.math_much_less_underbar,17u#,4.5u#+math_axis#,4.5u#+2.5rule_thickness#-math_axis#); uni "0x2AA3"; |
| 10598 |
adjust_fit(0,0); |
| 10599 |
pickup tiny.nib; |
| 10600 |
oblu:=2oblu; |
| 10601 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 10602 |
lft x0l=u; rt x1r=w-6u; y0=y3=math_axis; |
| 10603 |
lft x3l=6u; rt x4r=w-u; |
| 10604 |
lft x6=u; rt x7=w-u; bot y6l=bot y7l=-d; |
| 10605 |
filldraw bskrule(6,7,hair,hair); |
| 10606 |
less(0,1,2); |
| 10607 |
less(3,4,5); |
| 10608 |
endchar; |
| 10609 |
|
| 10610 |
iff known chars.math_less_in_less: |
| 10611 |
bskchar "Less than in less than sign"; |
| 10612 |
beginchar(chars.math_less_in_less,12u#,v_center(9u#)); uni "0x2AA1"; |
| 10613 |
adjust_fit(0,0); |
| 10614 |
pickup tiny.nib; |
| 10615 |
oblu:=2oblu; |
| 10616 |
lft x0l=u; rt x1r=w-u; y0=y3=math_axis; |
| 10617 |
x3l-x0l=max(5u,2rule_thickness); rt x4r=w-u; |
| 10618 |
less(0,1,2); |
| 10619 |
z4r=z3r+whatever*(z1r-z0r); |
| 10620 |
less(3,4,5); |
| 10621 |
endchar; |
| 10622 |
|
| 10623 |
iff known chars.math_less_in_less_underbar: |
| 10624 |
bskchar "Less than in less than sign with underbar"; |
| 10625 |
beginchar(chars.math_less_in_less_underbar,12u#,4.5u#+math_axis#,4.5u#+2.5rule_thickness#-math_axis#); uni "non"; |
| 10626 |
adjust_fit(0,0); |
| 10627 |
pickup tiny.nib; |
| 10628 |
oblu:=2oblu; |
| 10629 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 10630 |
lft x0l=u; rt x1r=w-u; y0=y3=math_axis; |
| 10631 |
x3l-x0l=max(5u,2rule_thickness); rt x4r=w-u; |
| 10632 |
lft x6=u; rt x7=w-u; bot y6l=bot y7l=-d; |
| 10633 |
filldraw bskrule(6,7,hair,hair); |
| 10634 |
less(0,1,2); |
| 10635 |
z4r=z3r+whatever*(z1r-z0r); |
| 10636 |
less(3,4,5); |
| 10637 |
penlabels(6,7); |
| 10638 |
endchar; |
| 10639 |
|
| 10640 |
iff known chars.math_less_in_less_in_less: |
| 10641 |
bskchar "Less than in less than in less than sign"; |
| 10642 |
beginchar(chars.math_less_in_less_in_less,15.5u#,v_center(13u#)); uni "0x2AF7"; |
| 10643 |
adjust_fit(0,0); |
| 10644 |
pickup tiny.nib; |
| 10645 |
oblu:=2oblu; |
| 10646 |
lft x0l=5u; rt x1r=w-u; y0=y3=y6=math_axis; y1r=h-2u-.5rule_thickness; |
| 10647 |
rt x4r=rt x7r=w-u; lft x6l=u; x0l=.5[x6l,x3l]; |
| 10648 |
less(0,1,2); |
| 10649 |
z4r=z3r+whatever*(z1r-z0r); |
| 10650 |
z7r=z6r+whatever*(z1r-z0r); |
| 10651 |
less(3,4,5); |
| 10652 |
less(6,7,8); |
| 10653 |
endchar; |
| 10654 |
|
| 10655 |
iff known chars.math_much_much_less: |
| 10656 |
bskchar "Much much less than sign"; |
| 10657 |
beginchar(chars.math_much_much_less,22u#,v_center(9u#)); uni "0x22D8"; |
| 10658 |
adjust_fit(0,0); |
| 10659 |
pickup tiny.nib; |
| 10660 |
oblu:=2oblu; |
| 10661 |
lft x0l=u; rt x1r=w-11u; y0=y3=y6=math_axis; |
| 10662 |
lft x3l=11u; rt x4r=w-u; |
| 10663 |
x6=.5[x0,x3]; |
| 10664 |
less(0,1,2); |
| 10665 |
less(3,4,5); |
| 10666 |
less(6,7,8); |
| 10667 |
endchar; |
| 10668 |
|
| 10669 |
iff known chars.math_less_dot: |
| 10670 |
bskchar "Less than sign with dot"; |
| 10671 |
beginchar(chars.math_less_dot,12u#,v_center(8u#)); uni "0x22D6"; |
| 10672 |
italcorr h#*slant; |
| 10673 |
adjust_fit(0,0); |
| 10674 |
pickup tiny.nib; |
| 10675 |
oblu:=2oblu; |
| 10676 |
lft x0l=u; y0=y3=math_axis; |
| 10677 |
x3=w-2u-.5dot_size; |
| 10678 |
less(0,1,2); |
| 10679 |
dot(3); |
| 10680 |
endchar; |
| 10681 |
|
| 10682 |
iff known chars.math_less_circle: |
| 10683 |
bskchar "Less than sign with circle inside"; |
| 10684 |
beginchar(chars.math_less_circle,12u#,v_center(8u#)); uni "0x2A79"; |
| 10685 |
italcorr h#*slant; |
| 10686 |
adjust_fit(0,0); |
| 10687 |
pickup tiny.nib; |
| 10688 |
rt x2=w-u; y2=math_axis; |
| 10689 |
y2=y0; x0=x8; x2-x6=y8-y4=2.5u; |
| 10690 |
lft x9l=u; y9=math_axis; |
| 10691 |
oblu:=2oblu; less(9,10,11); oblu:=f_obl; |
| 10692 |
circle_points(rule_thickness); |
| 10693 |
filldraw draw_circle.l; |
| 10694 |
infill draw_circle.r; |
| 10695 |
endchar; |
| 10696 |
|
| 10697 |
iff known chars.math_less_neq: |
| 10698 |
bskchar "Less than or not equal to sign"; |
| 10699 |
beginchar(chars.math_less_neq,12u#,v_center(11u#)); uni "0x2A87"; |
| 10700 |
italcorr h#*slant; |
| 10701 |
adjust_fit(0,0); |
| 10702 |
pickup tiny.nib; |
| 10703 |
oblu:=2oblu; |
| 10704 |
lft x0l=u; y0=h-4u; |
| 10705 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10706 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 10707 |
bskpoints(3,4,hair,hair); |
| 10708 |
.5[x5,x6]=.5[x3,x4]; .5[y5,y6]=y3; x6-x5=.75(y6-y5)=3u; |
| 10709 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 10710 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 10711 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 10712 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 10713 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 10714 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 10715 |
less(0,1,2); |
| 10716 |
penlabels(3,4,5,5',6,6'); labels(5rr,6ll); |
| 10717 |
endchar; |
| 10718 |
|
| 10719 |
iff known chars.math_less_eq_not: |
| 10720 |
bskchar "Negated less than or equal to sign"; |
| 10721 |
beginchar(chars.math_less_eq_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2270"; |
| 10722 |
italcorr h#*slant; |
| 10723 |
adjust_fit(0,0); |
| 10724 |
pickup tiny.nib; |
| 10725 |
oblu:=2oblu; |
| 10726 |
oblu.more:=2.5f_obl; |
| 10727 |
lft x0l=u; y0=math_axis+1.5u; y1r=math_axis+5.5u-.5rule_thickness; |
| 10728 |
top rt z3=(w-3u,h); .5[x4,x3]=.5w; y4=-d; |
| 10729 |
lft x5=u; rt x6=w-u; y5l=y6l=math_axis-5.5u; |
| 10730 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 10731 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10732 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10733 |
bskpoints(5,6,hair,hair); |
| 10734 |
less(0,1,2).nodraw; |
| 10735 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10736 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10737 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10738 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10739 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10740 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10741 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10742 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10743 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 10744 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 10745 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 10746 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 10747 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---tobl(2'r,3rr,1l).more---z1ll |
| 10748 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10749 |
---obl(5'r,3''r,6r)---z6r..z6ll---obl(6'r,6l,4r)---z4r..z4l |
| 10750 |
---obl(6'l,4l,5l)---z5l..z5rr---obl(5'l,5r,3''l)---obl(3''l,4l,0l')---cycle; |
| 10751 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10752 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); labels(3rr,4ll); |
| 10753 |
endchar; |
| 10754 |
|
| 10755 |
iff known chars.math_less_eq_slanted_not: |
| 10756 |
bskchar "Negated less than or slanted equal to sign"; |
| 10757 |
beginchar(chars.math_less_eq_slanted_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 10758 |
italcorr h#*slant; |
| 10759 |
adjust_fit(0,0); |
| 10760 |
pickup tiny.nib; |
| 10761 |
oblu:=2oblu; |
| 10762 |
oblu.more:=2.5f_obl; |
| 10763 |
lft x0l=u; y0=math_axis+1.5u; y1r=math_axis+5.5u-.5rule_thickness; |
| 10764 |
top rt z3=(w-3u,h); .5[x4,x3]=.5w; y4=-d; |
| 10765 |
lft x5=u; rt x6=w-u; y6l=math_axis-5.5u; y2-y6=y0-y5; |
| 10766 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 10767 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10768 |
less(0,1,2).nodraw; |
| 10769 |
pos5(rule_thickness,angle(z5-z6)-90); pos6(rule_thickness,angle(z5-z6)-90); |
| 10770 |
bskpoints(5,6,hair,hair); |
| 10771 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10772 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10773 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10774 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10775 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10776 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10777 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10778 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10779 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 10780 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 10781 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 10782 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 10783 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---tobl(2'r,3rr,1l).more---z1ll |
| 10784 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10785 |
---obl(5'r,3''r,6r)---z6r..z6ll---obl(6'r,6l,4r)---z4r..z4l |
| 10786 |
---obl(6'l,4l,5l)---z5l..z5rr---obl(5'l,5r,3''l)---obl(3''l,4l,0l')---cycle; |
| 10787 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10788 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); |
| 10789 |
endchar; |
| 10790 |
|
| 10791 |
iff known chars.math_less_neq_vert: |
| 10792 |
bskchar "Less than or not equal to sign with vertical stroke"; |
| 10793 |
beginchar(chars.math_less_neq_vert,12u#,v_center(11u#)); uni "non"; |
| 10794 |
italcorr h#*slant; |
| 10795 |
adjust_fit(0,0); |
| 10796 |
pickup tiny.nib; |
| 10797 |
lft x0l=u; y0=h-4u; |
| 10798 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 10799 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 10800 |
bskpoints(3,4,hair,hair); |
| 10801 |
x5=x6=.5w; .5[y5,y6]=y3; .75(y6-y5)=3u; |
| 10802 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 10803 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 10804 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 10805 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 10806 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 10807 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 10808 |
oblu:=2oblu; |
| 10809 |
less(0,1,2); |
| 10810 |
penlabels(3,4,5,5',6,6'); labels(5rr,6ll); |
| 10811 |
endchar; |
| 10812 |
|
| 10813 |
iff known chars.math_less_eq_not_vert: |
| 10814 |
bskchar "Negated less than or equal to sign with vertical stroke"; |
| 10815 |
beginchar(chars.math_less_eq_not_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 10816 |
italcorr h#*slant; |
| 10817 |
adjust_fit(0,0); |
| 10818 |
pickup tiny.nib; |
| 10819 |
oblu:=2oblu; |
| 10820 |
oblu.more:=2.5f_obl; |
| 10821 |
lft x0l=u; y0=math_axis+1.5u; y1r=math_axis+5.5u-.5rule_thickness; |
| 10822 |
top y3=h; x4=x3=.55w; y4=-d; |
| 10823 |
lft x5=u; rt x6=w-u; y5l=y6l=math_axis-5.5u; |
| 10824 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 10825 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 10826 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 10827 |
bskpoints(5,6,hair,hair); |
| 10828 |
less(0,1,2).nodraw; |
| 10829 |
z2'l=whatever[z3l,z4l]=whatever[z1l,z0l]; |
| 10830 |
z2'r=whatever[z3r,z4r]=whatever[z1l,z0l]; |
| 10831 |
z2''l=whatever[z3l,z4l]=whatever[z1r,z0''']; |
| 10832 |
z2''r=whatever[z3r,z4r]=whatever[z1r,z0''']; |
| 10833 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 10834 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 10835 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 10836 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 10837 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 10838 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 10839 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 10840 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 10841 |
filldraw z0l..z0l'---obl(2'l,0l',3l)---z3l..z3rr---obl(2'r,3r,1l).more---z1ll |
| 10842 |
..z1r---obl(2''r,1r,3'r)---obl(3'r,2''r,2r)---z2r..z2l---obl(3''r,2l,4r) |
| 10843 |
---obl(5'r,3''r,6r)---z6r..z6ll---obl(6'r,6l,4r)---z4r..z4l |
| 10844 |
---obl(6'l,4l,5l)---z5l..z5rr---obl(5'l,5r,3''l)---obl(3''l,4l,0l')---cycle; |
| 10845 |
infill obl(2''l,3'l,0''')---obl(0''',1r,2r)---obl(3'l,0''',2''l)---cycle; |
| 10846 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); |
| 10847 |
endchar; |
| 10848 |
|
| 10849 |
iff known chars.math_less_sim: |
| 10850 |
bskchar "Less than or similar to sign"; |
| 10851 |
beginchar(chars.math_less_sim,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2272"; |
| 10852 |
italcorr h#*slant; |
| 10853 |
adjust_fit(0,0); |
| 10854 |
numeric spread; |
| 10855 |
pickup tiny.nib; |
| 10856 |
oblu:=2oblu; |
| 10857 |
lft x0l=u; y0=h-4u; |
| 10858 |
bot y3=-d; spread:=.5x_height; |
| 10859 |
less(0,1,2); |
| 10860 |
vlnka(3,4); |
| 10861 |
endchar; |
| 10862 |
|
| 10863 |
iff known chars.math_sim_less: |
| 10864 |
bskchar "Similar to or less than sign"; |
| 10865 |
beginchar(chars.math_sim_less,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2A9D"; |
| 10866 |
italcorr h#*slant; |
| 10867 |
adjust_fit(0,0); |
| 10868 |
numeric spread; |
| 10869 |
pickup tiny.nib; |
| 10870 |
oblu:=2oblu; |
| 10871 |
lft x0l=u; y0=-d+4u; y1r-y0=4u-.5rule_thickness; |
| 10872 |
top y4=h; spread:=.5x_height; |
| 10873 |
less(0,1,2); |
| 10874 |
vlnka(3,4); |
| 10875 |
endchar; |
| 10876 |
|
| 10877 |
iff known chars.math_less_sim_neg: |
| 10878 |
bskchar "Negated less than or similar to sign"; |
| 10879 |
beginchar(chars.math_less_sim_neg,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2274"; |
| 10880 |
italcorr h#*slant; |
| 10881 |
adjust_fit(0,0); |
| 10882 |
pickup tiny.nib; |
| 10883 |
path p[]; numeric tim[], spread; |
| 10884 |
oblu:=2oblu; |
| 10885 |
lft x0l=u; y0=h-4u; |
| 10886 |
bot y3=-d; spread:=.5x_height; |
| 10887 |
top y5=h+rule_thickness; bot y6=-d-rule_thickness; .5[x5,x6]=.5w; x5-x6=4u; |
| 10888 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 10889 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 10890 |
less(0,1,2).nodraw; |
| 10891 |
vlnka(3,4).nodraw; |
| 10892 |
p0:=subpath(0,4) of _vlnka; |
| 10893 |
p1:=subpath(5,infinity) of _vlnka; |
| 10894 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 10895 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 10896 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 10897 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 10898 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 10899 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 10900 |
tim8=xpart(p3 intersectiontimes ((0,y2l)--(w,y2l))); |
| 10901 |
tim9=xpart(p2 intersectiontimes ((0,y2l)--(w,y2l))); |
| 10902 |
z7=whatever[z5r,z6r]=whatever[z2l,z0l]; z8=whatever[z5l,z6l]=whatever[z2l,z0l]; |
| 10903 |
z9=whatever[z5r,z6r]=whatever[z2r,z0''']; z10=whatever[z5l,z6l]=whatever[z2r,z0''']; |
| 10904 |
z11=whatever[z5r,z6r]=whatever[z1r,z0''']; z12=whatever[z5l,z6l]=whatever[z1r,z0''']; |
| 10905 |
z13=whatever[z5r,z6r]=whatever[z1l,z0l']; z14=whatever[z5l,z6l]=whatever[z1l,z0l']; |
| 10906 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 10907 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 10908 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 10909 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 10910 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 10911 |
..subpath(rundy(p3,(tim5,2oblu)),tim8) of p3 |
| 10912 |
---obl(7,6r,2l)---z2l..z2r---obl(9,2r,11)---obl(11,9,1r)---z1r..z1ll |
| 10913 |
---obl(13,1ll,5rr)..z5l---obl(14,5l,0l')---z0l'..z0l---obl(8,0l,6l) |
| 10914 |
..subpath(tim9,rundy(p2,tim7).zpet) of p2 |
| 10915 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 10916 |
infill obl(0''',12,10)---obl(10,0''',12)---obl(12,10,0''')---cycle; |
| 10917 |
penlabels(5,6); labels(7,8,9,10,11,12,13,14); |
| 10918 |
endchar; |
| 10919 |
|
| 10920 |
iff known chars.math_less_sim_neg_vert: |
| 10921 |
bskchar "Negated less than or similar to sign with vertical stroke"; |
| 10922 |
beginchar(chars.math_less_sim_neg_vert,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "non"; |
| 10923 |
italcorr h#*slant; |
| 10924 |
adjust_fit(0,0); |
| 10925 |
pickup tiny.nib; |
| 10926 |
path p[]; numeric tim[], spread; |
| 10927 |
oblu:=2oblu; |
| 10928 |
lft x0l=u; y0=h-4u; |
| 10929 |
bot y3=-d; spread:=.5x_height; |
| 10930 |
top y5=h+rule_thickness; bot y6=-d-rule_thickness; x5=x6=.5w; |
| 10931 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 10932 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 10933 |
less(0,1,2).nodraw; |
| 10934 |
vlnka(3,4).nodraw; |
| 10935 |
p0:=subpath(0,4) of _vlnka; |
| 10936 |
p1:=subpath(5,infinity) of _vlnka; |
| 10937 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 10938 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 10939 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 10940 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 10941 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 10942 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 10943 |
tim8=xpart(p3 intersectiontimes ((0,y2l)--(w,y2l))); |
| 10944 |
tim9=xpart(p2 intersectiontimes ((0,y2l)--(w,y2l))); |
| 10945 |
z7=whatever[z5r,z6r]=whatever[z2l,z0l]; z8=whatever[z5l,z6l]=whatever[z2l,z0l]; |
| 10946 |
z9=whatever[z5r,z6r]=whatever[z2r,z0''']; z10=whatever[z5l,z6l]=whatever[z2r,z0''']; |
| 10947 |
z11=whatever[z5r,z6r]=whatever[z1r,z0''']; z12=whatever[z5l,z6l]=whatever[z1r,z0''']; |
| 10948 |
z13=whatever[z5r,z6r]=whatever[z1l,z0l']; z14=whatever[z5l,z6l]=whatever[z1l,z0l']; |
| 10949 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 10950 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 10951 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 10952 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 10953 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 10954 |
..subpath(rundy(p3,(tim5,2oblu)),tim8) of p3 |
| 10955 |
---obl(7,6r,2l)---z2l..z2r---obl(9,2r,11)---obl(11,9,1r)---z1r..z1ll |
| 10956 |
---obl(13,1ll,5rr)..z5l---obl(14,5l,0l')---z0l'..z0l---obl(8,0l,6l) |
| 10957 |
..subpath(tim9,rundy(p2,(tim7,3f_obl)).zpet) of p2 |
| 10958 |
..subpath(rundy(p1,(tim6,3f_obl)),infinity) of p1..cycle; |
| 10959 |
infill obl(0''',12,10)---obl(10,0''',12)---obl(12,10,0''')---cycle; |
| 10960 |
penlabels(5,6); labels(7,8,9,10,11,12,13,14); |
| 10961 |
endchar; |
| 10962 |
|
| 10963 |
iff known chars.math_less_not_sim: |
| 10964 |
bskchar "Less than and not similar to sign"; |
| 10965 |
beginchar(chars.math_less_not_sim,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x22E6"; |
| 10966 |
italcorr h#*slant; |
| 10967 |
adjust_fit(0,0); |
| 10968 |
numeric spread; |
| 10969 |
pickup tiny.nib; |
| 10970 |
path p[]; numeric tim[]; |
| 10971 |
oblu:=2oblu; |
| 10972 |
lft x0l=u; y0=h-4u; |
| 10973 |
bot y3=-d; spread:=.5x_height; |
| 10974 |
less(0,1,2); |
| 10975 |
vlnka(3,4).nodraw; |
| 10976 |
top y5-bot y6=.7x_height; .5[y5,y6]=.5[y3,y4]; .5[x5,x6]=.5w; x5=x4a; |
| 10977 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 10978 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 10979 |
p0:=subpath(0,4) of _vlnka; |
| 10980 |
p1:=subpath(5,infinity) of _vlnka; |
| 10981 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 10982 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 10983 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 10984 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 10985 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 10986 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 10987 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 10988 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 10989 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 10990 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 10991 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 10992 |
..subpath(rundy(p3,(tim5,2oblu)),infinity) of p3 |
| 10993 |
..subpath(0,rundy(p2,tim7).zpet) of p2 |
| 10994 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 10995 |
penlabels(2,3,5,6); labels(2rr,3ll); |
| 10996 |
endchar; |
| 10997 |
|
| 10998 |
iff known chars.math_less_approx: |
| 10999 |
bskchar "Less than or approximately equal to sign"; |
| 11000 |
beginchar(chars.math_less_approx,12u#,v_center(8u#+.8x_height#+2rule_thickness#)); uni "0x2A85"; |
| 11001 |
italcorr h#*slant; |
| 11002 |
adjust_fit(0,0); |
| 11003 |
numeric spread; |
| 11004 |
pickup tiny.nib; |
| 11005 |
oblu:=2oblu; |
| 11006 |
lft x0l=u; y0=h-4u; |
| 11007 |
spread:=.4x_height; |
| 11008 |
bot y3=-d; y5-y3=spread; |
| 11009 |
less(0,1,2); |
| 11010 |
vlnka(3,4); |
| 11011 |
vlnka(5,6); |
| 11012 |
endchar; |
| 11013 |
|
| 11014 |
iff known chars.math_less_not_approx: |
| 11015 |
bskchar "Less than and not approximately equal to sign"; |
| 11016 |
beginchar(chars.math_less_not_approx,12u#,v_center(8u#+.8x_height#+2rule_thickness#)); uni "0x2A89"; |
| 11017 |
italcorr h#*slant; |
| 11018 |
adjust_fit(0,0); |
| 11019 |
numeric spread; |
| 11020 |
pickup tiny.nib; |
| 11021 |
path p[]; numeric tim[]; |
| 11022 |
oblu:=2oblu; |
| 11023 |
spread:=.4x_height; |
| 11024 |
bot y1=-d; y3-y1=spread; |
| 11025 |
top y5-bot y6=x_height; .5[y5,y6]=y3; .5[x5,x6]=.5w; z5=z6+whatever*dir60; |
| 11026 |
lft x7l=u; y7=h-4u; |
| 11027 |
less(7,8,9); |
| 11028 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 11029 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 11030 |
vlnka(1,2).nodraw; |
| 11031 |
p0:=subpath(0,4) of _vlnka; |
| 11032 |
p1:=subpath(5,infinity) of _vlnka; |
| 11033 |
vlnka(3,4).nodraw; |
| 11034 |
p2:=subpath(0,4) of _vlnka; |
| 11035 |
p3:=subpath(5,infinity) of _vlnka; |
| 11036 |
p4:=z5l---z6ll..{z5-z6}z6r; |
| 11037 |
p5:=z6r---z5rr..{z6-z5}z5l; |
| 11038 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 11039 |
(tim2,tim3)=p0 intersectiontimes p5; |
| 11040 |
(tim4,tim5)=p1 intersectiontimes p5; |
| 11041 |
(tim6,tim7)=p1 intersectiontimes p4; |
| 11042 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 11043 |
(tim10,tim11)=p2 intersectiontimes p5; |
| 11044 |
(tim12,tim13)=p3 intersectiontimes p5; |
| 11045 |
(tim14,tim15)=p3 intersectiontimes p4; |
| 11046 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 11047 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 11048 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 11049 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 11050 |
..subpath(0,rundy(p1,tim6).zpet) of p1 |
| 11051 |
..subpath(rundy(p5,(tim5,f_obl)),rundy(p5,(tim11,f_obl)).zpet) of p5 |
| 11052 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 11053 |
..subpath(0,rundy(p3,tim12).zpet) of p3 |
| 11054 |
..subpath(rundy(p5,tim13),infinity) of p5 |
| 11055 |
..subpath(0,rundy(p4,tim15).zpet) of p4 |
| 11056 |
..subpath(rundy(p3,tim14),infinity) of p3 |
| 11057 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 11058 |
..subpath(rundy(p4,(tim9,f_obl)),rundy(p4,(tim7,f_obl)).zpet) of p4 |
| 11059 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 11060 |
penlabels(5,6); |
| 11061 |
endchar; |
| 11062 |
|
| 11063 |
iff known chars.math_less_sim_eq: |
| 11064 |
bskchar "Less than or similar or equal to sign"; |
| 11065 |
beginchar(chars.math_less_sim_eq,12u#,v_center(8u#+.8x_height#+rule_thickness#)); uni "0x2A8D"; |
| 11066 |
italcorr h#*slant; |
| 11067 |
adjust_fit(0,0); |
| 11068 |
numeric spread; |
| 11069 |
pickup tiny.nib; |
| 11070 |
oblu:=2oblu; |
| 11071 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11072 |
lft x0l=lft x3=u; rt x4=w-u; y0=h-4u; |
| 11073 |
spread:=.4x_height; |
| 11074 |
bot y3l=bot y4l=-d; y5-y3=spread-rule_thickness; |
| 11075 |
less(0,1,2); |
| 11076 |
filldraw bskrule(3,4,hair,hair); |
| 11077 |
vlnka(5,6); |
| 11078 |
endchar; |
| 11079 |
|
| 11080 |
iff known chars.math_smaller: |
| 11081 |
bskchar "Smaller sign"; |
| 11082 |
beginchar(chars.math_smaller,12u#,v_center(8u#)); uni "0x2AAA"; |
| 11083 |
italcorr h#*slant; |
| 11084 |
adjust_fit(0,0); |
| 11085 |
pickup tiny.nib; |
| 11086 |
path p[]; numeric tim[]; |
| 11087 |
oblu:=2oblu; |
| 11088 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 11089 |
lft x0l=x3=u; y0=y3=y4=math_axis; x4=x1; |
| 11090 |
less(0,1,2).nodraw; |
| 11091 |
p0:=_less; |
| 11092 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 11093 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 11094 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 11095 |
oblu:=3f_obl; |
| 11096 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 11097 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 11098 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 11099 |
penlabels(3,4); labels(4ll); |
| 11100 |
endchar; |
| 11101 |
|
| 11102 |
iff known chars.math_smaller_eq: |
| 11103 |
bskchar "Smaller or equals sign"; |
| 11104 |
beginchar(chars.math_smaller_eq,12u#,v_center(11u#)); uni "0x2AAC"; |
| 11105 |
italcorr h#*slant; |
| 11106 |
adjust_fit(0,0); |
| 11107 |
pickup tiny.nib; |
| 11108 |
path p[]; numeric tim[]; |
| 11109 |
oblu:=2oblu; |
| 11110 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 11111 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11112 |
lft x0l=x3=u; y0=y3=y4=h-4u; x4=x1; |
| 11113 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 11114 |
less(0,1,2).nodraw; |
| 11115 |
p0:=_less; |
| 11116 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 11117 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 11118 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 11119 |
oblu:=3f_obl; |
| 11120 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 11121 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 11122 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 11123 |
filldraw bskrule(5,6,hair,hair); |
| 11124 |
penlabels(3,4,5,6); labels(4ll); |
| 11125 |
endchar; |
| 11126 |
|
| 11127 |
iff known chars.math_smaller_eq_slanted: |
| 11128 |
bskchar "Smaller or slanted equals sign"; |
| 11129 |
beginchar(chars.math_smaller_eq_slanted,12u#,v_center(11u#)); uni "non"; %"0x2AAC.slanted"; |
| 11130 |
italcorr h#*slant; |
| 11131 |
adjust_fit(0,0); |
| 11132 |
pickup tiny.nib; |
| 11133 |
path p[]; numeric tim[]; |
| 11134 |
oblu:=2oblu; |
| 11135 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 11136 |
lft x0l=x3=u; y0=y3=y4=h-4u; x4=x1; |
| 11137 |
lft x5=u; rt x6=w-u; y6=-d+.5rule_thickness; y0-y5=y2-y6; |
| 11138 |
less(0,1,2).nodraw; |
| 11139 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 11140 |
p0:=_less; |
| 11141 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 11142 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 11143 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 11144 |
oblu:=3f_obl; |
| 11145 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 11146 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 11147 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 11148 |
filldraw bskrule(5,6,hair,hair); |
| 11149 |
penlabels(3,4,5,6); labels(4ll); |
| 11150 |
endchar; |
| 11151 |
|
| 11152 |
iff known chars.math_greater: |
| 11153 |
bskchar "Greater than sign"; |
| 11154 |
beginchar(chars.math_greater,12u#,v_center(8u#)); uni "0x003E"; |
| 11155 |
italcorr math_axis#*slant; |
| 11156 |
adjust_fit(0,0); |
| 11157 |
pickup tiny.nib; |
| 11158 |
oblu:=2oblu; |
| 11159 |
rt x0r=w-u; y0=math_axis; |
| 11160 |
greater(0,1,2); |
| 11161 |
endchar; |
| 11162 |
|
| 11163 |
iff known chars.math_greater_not: |
| 11164 |
bskchar "Negated greater than sign"; |
| 11165 |
beginchar(chars.math_greater_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x226F"; |
| 11166 |
italcorr math_axis#*slant; |
| 11167 |
adjust_fit(0,0); |
| 11168 |
pickup tiny.nib; |
| 11169 |
oblu:=2oblu; |
| 11170 |
oblu.more:=2.5f_obl; |
| 11171 |
rt x0r=w-u; y0=math_axis; y1l=math_axis+4u-.5rule_thickness; |
| 11172 |
top y3=h; y4=-d; |
| 11173 |
if not boldmath: rt x3=w-3u; .5[x4,x3]=.5w; else: rt x3=w-4u; lft x4=2u; fi |
| 11174 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 11175 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11176 |
greater(0,1,2).nodraw; |
| 11177 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11178 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11179 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11180 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11181 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11182 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11183 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11184 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11185 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11186 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11187 |
---obl(3''l,2l,4l).more---z4ll..z4r---obl(3''r,4r,0r)---cycle; |
| 11188 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11189 |
penlabels(2',2'',3,3',3'',4); |
| 11190 |
endchar; |
| 11191 |
|
| 11192 |
iff known chars.math_greater_not_vert: |
| 11193 |
bskchar "Negated greater than sign with vertical stroke"; |
| 11194 |
beginchar(chars.math_greater_not_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 11195 |
italcorr math_axis#*slant; |
| 11196 |
adjust_fit(0,0); |
| 11197 |
pickup tiny.nib; |
| 11198 |
oblu:=2oblu; |
| 11199 |
rt x0r=w-u; y0=math_axis; y1l=math_axis+4u-.5rule_thickness; |
| 11200 |
top y3=h; x4=x3=.45w; y4=-d; |
| 11201 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 11202 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11203 |
greater(0,1,2).nodraw; |
| 11204 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11205 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11206 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11207 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11208 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11209 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11210 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11211 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11212 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11213 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11214 |
---obl(3''l,2l,4l)---z4ll..z4r---obl(3''r,4r,0r)---cycle; |
| 11215 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11216 |
penlabels(2',2'',3,3',3'',4); |
| 11217 |
endchar; |
| 11218 |
|
| 11219 |
iff known chars.math_greater_closed: |
| 11220 |
bskchar "Closed greater than sign"; |
| 11221 |
beginchar(chars.math_greater_closed,15u#,v_center(8u#)); uni "0x2AA7"; |
| 11222 |
italcorr h#*slant; |
| 11223 |
adjust_fit(0,0); |
| 11224 |
pickup tiny.nib; |
| 11225 |
oblu:=2oblu; |
| 11226 |
pos3(rule_thickness,0); |
| 11227 |
rt x0r=w-u; lft x1l=4u; y0=y3=math_axis; lft x3l=u; |
| 11228 |
greater(0,1,2).nodraw; |
| 11229 |
filldraw subpath(0,2) of _greater---z1r...{down}z3l...point infinity of _greater---cycle; |
| 11230 |
infill subpath(3,6) of _greater...{up}z3r...cycle; |
| 11231 |
penlabels(3); |
| 11232 |
endchar; |
| 11233 |
|
| 11234 |
iff known chars.math_greater_eq: |
| 11235 |
bskchar "Greater than or equal to sign"; |
| 11236 |
beginchar(chars.math_greater_eq,12u#,v_center(11u#)); uni "0x2265"; |
| 11237 |
italcorr x_height#*slant-.25u#; |
| 11238 |
adjust_fit(0,0); |
| 11239 |
pickup tiny.nib; |
| 11240 |
oblu:=2oblu; |
| 11241 |
rt x0r=w-u; y0=h-4u; |
| 11242 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11243 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 11244 |
filldraw bskrule(3,4,hair,hair); |
| 11245 |
greater(0,1,2); |
| 11246 |
penlabels(3,4); |
| 11247 |
endchar; |
| 11248 |
|
| 11249 |
iff known chars.math_greater_eq_double_slanted: |
| 11250 |
bskchar "Greater than or double slanted equal to sign"; |
| 11251 |
beginchar(chars.math_greater_eq_double_slanted,12u#,v_center(11u#+.45x_height#)); uni "0x2AFA"; |
| 11252 |
italcorr x_height#*slant-.25u#; |
| 11253 |
adjust_fit(0,0); |
| 11254 |
pickup tiny.nib; |
| 11255 |
oblu:=2oblu; |
| 11256 |
rt x0r=w-u; y0=h-4u; |
| 11257 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y3=-d+.5rule_thickness; y5-y3=y6-y4=.45x_height; y2-y3=y0-y4; |
| 11258 |
greater(0,1,2); |
| 11259 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11260 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 11261 |
filldraw bskrule(3,4,hair,hair); |
| 11262 |
filldraw bskrule(5,6,hair,hair); |
| 11263 |
penlabels(3,4,5,6); |
| 11264 |
endchar; |
| 11265 |
|
| 11266 |
iff known chars.math_greater_eq_double: |
| 11267 |
bskchar "Greater than or double equal to sign"; |
| 11268 |
beginchar(chars.math_greater_eq_double,12u#,v_center(11u#+.45x_height#)); uni "0x2267"; |
| 11269 |
italcorr x_height#*slant-.25u#; |
| 11270 |
adjust_fit(0,0); |
| 11271 |
pickup tiny.nib; |
| 11272 |
oblu:=2oblu; |
| 11273 |
rt x0r=w-u; y0=h-4u; |
| 11274 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11275 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11276 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y3l=y4l=-d; y5=y6=y3+.45x_height; |
| 11277 |
filldraw bskrule(3,4,hair,hair); |
| 11278 |
filldraw bskrule(5,6,hair,hair); |
| 11279 |
greater(0,1,2); |
| 11280 |
penlabels(3,4,5,6); |
| 11281 |
endchar; |
| 11282 |
|
| 11283 |
iff known chars.math_greater_not_eq_double: |
| 11284 |
bskchar "Greater than and not double equal to sign"; |
| 11285 |
beginchar(chars.math_greater_not_eq_double,12u#,v_center(11u#+.45x_height#)); uni "0x2269"; |
| 11286 |
italcorr h#*slant; |
| 11287 |
adjust_fit(0,0); |
| 11288 |
pickup tiny.nib; |
| 11289 |
oblu:=2oblu; |
| 11290 |
rt x0r=w-u; y0=h-4u; |
| 11291 |
greater(0,1,2); |
| 11292 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11293 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11294 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 11295 |
top y7=y2l-rule_thickness; x8=x2l+2u; .5[x8,x7]=.5w; .5[y8,y7]=.5[y3,y5]; |
| 11296 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 11297 |
bskpoints(3,4,hair,hair); bskpoints(5,6,hair,hair); |
| 11298 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 11299 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 11300 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 11301 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 11302 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 11303 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 11304 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 11305 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 11306 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 11307 |
oblu:=f_obl; oblu.more:=2f_obl; |
| 11308 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r).more---z4r |
| 11309 |
..z4ll---obl(5',4l,6')---obl(6',5',6r).more---z6r..z6ll |
| 11310 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5l).more---z5l |
| 11311 |
..z5rr---obl(9',5r,10')---obl(10',9',3l).more---z3l..cycle; |
| 11312 |
penlabels(3,4,5,6,7,8); labels(4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 11313 |
endchar; |
| 11314 |
|
| 11315 |
iff known chars.math_greater_eq_double_not: |
| 11316 |
bskchar "Negated greater than or double equal to sign"; |
| 11317 |
beginchar(chars.math_greater_eq_double_not,12u#,v_center(11u#+.45x_height#+4rule_thickness#)); uni "non"; |
| 11318 |
italcorr math_axis#*slant; |
| 11319 |
adjust_fit(0,0); |
| 11320 |
pickup tiny.nib; |
| 11321 |
oblu:=2oblu; |
| 11322 |
oblu.more:=2.5f_obl; |
| 11323 |
rt x0r=w-u; y0=h-4u-2rule_thickness; y1l=h-2.5rule_thickness; |
| 11324 |
top y3=h; y4=-d; |
| 11325 |
if not boldmath: .5[x4,x3]=.5w-.5u; rt x3=w-4u; else: rt x3=w-5u; lft x4=2u; fi |
| 11326 |
lft x5=lft x7=u; rt x6=rt x8=w-u; y7l=y8l=-d+2rule_thickness; y5=y6=y7+.45x_height; |
| 11327 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 11328 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11329 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 11330 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11331 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 11332 |
greater(0,1,2).nodraw; |
| 11333 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11334 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11335 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11336 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11337 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11338 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11339 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11340 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11341 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 11342 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 11343 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 11344 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 11345 |
z7'l=whatever[z3l,z4l]=whatever[z7r,z8r]; |
| 11346 |
z7'r=whatever[z3r,z4r]=whatever[z7r,z8r]; |
| 11347 |
z8'l=whatever[z3l,z4l]=whatever[z7l,z8l]; |
| 11348 |
z8'r=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 11349 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11350 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11351 |
---obl(3''l,2l,4l).more---obl(5'l,3''l,5r)---z5rr..z5l---obl(6'l,5l,7'l) |
| 11352 |
---tobl(7'l,6'l,7rr)---z7rr..z7l---obl(8'l,7l,4l)---z4l..z4r---obl(8'r,4r,8l) |
| 11353 |
---z8ll..z8r---obl(7'r,8r,6'r)---obl(6'r,4r,6l)---z6ll..z6r---obl(5'r,6r,3''r) |
| 11354 |
---obl(3''r,4r,0r)---cycle; |
| 11355 |
infill ifobl(2''r,3'r,0''',0''',,)---obl(0''',2r,1r)---cycle; |
| 11356 |
penlabels(2',2'',3,3',3'',4,5,5',6,6',7,7',8,8'); |
| 11357 |
endchar; |
| 11358 |
|
| 11359 |
iff known chars.math_greater_vert_not_eq_double: |
| 11360 |
bskchar "Greater than and vertical not double equal to sign"; |
| 11361 |
beginchar(chars.math_greater_vert_not_eq_double,12u#,v_center(11u#+.45x_height#)); uni "non"; |
| 11362 |
italcorr h#*slant; |
| 11363 |
adjust_fit(0,0); |
| 11364 |
pickup tiny.nib; |
| 11365 |
oblu:=2oblu; |
| 11366 |
rt x0r=w-u; y0=h-4u; |
| 11367 |
greater(0,1,2); |
| 11368 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11369 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11370 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 11371 |
top y7=y2l-rule_thickness; x8=x7=.5w; .5[y8,y7]=.5[y3,y5]; |
| 11372 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 11373 |
bskpoints(3,4,hair,hair); bskpoints(5,6,hair,hair); |
| 11374 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 11375 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 11376 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 11377 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 11378 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 11379 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 11380 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 11381 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 11382 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 11383 |
oblu:=f_obl; |
| 11384 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r)---z4r |
| 11385 |
..z4ll---obl(5',4l,6')---obl(6',5',6r)---z6r..z6ll |
| 11386 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5l)---z5l |
| 11387 |
..z5rr---obl(9',5r,10')---obl(10',9',3l)---z3l..cycle; |
| 11388 |
penlabels(3,4,5,6,7,8); labels(4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 11389 |
endchar; |
| 11390 |
|
| 11391 |
iff known chars.math_greater_eq_double_not_vert: |
| 11392 |
bskchar "Negated greater than or double equal to sign with vertical stroke"; |
| 11393 |
beginchar(chars.math_greater_eq_double_not_vert,12u#,v_center(11u#+.45x_height#+4rule_thickness#)); uni "non"; |
| 11394 |
italcorr math_axis#*slant; |
| 11395 |
adjust_fit(0,0); |
| 11396 |
pickup tiny.nib; |
| 11397 |
oblu:=2oblu; |
| 11398 |
oblu.more:=2.5f_obl; |
| 11399 |
rt x0r=w-u; y0=h-4u-2rule_thickness; y1l=h-2.5rule_thickness; |
| 11400 |
top y3=h; x4=x3=.5w; y4=-d; |
| 11401 |
lft x5=lft x7=u; rt x6=rt x8=w-u; y7l=y8l=-d+2rule_thickness; y5=y6=y7+.45x_height; |
| 11402 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 11403 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11404 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 11405 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11406 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 11407 |
greater(0,1,2).nodraw; |
| 11408 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11409 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11410 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11411 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11412 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11413 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11414 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11415 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11416 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 11417 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 11418 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 11419 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 11420 |
z7'l=whatever[z3l,z4l]=whatever[z7r,z8r]; |
| 11421 |
z7'r=whatever[z3r,z4r]=whatever[z7r,z8r]; |
| 11422 |
z8'l=whatever[z3l,z4l]=whatever[z7l,z8l]; |
| 11423 |
z8'r=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 11424 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11425 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11426 |
---obl(3''l,2l,4l).more---obl(5'l,3''l,5r)---z5rr..z5l---obl(6'l,5l,7'l) |
| 11427 |
---obl(7'l,6'l,7r)---z7rr..z7l---obl(8'l,7l,4l)---z4l..z4r---obl(8'r,4r,8l) |
| 11428 |
---z8ll..z8r---obl(7'r,8r,6'r)---obl(6'r,4r,6l)---z6ll..z6r---obl(5'r,6r,3''r) |
| 11429 |
---obl(3''r,4r,0r)---cycle; |
| 11430 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11431 |
penlabels(2',2'',3,3',3'',4,5,5',6,6',7,7',8,8'); |
| 11432 |
endchar; |
| 11433 |
|
| 11434 |
iff known chars.math_sim_greater_eq_double: |
| 11435 |
bskchar "Similar to or greater than or double equal to sign"; |
| 11436 |
beginchar(chars.math_sim_greater_eq_double,12u#,v_center(11u#+.9x_height#-rule_thickness#)); uni "0x2AA0"; |
| 11437 |
italcorr x_height#*slant-.25u#; |
| 11438 |
adjust_fit(0,0); |
| 11439 |
pickup tiny.nib; |
| 11440 |
oblu:=2oblu; |
| 11441 |
rt x0r=w-u; y0=math_axis; y1l-y0=4u-.5rule_thickness; |
| 11442 |
top y8=h; |
| 11443 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11444 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11445 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y3l=y4l=-d; y5=y6=y3+.45x_height; |
| 11446 |
filldraw bskrule(3,4,hair,hair); |
| 11447 |
filldraw bskrule(5,6,hair,hair); |
| 11448 |
greater(0,1,2); |
| 11449 |
vlnka(7,8); |
| 11450 |
penlabels(3,4,5,6); |
| 11451 |
endchar; |
| 11452 |
|
| 11453 |
iff known chars.math_eq_double_greater: |
| 11454 |
bskchar "Double equal to or greater than sign"; |
| 11455 |
beginchar(chars.math_eq_double_greater,12u#,v_center(11u#+.45x_height#)); uni "0x2A9A"; |
| 11456 |
italcorr x_height#*slant-.25u#; |
| 11457 |
adjust_fit(0,0); |
| 11458 |
pickup tiny.nib; |
| 11459 |
oblu:=2oblu; |
| 11460 |
rt x0r=w-u; y0=-d+4u; y1l-y0=4u-.5rule_thickness; |
| 11461 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11462 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11463 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5r=y6r=h; y3=y4=y5-.45x_height; |
| 11464 |
filldraw bskrule(3,4,hair,hair); |
| 11465 |
filldraw bskrule(5,6,hair,hair); |
| 11466 |
greater(0,1,2); |
| 11467 |
penlabels(3,4,5,6); |
| 11468 |
endchar; |
| 11469 |
|
| 11470 |
iff known chars.math_sl_eq_double_greater: |
| 11471 |
bskchar "Double slanted equal to or greater than sign"; |
| 11472 |
beginchar(chars.math_sl_eq_double_greater,12u#,v_center(11u#+.45x_height#)); uni "0x2A9C"; |
| 11473 |
italcorr x_height#*slant-.25u#; |
| 11474 |
adjust_fit(0,0); |
| 11475 |
pickup tiny.nib; |
| 11476 |
oblu:=2oblu; |
| 11477 |
rt x0r=w-u; y0=-d+4u; y1l-y0=4u-.5rule_thickness; |
| 11478 |
lft x3=lft x5=u; rt x4=rt x6=w-u; y5=h-.5rule_thickness; y5-y3=y6-y4=.45x_height; |
| 11479 |
greater(0,1,2); |
| 11480 |
y5-y6=y1r-y0; |
| 11481 |
pos3(rule_thickness,angle(z5-z6)+90); pos4(rule_thickness,angle(z5-z6)+90); |
| 11482 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 11483 |
filldraw bskrule(3,4,hair,hair); |
| 11484 |
filldraw bskrule(5,6,hair,hair); |
| 11485 |
penlabels(3,4,5,6); |
| 11486 |
endchar; |
| 11487 |
|
| 11488 |
iff known chars.math_greater_eq_slanted: |
| 11489 |
bskchar "Greater than or slanted equal to sign"; |
| 11490 |
beginchar(chars.math_greater_eq_slanted,12u#,v_center(11u#)); uni "0x2A7E"; |
| 11491 |
italcorr x_height#*slant-.25u#; |
| 11492 |
adjust_fit(0,0); |
| 11493 |
pickup tiny.nib; |
| 11494 |
oblu:=2oblu; |
| 11495 |
rt x0r=w-u; y0=h-4u; |
| 11496 |
greater(0,1,2); |
| 11497 |
lft x3=u; rt x4=w-u; y3=-d+.5rule_thickness; y0-y4=y2-y3; |
| 11498 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11499 |
filldraw bskrule(3,4,hair,hair); |
| 11500 |
penlabels(3,4); |
| 11501 |
endchar; |
| 11502 |
|
| 11503 |
iff known chars.math_greater_closed_eq_sl: |
| 11504 |
bskchar "Closed greater than or slanted equal to sign"; |
| 11505 |
beginchar(chars.math_greater_closed_eq_sl,15u#,v_center(12u#)); uni "0x2AA9"; |
| 11506 |
italcorr h#*slant; |
| 11507 |
adjust_fit(0,0); |
| 11508 |
pickup tiny.nib; |
| 11509 |
oblu:=2oblu; |
| 11510 |
pos3(rule_thickness,0); |
| 11511 |
rt x0r=w-u; lft x1l=4u; y0=y3=h-4u; lft x3l=u; |
| 11512 |
greater(0,1,2).nodraw; |
| 11513 |
filldraw subpath(0,2) of _greater---z1r...{down}z3l...point infinity of _greater---cycle; |
| 11514 |
infill subpath(3,6) of _greater...{up}z3r...cycle; |
| 11515 |
rt x5=w-u; x4=x3; y4=-d+.5rule_thickness; z4=z5+whatever*(z0l-z2l); |
| 11516 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 11517 |
filldraw bskrule(4,5,hair,hair); |
| 11518 |
penlabels(3,4,5); |
| 11519 |
endchar; |
| 11520 |
|
| 11521 |
iff known chars.math_greater_eq_slanted_dot: |
| 11522 |
bskchar "Greater than or slanted equal to sign with dot inside"; |
| 11523 |
beginchar(chars.math_greater_eq_slanted_dot,12u#,v_center(11u#)); uni "0x2A80"; |
| 11524 |
italcorr x_height#*slant-.25u#; |
| 11525 |
adjust_fit(0,0); |
| 11526 |
pickup tiny.nib; |
| 11527 |
oblu:=2oblu; |
| 11528 |
rt x0r=w-u; y0=y5=h-4u; lft x5=u+.5dot_size; |
| 11529 |
greater(0,1,2); |
| 11530 |
lft x3=u; rt x4=w-u; y3=-d+.5rule_thickness; y0-y4=y2-y3; |
| 11531 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11532 |
filldraw bskrule(3,4,hair,hair); |
| 11533 |
dot(5); |
| 11534 |
penlabels(3,4); |
| 11535 |
endchar; |
| 11536 |
|
| 11537 |
iff known chars.math_greater_eq_slanted_dot_right: |
| 11538 |
bskchar "Greater than or slanted equal to sign with dot above right"; |
| 11539 |
beginchar(chars.math_greater_eq_slanted_dot_right,12u#,v_center(11u#)); uni "0x2A82"; |
| 11540 |
italcorr x_height#*slant-.25u#; |
| 11541 |
adjust_fit(0,0); |
| 11542 |
pickup tiny.nib; |
| 11543 |
oblu:=2oblu; |
| 11544 |
rt x0r=w-u; y0=h-4u; rt x5=w-u-dot_size; top y5=h-.5dot_size; |
| 11545 |
greater(0,1,2); |
| 11546 |
lft x3=u; rt x4=w-u; y3=-d+.5rule_thickness; y0-y4=y2-y3; |
| 11547 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11548 |
filldraw bskrule(3,4,hair,hair); |
| 11549 |
dot(5); |
| 11550 |
penlabels(3,4); |
| 11551 |
endchar; |
| 11552 |
|
| 11553 |
iff known chars.math_greater_eq_slanted_dot_left: |
| 11554 |
bskchar "Greater than or slanted equal to sign with dot above left"; |
| 11555 |
beginchar(chars.math_greater_eq_slanted_dot_left,12u#,5.5u#+1.5dot_size#+math_axis#,5.5u#-math_axis#); uni "0x2A84"; |
| 11556 |
italcorr x_height#*slant-.25u#; |
| 11557 |
adjust_fit(0,0); |
| 11558 |
pickup tiny.nib; |
| 11559 |
oblu:=2oblu; |
| 11560 |
rt x0r=w-u; y1l=h-1.5dot_size-.5rule_thickness; y0=h-4u-1.5dot_size; |
| 11561 |
lft x5=u+dot_size; y5=h-.5dot_size; |
| 11562 |
greater(0,1,2); |
| 11563 |
lft x3=u; rt x4=w-u; y3=-d+.5rule_thickness; y0-y4=y2-y3; |
| 11564 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11565 |
filldraw bskrule(3,4,hair,hair); |
| 11566 |
dot(5); |
| 11567 |
penlabels(3,4); |
| 11568 |
endchar; |
| 11569 |
|
| 11570 |
iff known chars.math_eq_greater: |
| 11571 |
bskchar "Equal to or greater than sign"; |
| 11572 |
beginchar(chars.math_eq_greater,12u#,v_center(11u#)); uni "0x22DD"; |
| 11573 |
italcorr x_height#*slant-.25u#; |
| 11574 |
adjust_fit(0,0); |
| 11575 |
pickup tiny.nib; |
| 11576 |
oblu:=2oblu; |
| 11577 |
rt x0r=w-u; y0=-d+4u; y1l=y0+4u-.5rule_thickness; |
| 11578 |
greater(0,1,2); |
| 11579 |
lft x3=u; rt x4=w-u; y3=y4=h-.5rule_thickness; |
| 11580 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11581 |
filldraw bskrule(3,4,hair,hair); |
| 11582 |
penlabels(3,4); |
| 11583 |
endchar; |
| 11584 |
|
| 11585 |
iff known chars.math_eq_slanted_greater: |
| 11586 |
bskchar "Slanted equal to or greater than sign"; |
| 11587 |
beginchar(chars.math_eq_slanted_greater,12u#,v_center(11u#)); uni "0x2A96"; |
| 11588 |
italcorr x_height#*slant-.25u#; |
| 11589 |
adjust_fit(0,0); |
| 11590 |
pickup tiny.nib; |
| 11591 |
oblu:=2oblu; |
| 11592 |
rt x0r=w-u; y0=-d+4u; y1l=y0+4u-.5rule_thickness; |
| 11593 |
greater(0,1,2); |
| 11594 |
lft x3=u; rt x4=w-u; y3=h-.5rule_thickness; y4-y0=y3-y1; |
| 11595 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11596 |
filldraw bskrule(3,4,hair,hair); |
| 11597 |
penlabels(3,4); |
| 11598 |
endchar; |
| 11599 |
|
| 11600 |
iff known chars.math_eq_slanted_greater_dot: |
| 11601 |
bskchar "Slanted equal to or greater than sign with dot inside"; |
| 11602 |
beginchar(chars.math_eq_slanted_greater_dot,12u#,v_center(11u#)); uni "0x2A98"; |
| 11603 |
italcorr x_height#*slant-.25u#; |
| 11604 |
adjust_fit(0,0); |
| 11605 |
pickup tiny.nib; |
| 11606 |
oblu:=2oblu; |
| 11607 |
rt x0r=w-u; y0=y5=-d+4u; y1l=y0+4u-.5rule_thickness; lft x5=u+.5dot_size; |
| 11608 |
greater(0,1,2); |
| 11609 |
lft x3=u; rt x4=w-u; y3=h-.5rule_thickness; y4-y0=y3-y1; |
| 11610 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 11611 |
filldraw bskrule(3,4,hair,hair); |
| 11612 |
dot(5); |
| 11613 |
penlabels(3,4); |
| 11614 |
endchar; |
| 11615 |
|
| 11616 |
iff known chars.math_greater_neq: |
| 11617 |
bskchar "Greater than or not equal to sign"; |
| 11618 |
beginchar(chars.math_greater_neq,12u#,v_center(11u#)); uni "0x2A88"; |
| 11619 |
italcorr x_height#*slant-.25u#; |
| 11620 |
adjust_fit(0,0); |
| 11621 |
pickup tiny.nib; |
| 11622 |
oblu:=2oblu; |
| 11623 |
rt x0r=w-u; y0=h-4u; |
| 11624 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11625 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 11626 |
bskpoints(3,4,hair,hair); |
| 11627 |
.5[x5,x6]=.5[x3,x4]; .5[y5,y6]=y3; x6-x5=.75(y6-y5)=3u; |
| 11628 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 11629 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 11630 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 11631 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 11632 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 11633 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 11634 |
greater(0,1,2); |
| 11635 |
penlabels(3,4,5,5',6,6'); labels(5rr,6ll); |
| 11636 |
endchar; |
| 11637 |
|
| 11638 |
iff known chars.math_greater_eq_not: |
| 11639 |
bskchar "Negated greater than or equal to sign"; |
| 11640 |
beginchar(chars.math_greater_eq_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2271"; |
| 11641 |
italcorr math_axis#*slant; |
| 11642 |
adjust_fit(0,0); |
| 11643 |
pickup tiny.nib; |
| 11644 |
oblu:=2oblu; |
| 11645 |
oblu.more:=2.5f_obl; |
| 11646 |
rt x0r=w-u; y0=math_axis+1.5u; y1l=math_axis+5.5u-.5rule_thickness; |
| 11647 |
top y3=h; y4=-d; |
| 11648 |
if not boldmath: rt x3=w-3u; .5[x4,x3]=.5w; else: rt x3=w-4.5u; lft x4=2u; fi |
| 11649 |
lft x5=u; rt x6=w-u; y5l=y6l=math_axis-5.5u; |
| 11650 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 11651 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11652 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11653 |
bskpoints(5,6,hair,hair); |
| 11654 |
greater(0,1,2).nodraw; |
| 11655 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11656 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11657 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11658 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11659 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11660 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11661 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11662 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11663 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 11664 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 11665 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 11666 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 11667 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11668 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11669 |
---obl(3''l,2l,4l).more---tobl(5'l,3''l,5rr)---z5rr..z5l---obl(6'l,5l,4l)---z4l |
| 11670 |
..z4r---obl(6'r,4r,6l)---z6ll..z6r---obl(5'r,6r,3''r)---obl(3''r,4r,0r)---cycle; |
| 11671 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11672 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); |
| 11673 |
endchar; |
| 11674 |
|
| 11675 |
iff known chars.math_greater_eq_slanted_not: |
| 11676 |
bskchar "Negated greater than or slanted equal to sign"; |
| 11677 |
beginchar(chars.math_greater_eq_slanted_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 11678 |
italcorr math_axis#*slant; |
| 11679 |
adjust_fit(0,0); |
| 11680 |
pickup tiny.nib; |
| 11681 |
oblu:=2oblu; |
| 11682 |
oblu.more:=2.5f_obl; |
| 11683 |
rt x0r=w-u; y0=math_axis+1.5u; y1l=math_axis+5.5u-.5rule_thickness; |
| 11684 |
top y3=h; y4=-d; |
| 11685 |
if not boldmath: rt x3=w-3u; .5[x4,x3]=.5w; else: rt x3=w-4.5u; lft x4=2u; fi |
| 11686 |
lft x5=u; rt x6=w-u; y5l=math_axis-5.5u; y0-y6=y2-y5; |
| 11687 |
pos3(rule_thickness,angle(z4-z3)+90); pos4(rule_thickness,angle(z4-z3)+90); |
| 11688 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11689 |
greater(0,1,2).nodraw; |
| 11690 |
pos5(rule_thickness,angle(z5-z6)-90); pos6(rule_thickness,angle(z5-z6)-90); |
| 11691 |
bskpoints(5,6,hair,hair); |
| 11692 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11693 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11694 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11695 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11696 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11697 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11698 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11699 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11700 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 11701 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 11702 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 11703 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 11704 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11705 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11706 |
---obl(3''l,2l,4l).more---tobl(5'l,3''l,5rr)---z5rr..z5l---obl(6'l,5l,4l)---z4l..z4r---obl(6'r,4r,6l)---z6ll..z6r---obl(5'r,6r,3''r).more---obl(3''r,4r,0r)---cycle; |
| 11707 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11708 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); |
| 11709 |
endchar; |
| 11710 |
|
| 11711 |
iff known chars.math_greater_neq_vert: |
| 11712 |
bskchar "Greater than or not equal to sign with vertical stroke"; |
| 11713 |
beginchar(chars.math_greater_neq_vert,12u#,v_center(11u#)); uni "non"; |
| 11714 |
italcorr x_height#*slant-.25u#; |
| 11715 |
adjust_fit(0,0); |
| 11716 |
pickup tiny.nib; |
| 11717 |
rt x0r=w-u; y0=h-4u; |
| 11718 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 11719 |
lft x3=u; rt x4=w-u; y3l=y4l=-d; |
| 11720 |
bskpoints(3,4,hair,hair); |
| 11721 |
x5=x6=.5w; .5[y5,y6]=y3; .75(y6-y5)=3u; |
| 11722 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 11723 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 11724 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 11725 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 11726 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 11727 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 11728 |
oblu:=2oblu; |
| 11729 |
greater(0,1,2); |
| 11730 |
penlabels(3,4,5,5',6,6'); labels(5rr,6ll); |
| 11731 |
endchar; |
| 11732 |
|
| 11733 |
iff known chars.math_greater_eq_not_vert: |
| 11734 |
bskchar "Negated greater than or equal to sign with vertical stroke"; |
| 11735 |
beginchar(chars.math_greater_eq_not_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 11736 |
italcorr math_axis#*slant; |
| 11737 |
adjust_fit(0,0); |
| 11738 |
pickup tiny.nib; |
| 11739 |
oblu:=2oblu; |
| 11740 |
oblu.more:=2.5f_obl; |
| 11741 |
rt x0r=w-u; y0=math_axis+1.5u; y1l=math_axis+5.5u-.5rule_thickness; |
| 11742 |
top y3=h; x4=x3=.45w; y4=-d; |
| 11743 |
lft x5=u; rt x6=w-u; y5l=y6l=math_axis-5.5u; |
| 11744 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 11745 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 11746 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 11747 |
bskpoints(5,6,hair,hair); |
| 11748 |
greater(0,1,2).nodraw; |
| 11749 |
z2'l=whatever[z3l,z4l]=whatever[z1r,z0r]; |
| 11750 |
z2'r=whatever[z3r,z4r]=whatever[z1r,z0r]; |
| 11751 |
z2''l=whatever[z3l,z4l]=whatever[z1l,z0''']; |
| 11752 |
z2''r=whatever[z3r,z4r]=whatever[z1l,z0''']; |
| 11753 |
z3'l=whatever[z3l,z4l]=whatever[z0''',z2r]; |
| 11754 |
z3'r=whatever[z3r,z4r]=whatever[z0''',z2r]; |
| 11755 |
z3''l=whatever[z3l,z4l]=whatever[z2l,z0l]; |
| 11756 |
z3''r=whatever[z3r,z4r]=whatever[z2l,z0l]; |
| 11757 |
z5'l=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 11758 |
z5'r=whatever[z3r,z4r]=whatever[z5r,z6r]; |
| 11759 |
z6'l=whatever[z3l,z4l]=whatever[z5l,z6l]; |
| 11760 |
z6'r=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 11761 |
filldraw z0r..z0r'---obl(2'r,0r',3r)---z3rr..z3l---obl(2'l,3l,1r)---z1rr |
| 11762 |
..z1l---obl(2''l,1l,3'l)---obl(3'l,2''l,2r)---z2r..z2l |
| 11763 |
---obl(3''l,2l,4l).more---obl(5'l,3''l,5r)---z5rr..z5l---obl(6'l,5l,4l)---z4l..z4r---obl(6'r,4r,6l)---z6ll..z6r---obl(5'r,6r,3''r)---obl(3''r,4r,0r)---cycle; |
| 11764 |
infill obl(2''r,3'r,0''')---obl(0''',1r,2r)---obl(3'r,0''',2''r)---cycle; |
| 11765 |
penlabels(2',2'',3,3',3'',4,5,5',6,6'); |
| 11766 |
endchar; |
| 11767 |
|
| 11768 |
iff known chars.math_much_greater: |
| 11769 |
bskchar "Much greater than sign"; |
| 11770 |
beginchar(chars.math_much_greater,17u#,v_center(9u#)); uni "0x226B"; |
| 11771 |
adjust_fit(0,0); |
| 11772 |
pickup tiny.nib; |
| 11773 |
oblu:=2oblu; |
| 11774 |
rt x0r=w-u; lft x1l=6u; y0=y3=math_axis; |
| 11775 |
rt x3r=w-6u; lft x4l=u; |
| 11776 |
greater(0,1,2); |
| 11777 |
greater(3,4,5); |
| 11778 |
endchar; |
| 11779 |
|
| 11780 |
iff known chars.math_piping_z: |
| 11781 |
bskchar "Z-piping"; |
| 11782 |
beginchar(chars.math_piping_z,15u#,asc_height#,0); uni "0x2A20"; |
| 11783 |
adjust_fit(0,0); |
| 11784 |
pickup tiny.nib; |
| 11785 |
oblu:=2oblu; |
| 11786 |
rt x0r=w-u; lft x1l=6u; y0=y3=.5[h,-d]; |
| 11787 |
rt x3r=w-6u; lft x4l=u; |
| 11788 |
greater(0,1,2); |
| 11789 |
greater(3,4,5); |
| 11790 |
endchar; |
| 11791 |
|
| 11792 |
iff known chars.math_greater_in_greater: |
| 11793 |
bskchar "Greater than in greater than sign"; |
| 11794 |
beginchar(chars.math_greater_in_greater,12u#,v_center(9u#)); uni "0x2AA2"; |
| 11795 |
adjust_fit(0,0); |
| 11796 |
pickup tiny.nib; |
| 11797 |
oblu:=2oblu; |
| 11798 |
rt x0r=w-u; lft x1l=u; y0=y3=math_axis; |
| 11799 |
x0r-x3r=max(5u,2rule_thickness); lft x4l=u; |
| 11800 |
greater(0,1,2); |
| 11801 |
z4l=z3l+whatever*(z1l-z0l); |
| 11802 |
greater(3,4,5); |
| 11803 |
endchar; |
| 11804 |
|
| 11805 |
iff known chars.math_greater_in_greater_underbar: |
| 11806 |
bskchar "Greater than in greater than sign with underbar"; |
| 11807 |
beginchar(chars.math_greater_in_greater_underbar,12u#,4.5u#+math_axis#,4.5u#+2.5rule_thickness#-math_axis#); uni "non"; |
| 11808 |
adjust_fit(0,0); |
| 11809 |
pickup tiny.nib; |
| 11810 |
oblu:=2oblu; |
| 11811 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 11812 |
rt x0r=w-u; lft x1l=u; y0=y3=math_axis; |
| 11813 |
x0r-x3r=max(5u,2rule_thickness); lft x4l=u; |
| 11814 |
lft x6=u; rt x7=w-u; bot y6l=bot y7l=-d; |
| 11815 |
filldraw bskrule(6,7,hair,hair); |
| 11816 |
greater(0,1,2); |
| 11817 |
z4l=z3l+whatever*(z1l-z0l); |
| 11818 |
greater(3,4,5); |
| 11819 |
penlabels(6,7); |
| 11820 |
endchar; |
| 11821 |
|
| 11822 |
iff known chars.math_greater_in_greater_in_greater: |
| 11823 |
bskchar "Greater than in greater than in greater than sign"; |
| 11824 |
beginchar(chars.math_greater_in_greater_in_greater,15.5u#,v_center(13u#)); uni "0x2AF8"; |
| 11825 |
adjust_fit(0,0); |
| 11826 |
pickup tiny.nib; |
| 11827 |
oblu:=2oblu; |
| 11828 |
rt x0r=w-5u; lft x1l=u; y0=y3=y6=math_axis; y1l=h-2u-.5rule_thickness; |
| 11829 |
lft x4l=lft x7l=u; rt x6r=w-u; x0r=.5[x6r,x3r]; |
| 11830 |
greater(0,1,2); |
| 11831 |
z4l=z3l+whatever*(z1l-z0l); |
| 11832 |
z7l=z6l+whatever*(z1l-z0l); |
| 11833 |
greater(3,4,5); |
| 11834 |
greater(6,7,8); |
| 11835 |
endchar; |
| 11836 |
|
| 11837 |
iff known chars.math_much_much_greater: |
| 11838 |
bskchar "Much much greater than sign"; |
| 11839 |
beginchar(chars.math_much_much_greater,22u#,v_center(9u#)); uni "0x22D9"; |
| 11840 |
adjust_fit(0,0); |
| 11841 |
pickup tiny.nib; |
| 11842 |
oblu:=2oblu; |
| 11843 |
rt x0r=w-u; lft x1l=11u; y0=y3=y6=math_axis; |
| 11844 |
rt x3r=w-11u; lft x4l=u; |
| 11845 |
x6=.5[x0,x3]; |
| 11846 |
greater(0,1,2); |
| 11847 |
greater(3,4,5); |
| 11848 |
greater(6,7,8); |
| 11849 |
endchar; |
| 11850 |
|
| 11851 |
iff known chars.math_greater_dot: |
| 11852 |
bskchar "Greater than sign with dot"; |
| 11853 |
beginchar(chars.math_greater_dot,12u#,v_center(8u#)); uni "0x22D7"; |
| 11854 |
italcorr math_axis#*slant; |
| 11855 |
adjust_fit(0,0); |
| 11856 |
pickup tiny.nib; |
| 11857 |
oblu:=2oblu; |
| 11858 |
rt x0r=w-u; y0=y3=math_axis; |
| 11859 |
x3=2u+.5dot_size; |
| 11860 |
greater(0,1,2); |
| 11861 |
dot(3); |
| 11862 |
endchar; |
| 11863 |
|
| 11864 |
iff known chars.math_greater_circle: |
| 11865 |
bskchar "Greater than sign with circle inside"; |
| 11866 |
beginchar(chars.math_greater_circle,12u#,v_center(8u#)); uni "0x2A7A"; |
| 11867 |
italcorr math_axis#*slant; |
| 11868 |
adjust_fit(0,0); |
| 11869 |
pickup tiny.nib; |
| 11870 |
lft x6=u; y2=math_axis; |
| 11871 |
y2=y0; x0=x8; x2-x6=y8-y4=2.5u; |
| 11872 |
rt x9r=w-u; y9=math_axis; |
| 11873 |
oblu:=2oblu; greater(9,10,11); oblu:=f_obl; |
| 11874 |
circle_points(rule_thickness); |
| 11875 |
filldraw draw_circle.l; |
| 11876 |
infill draw_circle.r; |
| 11877 |
endchar; |
| 11878 |
|
| 11879 |
iff known chars.math_greater_sim: |
| 11880 |
bskchar "Greater than or similar to sign"; |
| 11881 |
beginchar(chars.math_greater_sim,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2273"; |
| 11882 |
italcorr h#*slant; |
| 11883 |
adjust_fit(0,0); |
| 11884 |
numeric spread; |
| 11885 |
pickup tiny.nib; |
| 11886 |
oblu:=2oblu; |
| 11887 |
rt x0r=w-u; y0=h-4u; |
| 11888 |
bot y3=-d; spread:=.5x_height; |
| 11889 |
greater(0,1,2); |
| 11890 |
vlnka(3,4); |
| 11891 |
endchar; |
| 11892 |
|
| 11893 |
iff known chars.math_sim_greater: |
| 11894 |
bskchar "similar to or greater than sign"; |
| 11895 |
beginchar(chars.math_sim_greater,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2A9E"; |
| 11896 |
italcorr h#*slant; |
| 11897 |
adjust_fit(0,0); |
| 11898 |
numeric spread; |
| 11899 |
pickup tiny.nib; |
| 11900 |
oblu:=2oblu; |
| 11901 |
rt x0r=w-u; y0=-d+4u; y1l-y0=4u-.5rule_thickness; |
| 11902 |
top y4=h; spread:=.5x_height; |
| 11903 |
greater(0,1,2); |
| 11904 |
vlnka(3,4); |
| 11905 |
endchar; |
| 11906 |
|
| 11907 |
iff known chars.math_greater_sim_neg: |
| 11908 |
bskchar "Negated greater than or similar to sign"; |
| 11909 |
beginchar(chars.math_greater_sim_neg,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x2275"; |
| 11910 |
italcorr h#*slant; |
| 11911 |
adjust_fit(0,0); |
| 11912 |
pickup tiny.nib; |
| 11913 |
path p[]; numeric tim[], spread; |
| 11914 |
oblu:=2oblu; |
| 11915 |
rt x0r=w-u; y0=h-4u; |
| 11916 |
bot y3=-d; spread:=.5x_height; |
| 11917 |
top y5=h+rule_thickness; bot y6=-d-rule_thickness; .5[x5,x6]=.5w; x5-x6=4u; |
| 11918 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 11919 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 11920 |
greater(0,1,2).nodraw; |
| 11921 |
vlnka(3,4).nodraw; |
| 11922 |
p0:=subpath(0,4) of _vlnka; |
| 11923 |
p1:=subpath(5,infinity) of _vlnka; |
| 11924 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 11925 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 11926 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 11927 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 11928 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 11929 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 11930 |
tim8=xpart(p3 intersectiontimes ((0,y2l)--(w,y2l))); |
| 11931 |
tim9=xpart(p2 intersectiontimes ((0,y2l)--(w,y2l))); |
| 11932 |
z7=whatever[z5r,z6r]=whatever[z2l,z0r]; z8=whatever[z5l,z6l]=whatever[z2l,z0r]; |
| 11933 |
z9=whatever[z5r,z6r]=whatever[z2r,z0''']; z10=whatever[z5l,z6l]=whatever[z2r,z0''']; |
| 11934 |
z11=whatever[z5r,z6r]=whatever[z1r,z0''']; z12=whatever[z5l,z6l]=whatever[z1r,z0''']; |
| 11935 |
z13=whatever[z5r,z6r]=whatever[z1l,z0r']; z14=whatever[z5l,z6l]=whatever[z1l,z0r']; |
| 11936 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 11937 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 11938 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 11939 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 11940 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 11941 |
..subpath(rundy(p3,(tim5,2oblu)),tim8) of p3 |
| 11942 |
---obl(7,6r,0r)---z0r..z0r'---obl(13,0r',5r)---z5rr..z5l---obl(14,5l,1rr)---z1rr..z1l |
| 11943 |
---obl(12,1l,10)---obl(10,12,2r)---z2r..z2l---obl(8,2l,6l) |
| 11944 |
..subpath(tim9,rundy(p2,tim7).zpet) of p2 |
| 11945 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 11946 |
infill obl(0''',11,9)---obl(9,0''',11)---obl(11,9,0''')---cycle; |
| 11947 |
penlabels(5,6); labels(7,8,9,10,11,12,13,14); |
| 11948 |
endchar; |
| 11949 |
|
| 11950 |
iff known chars.math_greater_sim_neg_vert: |
| 11951 |
bskchar "Negated greater than or similar to sign with vertical stroke"; |
| 11952 |
beginchar(chars.math_greater_sim_neg_vert,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "non"; |
| 11953 |
italcorr h#*slant; |
| 11954 |
adjust_fit(0,0); |
| 11955 |
pickup tiny.nib; |
| 11956 |
path p[]; numeric tim[], spread; |
| 11957 |
oblu:=2oblu; |
| 11958 |
rt x0r=w-u; y0=h-4u; |
| 11959 |
bot y3=-d; spread:=.5x_height; |
| 11960 |
top y5=h+rule_thickness; bot y6=-d-rule_thickness; x5=x6=.5w; |
| 11961 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 11962 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 11963 |
greater(0,1,2).nodraw; |
| 11964 |
vlnka(3,4).nodraw; |
| 11965 |
p0:=subpath(0,4) of _vlnka; |
| 11966 |
p1:=subpath(5,infinity) of _vlnka; |
| 11967 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 11968 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 11969 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 11970 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 11971 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 11972 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 11973 |
tim8=xpart(p3 intersectiontimes ((0,y2l)--(w,y2l))); |
| 11974 |
tim9=xpart(p2 intersectiontimes ((0,y2l)--(w,y2l))); |
| 11975 |
z7=whatever[z5r,z6r]=whatever[z2l,z0r]; z8=whatever[z5l,z6l]=whatever[z2l,z0r]; |
| 11976 |
z9=whatever[z5r,z6r]=whatever[z2r,z0''']; z10=whatever[z5l,z6l]=whatever[z2r,z0''']; |
| 11977 |
z11=whatever[z5r,z6r]=whatever[z1r,z0''']; z12=whatever[z5l,z6l]=whatever[z1r,z0''']; |
| 11978 |
z13=whatever[z5r,z6r]=whatever[z1l,z0r']; z14=whatever[z5l,z6l]=whatever[z1l,z0r']; |
| 11979 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 11980 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 11981 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 11982 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 11983 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 11984 |
..subpath(rundy(p3,(tim5,2oblu)),tim8) of p3 |
| 11985 |
---obl(7,6r,0r)---z0r..z0r'---obl(13,0r',5r)---z5rr..z5l---obl(14,5l,1rr)---z1rr..z1l |
| 11986 |
---obl(12,1l,10)---obl(10,12,2r)---z2r..z2l---obl(8,2l,6l) |
| 11987 |
..subpath(tim9,rundy(p2,(tim7,3f_obl)).zpet) of p2 |
| 11988 |
..subpath(rundy(p1,(tim6,3f_obl)),infinity) of p1..cycle; |
| 11989 |
infill obl(0''',11,9)---obl(9,0''',11)---obl(11,9,0''')---cycle; |
| 11990 |
penlabels(5,6); labels(7,8,9,10,11,12,13,14); |
| 11991 |
endchar; |
| 11992 |
|
| 11993 |
iff known chars.math_greater_not_sim: |
| 11994 |
bskchar "Greater than and not similar to sign"; |
| 11995 |
beginchar(chars.math_greater_not_sim,12u#,v_center(8u#+.5x_height#+2rule_thickness#)); uni "0x22E7"; |
| 11996 |
italcorr h#*slant; |
| 11997 |
adjust_fit(0,0); |
| 11998 |
numeric spread; |
| 11999 |
pickup tiny.nib; |
| 12000 |
path p[]; numeric tim[]; |
| 12001 |
oblu:=2oblu; |
| 12002 |
rt x0r=w-u; y0=h-4u; |
| 12003 |
bot y3=-d; spread:=.5x_height; |
| 12004 |
greater(0,1,2); |
| 12005 |
vlnka(3,4).nodraw; |
| 12006 |
top y5-bot y6=.7x_height; .5[y5,y6]=.5[y3,y4]; .5[x5,x6]=.5w; x5=x4a; |
| 12007 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 12008 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 12009 |
p0:=subpath(0,4) of _vlnka; |
| 12010 |
p1:=subpath(5,infinity) of _vlnka; |
| 12011 |
p2:=z5l---z6ll..{z5-z6}z6r; |
| 12012 |
p3:=z6r---z5rr..{z6-z5}z5l; |
| 12013 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 12014 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 12015 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 12016 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 12017 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 12018 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 12019 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 12020 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 12021 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 12022 |
..subpath(rundy(p3,(tim5,2oblu)),infinity) of p3 |
| 12023 |
..subpath(0,rundy(p2,tim7).zpet) of p2 |
| 12024 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 12025 |
penlabels(2,3,5,6); labels(2rr,3ll); |
| 12026 |
endchar; |
| 12027 |
|
| 12028 |
iff known chars.math_greater_approx: |
| 12029 |
bskchar "Greater than or approximately equal to sign"; |
| 12030 |
beginchar(chars.math_greater_approx,12u#,v_center(8u#+.8x_height#+2rule_thickness#)); uni "0x2A86"; |
| 12031 |
italcorr h#*slant; |
| 12032 |
adjust_fit(0,0); |
| 12033 |
numeric spread; |
| 12034 |
pickup tiny.nib; |
| 12035 |
oblu:=2oblu; |
| 12036 |
rt x0r=w-u; y0=h-4u; |
| 12037 |
spread:=.4x_height; |
| 12038 |
bot y3=-d; y5-y3=spread; |
| 12039 |
greater(0,1,2); |
| 12040 |
vlnka(3,4); |
| 12041 |
vlnka(5,6); |
| 12042 |
endchar; |
| 12043 |
|
| 12044 |
iff known chars.math_greater_not_approx: |
| 12045 |
bskchar "Greater than and not approximately equal to sign"; |
| 12046 |
beginchar(chars.math_greater_not_approx,12u#,v_center(8u#+.8x_height#+2rule_thickness#)); uni "0x2A8A"; |
| 12047 |
italcorr h#*slant; |
| 12048 |
adjust_fit(0,0); |
| 12049 |
numeric spread; |
| 12050 |
pickup tiny.nib; |
| 12051 |
path p[]; numeric tim[]; |
| 12052 |
oblu:=2oblu; |
| 12053 |
spread:=.4x_height; |
| 12054 |
bot y1=-d; y3-y1=spread; |
| 12055 |
top y5-bot y6=x_height; .5[y5,y6]=y3; .5[x5,x6]=.5w; z5=z6+whatever*dir60; |
| 12056 |
rt x7r=w-u; y7=h-4u; |
| 12057 |
greater(7,8,9); |
| 12058 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 12059 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 12060 |
vlnka(1,2).nodraw; |
| 12061 |
p0:=subpath(0,4) of _vlnka; |
| 12062 |
p1:=subpath(5,infinity) of _vlnka; |
| 12063 |
vlnka(3,4).nodraw; |
| 12064 |
p2:=subpath(0,4) of _vlnka; |
| 12065 |
p3:=subpath(5,infinity) of _vlnka; |
| 12066 |
p4:=z5l---z6ll..{z5-z6}z6r; |
| 12067 |
p5:=z6r---z5rr..{z6-z5}z5l; |
| 12068 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 12069 |
(tim2,tim3)=p0 intersectiontimes p5; |
| 12070 |
(tim4,tim5)=p1 intersectiontimes p5; |
| 12071 |
(tim6,tim7)=p1 intersectiontimes p4; |
| 12072 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 12073 |
(tim10,tim11)=p2 intersectiontimes p5; |
| 12074 |
(tim12,tim13)=p3 intersectiontimes p5; |
| 12075 |
(tim14,tim15)=p3 intersectiontimes p4; |
| 12076 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 12077 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 12078 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 12079 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 12080 |
..subpath(0,rundy(p1,tim6).zpet) of p1 |
| 12081 |
..subpath(rundy(p5,(tim5,f_obl)),rundy(p5,(tim11,f_obl)).zpet) of p5 |
| 12082 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 12083 |
..subpath(0,rundy(p3,tim12).zpet) of p3 |
| 12084 |
..subpath(rundy(p5,tim13),infinity) of p5 |
| 12085 |
..subpath(0,rundy(p4,tim15).zpet) of p4 |
| 12086 |
..subpath(rundy(p3,tim14),infinity) of p3 |
| 12087 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 12088 |
..subpath(rundy(p4,(tim9,f_obl)),rundy(p4,(tim7,f_obl)).zpet) of p4 |
| 12089 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 12090 |
penlabels(5,6); |
| 12091 |
endchar; |
| 12092 |
|
| 12093 |
iff known chars.math_greater_sim_eq: |
| 12094 |
bskchar "Greater than or similar or equal to sign"; |
| 12095 |
beginchar(chars.math_greater_sim_eq,12u#,v_center(8u#+.8x_height#+rule_thickness#)); uni "0x2A8E"; |
| 12096 |
italcorr h#*slant; |
| 12097 |
adjust_fit(0,0); |
| 12098 |
numeric spread; |
| 12099 |
pickup tiny.nib; |
| 12100 |
oblu:=2oblu; |
| 12101 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 12102 |
rt x0r=rt x4=w-u; lft x3=u; y0=h-4u; |
| 12103 |
spread:=.4x_height; |
| 12104 |
bot y3l=bot y4l=-d; y5-y3=spread-rule_thickness; |
| 12105 |
greater(0,1,2); |
| 12106 |
filldraw bskrule(3,4,hair,hair); |
| 12107 |
vlnka(5,6); |
| 12108 |
endchar; |
| 12109 |
|
| 12110 |
iff known chars.math_larger: |
| 12111 |
bskchar "Larger sign"; |
| 12112 |
beginchar(chars.math_larger,12u#,v_center(8u#)); uni "0x2AAB"; |
| 12113 |
italcorr math_axis#*slant; |
| 12114 |
adjust_fit(0,0); |
| 12115 |
pickup tiny.nib; |
| 12116 |
path p[]; numeric tim[]; |
| 12117 |
oblu:=2oblu; |
| 12118 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 12119 |
rt x0r=x3=w-u; y0=y3=y4=math_axis; x4=x1; |
| 12120 |
greater(0,1,2).nodraw; |
| 12121 |
p0:=_greater; |
| 12122 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 12123 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 12124 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 12125 |
oblu:=3f_obl; |
| 12126 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 12127 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 12128 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 12129 |
penlabels(3,4); labels(4ll); |
| 12130 |
endchar; |
| 12131 |
|
| 12132 |
iff known chars.math_larger_eq: |
| 12133 |
bskchar "Larger or equals sign"; |
| 12134 |
beginchar(chars.math_larger_eq,12u#,v_center(11u#)); uni "0x2AAD"; |
| 12135 |
italcorr math_axis#*slant; |
| 12136 |
adjust_fit(0,0); |
| 12137 |
pickup tiny.nib; |
| 12138 |
path p[]; numeric tim[]; |
| 12139 |
oblu:=2oblu; |
| 12140 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 12141 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12142 |
rt x0r=x3=w-u; y0=y3=y4=h-4u; x4=x1; |
| 12143 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12144 |
greater(0,1,2).nodraw; |
| 12145 |
p0:=_greater; |
| 12146 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 12147 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 12148 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 12149 |
oblu:=3f_obl; |
| 12150 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 12151 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 12152 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 12153 |
filldraw bskrule(5,6,hair,hair); |
| 12154 |
penlabels(3,4,5,6); labels(4ll); |
| 12155 |
endchar; |
| 12156 |
|
| 12157 |
iff known chars.math_larger_eq_slanted: |
| 12158 |
bskchar "Larger or slanted equals sign"; |
| 12159 |
beginchar(chars.math_larger_eq_slanted,12u#,v_center(11u#)); uni "non"; %"0x2AAD.slanted"; |
| 12160 |
italcorr math_axis#*slant; |
| 12161 |
adjust_fit(0,0); |
| 12162 |
pickup tiny.nib; |
| 12163 |
path p[]; numeric tim[]; |
| 12164 |
oblu:=2oblu; |
| 12165 |
pos3(rule_thickness,90);pos4(rule_thickness,90); |
| 12166 |
rt x0r=x3=w-u; y0=y3=y4=h-4u; x4=x1; |
| 12167 |
lft x5=u; rt x6=w-u; y5=-d+.5rule_thickness; y0-y6=y2-y5; |
| 12168 |
greater(0,1,2).nodraw; |
| 12169 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 12170 |
p0:=_greater; |
| 12171 |
p1:=reverse (bskrule(3,4,hair,0)); |
| 12172 |
(tim0-2,tim1)=subpath(2,infinity) of p0 intersectiontimes p1; |
| 12173 |
(tim2-2,tim3-2)=subpath(2,infinity) of p0 intersectiontimes subpath(2,infinity) of p1; |
| 12174 |
oblu:=3f_obl; |
| 12175 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 12176 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 12177 |
..subpath(rundy(p0,tim2),infinity) of p0---cycle; |
| 12178 |
filldraw bskrule(5,6,hair,hair); |
| 12179 |
penlabels(3,4,5,6); labels(4ll); |
| 12180 |
endchar; |
| 12181 |
|
| 12182 |
iff known chars.math_less_greater: |
| 12183 |
bskchar "Less than or greater than sign"; |
| 12184 |
beginchar(chars.math_less_greater,12u#,v_center(12u#+3rule_thickness#)); uni "0x2276"; |
| 12185 |
adjust_fit(0,0); |
| 12186 |
pickup tiny.nib; |
| 12187 |
oblu:=2oblu; |
| 12188 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=4u+3rule_thickness; y2l=-d+.5rule_thickness; |
| 12189 |
greater(0,1,2); |
| 12190 |
less(3,4,5); |
| 12191 |
endchar; |
| 12192 |
|
| 12193 |
iff known chars.math_less_greater_neg: |
| 12194 |
bskchar "Negated less than or greater than sign"; |
| 12195 |
beginchar(chars.math_less_greater_neg,12u#,v_center(12u#+3rule_thickness#)); uni "0x2278"; |
| 12196 |
adjust_fit(0,0); |
| 12197 |
pickup tiny.nib; |
| 12198 |
oblu:=2oblu; |
| 12199 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=4u+3rule_thickness; y2l=-d+.5rule_thickness; |
| 12200 |
top y6=h+rule_thickness; bot y7=-d-rule_thickness; .5[x6,x7]=.5w; x6-x7=4u; |
| 12201 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 12202 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12203 |
greater(0,1,2).nodraw; |
| 12204 |
less(3,4,5).nodraw; |
| 12205 |
z10=whatever[z6r,z7r]=whatever[z4l,z3l']; z11=whatever[z6l,z7l]=whatever[z4l,z3l']; |
| 12206 |
z12=whatever[z6l,z7l]=whatever[z4r,z3''']; z13=whatever[z6r,z7r]=whatever[z4r,z3''']; |
| 12207 |
z14=whatever[z6r,z7r]=whatever[z5r,z3''']; z15=whatever[z6l,z7l]=whatever[z5r,z3''']; |
| 12208 |
z16=whatever[z6r,z7r]=whatever[z5l,z3l]; z17=whatever[z6l,z7l]=whatever[z5l,z3l]; |
| 12209 |
z18=whatever[z6r,z7r]=whatever[z1r,z0r]; z19=whatever[z6l,z7l]=whatever[z1r,z0r]; |
| 12210 |
z20=whatever[z6l,z7l]=whatever[z1l,z0''']; z21=whatever[z6r,z7r]=whatever[z1l,z0''']; |
| 12211 |
z22=whatever[z6r,z7r]=whatever[z2r,z0''']; z23=whatever[z6l,z7l]=whatever[z2r,z0''']; |
| 12212 |
z24=whatever[z6r,z7r]=whatever[z2l,z0r]; z25=whatever[z6l,z7l]=whatever[z2l,z0r]; |
| 12213 |
filldraw z3l..z3l'---obl(11,3l',6l)---z6l..z6rr---tobl(10,6rr,4ll)---z4ll..z4r---obl(13,4r,14) |
| 12214 |
---obl(14,13,5r)---z5r..z5l---obl(16,5l,18)---obl(18,16,0r')---z0r'..z0r---obl(24,0r,7r) |
| 12215 |
---z7r..z7ll---tobl(25,7ll,2l)---z2l..z2r---obl(23,2r,20)--obl(20,23,1l)---z1l..z1rr |
| 12216 |
---obl(19,1rr,17)---obl(17,19,3l)---cycle; |
| 12217 |
infill obl(3''',15,12)---obl(12,3''',15)--obl(15,12,3''')---cycle; |
| 12218 |
infill obl(0''',21,22)---obl(22,0''',21)---obl(21,22,0''')---cycle; |
| 12219 |
penlabels(6,7);labels(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28); |
| 12220 |
endchar; |
| 12221 |
|
| 12222 |
iff known chars.math_less_greater_neg_vert: |
| 12223 |
bskchar "Negated less than or greater than sign with vertical stroke"; |
| 12224 |
beginchar(chars.math_less_greater_neg_vert,12u#,v_center(12u#+3rule_thickness#)); uni "non"; |
| 12225 |
adjust_fit(0,0); |
| 12226 |
pickup tiny.nib; |
| 12227 |
oblu:=2oblu; |
| 12228 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=4u+3rule_thickness; y2l=-d+.5rule_thickness; |
| 12229 |
top y6=h+rule_thickness; bot y7=-d-rule_thickness; x6=x7=.5w; |
| 12230 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 12231 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12232 |
greater(0,1,2).nodraw; |
| 12233 |
less(3,4,5).nodraw; |
| 12234 |
z10=whatever[z6r,z7r]=whatever[z4l,z3l']; z11=whatever[z6l,z7l]=whatever[z4l,z3l']; |
| 12235 |
z12=whatever[z6l,z7l]=whatever[z4r,z3''']; z13=whatever[z6r,z7r]=whatever[z4r,z3''']; |
| 12236 |
z14=whatever[z6r,z7r]=whatever[z5r,z3''']; z15=whatever[z6l,z7l]=whatever[z5r,z3''']; |
| 12237 |
z16=whatever[z6r,z7r]=whatever[z5l,z3l]; z17=whatever[z6l,z7l]=whatever[z5l,z3l]; |
| 12238 |
z18=whatever[z6r,z7r]=whatever[z1r,z0r]; z19=whatever[z6l,z7l]=whatever[z1r,z0r]; |
| 12239 |
z20=whatever[z6l,z7l]=whatever[z1l,z0''']; z21=whatever[z6r,z7r]=whatever[z1l,z0''']; |
| 12240 |
z22=whatever[z6r,z7r]=whatever[z2r,z0''']; z23=whatever[z6l,z7l]=whatever[z2r,z0''']; |
| 12241 |
z24=whatever[z6r,z7r]=whatever[z2l,z0r]; z25=whatever[z6l,z7l]=whatever[z2l,z0r]; |
| 12242 |
filldraw z3l..z3l'---obl(11,3l',6l)---z6l..z6rr---tobl(10,6rr,4ll)---z4ll..z4r---obl(13,4r,14) |
| 12243 |
---obl(14,13,5r)---z5r..z5l---obl(16,5l,18)---obl(18,16,0r')---z0r'..z0r---obl(24,0r,7r) |
| 12244 |
---z7r..z7ll---tobl(25,7ll,2l)---z2l..z2r---obl(23,2r,20)--obl(20,23,1l)---z1l..z1rr |
| 12245 |
---obl(19,1rr,17)---obl(17,19,3l)---cycle; |
| 12246 |
infill obl(3''',15,12)---obl(12,3''',15)--obl(15,12,3''')---cycle; |
| 12247 |
infill obl(0''',21,22)---obl(22,0''',21)---obl(21,22,0''')---cycle; |
| 12248 |
penlabels(6,7);labels(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28); |
| 12249 |
endchar; |
| 12250 |
|
| 12251 |
iff known chars.math_greater_less: |
| 12252 |
bskchar "Greater than or less than sign"; |
| 12253 |
beginchar(chars.math_greater_less,12u#,v_center(12u#+3rule_thickness#)); uni "0x2277"; |
| 12254 |
adjust_fit(0,0); |
| 12255 |
pickup tiny.nib; |
| 12256 |
oblu:=2oblu; |
| 12257 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=4u+3rule_thickness; y5r=-d+.5rule_thickness; |
| 12258 |
greater(0,1,2); |
| 12259 |
less(3,4,5); |
| 12260 |
endchar; |
| 12261 |
|
| 12262 |
iff known chars.math_greater_beside_less: |
| 12263 |
bskchar "Greater than beside less than sign"; |
| 12264 |
beginchar(chars.math_greater_beside_less,20u#,v_center(8u#)); uni "0x2AA5"; |
| 12265 |
adjust_fit(0,0); |
| 12266 |
pickup tiny.nib; |
| 12267 |
oblu:=2oblu; |
| 12268 |
.5[x0r,x3l]=.5w; x3l-x0r=rule_thickness; |
| 12269 |
lft x1l=u; rt x4r=w-u; y0=y3=math_axis; |
| 12270 |
greater(0,1,2); |
| 12271 |
less(3,4,5); |
| 12272 |
endchar; |
| 12273 |
|
| 12274 |
iff known chars.math_greater_less_neg: |
| 12275 |
bskchar "Negated greater than or less than sign"; |
| 12276 |
beginchar(chars.math_greater_less_neg,12u#,v_center(12u#+3rule_thickness#)); uni "0x2279"; |
| 12277 |
adjust_fit(0,0); |
| 12278 |
pickup tiny.nib; |
| 12279 |
oblu:=2oblu; |
| 12280 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=4u+3rule_thickness; y5r=-d+.5rule_thickness; |
| 12281 |
top y6=h+rule_thickness; bot y7=-d-rule_thickness; .5[x6,x7]=.5w; x6-x7=4u; |
| 12282 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 12283 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12284 |
greater(0,1,2).nodraw; |
| 12285 |
less(3,4,5).nodraw; |
| 12286 |
z10=whatever[z6r,z7r]=whatever[z4l,z3l']; z11=whatever[z6l,z7l]=whatever[z4l,z3l']; |
| 12287 |
z12=whatever[z6l,z7l]=whatever[z4r,z3''']; z13=whatever[z6r,z7r]=whatever[z4r,z3''']; |
| 12288 |
z14=whatever[z6r,z7r]=whatever[z5r,z3''']; z15=whatever[z6l,z7l]=whatever[z5r,z3''']; |
| 12289 |
z16=whatever[z6r,z7r]=whatever[z5l,z3l]; z17=whatever[z6l,z7l]=whatever[z5l,z3l]; |
| 12290 |
z18=whatever[z6r,z7r]=whatever[z1r,z0r]; z19=whatever[z6l,z7l]=whatever[z1r,z0r]; |
| 12291 |
z20=whatever[z6l,z7l]=whatever[z1l,z0''']; z21=whatever[z6r,z7r]=whatever[z1l,z0''']; |
| 12292 |
z22=whatever[z6r,z7r]=whatever[z2r,z0''']; z23=whatever[z6l,z7l]=whatever[z2r,z0''']; |
| 12293 |
z24=whatever[z6r,z7r]=whatever[z2l,z0r]; z25=whatever[z6l,z7l]=whatever[z2l,z0r]; |
| 12294 |
filldraw z3l..z3l'---obl(11,3l',25)---obl(25,11,2l)---z2l..z2r---obl(23,2r,20)---obl(20,23,1l) |
| 12295 |
---z1l..z1rr---obl(19,1rr,6l)---z6l..z6rr---obl(18,6rr,0r')---z0r'..z0r |
| 12296 |
---obl(24,0r,10)---obl(10,24,4ll)---z4ll..z4r---obl(13,4r,14)---obl(14,13,5r) |
| 12297 |
---z5r..z5l---obl(16,5l,7r)---z7r..z7ll---obl(17,7l,3l)---cycle; |
| 12298 |
infill obl(3''',15,12)---obl(12,3''',15)--obl(15,12,3''')---cycle; |
| 12299 |
infill obl(0''',21,22)---obl(22,0''',21)---obl(21,22,0''')---cycle; |
| 12300 |
penlabels(6,7);labels(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28); |
| 12301 |
endchar; |
| 12302 |
|
| 12303 |
iff known chars.math_greater_less_neg_vert: |
| 12304 |
bskchar "Negated greater than or less than sign with vertical stroke"; |
| 12305 |
beginchar(chars.math_greater_less_neg_vert,12u#,v_center(12u#+3rule_thickness#)); uni "non"; |
| 12306 |
adjust_fit(0,0); |
| 12307 |
pickup tiny.nib; |
| 12308 |
oblu:=2oblu; |
| 12309 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=4u+3rule_thickness; y5r=-d+.5rule_thickness; |
| 12310 |
top y6=h+rule_thickness; bot y7=-d-rule_thickness; x6=x7=.5w; |
| 12311 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 12312 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12313 |
greater(0,1,2).nodraw; |
| 12314 |
less(3,4,5).nodraw; |
| 12315 |
z10=whatever[z6r,z7r]=whatever[z4l,z3l']; z11=whatever[z6l,z7l]=whatever[z4l,z3l']; |
| 12316 |
z12=whatever[z6l,z7l]=whatever[z4r,z3''']; z13=whatever[z6r,z7r]=whatever[z4r,z3''']; |
| 12317 |
z14=whatever[z6r,z7r]=whatever[z5r,z3''']; z15=whatever[z6l,z7l]=whatever[z5r,z3''']; |
| 12318 |
z16=whatever[z6r,z7r]=whatever[z5l,z3l]; z17=whatever[z6l,z7l]=whatever[z5l,z3l]; |
| 12319 |
z18=whatever[z6r,z7r]=whatever[z1r,z0r]; z19=whatever[z6l,z7l]=whatever[z1r,z0r]; |
| 12320 |
z20=whatever[z6l,z7l]=whatever[z1l,z0''']; z21=whatever[z6r,z7r]=whatever[z1l,z0''']; |
| 12321 |
z22=whatever[z6r,z7r]=whatever[z2r,z0''']; z23=whatever[z6l,z7l]=whatever[z2r,z0''']; |
| 12322 |
z24=whatever[z6r,z7r]=whatever[z2l,z0r]; z25=whatever[z6l,z7l]=whatever[z2l,z0r]; |
| 12323 |
filldraw z3l..z3l'---obl(11,3l',25)---obl(25,11,2l)---z2l..z2r---obl(23,2r,20)---obl(20,23,1l) |
| 12324 |
---z1l..z1rr---obl(19,1rr,6l)---z6l..z6rr---obl(18,6rr,0r')---z0r'..z0r |
| 12325 |
---obl(24,0r,10)---obl(10,24,4ll)---z4ll..z4r---obl(13,4r,14)---obl(14,13,5r) |
| 12326 |
---z5r..z5l---obl(16,5l,7r)---z7r..z7ll---obl(17,7l,3l)---cycle; |
| 12327 |
infill obl(3''',15,12)---obl(12,3''',15)--obl(15,12,3''')---cycle; |
| 12328 |
infill obl(0''',21,22)---obl(22,0''',21)---obl(21,22,0''')---cycle; |
| 12329 |
penlabels(6,7);labels(10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28); |
| 12330 |
endchar; |
| 12331 |
|
| 12332 |
iff known chars.math_greater_less_overlap: |
| 12333 |
bskchar "Greater than overlaping less than sign"; |
| 12334 |
beginchar(chars.math_greater_less_overlap,15u#,v_center(8u#)); uni "0x2AA4"; |
| 12335 |
italcorr h#*slant; |
| 12336 |
adjust_fit(0,0); |
| 12337 |
path p[]; numeric tim[]; |
| 12338 |
pickup tiny.nib; |
| 12339 |
oblu:=2oblu; |
| 12340 |
lft x0l=lft x4l+3u=4u; rt x1r=rt x3r+3u=w-u; y0=y3=math_axis; |
| 12341 |
less(0,1,2).nodraw; greater(3,4,5).nodraw; |
| 12342 |
p0:=_less; p1:=_greater; |
| 12343 |
p2:=point 0 of p1--point infinity of p1; |
| 12344 |
p3:=point infinity of p0--point 0 of p0; |
| 12345 |
(tim0,tim1-2)=p0 intersectiontimes subpath(2,infinity) of p1; |
| 12346 |
(tim2,tim3)=p0 intersectiontimes subpath(0,2) of p1; |
| 12347 |
(tim4-2,tim5)=subpath(2,infinity) of p0 intersectiontimes subpath(0,2) of p1; |
| 12348 |
(tim6-3,tim7)=subpath(3,5) of p0 intersectiontimes p1; |
| 12349 |
(tim8-4,tim9)=subpath(4,6) of p0 intersectiontimes p2; |
| 12350 |
(tim10,tim11)=p2 intersectiontimes p3; |
| 12351 |
(tim12-4,tim13)=subpath(4,6) of p1 intersectiontimes p3; |
| 12352 |
(tim14-3,tim15-3)=subpath(3,4) of p0 intersectiontimes subpath(3,4) of p1; |
| 12353 |
(tim16-5,tim17-5)=subpath(5,6) of p0 intersectiontimes subpath(5,6) of p1; |
| 12354 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 12355 |
..reverse subpath(rundy(p1,tim3),rundy(p1,tim1).zpet) of p1 |
| 12356 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 12357 |
..reverse subpath(0,rundy(p1,tim7).zpet) of p1 |
| 12358 |
..subpath(0,rundy(p2,tim9).zpet) of p2 |
| 12359 |
..subpath(rundy(p0,tim8),infinity) of p0 |
| 12360 |
..subpath(0,rundy(p3,tim11).zpet) of p3 |
| 12361 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 12362 |
..reverse subpath(rundy(p1,tim12),infinity) of p1 |
| 12363 |
..subpath(rundy(p3,tim13),infinity) of p3..cycle; |
| 12364 |
oblu:=1.5f_obl; |
| 12365 |
infill subpath(rundy(p1,tim15),rundy(p1,tim17).zpet) of p1 |
| 12366 |
..subpath(rundy(p0,tim16).zpet,rundy(p0,tim14)) of p0..cycle; |
| 12367 |
endchar; |
| 12368 |
|
| 12369 |
iff known chars.math_less_equal_greater: |
| 12370 |
bskchar "Less than or equals to or greater than sign"; |
| 12371 |
beginchar(chars.math_less_equal_greater,12u#,v_center(16u#+4rule_thickness#)); uni "0x22DA"; |
| 12372 |
adjust_fit(0,0); |
| 12373 |
pickup tiny.nib; |
| 12374 |
oblu:=2oblu; |
| 12375 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12376 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=8u+4rule_thickness; y2l=-d+.5rule_thickness; |
| 12377 |
lft x6=u; rt x7=w-u; y6=y7=math_axis; |
| 12378 |
filldraw bskrule(6,7,hair,hair); |
| 12379 |
greater(0,1,2); |
| 12380 |
less(3,4,5); |
| 12381 |
penlabels(6,7); |
| 12382 |
endchar; |
| 12383 |
|
| 12384 |
iff known chars.math_less_sl_equal_greater: |
| 12385 |
bskchar "Less than or slanted equals to or greater than sign"; |
| 12386 |
beginchar(chars.math_less_sl_equal_greater,12u#,v_center(14u#+4rule_thickness#)); uni "non"; %"0x22DA.slant"; |
| 12387 |
adjust_fit(0,0); |
| 12388 |
pickup tiny.nib; |
| 12389 |
oblu:=2oblu; |
| 12390 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12391 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=6u+4rule_thickness; y2l=-d+.5rule_thickness; |
| 12392 |
lft x6=u; rt x7=w-u; .5[y6,y7]=math_axis; y6-y3=y7-y5; |
| 12393 |
greater(0,1,2); |
| 12394 |
less(3,4,5); |
| 12395 |
filldraw bskrule(6,7,hair,hair); |
| 12396 |
penlabels(6,7); |
| 12397 |
endchar; |
| 12398 |
|
| 12399 |
iff known chars.math_less_sl_equal_greater_sl_equal: |
| 12400 |
bskchar "Less than or slanted equals to or greater than or slanted equals sign"; |
| 12401 |
beginchar(chars.math_less_sl_equal_greater_sl_equal,12u#,v_center(16u#+4rule_thickness#)); uni "0x2A93"; |
| 12402 |
adjust_fit(0,0); |
| 12403 |
pickup tiny.nib; |
| 12404 |
oblu:=2oblu; |
| 12405 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12406 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12407 |
rt x0r=w-u; x3l=w-x0r; |
| 12408 |
lft x6=lft x8=u; rt x7=rt x9=w-u; |
| 12409 |
y3=h-4u; y8l=-d+.5rule_thickness; y9-y8=y4l-y3l; |
| 12410 |
y3-y6=y5l-y7=y2l-y8=y0-y9; .5[y3,y0]=.5[y6,y7]; |
| 12411 |
less(3,4,5); |
| 12412 |
greater(0,1,2); |
| 12413 |
filldraw bskrule(6,7,hair,hair); |
| 12414 |
filldraw bskrule(8,9,hair,hair); |
| 12415 |
penlabels(6,7,8,9); |
| 12416 |
endchar; |
| 12417 |
|
| 12418 |
iff known chars.math_less_equal_double_greater: |
| 12419 |
bskchar "Less than or double equals to or greater than sign"; |
| 12420 |
beginchar(chars.math_less_equal_double_greater,12u#,v_center(16u#+4rule_thickness#+.45x_height#)); uni "0x2A8B"; |
| 12421 |
adjust_fit(0,0); |
| 12422 |
pickup tiny.nib; |
| 12423 |
oblu:=2oblu; |
| 12424 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12425 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12426 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=8u+4rule_thickness+.45x_height; y2l=-d+.5rule_thickness; |
| 12427 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7; y8=y9; .5[y6,y8]=math_axis; y8-y6=.45x_height; |
| 12428 |
filldraw bskrule(6,7,hair,hair); |
| 12429 |
filldraw bskrule(8,9,hair,hair); |
| 12430 |
greater(0,1,2); |
| 12431 |
less(3,4,5); |
| 12432 |
penlabels(6,7,8,9); |
| 12433 |
endchar; |
| 12434 |
|
| 12435 |
iff known chars.math_less_sim_greater: |
| 12436 |
bskchar "Less than or similar to or greater than sign"; |
| 12437 |
beginchar(chars.math_less_sim_greater,12u#,v_center(16u#+3rule_thickness#+.45x_height#)); uni "0x2A8F"; |
| 12438 |
adjust_fit(0,0); |
| 12439 |
pickup tiny.nib; |
| 12440 |
oblu:=2oblu; |
| 12441 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y3-y0=8u+3rule_thickness+.45x_height; y2l=-d+.5rule_thickness; |
| 12442 |
.5[y6,y7]=math_axis; |
| 12443 |
greater(0,1,2); |
| 12444 |
less(3,4,5); |
| 12445 |
vlnka(6,7); |
| 12446 |
endchar; |
| 12447 |
|
| 12448 |
iff known chars.math_less_greater_equals_double: |
| 12449 |
bskchar "Less than or greater than or double equal to sign"; |
| 12450 |
beginchar(chars.math_less_greater_equals_double,12u#,v_center(16u#+2rule_thickness#+.45x_height#)); uni "0x2A91"; |
| 12451 |
adjust_fit(0,0); |
| 12452 |
pickup tiny.nib; |
| 12453 |
oblu:=2oblu; |
| 12454 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12455 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12456 |
rt x0r=w-u; x3l=w-x0r; y3=h-4u; y0-y2l=y4l-y3; y0=.5[bot y3,y8]; |
| 12457 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7; y8=y9; y6l=-d; y8-y6=.45x_height; |
| 12458 |
less(3,4,5); |
| 12459 |
greater(0,1,2); |
| 12460 |
filldraw bskrule(6,7,hair,hair); |
| 12461 |
filldraw bskrule(8,9,hair,hair); |
| 12462 |
penlabels(6,7,8,9); |
| 12463 |
endchar; |
| 12464 |
|
| 12465 |
iff known chars.math_greater_equal_less: |
| 12466 |
bskchar "Greater than or equals to or less than sign"; |
| 12467 |
beginchar(chars.math_greater_equal_less,12u#,v_center(16u#+4rule_thickness#)); uni "0x22DB"; |
| 12468 |
adjust_fit(0,0); |
| 12469 |
pickup tiny.nib; |
| 12470 |
oblu:=2oblu; |
| 12471 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12472 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=8u+4rule_thickness; y5r=-d+.5rule_thickness; |
| 12473 |
lft x6=u; rt x7=w-u; y6=y7=math_axis; |
| 12474 |
filldraw bskrule(6,7,hair,hair); |
| 12475 |
greater(0,1,2); |
| 12476 |
less(3,4,5); |
| 12477 |
penlabels(6,7); |
| 12478 |
endchar; |
| 12479 |
|
| 12480 |
iff known chars.math_greater_sl_equal_less: |
| 12481 |
bskchar "Greater than or slanted equals to or less than sign"; |
| 12482 |
beginchar(chars.math_greater_sl_equal_less,12u#,v_center(14u#+4rule_thickness#)); uni "non"; %"0x22DB.slant"; |
| 12483 |
adjust_fit(0,0); |
| 12484 |
pickup tiny.nib; |
| 12485 |
oblu:=2oblu; |
| 12486 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12487 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=6u+4rule_thickness; y5r=-d+.5rule_thickness; |
| 12488 |
lft x6=u; rt x7=w-u; .5[y6,y7]=math_axis; y2-y6=y0-y7; |
| 12489 |
greater(0,1,2); |
| 12490 |
less(3,4,5); |
| 12491 |
filldraw bskrule(6,7,hair,hair); |
| 12492 |
penlabels(6,7); |
| 12493 |
endchar; |
| 12494 |
|
| 12495 |
iff known chars.math_greater_sl_equal_less_sl_equal: |
| 12496 |
bskchar "Greater than or slanted equals to or less than or slanted equals sign"; |
| 12497 |
beginchar(chars.math_greater_sl_equal_less_sl_equal,12u#,v_center(16u#+4rule_thickness#)); uni "0x2A94"; |
| 12498 |
adjust_fit(0,0); |
| 12499 |
pickup tiny.nib; |
| 12500 |
oblu:=2oblu; |
| 12501 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12502 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12503 |
rt x0r=w-u; x3l=w-x0r; |
| 12504 |
lft x6=lft x8=u; rt x7=rt x9=w-u; |
| 12505 |
y0=h-4u; y9l=-d+.5rule_thickness; y8-y9=y1r-y0r; |
| 12506 |
y0-y7=y2l-y6=y5r-y9r=y3-y8l; .5[y3,y0]=.5[y6,y7]; |
| 12507 |
greater(0,1,2); |
| 12508 |
less(3,4,5); |
| 12509 |
filldraw bskrule(6,7,hair,hair); |
| 12510 |
filldraw bskrule(8,9,hair,hair); |
| 12511 |
penlabels(6,7,8,9); |
| 12512 |
endchar; |
| 12513 |
|
| 12514 |
iff known chars.math_greater_equal_double_less: |
| 12515 |
bskchar "Greater than or double equals to or less than sign"; |
| 12516 |
beginchar(chars.math_greater_equal_double_less,12u#,v_center(16u#+4rule_thickness#+.45x_height#)); uni "0x2A8C"; |
| 12517 |
adjust_fit(0,0); |
| 12518 |
pickup tiny.nib; |
| 12519 |
oblu:=2oblu; |
| 12520 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12521 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12522 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=8u+4rule_thickness+.45x_height; y5r=-d+.5rule_thickness; |
| 12523 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7; y8=y9; .5[y6,y8]=math_axis; y8-y6=.45x_height; |
| 12524 |
filldraw bskrule(6,7,hair,hair); |
| 12525 |
filldraw bskrule(8,9,hair,hair); |
| 12526 |
greater(0,1,2); |
| 12527 |
less(3,4,5); |
| 12528 |
penlabels(6,7,8,9); |
| 12529 |
endchar; |
| 12530 |
|
| 12531 |
iff known chars.math_greater_less_equal_double: |
| 12532 |
bskchar "Greater than or less than or double equals to sign"; |
| 12533 |
beginchar(chars.math_greater_less_equal_double,12u#,v_center(16u#+2rule_thickness#+.45x_height#)); uni "0x2A92"; |
| 12534 |
adjust_fit(0,0); |
| 12535 |
pickup tiny.nib; |
| 12536 |
oblu:=2oblu; |
| 12537 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12538 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 12539 |
rt x0r=w-u; x3l=w-x0r; y0=h-4u; y3-y5r=y0-y2r; y3=.5[bot y0,y8]; |
| 12540 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7; y8=y9; y6l=-d; y8-y6=.45x_height; |
| 12541 |
greater(0,1,2); |
| 12542 |
less(3,4,5); |
| 12543 |
filldraw bskrule(6,7,hair,hair); |
| 12544 |
filldraw bskrule(8,9,hair,hair); |
| 12545 |
penlabels(6,7,8,9); |
| 12546 |
endchar; |
| 12547 |
|
| 12548 |
iff known chars.math_greater_sim_less: |
| 12549 |
bskchar "Greater than or similar to or less than sign"; |
| 12550 |
beginchar(chars.math_greater_sim_less,12u#,v_center(16u#+3rule_thickness#+.45x_height#)); uni "0x2A90"; |
| 12551 |
adjust_fit(0,0); |
| 12552 |
pickup tiny.nib; |
| 12553 |
oblu:=2oblu; |
| 12554 |
rt x0r=w-u; x3l=w-x0r; .5[y0,y3]=math_axis; y0-y3=8u+3rule_thickness+.45x_height; y5r=-d+.5rule_thickness; |
| 12555 |
.5[y6,y7]=math_axis; |
| 12556 |
greater(0,1,2); |
| 12557 |
less(3,4,5); |
| 12558 |
vlnka(6,7); |
| 12559 |
penlabels(6,7); |
| 12560 |
endchar; |
| 12561 |
|
| 12562 |
iff known chars.math_five_star: |
| 12563 |
bskchar "Five-pointed star"; |
| 12564 |
beginchar(chars.math_five_star,x_height#+2u#,v_center(x_height#)); uni "0x22C6"; |
| 12565 |
adjust_fit(0,0); |
| 12566 |
pickup tiny.nib; |
| 12567 |
oblu:=2.5oblu; |
| 12568 |
z0=(.5w,math_axis); |
| 12569 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 12570 |
forsuffixes i=2,3,4,5: |
| 12571 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 12572 |
endfor |
| 12573 |
forsuffixes i=11,12,13,14,15: |
| 12574 |
z[i]=z0; pos.i(curve,72(i-1)); |
| 12575 |
endfor |
| 12576 |
z[105]=whatever[z5l,z15l]=whatever[z1r,z11r]; |
| 12577 |
for i=1 upto 4: |
| 12578 |
z[100+i]=whatever[z[i].l,z[i+10].l]=whatever[z[i+1].r,z[i+11].r]; |
| 12579 |
endfor; |
| 12580 |
filldraw z1l---obl(101,1l,2r)---z2r..z2l---obl(102,2l,3r)---z3r..z3l |
| 12581 |
---obl(103,3l,4r)---z4r..z4l---obl(104,4l,5r)---z5r..z5l |
| 12582 |
---obl(105,5l,1r)---z1r..cycle; |
| 12583 |
penlabels(1,2,3,4,5,11,12,13,14,15); labels(0,101,102,103,104,105); |
| 12584 |
endchar; |
| 12585 |
|
| 12586 |
iff known chars.math_five_star_empty: |
| 12587 |
bskchar "Five-pointed star with empty center"; |
| 12588 |
beginchar(chars.math_five_star_empty,x_height#+2u#,v_center(x_height#)); uni "non"; |
| 12589 |
adjust_fit(0,0); |
| 12590 |
pickup tiny.nib; |
| 12591 |
oblu:=2.5oblu; |
| 12592 |
z0=(.5w,math_axis); |
| 12593 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 12594 |
forsuffixes i=2,3,4,5: |
| 12595 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 12596 |
endfor |
| 12597 |
forsuffixes i=11,12,13,14,15: |
| 12598 |
z[i]=z0; pos.i(curve,72(i-1)); |
| 12599 |
endfor |
| 12600 |
z[105]=whatever[z5l,z15l]=whatever[z1r,z11r]; |
| 12601 |
for i=1 upto 4: |
| 12602 |
z[100+i]=whatever[z[i].l,z[i+10].l]=whatever[z[i+1].r,z[i+11].r]; |
| 12603 |
endfor; |
| 12604 |
filldraw z1l---obl(101,1l,2r)---z2r..z2l---obl(102,2l,3r)---z3r..z3l |
| 12605 |
---obl(103,3l,4r)---z4r..z4l---obl(104,4l,5r)---z5r..z5l |
| 12606 |
---obl(105,5l,1r)---z1r..cycle; |
| 12607 |
infill fullcircle scaled 2stem shifted z0; |
| 12608 |
penlabels(1,2,3,4,5,11,12,13,14,15); labels(0,101,102,103,104,105); |
| 12609 |
endchar; |
| 12610 |
|
| 12611 |
iff known chars.math_five_star_big: |
| 12612 |
bskchar "Big five-pointed star"; |
| 12613 |
beginchar(chars.math_five_star_big,asc_height#+desc_depth#,asc_height#,desc_depth#); uni "non"; |
| 12614 |
adjust_fit(0,0); |
| 12615 |
pickup tiny.nib; |
| 12616 |
oblu:=2.5oblu; |
| 12617 |
z0=(.5w,.5[h,-d]); |
| 12618 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 12619 |
forsuffixes i=2,3,4,5: |
| 12620 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 12621 |
endfor |
| 12622 |
z11=whatever[z1l,z3r]=whatever[z2r,z5r]; |
| 12623 |
z12=whatever[z2l,z4r]=whatever[z1l,z3r]; |
| 12624 |
z13=whatever[z3l,z5r]=whatever[z2l,z4r]; |
| 12625 |
z14=whatever[z4l,z1r]=whatever[z3l,z5r]; |
| 12626 |
z15=whatever[z1r,z4l]=whatever[z2r,z5l]; |
| 12627 |
filldraw z1l---obl(11,1l,2r)---z2r..z2l---obl(12,2l,3r)---z3r..z3l |
| 12628 |
---obl(13,3l,4r)---z4r..z4l---obl(14,4l,5r)---z5r..z5l |
| 12629 |
---obl(15,5l,1r)---z1r..cycle; |
| 12630 |
penlabels(1,2,3,4,5,11,12,13,14,15); |
| 12631 |
endchar; |
| 12632 |
|
| 12633 |
iff known chars.sign_born: |
| 12634 |
bskchar "Born sign"; |
| 12635 |
beginchar(chars.sign_born,x_height#+2u#,v_center(x_height#)); uni "non"; |
| 12636 |
adjust_fit(0,0); |
| 12637 |
pickup tiny.nib; |
| 12638 |
oblu:=2.5oblu; |
| 12639 |
z0=(.5w,math_axis); |
| 12640 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 12641 |
forsuffixes i=2,3,4,5: |
| 12642 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 12643 |
endfor |
| 12644 |
forsuffixes i=11,12,13,14,15: |
| 12645 |
z[i]=z0; pos.i(curve,72(i-1)); |
| 12646 |
endfor |
| 12647 |
z6=z1; |
| 12648 |
forsuffixes i=1,2,3,4,5: |
| 12649 |
z[100+i]=.5[z[i],z[i+1]]+.2x_height*unitvector(z[i+1]-z[i]) rotated 90; |
| 12650 |
endfor; |
| 12651 |
filldraw z1l---obl(101,1l,2r)---z2r..z2l---obl(102,2l,3r)---z3r |
| 12652 |
..z3l---obl(103,3l,4r)---z4r..z4l---obl(104,4l,5r)---z5r |
| 12653 |
..z5l---obl(105,5l,1r)---z1r..cycle; |
| 12654 |
penlabels(1,2,3,4,5,11,12,13,14,15); labels(0,101,102,103,104,105); |
| 12655 |
endchar; |
| 12656 |
|
| 12657 |
iff known chars.sign_five_star: |
| 12658 |
bskchar "Five-pointed rounded star"; |
| 12659 |
beginchar(chars.sign_five_star,x_height#+2u#,v_center(x_height#)); uni "non"; |
| 12660 |
adjust_fit(0,0); |
| 12661 |
pickup tiny.nib; |
| 12662 |
oblu:=2.5oblu; |
| 12663 |
z0=(.5w,math_axis); |
| 12664 |
x1=x0; top y1=h+apex_o; pos1(hair,0); |
| 12665 |
forsuffixes i=2,3,4,5: |
| 12666 |
z[i]=z0+(z1-z0) rotated ((i-1)*72); pos.i(hair,72(i-1)); |
| 12667 |
endfor |
| 12668 |
forsuffixes i=11,12,13,14,15: |
| 12669 |
z[i]=z0; pos.i(curve,72(i-1)); |
| 12670 |
endfor |
| 12671 |
z6=z1; |
| 12672 |
forsuffixes i=1,2,3,4,5: |
| 12673 |
z[100+i]=.5[z[i],z[i+1]]+.15x_height*unitvector(z[i+1]-z[i]) rotated 90; |
| 12674 |
endfor; |
| 12675 |
filldraw z1l..z101..z2r..z2l..z102..z3r..z3l..z103..z4r..z4l..z104..z5r..z5l..z105..z1r..cycle; |
| 12676 |
penlabels(1,2,3,4,5,11,12,13,14,15); labels(0,101,102,103,104,105); |
| 12677 |
endchar; |
| 12678 |
|
| 12679 |
iff known chars.math_sqsubset: |
| 12680 |
bskchar "Square subset sign"; |
| 12681 |
beginchar(chars.math_sqsubset,12u#,v_center(x_height#)); uni "0x228F"; |
| 12682 |
adjust_fit(0,0); |
| 12683 |
pickup tiny.nib; |
| 12684 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12685 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 12686 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12687 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12688 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12689 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 12690 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 12691 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 12692 |
endchar; |
| 12693 |
|
| 12694 |
iff known chars.math_sqsubset_arm: |
| 12695 |
bskchar "Square subset sign with arm"; |
| 12696 |
beginchar(chars.math_sqsubset_arm,16u#,v_center(x_height#)); uni "0x2ACD"; |
| 12697 |
adjust_fit(0,0); |
| 12698 |
pickup tiny.nib; |
| 12699 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12700 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 12701 |
rt x1=w-u; x4=w-6u; x2=x3=w-x1; |
| 12702 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12703 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12704 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 12705 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 12706 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 12707 |
endchar; |
| 12708 |
|
| 12709 |
iff known chars.math_sqsubset_very: |
| 12710 |
bskchar "Very proper square subset sign"; |
| 12711 |
beginchar(chars.math_sqsubset_very,12u#,v_center(x_height#)); uni "non"; |
| 12712 |
adjust_fit(0,0); |
| 12713 |
pickup tiny.nib; |
| 12714 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12715 |
pos5(rule_thickness,-90); pos6(rule_thickness,-90); pos7(rule_thickness,-90); pos8(rule_thickness,-90); |
| 12716 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 12717 |
rt x1=rt x4=rt x5=rt x8=w-u; x2=x3=w-x1; lft x6=lft x7=x2r+2rule_thickness; |
| 12718 |
y1r-top y5l=if not boldmath:2.25\\fi rule_thickness; .5[y5,y8]=.5[y6,y7]=.5[y1,y4]; y5=y6; |
| 12719 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12720 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 12721 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; x6r:=x7l:=x7+rule_thickness-currentbreadth; |
| 12722 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 12723 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 12724 |
filldraw z5l---z6ll..z6---z7..z7rr---z8r..z8ll---obl(7l,8l,6r) |
| 12725 |
--obl(6r,7l,5r)---z5rr..cycle; |
| 12726 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,5rr,6ll,7rr,8ll); |
| 12727 |
endchar; |
| 12728 |
|
| 12729 |
iff known chars.math_sqsubset_eq: |
| 12730 |
bskchar "Square subset or equal to sign"; |
| 12731 |
beginchar(chars.math_sqsubset_eq,12u#,v_center(x_height#+3u#)); uni "0x2291"; |
| 12732 |
adjust_fit(0,0); |
| 12733 |
pickup tiny.nib; |
| 12734 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12735 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12736 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 12737 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12738 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12739 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12740 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12741 |
bskpoints(5,6,hair,hair); |
| 12742 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 12743 |
---obl(2r,3l,1r)---z1rr..cycle; |
| 12744 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 12745 |
penlabels(1,2,3,4,5,6); labels(1rr,2ll,3rr,4ll); |
| 12746 |
endchar; |
| 12747 |
|
| 12748 |
iff known chars.math_sqsubset_eq_neg: |
| 12749 |
bskchar "Negated square subset or equal to sign"; |
| 12750 |
beginchar(chars.math_sqsubset_eq_neg,12u#,v_center(x_height#+3u#)); uni "0x22E4"; |
| 12751 |
adjust_fit(0,0); |
| 12752 |
pickup tiny.nib; oblu.more:=2oblu; |
| 12753 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12754 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12755 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 12756 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12757 |
.5[y7,y8]=.5[y4,y6]; .5[x7,x8]=.5w; x8-x7=4u; y7=y5-2u; |
| 12758 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12759 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12760 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12761 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 12762 |
bskpoints(5,6,hair,hair); |
| 12763 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 12764 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; |
| 12765 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 12766 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 12767 |
filldraw z1l---z2ll..z2---z3..z3rr---obl(11,3r,13).more---obl(13,11,5r)---z5rr..z5l |
| 12768 |
---obl(15,5l,7l).more---z7l..z7rr---obl(16,7rr,6l)---z6ll..z6r---obl(14,6r,12).more |
| 12769 |
---obl(12,14,4r)---z4r..z4ll---obl(10,4ll,8r).more---z8r..z8ll---obl(9,8ll,3l) |
| 12770 |
---obl(3l,4l,2r)---obl(2r,3l,1r)---z1rr..cycle; |
| 12771 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16); |
| 12772 |
endchar; |
| 12773 |
|
| 12774 |
iff known chars.math_sqsubset_eq_neg_vert: |
| 12775 |
bskchar "Negated square subset or equal to sign with vertical stroke"; |
| 12776 |
beginchar(chars.math_sqsubset_eq_neg_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 12777 |
adjust_fit(0,0); |
| 12778 |
pickup tiny.nib; oblu.more:=2oblu; |
| 12779 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12780 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12781 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 12782 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12783 |
.5[y7,y8]=.5[y4,y6]; x7=x8=.5w; y7=y5-2u; |
| 12784 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12785 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12786 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12787 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 12788 |
bskpoints(5,6,hair,hair); |
| 12789 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 12790 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; |
| 12791 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 12792 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 12793 |
filldraw z1l---z2ll..z2---z3..z3rr---obl(11,3r,13)---obl(13,11,5r)---z5rr..z5l |
| 12794 |
---obl(15,5l,7l)---z7l..z7rr---obl(16,7rr,6l)---z6ll..z6r---obl(14,6r,12) |
| 12795 |
---obl(12,14,4r)---z4r..z4ll---obl(10,4ll,8r)---z8r..z8ll---obl(9,8ll,3l) |
| 12796 |
---obl(3l,4l,2r)---obl(2r,3l,1r)---z1rr..cycle; |
| 12797 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16); |
| 12798 |
endchar; |
| 12799 |
|
| 12800 |
iff known chars.math_sqsubset_eq_neg_alt: |
| 12801 |
bskchar "Negated square subset or equal to sign---alternative"; |
| 12802 |
beginchar(chars.math_sqsubset_eq_neg_alt,12u#,v_center(x_height#+3u#)); uni "0x22E2"; |
| 12803 |
adjust_fit(0,0); |
| 12804 |
pickup tiny.nib; oblu.more:=2oblu; |
| 12805 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12806 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12807 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 12808 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12809 |
.5[x7,x8]=.5w; x8-x7=4u; y7=y5-2u; y8=y1+2u; |
| 12810 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12811 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12812 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12813 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 12814 |
bskpoints(5,6,hair,hair); |
| 12815 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 12816 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; y17=y18=y1r; y19=y20=y1l; |
| 12817 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 12818 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 12819 |
z17=whatever[z8l,z7l]; z18=whatever[z8r,z7r]; z19=whatever[z8l,z7l]; z20=whatever[z8r,z7r]; |
| 12820 |
filldraw z1l---obl(20,1l,8r).more---z8r..z8ll---obl(19,8ll,2l)---z2ll..z2---z3..z3rr |
| 12821 |
---obl(11,3r,13).more---obl(13,11,5r)---z5rr..z5l---obl(15,5l,7l).more---z7l..z7rr |
| 12822 |
---obl(16,7rr,6l)---z6ll..z6r---obl(14,6r,12).more---obl(12,14,4r)---z4r..z4ll |
| 12823 |
---obl(10,4ll,18).more---obl(18,10,1rr)---z1rr..cycle; |
| 12824 |
infill obl(9,17,3l) ---obl(3l,4l,2r)---obl(2r,3l,17)---obl(17,2r,9)---cycle; |
| 12825 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16,17,18,19,20); |
| 12826 |
endchar; |
| 12827 |
|
| 12828 |
iff known chars.math_sqsubset_eq_neg_alt_vert: |
| 12829 |
bskchar "Negated square subset or equal to sign---alternative, with vertical stroke"; |
| 12830 |
beginchar(chars.math_sqsubset_eq_neg_alt_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 12831 |
adjust_fit(0,0); |
| 12832 |
pickup tiny.nib; oblu.more:=2oblu; |
| 12833 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 12834 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 12835 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 12836 |
rt x1=rt x4=w-u; x2=x3=w-x1; |
| 12837 |
x7=x8=.5w; y7=y5-2u; y8=y1+2u; |
| 12838 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 12839 |
x2r:=x3l:=x3+rule_thickness-currentbreadth; |
| 12840 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 12841 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 12842 |
bskpoints(5,6,hair,hair); |
| 12843 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 12844 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; y17=y18=y1r; y19=y20=y1l; |
| 12845 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 12846 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 12847 |
z17=whatever[z8l,z7l]; z18=whatever[z8r,z7r]; z19=whatever[z8l,z7l]; z20=whatever[z8r,z7r]; |
| 12848 |
filldraw z1l---obl(20,1l,8r)---z8r..z8ll---obl(19,8ll,2l)---z2ll..z2---z3..z3rr |
| 12849 |
---obl(11,3r,13)---obl(13,11,5r)---z5rr..z5l---obl(15,5l,7l)---z7l..z7rr |
| 12850 |
---obl(16,7rr,6l)---z6ll..z6r---obl(14,6r,12)---obl(12,14,4r)---z4r..z4ll |
| 12851 |
---obl(10,4ll,18)---obl(18,10,1rr)---z1rr..cycle; |
| 12852 |
infill obl(9,17,3l) ---obl(3l,4l,2r)---obl(2r,3l,17)---obl(17,2r,9)---cycle; |
| 12853 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16,17,18,19,20); |
| 12854 |
endchar; |
| 12855 |
|
| 12856 |
iff known chars.math_subset: |
| 12857 |
bskchar "Proper subset sign"; |
| 12858 |
beginchar(chars.math_subset,12u#,v_center(x_height#)); uni "0x2282"; |
| 12859 |
italcorr h#*slant-.5u#; |
| 12860 |
adjust_fit(0,0); |
| 12861 |
pickup tiny.nib; |
| 12862 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12863 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12864 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]-o; |
| 12865 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12866 |
x2=x4=x3+(y2-y3); |
| 12867 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12868 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 12869 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 12870 |
endchar; |
| 12871 |
|
| 12872 |
iff known chars.math_subset_neg: |
| 12873 |
bskchar "Not subset sign"; |
| 12874 |
beginchar(chars.math_subset_neg,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2284"; |
| 12875 |
adjust_fit(0,0); |
| 12876 |
pickup tiny.nib; |
| 12877 |
oblu.more:=2f_obl; |
| 12878 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12879 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12880 |
y1=y2; y4=y5; .5[y1,y5]=math_axis; top y1r-bot y5r=x_height; y3=.5[y1,y4]-o; |
| 12881 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12882 |
x2=x4=x3+(y2-y3); |
| 12883 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12884 |
x6=x4; rt x7=x5-u; top y7=h; bot y6=-d; |
| 12885 |
pos6(rule_thickness,angle(z6-z7)+90); pos7(rule_thickness,angle(z6-z7)+90); |
| 12886 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12887 |
y4'r=y4'l=y4l; z4'r=whatever[z7r,z6r]; z4'l=whatever[z7l,z6l]; |
| 12888 |
y5'r=y5'l=y4r; z5'r=whatever[z7r,z6r]; z5'l=whatever[z7l,z6l]; |
| 12889 |
y1'r=y1'l=y1r; z1'r=whatever[z7r,z6r]; z1'l=whatever[z7l,z6l]; |
| 12890 |
y2'r=y2'l=y1l; z2'r=whatever[z7r,z6r]; z2'l=whatever[z7l,z6l]; |
| 12891 |
filldraw z1l---obl(2'r,1l,4'r)---obl(4'r,7r,5l).more---z5l..z5+2o*right |
| 12892 |
..z5rr---obl(5'r,5r,6r)---z6rr..z6l---obl(5'l,6l,4r)---z4r...z3r...z2r |
| 12893 |
---obl(1'l,2r,7l)---z7ll..z7r---obl(1'r,7r,1r).more---z1rr |
| 12894 |
..z1+2o*right..cycle; |
| 12895 |
infill z2l...z3l...z4l---obl(4'l,4l,2'l)---obl(2'l,4'l,2l).more---cycle; |
| 12896 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 12897 |
endchar; |
| 12898 |
|
| 12899 |
iff known chars.math_subset_neg_vert: |
| 12900 |
bskchar "Not subset sign with vertical stroke"; |
| 12901 |
beginchar(chars.math_subset_neg_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 12902 |
adjust_fit(0,0); |
| 12903 |
pickup tiny.nib; |
| 12904 |
oblu.more:=2f_obl; |
| 12905 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12906 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12907 |
y1=y2; y4=y5; .5[y1,y5]=math_axis; top y1r-bot y5r=x_height; y3=.5[y1,y4]-o; |
| 12908 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12909 |
x2=x4=x3+(y2-y3); |
| 12910 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12911 |
x6=x7=.55w; top y7=h; bot y6=-d; |
| 12912 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 12913 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 12914 |
y4'r=y4'l=y4l; z4'r=whatever[z7r,z6r]; z4'l=whatever[z7l,z6l]; |
| 12915 |
y5'r=y5'l=y4r; z5'r=whatever[z7r,z6r]; z5'l=whatever[z7l,z6l]; |
| 12916 |
y1'r=y1'l=y1r; z1'r=whatever[z7r,z6r]; z1'l=whatever[z7l,z6l]; |
| 12917 |
y2'r=y2'l=y1l; z2'r=whatever[z7r,z6r]; z2'l=whatever[z7l,z6l]; |
| 12918 |
filldraw z1l---obl(2'r,1l,4'r)---obl(4'r,7r,5l)---z5l..z5+2o*right |
| 12919 |
..z5rr---obl(5'r,5r,6r)---z6rr..z6l---obl(5'l,6l,4r)---z4r...z3r...z2r |
| 12920 |
---obl(1'l,2r,7l)---z7ll..z7r---obl(1'r,7r,1r)---z1rr |
| 12921 |
..z1+2o*right..cycle; |
| 12922 |
infill z2l...z3l...z4l---obl(4'l,4l,2'l)---obl(2'l,4'l,2l)---cycle; |
| 12923 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 12924 |
endchar; |
| 12925 |
|
| 12926 |
iff known chars.math_subset_eq: |
| 12927 |
bskchar "Subset or equal to sign"; |
| 12928 |
beginchar(chars.math_subset_eq,12u#,v_center(x_height#+3u#)); uni "0x2286"; |
| 12929 |
adjust_fit(0,0); |
| 12930 |
pickup tiny.nib; |
| 12931 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12932 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12933 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12934 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 12935 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12936 |
x2=x4=x3+(y2-y3); |
| 12937 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 12938 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12939 |
bskpoints(6,7,hair,hair); |
| 12940 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 12941 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 12942 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 12943 |
endchar; |
| 12944 |
|
| 12945 |
iff known chars.math_subset_eq_dot: |
| 12946 |
bskchar "Subset or equal to sign with dot above"; |
| 12947 |
beginchar(chars.math_subset_eq_dot,12u#,.5x_height#+2.5u#+dot_size#+math_axis#,.5x_height#+1.5u#-math_axis#); uni "0x2AC3"; |
| 12948 |
adjust_fit(0,0); |
| 12949 |
pickup tiny.nib; |
| 12950 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12951 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12952 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12953 |
top y1r=top y2r=h-u-dot_size; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 12954 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12955 |
x2=x4=x3+(y2-y3); |
| 12956 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 12957 |
x8=.5w+.5u; top y8=h-.5dot_size; |
| 12958 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12959 |
bskpoints(6,7,hair,hair); |
| 12960 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 12961 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 12962 |
dot(8); |
| 12963 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 12964 |
endchar; |
| 12965 |
|
| 12966 |
iff known chars.math_subset_not_eq: |
| 12967 |
bskchar "Subset and not equal to sign"; |
| 12968 |
beginchar(chars.math_subset_not_eq,12u#,v_center(x_height#+3u#)); uni "0x228A"; |
| 12969 |
adjust_fit(0,0); |
| 12970 |
pickup tiny.nib; |
| 12971 |
oblu.more:=2f_obl; |
| 12972 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12973 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12974 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 12975 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 12976 |
x2=x4=x3+(y2-y3); |
| 12977 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 12978 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 12979 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 12980 |
bskpoints(6,7,hair,hair); |
| 12981 |
.5[x8,x9]=.5[x6,x7]; .5[y8,y9]=y6; x9-x8=.75(y9-y8)=3u; |
| 12982 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 12983 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 12984 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 12985 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 12986 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 12987 |
filldraw z6rr..z6l---obl(8'l,6l,8l).more---z8l..z8rr---obl(8'r,8r,7l)---z7ll..z7r--- |
| 12988 |
obl(9'r,7r,9r).more---z9r..z9ll---obl(9'l,9l,6r)---cycle; |
| 12989 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr); |
| 12990 |
endchar; |
| 12991 |
|
| 12992 |
iff known chars.math_subset_not_eq_vert: |
| 12993 |
bskchar "Subset and not equal to sign with vertical stroke"; |
| 12994 |
beginchar(chars.math_subset_not_eq_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 12995 |
adjust_fit(0,0); |
| 12996 |
pickup tiny.nib; |
| 12997 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 12998 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 12999 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13000 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13001 |
x2=x4=x3+(y2-y3); |
| 13002 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13003 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13004 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13005 |
bskpoints(6,7,hair,hair); |
| 13006 |
.5[x8,x9]=.5[x6,x7]; .5[y8,y9]=y6; x9=x8; .75(y9-y8)=3u; |
| 13007 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13008 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13009 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13010 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13011 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13012 |
filldraw z6rr..z6l---obl(8'l,6l,8l)---z8l..z8rr---obl(8'r,8r,7l)---z7ll..z7r--- |
| 13013 |
obl(9'r,7r,9r)---z9r..z9ll---obl(9'l,9l,6r)---cycle; |
| 13014 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr); |
| 13015 |
endchar; |
| 13016 |
|
| 13017 |
iff known chars.math_subset_eq_neg: |
| 13018 |
bskchar "Negated subset or equal to sign"; |
| 13019 |
beginchar(chars.math_subset_eq_neg,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13020 |
adjust_fit(0,0); |
| 13021 |
pickup tiny.nib; |
| 13022 |
oblu.more:=2f_obl; |
| 13023 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13024 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13025 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13026 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13027 |
x2=x4=x3+(y2-y3); |
| 13028 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13029 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13030 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13031 |
bskpoints(6,7,hair,hair); |
| 13032 |
x8=x4-u; rt x9=x5-u; y9=.5[y4,y3]; y8=y6-2u; |
| 13033 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 13034 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13035 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13036 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13037 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 13038 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 13039 |
filldraw z1l---z2l...z3l...z4l---obl(4'l,4l,9l)---z9ll..z9r |
| 13040 |
---obl(4'r,9r,5l).more---z5l..z5+2o*right..z5rr---obl(5'r,5r,9'r) |
| 13041 |
---obl(9'r,5'r,7r).more---z7r..z7ll---obl(8'r,7l,8r)---z8rr..z8l |
| 13042 |
---obl(8'l,8l,6l)---z6l..z6rr---obl(9'l,6r,5'l) |
| 13043 |
---obl(5'l,9'l,4r).more---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13044 |
penlabels(1,2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13045 |
endchar; |
| 13046 |
|
| 13047 |
iff known chars.math_subset_eq_neg_vert: |
| 13048 |
bskchar "Negated subset or equal to sign with vertical stroke"; |
| 13049 |
beginchar(chars.math_subset_eq_neg_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13050 |
adjust_fit(0,0); |
| 13051 |
pickup tiny.nib; |
| 13052 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13053 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13054 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13055 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13056 |
x2=x4=x3+(y2-y3); |
| 13057 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13058 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13059 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13060 |
bskpoints(6,7,hair,hair); |
| 13061 |
x8=x9=.5w; y9=.5[y4,y3]; y8=y6-2u; |
| 13062 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13063 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13064 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13065 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13066 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 13067 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 13068 |
filldraw z1l---z2l...z3l...z4l---obl(4'l,4l,9l)---z9ll..z9r |
| 13069 |
---obl(4'r,9r,5l)---z5l..z5+2o*right..z5rr---obl(5'r,5r,9'r) |
| 13070 |
---obl(9'r,5'r,7r)---z7r..z7ll---obl(8'r,7l,8r)---z8rr..z8l |
| 13071 |
---obl(8'l,8l,6l)---z6l..z6rr---obl(9'l,6r,5'l) |
| 13072 |
---obl(5'l,9'l,4r)---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13073 |
penlabels(1,2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13074 |
endchar; |
| 13075 |
|
| 13076 |
iff known chars.math_not_subset_eq: |
| 13077 |
bskchar "Not subset or equal to sign"; |
| 13078 |
beginchar(chars.math_not_subset_eq,12u#,v_center(x_height#+3u#)); uni "0x2288"; |
| 13079 |
adjust_fit(0,0); |
| 13080 |
pickup tiny.nib; |
| 13081 |
oblu.more:=2f_obl; |
| 13082 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13083 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13084 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13085 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13086 |
x2=x4=x3+(y2-y3); |
| 13087 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13088 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13089 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13090 |
bskpoints(6,7,hair,hair); |
| 13091 |
x8=x4; rt x9=x5-u; y9=y1+2u; y8=y6-2u; |
| 13092 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 13093 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13094 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13095 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13096 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 13097 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 13098 |
y1'r=y1'l=y1r; z1'r=whatever[z9r,z8r]; z1'l=whatever[z9l,z8l]; |
| 13099 |
y2'r=y2'l=y1l; z2'r=whatever[z9r,z8r]; z2'l=whatever[z9l,z8l]; |
| 13100 |
filldraw z1l---obl(2'r,1l,4'r)---obl(4'r,9r,5l).more---z5l..z5+2o*right |
| 13101 |
..z5rr---obl(5'r,5r,9'r)---obl(9'r,5'r,7r).more---z7r..z7ll |
| 13102 |
---obl(8'r,7l,8r)---z8rr..z8l ---obl(8'l,8l,6l)---z6l..z6rr |
| 13103 |
---obl(9'l,6r,5'l)---obl(5'l,9'l,4r).more---z4r...z3r...z2r |
| 13104 |
---obl(1'l,2r,9l)---z9ll..z9r---tobl(1'r,9r,1rr).more---z1rr |
| 13105 |
..z1+2o*right..cycle; |
| 13106 |
infill z2l...z3l...z4l---obl(4'l,4l,2'l)---obl(2'l,4'l,2l).more---cycle; |
| 13107 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13108 |
endchar; |
| 13109 |
|
| 13110 |
iff known chars.math_not_subset_eq_vert: |
| 13111 |
bskchar "Not subset or equal to sign with vertical stroke"; |
| 13112 |
beginchar(chars.math_not_subset_eq_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13113 |
adjust_fit(0,0); |
| 13114 |
pickup tiny.nib; |
| 13115 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13116 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13117 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13118 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13119 |
x2=x4=x3+(y2-y3); |
| 13120 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13121 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13122 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13123 |
bskpoints(6,7,hair,hair); |
| 13124 |
x8=x9=.5w; y9=y1+2u; y8=y6-2u; |
| 13125 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13126 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13127 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13128 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13129 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 13130 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 13131 |
y1'r=y1'l=y1r; z1'r=whatever[z9r,z8r]; z1'l=whatever[z9l,z8l]; |
| 13132 |
y2'r=y2'l=y1l; z2'r=whatever[z9r,z8r]; z2'l=whatever[z9l,z8l]; |
| 13133 |
filldraw z1l---obl(2'r,1l,4'r)---obl(4'r,9r,5l)---z5l..z5+2o*right |
| 13134 |
..z5rr---obl(5'r,5r,9'r) ---obl(9'r,5'r,7r)---z7r..z7ll |
| 13135 |
---obl(8'r,7l,8r)---z8rr..z8l ---obl(8'l,8l,6l)---z6l..z6rr |
| 13136 |
---obl(9'l,6r,5'l)---obl(5'l,9'l,4r)---z4r...z3r...z2r |
| 13137 |
---obl(1'l,2r,9l)---z9ll..z9r---obl(1'r,9r,1r)---z1rr |
| 13138 |
..z1+2o*right..cycle; |
| 13139 |
infill z2l...z3l...z4l---obl(4'l,4l,2'l)---obl(2'l,4'l,2l)---cycle; |
| 13140 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13141 |
endchar; |
| 13142 |
|
| 13143 |
iff known chars.math_subset_eq_double: |
| 13144 |
bskchar "Subset or double equal to sign"; |
| 13145 |
beginchar(chars.math_subset_eq_double,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "0x2AC5"; |
| 13146 |
adjust_fit(0,0); |
| 13147 |
pickup tiny.nib; |
| 13148 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13149 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13150 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13151 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13152 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13153 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13154 |
x2=x4=x3+(y2-y3); |
| 13155 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7=y8+.45x_height; bot y8l=bot y9l=-d; |
| 13156 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13157 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13158 |
filldraw bskrule(6,7,hair,hair); |
| 13159 |
filldraw bskrule(8,9,hair,hair); |
| 13160 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 13161 |
endchar; |
| 13162 |
|
| 13163 |
iff known chars.math_subset_not_eq_double: |
| 13164 |
bskchar "Subset and not double equal to sign"; |
| 13165 |
beginchar(chars.math_subset_not_eq_double,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "0x2ACB"; |
| 13166 |
adjust_fit(0,0); |
| 13167 |
pickup tiny.nib; |
| 13168 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13169 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13170 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13171 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13172 |
x2=x4=x3+(y2-y3); |
| 13173 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13174 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13175 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13176 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13177 |
top rt z10=(x5-2u,y5r-rule_thickness); .5[x11,x10]=.5w; .5[y11,y10]=.5[y6,y8]; |
| 13178 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 13179 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13180 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13181 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13182 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13183 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13184 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13185 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13186 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13187 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13188 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13189 |
oblu.more:=2f_obl; |
| 13190 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13191 |
filldraw z6rr---obl(6',6r,10l)---z10l..z10rr---tobl(7',10rr,7r).more---z7r |
| 13192 |
..z7ll---obl(8',7l,9')---obl(9',8',9r).more---z9r..z9ll |
| 13193 |
---obl(10',9l,11r)---z11r..z11ll---tobl(11',11ll,8l).more---z8l |
| 13194 |
..z8rr---obl(12',8r,13')---obl(13',12',6l).more---z6l..cycle; |
| 13195 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,6',7',8',9',10',11',12',13'); |
| 13196 |
endchar; |
| 13197 |
|
| 13198 |
iff known chars.math_subset_not_eq_double_vert: |
| 13199 |
bskchar "Subset and not double equal to sign with vertical stroke"; |
| 13200 |
beginchar(chars.math_subset_not_eq_double_vert,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 13201 |
adjust_fit(0,0); |
| 13202 |
pickup tiny.nib; |
| 13203 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13204 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13205 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13206 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13207 |
x2=x4=x3+(y2-y3); |
| 13208 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13209 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13210 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13211 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13212 |
top y10=y5r-rule_thickness; x11=x10=.5w; .5[y11,y10]=.5[y6,y8]; |
| 13213 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 13214 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13215 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13216 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13217 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13218 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13219 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13220 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13221 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13222 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13223 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13224 |
oblu.more:=2f_obl; |
| 13225 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13226 |
filldraw z6rr---obl(6',6r,10l)---z10l..z10rr---obl(7',10r,7r)---z7r |
| 13227 |
..z7ll---obl(8',7l,9')---obl(9',8',9r)---z9r..z9ll |
| 13228 |
---obl(10',9l,11r)---z11r..z11ll---obl(11',11l,8l)---z8l |
| 13229 |
..z8rr---obl(12',8r,13')---obl(13',12',6l)---z6l..cycle; |
| 13230 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,6',7',8',9',10',11',12',13'); |
| 13231 |
endchar; |
| 13232 |
|
| 13233 |
iff known chars.math_subset_not_eq_double_alt: |
| 13234 |
bskchar "Subset and not double equal to sign (alternative)"; |
| 13235 |
beginchar(chars.math_subset_not_eq_double_alt,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 13236 |
adjust_fit(0,0); |
| 13237 |
pickup tiny.nib; |
| 13238 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13239 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13240 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13241 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13242 |
x2=x4=x3+(y2-y3); |
| 13243 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13244 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13245 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13246 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13247 |
y10=y3; x10=x5; rt x11=x4-u; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 13248 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 13249 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13250 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13251 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 13252 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 13253 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 13254 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 13255 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13256 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13257 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13258 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13259 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13260 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13261 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13262 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13263 |
oblu.more:=2f_obl; |
| 13264 |
filldraw z1l---z2l...z3l...z4l---obl(2',4l,10l)---z10l..z10rr---tobl(3',10rr,5l).more---z5l |
| 13265 |
..z5+2o*right..z5rr---obl(5',5r,7')---obl(7',10r,7r).more---z7r..z7ll |
| 13266 |
---obl(8',7l,9')---obl(9',8',9r).more---z9r..z9ll---obl(10',9l,11r)---z11r |
| 13267 |
..z11ll---tobl(11',11ll,8l).more---z8l..z8rr---obl(12',8r,13') |
| 13268 |
---obl(13',12',6l).more---z6l..z6rr---obl(6',6r,4').more---obl(4',6',4r).more |
| 13269 |
---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13270 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13'); |
| 13271 |
endchar; |
| 13272 |
|
| 13273 |
iff known chars.math_subset_not_eq_double_alt_vert: |
| 13274 |
bskchar "Subset and not double equal to sign (alternative) with vertical stroke"; |
| 13275 |
beginchar(chars.math_subset_not_eq_double_alt_vert,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 13276 |
adjust_fit(0,0); |
| 13277 |
pickup tiny.nib; |
| 13278 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13279 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13280 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13281 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13282 |
x2=x4=x3+(y2-y3); |
| 13283 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13284 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13285 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13286 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13287 |
y10=y3; x10=x11=.5w; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 13288 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 13289 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13290 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13291 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 13292 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 13293 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 13294 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 13295 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13296 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13297 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13298 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13299 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13300 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13301 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13302 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13303 |
oblu.more:=2f_obl; |
| 13304 |
filldraw z1l---z2l...z3l...z4l---obl(2',4l,10l)---z10l..z10rr---obl(3',10r,5l)---z5l |
| 13305 |
..z5+2o*right..z5rr---obl(5',5r,7')---obl(7',10r,7r)---z7r..z7ll |
| 13306 |
---obl(8',7l,9')---obl(9',8',9r)---z9r..z9ll---obl(10',9l,11r)---z11r |
| 13307 |
..z11ll---obl(11',11l,8l)---z8l..z8rr---obl(12',8r,13') |
| 13308 |
---obl(13',12',6l)---z6l..z6rr---obl(6',6r,4')---obl(4',6',4r) |
| 13309 |
---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13310 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13'); |
| 13311 |
endchar; |
| 13312 |
|
| 13313 |
iff known chars.math_subset_eq_double_not: |
| 13314 |
bskchar "Negated subset or double equal to sign"; |
| 13315 |
beginchar(chars.math_subset_eq_double_not,12u#,math_axis#+.725x_height#+1.5u#+2.5rule_thickness#,.725x_height#+1.5u#+.5rule_thickness#-math_axis#); uni "non"; |
| 13316 |
adjust_fit(0,0); |
| 13317 |
pickup tiny.nib; |
| 13318 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13319 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13320 |
top y1r=top y2r=h-2rule_thickness; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13321 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13322 |
x2=x4=x3+(y2-y3); |
| 13323 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13324 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13325 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13326 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13327 |
y10=h; x10=x1-u; rt x11=x4-u; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 13328 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 13329 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13330 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13331 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 13332 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 13333 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 13334 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 13335 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13336 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13337 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13338 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13339 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13340 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13341 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13342 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13343 |
z14'=whatever[z10r,z11r]=whatever[z1l,z2l]; |
| 13344 |
z15'=whatever[z10l,z11l]=whatever[z1l,z2l]; |
| 13345 |
z16'=whatever[z10l,z11l]=whatever[z1r,z2r]; |
| 13346 |
z17'=whatever[z10r,z11r]=whatever[z1r,z2r]; |
| 13347 |
oblu.more:=2f_obl; |
| 13348 |
filldraw z1rr---obl(17',1r,10r)---z10rr..z10l---obl(16',10l,2r)---z2r...z3r...z4r |
| 13349 |
---obl(4',4r,6').more---obl(6',4',6r)---z6rr..z6l---obl(13',6l,12').more |
| 13350 |
---obl(12',13',8r)---z8rr..z8l---tobl(11',8l,11ll).more---z11ll..z11r |
| 13351 |
---obl(10',11r,9l)---z9ll..z9r---obl(9',9r,8').more---obl(8',9',7l)---z7ll |
| 13352 |
..z7r---obl(7',7r,5').more---obl(5',7',5r)---z5rr..z5+2o*right..z5l |
| 13353 |
---obl(3',5l,14').more---obl(14',3',1l)---z1l..z1+2o*right..cycle; |
| 13354 |
infill z2l...z3l...z4l---obl(2',4l,15')---obl(15',2',2l).more---cycle; |
| 13355 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); |
| 13356 |
labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13',14',15',16',17'); |
| 13357 |
endchar; |
| 13358 |
|
| 13359 |
iff known chars.math_subset_eq_double_not_vert: |
| 13360 |
bskchar "Negated subset or double equal to sign with vertical stroke"; |
| 13361 |
beginchar(chars.math_subset_eq_double_not_vert,12u#,math_axis#+.725x_height#+1.5u#+2.5rule_thickness#,.725x_height#+1.5u#+.5rule_thickness#-math_axis#); uni "non"; |
| 13362 |
adjust_fit(0,0); |
| 13363 |
pickup tiny.nib; |
| 13364 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13365 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13366 |
top y1r=top y2r=h-2rule_thickness; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]-o; |
| 13367 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13368 |
x2=x4=x3+(y2-y3); |
| 13369 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13370 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13371 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13372 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 13373 |
y10=h; x10=x11=.5w; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 13374 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 13375 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 13376 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 13377 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 13378 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 13379 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 13380 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 13381 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 13382 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 13383 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 13384 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 13385 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 13386 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 13387 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 13388 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 13389 |
z14'=whatever[z10r,z11r]=whatever[z1l,z2l]; |
| 13390 |
z15'=whatever[z10l,z11l]=whatever[z1l,z2l]; |
| 13391 |
z16'=whatever[z10l,z11l]=whatever[z1r,z2r]; |
| 13392 |
z17'=whatever[z10r,z11r]=whatever[z1r,z2r]; |
| 13393 |
oblu.more:=2f_obl; |
| 13394 |
filldraw z1rr---obl(17',1r,10r)---z10rr..z10l---obl(16',10l,2r)---z2r...z3r...z4r |
| 13395 |
---obl(4',4r,6')---obl(6',4',6r)---z6rr..z6l---obl(13',6l,12') |
| 13396 |
---obl(12',13',8r)---z8rr..z8l---obl(11',8l,11l)---z11ll..z11r |
| 13397 |
---obl(10',11r,9l)---z9ll..z9r---obl(9',9r,8')---obl(8',9',7l)---z7ll |
| 13398 |
..z7r---obl(7',7r,5')---obl(5',7',5r)---z5rr..z5+2o*right..z5l |
| 13399 |
---obl(3',5l,14')---obl(14',3',1l)---z1l..z1+2o*right..cycle; |
| 13400 |
infill z2l...z3l...z4l---obl(2',4l,15')---obl(15',2',2l)---cycle; |
| 13401 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); |
| 13402 |
labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13',14',15',16',17'); |
| 13403 |
endchar; |
| 13404 |
|
| 13405 |
iff known chars.math_subset_very: |
| 13406 |
bskchar "Very proper subset sign"; |
| 13407 |
beginchar(chars.math_subset_very,12u#,v_center(x_height#)); uni "0x22D0"; |
| 13408 |
italcorr h#*slant-.5u#; |
| 13409 |
adjust_fit(0,0); |
| 13410 |
pickup tiny.nib; |
| 13411 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13412 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13413 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 13414 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 13415 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=y8=.5[y1,y4]-o=.5[y6,y9]-o; |
| 13416 |
y6=y7; y9=y10; y1l-top y6r=if not boldmath:2.25\\fi rule_thickness; |
| 13417 |
rt x1=rt x5=rt x6=rt x10=w-u-2o; lft x3r=u; lft x8l=x3l+2rule_thickness; |
| 13418 |
x2=x4=x3+(y2-y3); x7=x9=x8+(y7-y8); |
| 13419 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13420 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 13421 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13422 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*right..z10rr---z9r...z8r...z7r---z6rr..z6+2o*right..cycle; |
| 13423 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 13424 |
endchar; |
| 13425 |
|
| 13426 |
iff known chars.math_subset_plus: |
| 13427 |
bskchar "Proper subset sign with plus"; |
| 13428 |
beginchar(chars.math_subset_plus,12u#,v_center(x_height#)); uni "non"; |
| 13429 |
italcorr h#*slant-.5u#; |
| 13430 |
adjust_fit(0,0); |
| 13431 |
pickup tiny.nib; |
| 13432 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13433 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13434 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]-o; |
| 13435 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13436 |
x2=x4=x3+(y2-y3); |
| 13437 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13438 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13439 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13440 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13441 |
x7=w-x6; y6=y7=.5[y8,y9]=math_axis; top y8=bot y2l-rule_thickness; |
| 13442 |
x8=x9=.5w; y8-y9=x7-x6; |
| 13443 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 13444 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 13445 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 13446 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 13447 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 13448 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 13449 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 13450 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 13451 |
endchar; |
| 13452 |
|
| 13453 |
iff known chars.math_subset_eq_plus: |
| 13454 |
bskchar "Subset or equal to sign with plus"; |
| 13455 |
beginchar(chars.math_subset_eq_plus,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13456 |
adjust_fit(0,0); |
| 13457 |
pickup tiny.nib; |
| 13458 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13459 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13460 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13461 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13462 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13463 |
x2=x4=x3+(y2-y3); |
| 13464 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13465 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13466 |
bskpoints(6,7,hair,hair); |
| 13467 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13468 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 13469 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 13470 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 13471 |
x9=w-x8; y8=y9=.5[y10,y11]=y3+o; top y10=bot y2l-rule_thickness; |
| 13472 |
x10=x11=.5w; y10-y11=x9-x8; |
| 13473 |
bskpoints(8,9,hair,hair); bskpoints(11,10,.5hair,.5hair); |
| 13474 |
z12=whatever[z11l,z10l]=whatever[z8l,z9l]; |
| 13475 |
z13=whatever[z11r,z10r]=whatever[z8l,z9l]; |
| 13476 |
z14=whatever[z11r,z10r]=whatever[z8r,z9r]; |
| 13477 |
z15=whatever[z11l,z10l]=whatever[z8r,z9r]; |
| 13478 |
filldraw z8l---obl(12,8l,11l)---z11l..z11rr---obl(13,11r,9l)---z9ll..z9r--- |
| 13479 |
obl(14,9r,10r)---z10r..z10ll---obl(15,10l,8r)---z8rr..cycle; |
| 13480 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,12,13,14,15); |
| 13481 |
endchar; |
| 13482 |
|
| 13483 |
iff known chars.math_subset_plus_below: |
| 13484 |
bskchar "Proper subset sign with plus below"; |
| 13485 |
beginchar(chars.math_subset_plus_below,12u#,v_center(1.75x_height#)); uni "0x2ABF"; |
| 13486 |
italcorr h#*slant-.5u#; |
| 13487 |
adjust_fit(0,0); |
| 13488 |
pickup tiny.nib; |
| 13489 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13490 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13491 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]-o; |
| 13492 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13493 |
x2=x4=x3+(y2-y3); |
| 13494 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13495 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13496 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13497 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13498 |
y6=y7=.5[y8,y9]; top y8=bot y4r-rule_thickness; bot y9=-d; |
| 13499 |
x8=x9=.5[x7,x6]=.5w+.5u; y8-y9=x7-x6; |
| 13500 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 13501 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 13502 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 13503 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 13504 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 13505 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 13506 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 13507 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 13508 |
endchar; |
| 13509 |
|
| 13510 |
iff known chars.math_subset_times_below: |
| 13511 |
bskchar "Proper subset sign with times below"; |
| 13512 |
beginchar(chars.math_subset_times_below,12u#,v_center(1.75x_height#)); uni "0x2AC1"; |
| 13513 |
italcorr h#*slant-.5u#; |
| 13514 |
adjust_fit(0,0); |
| 13515 |
pickup tiny.nib; |
| 13516 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13517 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13518 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]-o; |
| 13519 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13520 |
x2=x4=x3+(y2-y3); |
| 13521 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13522 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13523 |
pos6(rule_thickness,135); pos7(rule_thickness,135); |
| 13524 |
pos8(rule_thickness,45); pos9(rule_thickness,45); |
| 13525 |
x6r=x8l; x7l=x9r; .5[x6r,x7l]=.5w+.5u; x7l-x6r=y7r-y6l; |
| 13526 |
bot y6l=bot y9l=-d; top y7r=top y8r=bot y4r-rule_thickness; |
| 13527 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 13528 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 13529 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 13530 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 13531 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 13532 |
oblu:=2f_obl; |
| 13533 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 13534 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 13535 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 13536 |
endchar; |
| 13537 |
|
| 13538 |
iff known chars.math_subset_tilde_below: |
| 13539 |
bskchar "Proper subset sign with tilde below"; |
| 13540 |
beginchar(chars.math_subset_tilde_below,12u#,v_center(1.45x_height#+rule_thickness#)); uni "0x2AC7"; |
| 13541 |
italcorr h#*slant-.5u#; |
| 13542 |
adjust_fit(0,0); |
| 13543 |
pickup tiny.nib; |
| 13544 |
numeric spread; spread:=.45x_height; |
| 13545 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13546 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13547 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]-o; |
| 13548 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13549 |
x2=x4=x3+(y2-y3); |
| 13550 |
top y7=bot y4r-rule_thickness; |
| 13551 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13552 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13553 |
vlnka(6,7); |
| 13554 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 13555 |
endchar; |
| 13556 |
|
| 13557 |
iff known chars.math_subset_approx: |
| 13558 |
bskchar "Proper subset sign with approximately equal"; |
| 13559 |
beginchar(chars.math_subset_approx,12u#,v_center(1.75x_height#+rule_thickness#)); uni "0x2AC9"; |
| 13560 |
italcorr h#*slant-.5u#; |
| 13561 |
adjust_fit(0,0); |
| 13562 |
numeric spread; spread:=.45x_height; |
| 13563 |
pickup tiny.nib; |
| 13564 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13565 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13566 |
top y1r=top y2r=h; top y1r-bot y4r=.85x_height; y5=y4; y3=.5[y1,y4]-o; |
| 13567 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13568 |
x2=x4=x3+(y2-y3); |
| 13569 |
top y7=bot y4r-rule_thickness;bot y8=-d; |
| 13570 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13571 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13572 |
vlnka(6,7); |
| 13573 |
vlnka(8,9); |
| 13574 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 13575 |
endchar; |
| 13576 |
|
| 13577 |
iff known chars.math_subset_dot: |
| 13578 |
bskchar "Proper subset sign with dot"; |
| 13579 |
beginchar(chars.math_subset_dot,12u#,v_center(x_height#)); uni "0x2ABD"; |
| 13580 |
italcorr h#*slant-.5u#; |
| 13581 |
adjust_fit(0,0); |
| 13582 |
pickup tiny.nib; |
| 13583 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13584 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13585 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]-o=y6-o; |
| 13586 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 13587 |
x2=x4=x3+(y2-y3); x6=.5w; |
| 13588 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13589 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 13590 |
dot(6); |
| 13591 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 13592 |
endchar; |
| 13593 |
|
| 13594 |
iff known chars.math_subset_closed: |
| 13595 |
bskchar "Closed subset sign"; |
| 13596 |
beginchar(chars.math_subset_closed,12u#,v_center(x_height#)); uni "0x2ACF"; |
| 13597 |
italcorr h#*slant-.5u#; |
| 13598 |
adjust_fit(0,0); |
| 13599 |
pickup tiny.nib; |
| 13600 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13601 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13602 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]-o; |
| 13603 |
rt x1=rt x5=w-u; lft x3r=u; |
| 13604 |
x2=x4=x3+(y2-y3); x1l:=x5l:=x1r-(rule_thickness-currentbreadth); |
| 13605 |
filldraw obl(1r,5r,2r)---z2r...z3r...z4r---obl(5r,4r,1r)---cycle; |
| 13606 |
infill obl(1l,5l,2l)---z2l...z3l...z4l---obl(5l,4l,1l)---cycle; |
| 13607 |
penlabels(1,2,3,4,5); |
| 13608 |
endchar; |
| 13609 |
|
| 13610 |
iff known chars.math_subset_closed_eq: |
| 13611 |
bskchar "Closed subset or equal to sign"; |
| 13612 |
beginchar(chars.math_subset_closed_eq,12u#,v_center(x_height#+3u#)); uni "0x2AD1"; |
| 13613 |
italcorr h#*slant-.5u#; |
| 13614 |
adjust_fit(0,0); |
| 13615 |
pickup tiny.nib; |
| 13616 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 13617 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13618 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13619 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]-o; |
| 13620 |
rt x1=rt x5=w-u; lft x3r=u; |
| 13621 |
x2=x4=x3+(y2-y3); x1l:=x5l:=x1r-(rule_thickness-currentbreadth); |
| 13622 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13623 |
filldraw obl(1r,5r,2r)---z2r...z3r...z4r---obl(5r,4r,1r)---cycle; |
| 13624 |
infill obl(1l,5l,2l)---z2l...z3l...z4l---obl(5l,4l,1l)---cycle; |
| 13625 |
filldraw bskrule(6,7,hair,hair); |
| 13626 |
penlabels(1,2,3,4,5,6,7); |
| 13627 |
endchar; |
| 13628 |
|
| 13629 |
iff known chars.math_subset_open: |
| 13630 |
bskchar "Open subset sign"; |
| 13631 |
beginchar(chars.math_subset_open,12u#,v_center(x_height#)); uni "0x27C3"; |
| 13632 |
italcorr h#*slant-.5u#; |
| 13633 |
adjust_fit(0,0); |
| 13634 |
pickup tiny.nib; |
| 13635 |
pos9(rule_thickness,90); pos10(rule_thickness,90); pos11(rule_thickness,180); |
| 13636 |
pos12(rule_thickness,270); pos13(rule_thickness,270); |
| 13637 |
y2=math_axis; rt x2=w-1.5u; x2-x6=y8-y4=2/3(y9l-y13l)-rule_thickness; |
| 13638 |
top y9r=top y10r=h; bot y12r=bot y13r=-d; y11=.5[y9,y12]-o; |
| 13639 |
rt x9=rt x13=w-u-2o; lft x11r=u; |
| 13640 |
x10=x12=x11+(y10-y11); |
| 13641 |
circle_points(rule_thickness); |
| 13642 |
bskpoints(9,10,hair,hair); bskpoints(13,12,hair,hair); |
| 13643 |
filldraw z9l---z10l...z11l...z12l---z13l..z13+2o*right..z13rr---z12r...z11r...z10r---z9rr..z9+2o*right..cycle; |
| 13644 |
filldraw draw_circle.l; |
| 13645 |
infill draw_circle.r; |
| 13646 |
penlabels(9,10,11,12,13); labels(9rr,13rr); |
| 13647 |
endchar; |
| 13648 |
|
| 13649 |
iff known chars.math_sqsuperset: |
| 13650 |
bskchar "Square superset sign"; |
| 13651 |
beginchar(chars.math_sqsuperset,12u#,v_center(x_height#)); uni "0x2290"; |
| 13652 |
adjust_fit(0,0); |
| 13653 |
pickup tiny.nib; |
| 13654 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13655 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 13656 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13657 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13658 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13659 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 13660 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 13661 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 13662 |
endchar; |
| 13663 |
|
| 13664 |
iff known chars.math_sqsuperset_arm: |
| 13665 |
bskchar "Square superset sign with arm"; |
| 13666 |
beginchar(chars.math_sqsuperset_arm,16u#,v_center(x_height#)); uni "0x2ACE"; |
| 13667 |
adjust_fit(0,0); |
| 13668 |
pickup tiny.nib; |
| 13669 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13670 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 13671 |
lft x1=u; x4=6u; x2=x3=w-x1; |
| 13672 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13673 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13674 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 13675 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 13676 |
penlabels(1,2,3,4); labels(1rr,2ll,3rr,4ll); |
| 13677 |
endchar; |
| 13678 |
|
| 13679 |
iff known chars.math_sqsuperset_very: |
| 13680 |
bskchar "Very proper square superset sign"; |
| 13681 |
beginchar(chars.math_sqsuperset_very,12u#,v_center(x_height#)); uni "non"; |
| 13682 |
adjust_fit(0,0); |
| 13683 |
pickup tiny.nib; |
| 13684 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13685 |
pos5(rule_thickness,-90); pos6(rule_thickness,-90); pos7(rule_thickness,-90); pos8(rule_thickness,-90); |
| 13686 |
top y1l=top y2l=h; bot y3r=bot y4r=-d; |
| 13687 |
lft x1=lft x4=lft x5=lft x8=u; x2=x3=w-x1; rt x6=rt x7=x2r-2rule_thickness; |
| 13688 |
y1r-top y5l=if not boldmath:2.25\\fi rule_thickness; .5[y5,y8]=.5[y6,y7]=.5[y1,y4]; y5=y6; |
| 13689 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13690 |
bskpoints(5,6,hair,hair); bskpoints(7,8,hair,hair); |
| 13691 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; x6r:=x7l:=x7-rule_thickness+currentbreadth; |
| 13692 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 13693 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 13694 |
filldraw z5l---z6ll..z6---z7..z7rr---z8r..z8ll---obl(7l,8l,6r) |
| 13695 |
--obl(6r,7l,5r)---z5rr..cycle; |
| 13696 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,5rr,6ll,7rr,8ll); |
| 13697 |
endchar; |
| 13698 |
|
| 13699 |
iff known chars.math_sqsuperset_eq: |
| 13700 |
bskchar "Square superset or equal to sign"; |
| 13701 |
beginchar(chars.math_sqsuperset_eq,12u#,v_center(x_height#+3u#)); uni "0x2292"; |
| 13702 |
adjust_fit(0,0); |
| 13703 |
pickup tiny.nib; |
| 13704 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13705 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 13706 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 13707 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13708 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13709 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13710 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 13711 |
bskpoints(5,6,hair,hair); |
| 13712 |
filldraw z1l---z2ll..z2---z3..z3rr---z4r..z4ll---obl(3l,4l,2r) |
| 13713 |
--obl(2r,3l,1r)---z1rr..cycle; |
| 13714 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 13715 |
penlabels(1,2,3,4,5,6); labels(1rr,2ll,3rr,4ll); |
| 13716 |
endchar; |
| 13717 |
|
| 13718 |
iff known chars.math_sqsuperset_eq_neg: |
| 13719 |
bskchar "Negated square superset or equal to sign"; |
| 13720 |
beginchar(chars.math_sqsuperset_eq_neg,12u#,v_center(x_height#+3u#)); uni "0x22E5"; |
| 13721 |
adjust_fit(0,0); |
| 13722 |
pickup tiny.nib; |
| 13723 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13724 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 13725 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 13726 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13727 |
.5[y7,y8]=.5[y4,y6]; .5[x7,x8]=.5w; x8-x7=4u; y7=y5-2u; |
| 13728 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13729 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13730 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 13731 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 13732 |
bskpoints(5,6,hair,hair); |
| 13733 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 13734 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; |
| 13735 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 13736 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 13737 |
filldraw z1l---z2ll..z2---z3..z3rr---obl(12,3r,14)---obl(14,12,6r).more---z6r..z6l |
| 13738 |
---obl(16,6l,7r)---z7rr..z7l---obl(15,7l,5l).more---z5l..z5rr---obl(13,5r,11) |
| 13739 |
---obl(11,13,4r).more---z4r..z4ll---obl(9,4ll,8ll)---z8ll..z8r---obl(10,8r,3l).more |
| 13740 |
---obl(3l,4l,2r)---obl(2r,3l,1r)---z1rr..cycle; |
| 13741 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16); |
| 13742 |
endchar; |
| 13743 |
|
| 13744 |
iff known chars.math_sqsuperset_eq_neg_vert: |
| 13745 |
bskchar "Negated square superset or equal to sign with vertical stroke"; |
| 13746 |
beginchar(chars.math_sqsuperset_eq_neg_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13747 |
adjust_fit(0,0); |
| 13748 |
pickup tiny.nib; |
| 13749 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13750 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 13751 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 13752 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13753 |
.5[y7,y8]=.5[y4,y6]; x7=x8=.5w; y7=y5-2u; |
| 13754 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13755 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13756 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 13757 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 13758 |
bskpoints(5,6,hair,hair); |
| 13759 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 13760 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; |
| 13761 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 13762 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 13763 |
filldraw z1l---z2ll..z2---z3..z3rr---obl(12,3r,14)---obl(14,12,6r)---z6r..z6l |
| 13764 |
---obl(16,6l,7r)---z7rr..z7l---obl(15,7l,5l)---z5l..z5rr---obl(13,5r,11) |
| 13765 |
---obl(11,13,4r)---z4r..z4ll---obl(9,4ll,8ll)---z8ll..z8r---obl(10,8r,3l) |
| 13766 |
---obl(3l,4l,2r)---obl(2r,3l,1r)---z1rr..cycle; |
| 13767 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16); |
| 13768 |
endchar; |
| 13769 |
|
| 13770 |
iff known chars.math_sqsuperset_eq_neg_alt: |
| 13771 |
bskchar "Negated square superset or equal to sign---alternative"; |
| 13772 |
beginchar(chars.math_sqsuperset_eq_neg_alt,12u#,v_center(x_height#+3u#)); uni "0x22E3"; |
| 13773 |
adjust_fit(0,0); |
| 13774 |
pickup tiny.nib; |
| 13775 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13776 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 13777 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 13778 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13779 |
.5[x7,x8]=.5w; x8-x7=4u; y7=y5-2u; y8=y1+2u; |
| 13780 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13781 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13782 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 13783 |
pos7(rule_thickness,angle(z7-z8)+90); pos8(rule_thickness,angle(z7-z8)+90); |
| 13784 |
bskpoints(5,6,hair,hair); |
| 13785 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 13786 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; y17=y18=y1r; y19=y20=y1l; |
| 13787 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 13788 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 13789 |
z17=whatever[z8l,z7l]; z18=whatever[z8r,z7r]; z19=whatever[z8l,z7l]; z20=whatever[z8r,z7r]; |
| 13790 |
filldraw z1l---obl(19,1l,8ll)---z8ll..z8r---obl(20,8r,2l).more---z2ll..z2---z3..z3rr |
| 13791 |
---obl(12,3r,14)---obl(14,12,6r).more---z6r..z6l---obl(16,6l,7r)---z7rr..z7l |
| 13792 |
---obl(15,7l,5l).more---z5l..z5rr---obl(13,5r,11)---obl(11,13,4r).more---z4r..z4ll |
| 13793 |
---obl(9,4ll,17)---obl(17,9,1rr).more---z1rr..cycle; |
| 13794 |
infill obl(18,10,2r)---obl(2r,18,3l)---obl(3l,2r,10)---obl(10,3l,18).more---cycle; |
| 13795 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16,17,18,19,20); |
| 13796 |
endchar; |
| 13797 |
|
| 13798 |
iff known chars.math_sqsuperset_eq_neg_alt_vert: |
| 13799 |
bskchar "Negated square superset or equal to sign---alternative, with vertical stroke"; |
| 13800 |
beginchar(chars.math_sqsuperset_eq_neg_alt_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13801 |
adjust_fit(0,0); |
| 13802 |
pickup tiny.nib; |
| 13803 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 13804 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 13805 |
top y1l=top y2l=h; bot y3r=bot y4r=-d+3u; |
| 13806 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 13807 |
x7=x8=.5w; y7=y5-2u; y8=y1+2u; |
| 13808 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 13809 |
x2r:=x3l:=x3-rule_thickness+currentbreadth; |
| 13810 |
lft x5=u; rt x6=w-u; y5l=y6l=-d; |
| 13811 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 13812 |
bskpoints(5,6,hair,hair); |
| 13813 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 13814 |
y9=y10=y4l; y11=y12=y4r; y13=y14=y6r; y15=y16=y6l; y17=y18=y1r; y19=y20=y1l; |
| 13815 |
z9=whatever[z8l,z7l]; z10=whatever[z8r,z7r]; z11=whatever[z8l,z7l]; z12=whatever[z8r,z7r]; |
| 13816 |
z13=whatever[z8l,z7l]; z14=whatever[z8r,z7r]; z15=whatever[z8l,z7l]; z16=whatever[z8r,z7r]; |
| 13817 |
z17=whatever[z8l,z7l]; z18=whatever[z8r,z7r]; z19=whatever[z8l,z7l]; z20=whatever[z8r,z7r]; |
| 13818 |
filldraw z1l---obl(19,1l,8ll)---z8ll..z8r---obl(20,8r,2l)---z2ll..z2---z3..z3rr |
| 13819 |
---obl(12,3r,14)---obl(14,12,6r)---z6r..z6l---obl(16,6l,7r)---z7rr..z7l |
| 13820 |
---obl(15,7l,5l)---z5l..z5rr---obl(13,5r,11)---obl(11,13,4r)---z4r..z4ll |
| 13821 |
---obl(9,4ll,17)---obl(17,9,1rr)---z1rr..cycle; |
| 13822 |
infill obl(18,10,2r)---obl(2r,18,3l)---obl(3l,2r,10)---obl(10,3l,18)---cycle; |
| 13823 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,2ll,3rr,4ll,9,10,11,12,13,14,15,16,17,18,19,20); |
| 13824 |
endchar; |
| 13825 |
|
| 13826 |
iff known chars.math_superset: |
| 13827 |
bskchar "Proper superset sign"; |
| 13828 |
beginchar(chars.math_superset,12u#,v_center(x_height#)); uni "0x2283"; |
| 13829 |
italcorr h#*slant-u#; |
| 13830 |
adjust_fit(0,0); |
| 13831 |
pickup tiny.nib; |
| 13832 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13833 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13834 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 13835 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13836 |
x2=x4=x3-(y2-y3); |
| 13837 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13838 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 13839 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 13840 |
endchar; |
| 13841 |
|
| 13842 |
iff known chars.math_superset_neg: |
| 13843 |
bskchar "Negated superset sign"; |
| 13844 |
beginchar(chars.math_superset_neg,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2285"; |
| 13845 |
adjust_fit(0,0); |
| 13846 |
pickup tiny.nib; |
| 13847 |
oblu.more:=2f_obl; |
| 13848 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13849 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13850 |
y1=y2; y4=y5; .5[y1,y5]=math_axis; top y1r-bot y5r=x_height; y3=.5[y1,y4]+o; |
| 13851 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13852 |
x2=x4=x3-(y2-y3); |
| 13853 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13854 |
lft x6=x5+u; x7=x2; top y7=h; bot y6=-d; |
| 13855 |
pos6(rule_thickness,angle(z6-z7)+90); pos7(rule_thickness,angle(z6-z7)+90); |
| 13856 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 13857 |
y4'r=y4'l=y4l; z4'r=whatever[z7r,z6r]; z4'l=whatever[z7l,z6l]; |
| 13858 |
y5'r=y5'l=y4r; z5'r=whatever[z7r,z6r]; z5'l=whatever[z7l,z6l]; |
| 13859 |
y1'r=y1'l=y1r; z1'r=whatever[z7r,z6r]; z1'l=whatever[z7l,z6l]; |
| 13860 |
y2'r=y2'l=y1l; z2'r=whatever[z7r,z6r]; z2'l=whatever[z7l,z6l]; |
| 13861 |
filldraw z1l---obl(2'l,1l,4'l).more---obl(4'l,7l,5l)---z5l..z5+2o*left..z5rr |
| 13862 |
---obl(5'l,5r,6l).more---z6l..z6rr---obl(5'r,6r,4r) |
| 13863 |
---z4r...z3r...z2r{left}...z1'r+oblu.more*unitvector(z7-z6)---z7r..z7ll |
| 13864 |
---obl(1'l,7l,1r)---z1rr..z1+2o*left..cycle; |
| 13865 |
infill z4l...z3l...{left}z2l...z2'r+oblu*unitvector(z6-z7)---obl(4'r,2'r,4l).more---cycle; |
| 13866 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13867 |
endchar; |
| 13868 |
|
| 13869 |
iff known chars.math_superset_neg_vert: |
| 13870 |
bskchar "Negated superset sign with vertical stroke"; |
| 13871 |
beginchar(chars.math_superset_neg_vert,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 13872 |
adjust_fit(0,0); |
| 13873 |
pickup tiny.nib; |
| 13874 |
oblu.more:=2f_obl; |
| 13875 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13876 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13877 |
y1=y2; y4=y5; .5[y1,y5]=math_axis; top y1r-bot y5r=x_height; y3=.5[y1,y4]+o; |
| 13878 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13879 |
x2=x4=x3-(y2-y3); |
| 13880 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13881 |
x6=x7=.45w; top y7=h; bot y6=-d; |
| 13882 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 13883 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 13884 |
y4'r=y4'l=y4l; z4'r=whatever[z7r,z6r]; z4'l=whatever[z7l,z6l]; |
| 13885 |
y5'r=y5'l=y4r; z5'r=whatever[z7r,z6r]; z5'l=whatever[z7l,z6l]; |
| 13886 |
y1'r=y1'l=y1r; z1'r=whatever[z7r,z6r]; z1'l=whatever[z7l,z6l]; |
| 13887 |
y2'r=y2'l=y1l; z2'r=whatever[z7r,z6r]; z2'l=whatever[z7l,z6l]; |
| 13888 |
filldraw z1l---obl(2'l,1l,4'l)---obl(4'l,7l,5l)---z5l..z5+2o*left..z5rr |
| 13889 |
---obl(5'l,5r,6l)---z6l..z6rr---obl(5'r,6r,4r) |
| 13890 |
---z4r...z3r...z2r{left}...z1'r+oblu*unitvector(z7-z6)---z7r..z7ll |
| 13891 |
---obl(1'l,7l,1r)---z1rr..z1+2o*left..cycle; |
| 13892 |
infill z4l...z3l...{left}z2l...z2'r+oblu*unitvector(z6-z7)---obl(4'r,2'r,4l)---cycle; |
| 13893 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 13894 |
endchar; |
| 13895 |
|
| 13896 |
iff known chars.math_superset_eq: |
| 13897 |
bskchar "Superset or equal to sign"; |
| 13898 |
beginchar(chars.math_superset_eq,12u#,v_center(x_height#+3u#)); uni "0x2287"; |
| 13899 |
adjust_fit(0,0); |
| 13900 |
pickup tiny.nib; |
| 13901 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13902 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13903 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13904 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 13905 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13906 |
x2=x4=x3-(y2-y3); |
| 13907 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13908 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13909 |
bskpoints(6,7,hair,hair); |
| 13910 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 13911 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 13912 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 13913 |
endchar; |
| 13914 |
|
| 13915 |
iff known chars.math_superset_eq_dot: |
| 13916 |
bskchar "Superset or equal to sign with dot above"; |
| 13917 |
beginchar(chars.math_superset_eq_dot,12u#,.5x_height#+2.5u#+dot_size#+math_axis#,.5x_height#+1.5u#-math_axis#); uni "0x2AC4"; |
| 13918 |
adjust_fit(0,0); |
| 13919 |
pickup tiny.nib; |
| 13920 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13921 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13922 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13923 |
top y1r=top y2r=h-u-dot_size; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 13924 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13925 |
x2=x4=x3-(y2-y3); |
| 13926 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13927 |
x8=.5w-.5u; top y8=h-.5dot_size; |
| 13928 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13929 |
bskpoints(6,7,hair,hair); |
| 13930 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 13931 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 13932 |
dot(8); |
| 13933 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 13934 |
endchar; |
| 13935 |
|
| 13936 |
iff known chars.math_superset_not_eq: |
| 13937 |
bskchar "Superset and not equal to sign"; |
| 13938 |
beginchar(chars.math_superset_not_eq,12u#,v_center(x_height#+3u#)); uni "0x228B"; |
| 13939 |
adjust_fit(0,0); |
| 13940 |
oblu.more:=2f_obl; |
| 13941 |
pickup tiny.nib; |
| 13942 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13943 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13944 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 13945 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13946 |
x2=x4=x3-(y2-y3); |
| 13947 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13948 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13949 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13950 |
bskpoints(6,7,hair,hair); |
| 13951 |
.5[x8,x9]=.5[x6,x7]; .5[y8,y9]=y6; x9-x8=.75(y9-y8)=3u; |
| 13952 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 13953 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13954 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13955 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13956 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 13957 |
filldraw z6rr..z6l---obl(8'l,6l,8l).more---z8l..z8rr---obl(8'r,8r,7l)---z7ll..z7r--- |
| 13958 |
obl(9'r,7r,9r).more---z9r..z9ll---obl(9'l,9l,6r)---cycle; |
| 13959 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr); |
| 13960 |
endchar; |
| 13961 |
|
| 13962 |
iff known chars.math_superset_not_eq_vert: |
| 13963 |
bskchar "Superset and not equal to sign with vertical stroke"; |
| 13964 |
beginchar(chars.math_superset_not_eq_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13965 |
adjust_fit(0,0); |
| 13966 |
pickup tiny.nib; |
| 13967 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13968 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13969 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 13970 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13971 |
x2=x4=x3-(y2-y3); |
| 13972 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13973 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 13974 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 13975 |
bskpoints(6,7,hair,hair); |
| 13976 |
x8=x9=.5w; .5[y8,y9]=y6; .75(y9-y8)=3u; |
| 13977 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 13978 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 13979 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 13980 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 13981 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 13982 |
filldraw z6rr..z6l---obl(8'l,6l,8l)---z8l..z8rr---obl(8'r,8r,7l)---z7ll..z7r--- |
| 13983 |
obl(9'r,7r,9r)---z9r..z9ll---obl(9'l,9l,6r)---cycle; |
| 13984 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr); |
| 13985 |
endchar; |
| 13986 |
|
| 13987 |
iff known chars.math_superset_eq_neg: |
| 13988 |
bskchar "Negated superset or equal to sign"; |
| 13989 |
beginchar(chars.math_superset_eq_neg,12u#,v_center(x_height#+3u#)); uni "non"; |
| 13990 |
adjust_fit(0,0); |
| 13991 |
pickup tiny.nib; |
| 13992 |
oblu.more:=2f_obl; |
| 13993 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 13994 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 13995 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 13996 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 13997 |
x2=x4=x3-(y2-y3); |
| 13998 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 13999 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14000 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14001 |
bskpoints(6,7,hair,hair); |
| 14002 |
lft x8=x6; x9=x4; y9=.5[y4,y3]; y8=y6-2u; |
| 14003 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 14004 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 14005 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 14006 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 14007 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 14008 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 14009 |
filldraw z1l---z2l...z3l...z4l---tobl(4'r,4l,9r).more---z9r..z9ll |
| 14010 |
---obl(4'l,9l,5l)---z5l..z5+2o*left..z5rr---obl(5'l,5r,9'l).more |
| 14011 |
---obl(9'l,5'l,6r)---z6rr..z6l---obl(8'l,6l,8l).more---z8l..z8rr |
| 14012 |
---obl(8'r,8r,7l)---z7ll..z7r---obl(9'r,7r,5'r).more |
| 14013 |
---obl(5'r,9'r,4r)---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14014 |
penlabels(1,2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 14015 |
endchar; |
| 14016 |
|
| 14017 |
iff known chars.math_superset_eq_neg_vert: |
| 14018 |
bskchar "Negated superset or equal to sign with vertical stroke"; |
| 14019 |
beginchar(chars.math_superset_eq_neg_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 14020 |
adjust_fit(0,0); |
| 14021 |
pickup tiny.nib; |
| 14022 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14023 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14024 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 14025 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14026 |
x2=x4=x3-(y2-y3); |
| 14027 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14028 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14029 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14030 |
bskpoints(6,7,hair,hair); |
| 14031 |
x8=x9=.5w; y9=.5[y4,y3]; y8=y6-2u; |
| 14032 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 14033 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 14034 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 14035 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 14036 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 14037 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 14038 |
filldraw z1l---z2l...z3l...z4l---obl(4'r,4l,9r)---z9r..z9ll |
| 14039 |
---obl(4'l,9l,5l)---z5l..z5+2o*left..z5rr---obl(5'l,5r,9'l) |
| 14040 |
---obl(9'l,5'l,6r)---z6rr..z6l---obl(8'l,6l,8l)---z8l..z8rr |
| 14041 |
---obl(8'r,8r,7l)---z7ll..z7r---obl(9'r,7r,5'r) |
| 14042 |
---obl(5'r,9'r,4r)---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14043 |
penlabels(1,2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 14044 |
endchar; |
| 14045 |
|
| 14046 |
iff known chars.math_not_superset_eq: |
| 14047 |
bskchar "Not superset or equal to sign"; |
| 14048 |
beginchar(chars.math_not_superset_eq,12u#,v_center(x_height#+3u#)); uni "0x2289"; |
| 14049 |
adjust_fit(0,0); |
| 14050 |
pickup tiny.nib; |
| 14051 |
oblu.more:=2f_obl; |
| 14052 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14053 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14054 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 14055 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14056 |
x2=x4=x3-(y2-y3); |
| 14057 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14058 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14059 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14060 |
bskpoints(6,7,hair,hair); |
| 14061 |
lft x8=x6+u; x9=x2; y9=y2+2u; y8=y6-2u; |
| 14062 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 14063 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 14064 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 14065 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 14066 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 14067 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 14068 |
y1'r=y1'l=y1r; z1'r=whatever[z9r,z8r]; z1'l=whatever[z9l,z8l]; |
| 14069 |
y2'r=y2'l=y1l; z2'r=whatever[z9r,z8r]; z2'l=whatever[z9l,z8l]; |
| 14070 |
filldraw z1l---obl(2'l,1l,4'l).more---obl(4'l,9l,5l)---z5l..z5+2o*left..z5rr |
| 14071 |
---obl(5'l,5r,9'l).more---tobl(9'l,5'l,6rr).more---z6rr |
| 14072 |
..z6l---obl(8'l,6l,8l).more---z8l..z8rr |
| 14073 |
---obl(8'r,8r,7l)---z7ll..z7r---obl(9'r,7r,5'r).more---obl(5'r,9'r,4r) |
| 14074 |
---z4r...z3r...z2r{left}...z1'r+oblu.more*unitvector(z9-z8)---z9r..z9ll |
| 14075 |
---obl(1'l,9l,1r)---z1rr..z1+2o*left..cycle; |
| 14076 |
infill z4l...z3l...{left}z2l...z2'r+oblu*unitvector(z8-z9)---obl(4'r,2'r,4l).more---cycle; |
| 14077 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 14078 |
endchar; |
| 14079 |
|
| 14080 |
iff known chars.math_not_superset_eq_vert: |
| 14081 |
bskchar "Not superset or equal to sign with vertical stroke"; |
| 14082 |
beginchar(chars.math_not_superset_eq_vert,12u#,v_center(x_height#+3u#)); uni "non"; |
| 14083 |
adjust_fit(0,0); |
| 14084 |
pickup tiny.nib; |
| 14085 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14086 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14087 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 14088 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14089 |
x2=x4=x3-(y2-y3); |
| 14090 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14091 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14092 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14093 |
bskpoints(6,7,hair,hair); |
| 14094 |
x8=x9=.5w; y9=y2+2u; y8=y6-2u; |
| 14095 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 14096 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 14097 |
y9'r=y9'l=y7r; z9'r=whatever[z9r,z8r]; z9'l=whatever[z9l,z8l]; |
| 14098 |
y8'r=y8'l=y7l; z8'r=whatever[z9r,z8r]; z8'l=whatever[z9l,z8l]; |
| 14099 |
y4'r=y4'l=y4l; z4'r=whatever[z9r,z8r]; z4'l=whatever[z9l,z8l]; |
| 14100 |
y5'r=y5'l=y4r; z5'r=whatever[z9r,z8r]; z5'l=whatever[z9l,z8l]; |
| 14101 |
y1'r=y1'l=y1r; z1'r=whatever[z9r,z8r]; z1'l=whatever[z9l,z8l]; |
| 14102 |
y2'r=y2'l=y1l; z2'r=whatever[z9r,z8r]; z2'l=whatever[z9l,z8l]; |
| 14103 |
filldraw z1l---obl(2'l,1l,4'l)---obl(4'l,9l,5l)---z5l..z5+2o*left..z5rr |
| 14104 |
---obl(5'l,5r,9'l)---obl(9'l,5'l,6r)---z6rr |
| 14105 |
..z6l---obl(8'l,6l,8l)---z8l..z8rr |
| 14106 |
---obl(8'r,8r,7l)---z7ll..z7r---obl(9'r,7r,5'r)---obl(5'r,9'r,4r) |
| 14107 |
---z4r...z3r...z2r{left}...z1'r+oblu*unitvector(z9-z8)---z9r..z9ll |
| 14108 |
---obl(1'l,9l,1r)---z1rr..z1+2o*left..cycle; |
| 14109 |
infill z4l...z3l...{left}z2l...z2'r+oblu*unitvector(z8-z9)---obl(4'r,2'r,4l)---cycle; |
| 14110 |
penlabels(1,1',2',2,3,4,4',5,5',6,7,8,8',9,9'); labels(1rr,5rr); |
| 14111 |
endchar; |
| 14112 |
|
| 14113 |
iff known chars.math_superset_eq_double: |
| 14114 |
bskchar "Superset or double equal to sign"; |
| 14115 |
beginchar(chars.math_superset_eq_double,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "0x2AC6"; |
| 14116 |
adjust_fit(0,0); |
| 14117 |
pickup tiny.nib; |
| 14118 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14119 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14120 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14121 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14122 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14123 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14124 |
x2=x4=x3-(y2-y3); |
| 14125 |
lft x6=lft x8=u; rt x7=rt x9=w-u; y6=y7=y8+.45x_height; bot y8l=bot y9l=-d; |
| 14126 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14127 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14128 |
filldraw bskrule(6,7,hair,hair); |
| 14129 |
filldraw bskrule(8,9,hair,hair); |
| 14130 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 14131 |
endchar; |
| 14132 |
|
| 14133 |
iff known chars.math_superset_not_eq_double: |
| 14134 |
bskchar "Superset and not double equal to sign"; |
| 14135 |
beginchar(chars.math_superset_not_eq_double,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "0x2ACC"; |
| 14136 |
adjust_fit(0,0); |
| 14137 |
pickup tiny.nib; |
| 14138 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14139 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14140 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14141 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14142 |
x2=x4=x3-(y2-y3); |
| 14143 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14144 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14145 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14146 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14147 |
top y10=y5r-rule_thickness; x11=x5+2u; .5[x11,x10]=.5w; .5[y11,y10]=.5[y6,y8]; |
| 14148 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 14149 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14150 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14151 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14152 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14153 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14154 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14155 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14156 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14157 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14158 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14159 |
oblu.more:=2f_obl; |
| 14160 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14161 |
filldraw z6rr---obl(6',6r,10l)---z10l..z10rr---tobl(7',10rr,7r).more---z7r |
| 14162 |
..z7ll---obl(8',7l,9')---obl(9',8',9r).more---z9r..z9ll |
| 14163 |
---obl(10',9l,11r)---z11r..z11ll---tobl(11',11ll,8l).more---z8l |
| 14164 |
..z8rr---obl(12',8r,13')---obl(13',12',6l).more---z6l..cycle; |
| 14165 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,6',7',8',9',10',11',12',13'); |
| 14166 |
endchar; |
| 14167 |
|
| 14168 |
iff known chars.math_superset_not_eq_double_vert: |
| 14169 |
bskchar "Superset and not double equal to sign with vertical stroke"; |
| 14170 |
beginchar(chars.math_superset_not_eq_double_vert,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 14171 |
adjust_fit(0,0); |
| 14172 |
pickup tiny.nib; |
| 14173 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14174 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14175 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14176 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14177 |
x2=x4=x3-(y2-y3); |
| 14178 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14179 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14180 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14181 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14182 |
top y10=y5r-rule_thickness; x11=x10=.5w; .5[y11,y10]=.5[y6,y8]; |
| 14183 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 14184 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14185 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14186 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14187 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14188 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14189 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14190 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14191 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14192 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14193 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14194 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14195 |
filldraw z6rr---obl(6',6r,10l)---z10l..z10rr---obl(7',10r,7r)---z7r |
| 14196 |
..z7ll---obl(8',7l,9')---obl(9',8',9r)---z9r..z9ll |
| 14197 |
---obl(10',9l,11r)---z11r..z11ll---obl(11',11l,8l)---z8l |
| 14198 |
..z8rr---obl(12',8r,13')---obl(13',12',6l)---z6l..cycle; |
| 14199 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,6',7',8',9',10',11',12',13'); |
| 14200 |
endchar; |
| 14201 |
|
| 14202 |
iff known chars.math_superset_not_eq_double_alt: |
| 14203 |
bskchar "Superset and not double equal to sign (alternative)"; |
| 14204 |
beginchar(chars.math_superset_not_eq_double_alt,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 14205 |
adjust_fit(0,0); |
| 14206 |
pickup tiny.nib; |
| 14207 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14208 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14209 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14210 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14211 |
x2=x4=x3-(y2-y3); |
| 14212 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14213 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14214 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14215 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14216 |
y10=y3; x11=x5; x10=x4; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 14217 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 14218 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14219 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14220 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 14221 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 14222 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 14223 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 14224 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14225 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14226 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14227 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14228 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14229 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14230 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14231 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14232 |
oblu.more:=2f_obl; |
| 14233 |
filldraw z1l---z2l...z3l...z4l---tobl(3',4l,10rr).more---z10rr..z10l---obl(2',10l,5l) |
| 14234 |
---z5l..z5+2o*left..z5rr---obl(4',5r,6').more---obl(6',4',6r)---z6rr..z6l |
| 14235 |
---obl(13',6l,12').more---tobl(12',13',8rr)---z8rr..z8l---tobl(11',8l,11ll).more |
| 14236 |
---z11ll..z11r---obl(10',11r,9l)---z9ll..z9r---obl(9',9r,8').more |
| 14237 |
---obl(8',9',7l)---z7ll..z7r---obl(7',7r,5').more---obl(5',7',4r)---z4r...z3r |
| 14238 |
...z2r---z1rr..z1+2o*left..cycle; |
| 14239 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13'); |
| 14240 |
endchar; |
| 14241 |
|
| 14242 |
iff known chars.math_superset_not_eq_double_alt_vert: |
| 14243 |
bskchar "Superset and not double equal to sign (alternative) with vertical stroke"; |
| 14244 |
beginchar(chars.math_superset_not_eq_double_alt_vert,12u#,v_center(1.45x_height#+3u#+rule_thickness#)); uni "non"; |
| 14245 |
adjust_fit(0,0); |
| 14246 |
pickup tiny.nib; |
| 14247 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14248 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14249 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14250 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14251 |
x2=x4=x3-(y2-y3); |
| 14252 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14253 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14254 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14255 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14256 |
y10=y3; x11=x10=.5w; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 14257 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 14258 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14259 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14260 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 14261 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 14262 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 14263 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 14264 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14265 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14266 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14267 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14268 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14269 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14270 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14271 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14272 |
filldraw z1l---z2l...z3l...z4l---obl(3',4l,10r)---z10rr..z10l---obl(2',10l,5l) |
| 14273 |
---z5l..z5+2o*left..z5rr---obl(4',5r,6')---obl(6',4',6r)---z6rr..z6l |
| 14274 |
---obl(13',6l,12')---obl(12',13',8r)---z8rr..z8l---obl(11',8l,11l) |
| 14275 |
---z11ll..z11r---obl(10',11r,9l)---z9ll..z9r---obl(9',9r,8') |
| 14276 |
---obl(8',9',7l)---z7ll..z7r---obl(7',7r,5')---obl(5',7',4r)---z4r...z3r |
| 14277 |
...z2r---z1rr..z1+2o*left..cycle; |
| 14278 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13'); |
| 14279 |
endchar; |
| 14280 |
|
| 14281 |
iff known chars.math_superset_eq_double_not: |
| 14282 |
bskchar "Negated superset or double equal to sign"; |
| 14283 |
beginchar(chars.math_superset_eq_double_not,12u#,math_axis#+.725x_height#+1.5u#+2.5rule_thickness#,.725x_height#+1.5u#+.5rule_thickness#-math_axis#); uni "non"; |
| 14284 |
adjust_fit(0,0); |
| 14285 |
pickup tiny.nib; |
| 14286 |
path p[]; numeric tim[]; |
| 14287 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14288 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14289 |
top y1r=top y2r=h-2rule_thickness; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14290 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14291 |
x2=x4=x3-(y2-y3); |
| 14292 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14293 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14294 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14295 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14296 |
y10=h; x11=x5+u; x10=x4; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 14297 |
pos10(rule_thickness,angle(z11-z10)+90); pos11(rule_thickness,angle(z11-z10)+90); |
| 14298 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14299 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14300 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 14301 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 14302 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 14303 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 14304 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14305 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14306 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14307 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14308 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14309 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14310 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14311 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14312 |
z14'=whatever[z10l,z11l]=whatever[z1l,z2l]; |
| 14313 |
p0=z1rr--z2r...z3r...{left}z4r; |
| 14314 |
p1=z4l{right}...z3l...z2l---z1l; |
| 14315 |
p2=z11ll--z10l; |
| 14316 |
p3=z10rr--z11r; |
| 14317 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 14318 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 14319 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 14320 |
oblu.more:=2f_obl; |
| 14321 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 14322 |
..subpath(rundy(p2,tim1),infinity) of p2 |
| 14323 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 14324 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 14325 |
---obl(5',4r,7')---obl(7',5',7r).more---z7r..z7ll---obl(8',7l,9').more |
| 14326 |
---obl(9',8',9r)---z9r..z9ll---obl(10',9l,11r)---z11r..z11ll |
| 14327 |
---tobl(11',11ll,8l).more---z8l..z8rr---obl(12',8r,13')---obl(13',12',6l).more |
| 14328 |
---z6l..z6rr---obl(6',6r,4')---obl(4',6',5r).more---z5rr..z5+2o*left..z5l |
| 14329 |
---obl(2',5l,14')---obl(14',2',1l).more---z1l..z1+2o*left..{right}cycle; |
| 14330 |
infill obl(3',10r,4l)---subpath(0,rundy(p1,tim4).zpet) of p1 |
| 14331 |
..point rundy(p3,tim5) of p3---cycle; |
| 14332 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); |
| 14333 |
labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13',14'); |
| 14334 |
endchar; |
| 14335 |
|
| 14336 |
iff known chars.math_superset_eq_double_not_vert: |
| 14337 |
bskchar "Negated superset or double equal to sign with vertical stroke"; |
| 14338 |
beginchar(chars.math_superset_eq_double_not_vert,12u#,math_axis#+.725x_height#+1.5u#+2.5rule_thickness#,.725x_height#+1.5u#+.5rule_thickness#-math_axis#); uni "non"; |
| 14339 |
adjust_fit(0,0); |
| 14340 |
pickup tiny.nib; |
| 14341 |
path p[]; numeric tim[]; |
| 14342 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14343 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14344 |
top y1r=top y2r=h-2rule_thickness; bot y4r=bot y5r=-d+3u+.45x_height+rule_thickness; y3=.5[y1,y4]+o; |
| 14345 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14346 |
x2=x4=x3-(y2-y3); |
| 14347 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14348 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14349 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14350 |
lft x6=lft x8=u; rt x7=rt x9=w-u; bot y8l=bot y9l=-d; y6=y7=y8+.45x_height; |
| 14351 |
y10=h; x11=x10=.5w; .5[y11,bot y5r-rule_thickness]=.5[y6,y8]; |
| 14352 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 14353 |
bskpoints(6,7,hair,hair); bskpoints(8,9,hair,hair); |
| 14354 |
bskpoints(10,11,rule_thickness,rule_thickness); |
| 14355 |
z2'=whatever[z10l,z11l]=whatever[z5l,z4l]; |
| 14356 |
z3'=whatever[z10r,z11r]=whatever[z5l,z4l]; |
| 14357 |
z4'=whatever[z10l,z11l]=whatever[z4r,z5r]; |
| 14358 |
z5'=whatever[z10r,z11r]=whatever[z4r,z5r]; |
| 14359 |
z6'=whatever[z10l,z11l]=whatever[z6r,z7r]; |
| 14360 |
z7'=whatever[z10r,z11r]=whatever[z6r,z7r]; |
| 14361 |
z8'=whatever[z10r,z11r]=whatever[z6l,z7l]; |
| 14362 |
z9'=whatever[z10r,z11r]=whatever[z8r,z9r]; |
| 14363 |
z10'=whatever[z10r,z11r]=whatever[z8l,z9l]; |
| 14364 |
z11'=whatever[z10l,z11l]=whatever[z8l,z9l]; |
| 14365 |
z12'=whatever[z10l,z11l]=whatever[z8r,z9r]; |
| 14366 |
z13'=whatever[z10l,z11l]=whatever[z6l,z7l]; |
| 14367 |
z14'=whatever[z10l,z11l]=whatever[z1l,z2l]; |
| 14368 |
p0=z1rr--z2r...z3r...{left}z4r; |
| 14369 |
p1=z4l{right}...z3l...z2l---z1l; |
| 14370 |
p2=z11ll--z10l; |
| 14371 |
p3=z10rr--z11r; |
| 14372 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 14373 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 14374 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 14375 |
oblu.more:=2f_obl; |
| 14376 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 14377 |
..subpath(rundy(p2,tim1),infinity) of p2 |
| 14378 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 14379 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 14380 |
---obl(5',4r,7')---obl(7',5',7r)---z7r..z7ll---obl(8',7l,9')---obl(9',8',9r) |
| 14381 |
---z9r..z9ll---obl(10',9l,11r)---z11r..z11ll---obl(11',11l,8l)---z8l..z8rr |
| 14382 |
---obl(12',8r,13')---obl(13',12',6l)---z6l..z6rr---obl(6',6r,4')---obl(4',6',5r) |
| 14383 |
---z5rr..z5+2o*left..z5l---obl(2',5l,14')---obl(14',2',1l)---z1l |
| 14384 |
..z1+2o*left..{right}cycle; |
| 14385 |
infill obl(3',10r,4l)---subpath(0,rundy(p1,tim4).zpet) of p1 |
| 14386 |
..point rundy(p3,tim5) of p3---cycle; |
| 14387 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); |
| 14388 |
labels(1rr,5rr,7ll,8ll,10rr,11ll,2',3',4',5',6',7',8',9',10',11',12',13',14'); |
| 14389 |
endchar; |
| 14390 |
|
| 14391 |
iff known chars.math_superset_very: |
| 14392 |
bskchar "Very proper superset sign"; |
| 14393 |
beginchar(chars.math_superset_very,12u#,v_center(x_height#)); uni "0x22D1"; |
| 14394 |
italcorr h#*slant-u#; |
| 14395 |
adjust_fit(0,0); |
| 14396 |
pickup tiny.nib; |
| 14397 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14398 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14399 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,0); |
| 14400 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14401 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=y8=.5[y1,y4]+o=.5[y6,y9]+o; y6=y7; y9=y10; |
| 14402 |
lft x1=lft x5=lft x6=lft x10=u+2o; rt x3r=w-u; rt x8r=x3l-2rule_thickness; y1l-top y6r=if not boldmath:2.25\\fi rule_thickness; |
| 14403 |
x2=x4=x3-(y2-y3); x7=x9=x8-(y7-y8); |
| 14404 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14405 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14406 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14407 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*left..z10rr---z9r...z8r...z7r---z6rr..z6+2o*left..cycle; |
| 14408 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 14409 |
endchar; |
| 14410 |
|
| 14411 |
iff known chars.math_superset_plus: |
| 14412 |
bskchar "Proper superset sign with plus"; |
| 14413 |
beginchar(chars.math_superset_plus,12u#,v_center(x_height#)); uni "non"; |
| 14414 |
italcorr h#*slant-u#; |
| 14415 |
adjust_fit(0,0); |
| 14416 |
pickup tiny.nib; |
| 14417 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14418 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14419 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14420 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14421 |
x2=x4=x3-(y2-y3); |
| 14422 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14423 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14424 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14425 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 14426 |
x7=w-x6; y6=y7=.5[y8,y9]=math_axis; top y8=bot y2l-rule_thickness; |
| 14427 |
x8=x9=.5w; y8-y9=x7-x6; |
| 14428 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 14429 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 14430 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 14431 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 14432 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 14433 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 14434 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 14435 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 14436 |
endchar; |
| 14437 |
|
| 14438 |
iff known chars.math_superset_eq_plus: |
| 14439 |
bskchar "Superset or equal to sign with plus"; |
| 14440 |
beginchar(chars.math_superset_eq_plus,12u#,v_center(x_height#+3u#)); uni "non"; |
| 14441 |
adjust_fit(0,0); |
| 14442 |
pickup tiny.nib; |
| 14443 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14444 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14445 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14446 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 14447 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14448 |
x2=x4=x3-(y2-y3); |
| 14449 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14450 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14451 |
bskpoints(6,7,hair,hair); |
| 14452 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14453 |
filldraw z6rr..z6l---z7ll..z7r---cycle; |
| 14454 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14455 |
pos10(rule_thickness,0); pos11(rule_thickness,0); |
| 14456 |
x9=w-x8; y8=y9=.5[y10,y11]=y3-o; top y10=bot y2l-rule_thickness; |
| 14457 |
x10=x11=.5w; y10-y11=x9-x8; |
| 14458 |
bskpoints(8,9,hair,hair); bskpoints(11,10,.5hair,.5hair); |
| 14459 |
z12=whatever[z11l,z10l]=whatever[z8l,z9l]; |
| 14460 |
z13=whatever[z11r,z10r]=whatever[z8l,z9l]; |
| 14461 |
z14=whatever[z11r,z10r]=whatever[z8r,z9r]; |
| 14462 |
z15=whatever[z11l,z10l]=whatever[z8r,z9r]; |
| 14463 |
filldraw z8l---obl(12,8l,11l)---z11l..z11rr---obl(13,11r,9l)---z9ll..z9r--- |
| 14464 |
obl(14,9r,10r)---z10r..z10ll---obl(15,10l,8r)---z8rr..cycle; |
| 14465 |
penlabels(1,2,3,4,5,6,7,8,9,10,11); labels(1rr,5rr,12,13,14,15); |
| 14466 |
endchar; |
| 14467 |
|
| 14468 |
iff known chars.math_superset_plus_below: |
| 14469 |
bskchar "Proper superset sign with plus below"; |
| 14470 |
beginchar(chars.math_superset_plus_below,12u#,v_center(1.75x_height#)); uni "0x2AC0"; |
| 14471 |
italcorr h#*slant-.5u#; |
| 14472 |
adjust_fit(0,0); |
| 14473 |
pickup tiny.nib; |
| 14474 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14475 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14476 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]+o; |
| 14477 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14478 |
x2=x4=x3-(y2-y3); |
| 14479 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14480 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14481 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14482 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 14483 |
y6=y7=.5[y8,y9]; top y8=bot y4r-rule_thickness; bot y9=-d; |
| 14484 |
x8=x9=.5[x7,x6]=.5w-.5u; y8-y9=x7-x6; |
| 14485 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 14486 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 14487 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 14488 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 14489 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 14490 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 14491 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 14492 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 14493 |
endchar; |
| 14494 |
|
| 14495 |
iff known chars.math_superset_times_below: |
| 14496 |
bskchar "Proper superset sign with times below"; |
| 14497 |
beginchar(chars.math_superset_times_below,12u#,v_center(1.75x_height#)); uni "0x2AC2"; |
| 14498 |
italcorr h#*slant-.5u#; |
| 14499 |
adjust_fit(0,0); |
| 14500 |
pickup tiny.nib; |
| 14501 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14502 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14503 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]+o; |
| 14504 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14505 |
x2=x4=x3-(y2-y3); |
| 14506 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14507 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14508 |
pos6(rule_thickness,135); pos7(rule_thickness,135); |
| 14509 |
pos8(rule_thickness,45); pos9(rule_thickness,45); |
| 14510 |
x6r=x8l; x7l=x9r; .5[x6r,x7l]=.5w-.5u; x7l-x6r=y7r-y6l; |
| 14511 |
bot y6l=bot y9l=-d; top y7r=top y8r=bot y4r-rule_thickness; |
| 14512 |
bskpoints(6,7,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 14513 |
z10=whatever[z9l,z8l]=whatever[z6l,z7l]; |
| 14514 |
z11=whatever[z9r,z8r]=whatever[z6l,z7l]; |
| 14515 |
z12=whatever[z9r,z8r]=whatever[z6r,z7r]; |
| 14516 |
z13=whatever[z9l,z8l]=whatever[z6r,z7r]; |
| 14517 |
oblu:=2f_obl; |
| 14518 |
filldraw z6l---obl(10,6l,9l)---z9l..z9rr---obl(11,9r,7l)---z7ll..z7r--- |
| 14519 |
obl(12,7r,8r)---z8r..z8ll---obl(13,8l,6r)---z6rr..cycle; |
| 14520 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 14521 |
endchar; |
| 14522 |
|
| 14523 |
iff known chars.math_superset_tilde_below: |
| 14524 |
bskchar "Proper superset sign with tilde below"; |
| 14525 |
beginchar(chars.math_superset_tilde_below,12u#,v_center(1.45x_height#+rule_thickness#)); uni "0x2AC8"; |
| 14526 |
italcorr h#*slant-.5u#; |
| 14527 |
adjust_fit(0,0); |
| 14528 |
numeric spread; spread:=.45x_height; |
| 14529 |
pickup tiny.nib; |
| 14530 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14531 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14532 |
top y1r=top y2r=h; top y1r-bot y4r=x_height; y5=y4; y3=.5[y1,y4]+o; |
| 14533 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14534 |
x2=x4=x3-(y2-y3); |
| 14535 |
top y7=bot y4r-rule_thickness; |
| 14536 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14537 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14538 |
vlnka(6,7); |
| 14539 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 14540 |
endchar; |
| 14541 |
|
| 14542 |
iff known chars.math_superset_approx: |
| 14543 |
bskchar "Proper superset sign with approximately equal"; |
| 14544 |
beginchar(chars.math_superset_approx,12u#,v_center(1.75x_height#+rule_thickness#)); uni "0x2ACA"; |
| 14545 |
italcorr h#*slant-.5u#; |
| 14546 |
adjust_fit(0,0); |
| 14547 |
numeric spread; spread:=.45x_height; |
| 14548 |
pickup tiny.nib; |
| 14549 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14550 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14551 |
top y1r=top y2r=h; top y1r-bot y4r=.85x_height; y5=y4; y3=.5[y1,y4]+o; |
| 14552 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 14553 |
x2=x4=x3-(y2-y3); |
| 14554 |
top y7=bot y4r-rule_thickness; bot y8=-d; |
| 14555 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14556 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14557 |
vlnka(6,7); |
| 14558 |
vlnka(8,9); |
| 14559 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 14560 |
endchar; |
| 14561 |
|
| 14562 |
iff known chars.math_superset_dot: |
| 14563 |
bskchar "Proper superset sign with dot"; |
| 14564 |
beginchar(chars.math_superset_dot,12u#,v_center(x_height#)); uni "0x2ABE"; |
| 14565 |
italcorr h#*slant-u#; |
| 14566 |
adjust_fit(0,0); |
| 14567 |
pickup tiny.nib; |
| 14568 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14569 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14570 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o=y6+o; |
| 14571 |
lft x1=lft x5=u+2o; rt x3r=w-u; x6=.5w; |
| 14572 |
x2=x4=x3-(y2-y3); |
| 14573 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14574 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14575 |
dot(6); |
| 14576 |
penlabels(1,2,3,4,5); labels(1rr,5rr); |
| 14577 |
endchar; |
| 14578 |
|
| 14579 |
iff known chars.math_superset_closed: |
| 14580 |
bskchar "Closed superset sign"; |
| 14581 |
beginchar(chars.math_superset_closed,12u#,v_center(x_height#)); uni "0x2AD0"; |
| 14582 |
italcorr h#*slant-u#; |
| 14583 |
adjust_fit(0,0); |
| 14584 |
pickup tiny.nib; |
| 14585 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14586 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14587 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14588 |
lft x1=lft x5=u; rt x3r=w-u; |
| 14589 |
x2=x4=x3-(y2-y3); x1l:=x5l:=x1r+(rule_thickness-currentbreadth); |
| 14590 |
filldraw obl(1r,5r,2r)---z2r...z3r...z4r---obl(5r,4r,1r)---cycle; |
| 14591 |
infill obl(1l,5l,2l)---z2l...z3l...z4l---obl(5l,4l,1l)---cycle; |
| 14592 |
penlabels(1,2,3,4,5); |
| 14593 |
endchar; |
| 14594 |
|
| 14595 |
iff known chars.math_superset_closed_eq: |
| 14596 |
bskchar "Closed superset or equal to sign"; |
| 14597 |
beginchar(chars.math_superset_closed_eq,12u#,v_center(x_height#+3u#)); uni "0x2AD2"; |
| 14598 |
italcorr h#*slant-u#; |
| 14599 |
adjust_fit(0,0); |
| 14600 |
pickup tiny.nib; |
| 14601 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14602 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14603 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14604 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+3u; y3=.5[y1,y4]+o; |
| 14605 |
lft x1=lft x5=u; rt x3r=w-u; |
| 14606 |
lft x6=u; rt x7=w-u; y6l=y7l=-d; |
| 14607 |
x2=x4=x3-(y2-y3); x1l:=x5l:=x1r+(rule_thickness-currentbreadth); |
| 14608 |
filldraw obl(1r,5r,2r)---z2r...z3r...z4r---obl(5r,4r,1r)---cycle; |
| 14609 |
infill obl(1l,5l,2l)---z2l...z3l...z4l---obl(5l,4l,1l)---cycle; |
| 14610 |
filldraw bskrule(6,7,hair,hair); |
| 14611 |
penlabels(1,2,3,4,5,6,7); |
| 14612 |
endchar; |
| 14613 |
|
| 14614 |
iff known chars.math_superset_open: |
| 14615 |
bskchar "Open superset sign"; |
| 14616 |
beginchar(chars.math_superset_open,12u#,v_center(x_height#)); uni "0x27C4"; |
| 14617 |
italcorr h#*slant-u#; |
| 14618 |
adjust_fit(0,0); |
| 14619 |
pickup tiny.nib; |
| 14620 |
pos9(rule_thickness,90); pos10(rule_thickness,90); pos11(rule_thickness,0); |
| 14621 |
pos12(rule_thickness,270); pos13(rule_thickness,270); |
| 14622 |
y2=math_axis; lft x6=1.5u; x2-x6=y8-y4=2/3(y9l-y13l)-rule_thickness; |
| 14623 |
top y9r=top y10r=h; bot y12r=bot y13r=-d; y11=.5[y9,y12]+o; |
| 14624 |
lft x9=lft x13=u+2o; rt x11r=w-u; |
| 14625 |
x10=x12=x11-(y10-y11); |
| 14626 |
circle_points(rule_thickness); |
| 14627 |
bskpoints(9,10,hair,hair); bskpoints(13,12,hair,hair); |
| 14628 |
filldraw z9l---z10l...z11l...z12l---z13l..z13+2o*left..z13rr---z12r...z11r...z10r---z9rr..z9+2o*left..cycle; |
| 14629 |
filldraw draw_circle.l; |
| 14630 |
infill draw_circle.r; |
| 14631 |
penlabels(9,10,11,12,13); labels(9rr,13rr); |
| 14632 |
endchar; |
| 14633 |
|
| 14634 |
iff known chars.math_subset_superset: |
| 14635 |
bskchar "Subset above superset sign"; |
| 14636 |
beginchar(chars.math_subset_superset,12u#,v_center(1.75x_height#)); uni "0x2AD3"; |
| 14637 |
italcorr h#*slant-.5u#; |
| 14638 |
adjust_fit(0,0); |
| 14639 |
pickup tiny.nib; |
| 14640 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14641 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14642 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,0); |
| 14643 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14644 |
top y1r=top y2r=h; y4=y5; y3=.5[y1,y4]-o; |
| 14645 |
y6=y7; bot y9r=bot y10r=-d; y8=.5[y6,y9]+o; .5[y4,y6]=math_axis; y4r-y6r=2rule_thickness; |
| 14646 |
rt x1=rt x5=w-u-2o; lft x3r=u; x2=x4=x3+(y2-y3); |
| 14647 |
lft x6=lft x10=u+2o; rt x8r=w-u; x7=x9=x8-(y7-y8); |
| 14648 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14649 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14650 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14651 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*left..z10rr---z9r...z8r...z7r---z6rr..z6+2o*left..cycle; |
| 14652 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 14653 |
endchar; |
| 14654 |
|
| 14655 |
iff known chars.math_superset_subset: |
| 14656 |
bskchar "Superset above subset sign"; |
| 14657 |
beginchar(chars.math_superset_subset,12u#,v_center(1.75x_height#)); uni "0x2AD4"; |
| 14658 |
italcorr h#*slant-.5u#; |
| 14659 |
adjust_fit(0,0); |
| 14660 |
pickup tiny.nib; |
| 14661 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14662 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14663 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 14664 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14665 |
top y1r=top y2r=h; y4=y5; y3=.5[y1,y4]+o; |
| 14666 |
y6=y7; bot y9r=bot y10r=-d; y8=.5[y6,y9]-o; .5[y4,y6]=math_axis; y4r-y6r=2rule_thickness; |
| 14667 |
lft x1=lft x5=u+2o; rt x3r=w-u; x2=x4=x3-(y2-y3); |
| 14668 |
rt x6=rt x10=w-u-2o; lft x8r=u; x7=x9=x8+(y7-y8); |
| 14669 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14670 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14671 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14672 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*right..z10rr---z9r...z8r...z7r---z6rr..z6+2o*right..cycle; |
| 14673 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 14674 |
endchar; |
| 14675 |
|
| 14676 |
iff known chars.math_subset_subset: |
| 14677 |
bskchar "Subset above subset sign"; |
| 14678 |
beginchar(chars.math_subset_subset,12u#,v_center(1.75x_height#)); uni "0x2AD5"; |
| 14679 |
italcorr h#*slant-.5u#; |
| 14680 |
adjust_fit(0,0); |
| 14681 |
pickup tiny.nib; |
| 14682 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14683 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14684 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 14685 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14686 |
top y1r=top y2r=h; y4=y5; y3=.5[y1,y4]-o; |
| 14687 |
y6=y7; bot y9r=bot y10r=-d; y8=.5[y6,y9]-o; .5[y4,y6]=math_axis; y4r-y6r=2rule_thickness; |
| 14688 |
rt x1=rt x5=w-u-2o; lft x3r=u; x2=x4=x3+(y2-y3); |
| 14689 |
rt x6=rt x10=w-u-2o; lft x8r=u; x7=x9=x8+(y7-y8); |
| 14690 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14691 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14692 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14693 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*right..z10rr---z9r...z8r...z7r---z6rr..z6+2o*right..cycle; |
| 14694 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 14695 |
endchar; |
| 14696 |
|
| 14697 |
iff known chars.math_superset_superset: |
| 14698 |
bskchar "Superset above superset sign"; |
| 14699 |
beginchar(chars.math_superset_superset,12u#,v_center(1.75x_height#)); uni "0x2AD6"; |
| 14700 |
italcorr h#*slant-.5u#; |
| 14701 |
adjust_fit(0,0); |
| 14702 |
pickup tiny.nib; |
| 14703 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14704 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14705 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,0); |
| 14706 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14707 |
top y1r=top y2r=h; y4=y5; y3=.5[y1,y4]+o; |
| 14708 |
y6=y7; bot y9r=bot y10r=-d; y8=.5[y6,y9]+o; .5[y4,y6]=math_axis; y4r-y6r=2rule_thickness; |
| 14709 |
lft x1=lft x5=u+2o; rt x3r=w-u; x2=x4=x3-(y2-y3); |
| 14710 |
lft x6=lft x10=u+2o; rt x8r=w-u; x7=x9=x8-(y7-y8); |
| 14711 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14712 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14713 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14714 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*left..z10rr---z9r...z8r...z7r---z6rr..z6+2o*left..cycle; |
| 14715 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,10rr); |
| 14716 |
endchar; |
| 14717 |
|
| 14718 |
iff known chars.math_superset_beside_subset: |
| 14719 |
bskchar "Superset beside supset sign"; |
| 14720 |
beginchar(chars.math_superset_beside_subset,20u#,v_center(x_height#)); uni "0x2AD7"; |
| 14721 |
italcorr h#*slant-u#; |
| 14722 |
adjust_fit(0,0); |
| 14723 |
pickup tiny.nib; |
| 14724 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14725 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14726 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 14727 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14728 |
top y1r=top y2r=top y6r=top y7r=h; bot y4r=bot y5r=bot y9r=bot y10r=-d; |
| 14729 |
y3=.5[y1,y4]+o; y8=.5[y6,y9]-o; |
| 14730 |
lft x1=lft x5=u+2o; x2=x4=x3-(y2-y3); |
| 14731 |
rt x6=rt x10=w-u-2o; x7=x9=x8+(y7-y8); |
| 14732 |
.5[x3,x8]=.5w; lft x8l-rt x3r=2rule_thickness; |
| 14733 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14734 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14735 |
filldraw z1l---z2l...z3l...z4l---z5l..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 14736 |
filldraw z6l---z7l...z8l...z9l---z10l..z10+2o*right..z10rr---z9r...z8r...z7r---z6rr..z6+2o*right..cycle; |
| 14737 |
penlabels(1,2,3,4,5,6,7,8,9,10); labels(1rr,5rr,6rr,5rr); |
| 14738 |
endchar; |
| 14739 |
|
| 14740 |
iff known chars.math_superset_join_subset: |
| 14741 |
bskchar "Superset beside and joined with supset sign"; |
| 14742 |
beginchar(chars.math_superset_join_subset,20u#,v_center(x_height#)); uni "0x2AD8"; |
| 14743 |
italcorr h#*slant-u#; |
| 14744 |
adjust_fit(0,0); |
| 14745 |
pickup tiny.nib; |
| 14746 |
path p[]; numeric tim[]; |
| 14747 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 14748 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14749 |
pos6(rule_thickness,90); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 14750 |
pos9(rule_thickness,270); pos10(rule_thickness,270); |
| 14751 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 14752 |
top y1r=top y2r=top y6r=top y7r=h; bot y4r=bot y5r=bot y9r=bot y10r=-d; |
| 14753 |
y3=.5[y1,y4]+o; y8=.5[y6,y9]-o; |
| 14754 |
lft x1=lft x5=u+2o; x2=x4=x3-(y2-y3); |
| 14755 |
rt x6=rt x10=w-u-2o; x7=x9=x8+(y7-y8); |
| 14756 |
.5[x3,x8]=.5w=.5[x11,x12]; lft x8l-rt x3r=2rule_thickness; x12=x7; |
| 14757 |
y11=y12=math_axis; |
| 14758 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14759 |
bskpoints(6,7,hair,hair); bskpoints(10,9,hair,hair); |
| 14760 |
bskpoints(11,12,rule_thickness,rule_thickness); |
| 14761 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 14762 |
p1:=z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..{right}z1l; |
| 14763 |
p2:=reverse (z6l---z7l...z8l...z9l---z10l); |
| 14764 |
p3:=reverse (z10rr---z9r...z8r...z7r---z6rr..z6+2o*right..{left}z6l); |
| 14765 |
p4:=z12r--z11rr; |
| 14766 |
p5:=z11l--z12ll; |
| 14767 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 14768 |
(tim2,tim3)=p0 intersectiontimes p5; |
| 14769 |
(tim4,tim5)=p1 intersectiontimes p5; |
| 14770 |
(tim6,tim7)=p3 intersectiontimes p5; |
| 14771 |
(tim8,tim9)=p2 intersectiontimes p5; |
| 14772 |
(tim10,tim11)=p2 intersectiontimes p4; |
| 14773 |
(tim12,tim13)=p3 intersectiontimes p4; |
| 14774 |
(tim14,tim15)=p1 intersectiontimes p4; |
| 14775 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 14776 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 14777 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 14778 |
..subpath(rundy(p0,tim2),infinity) of p0..z5+2o*left |
| 14779 |
..subpath(0,rundy(p1,tim4).zpet) of p1.. .5[point tim5 of p5,point tim7 of p5] |
| 14780 |
..subpath(rundy(p3,tim6),infinity) of p3..z10+2o*right |
| 14781 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 14782 |
..subpath(rundy(p5,tim9),infinity) of p5 |
| 14783 |
..subpath(0,rundy(p4,tim11).zpet) of p4 |
| 14784 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 14785 |
..subpath(0,rundy(p3,tim12).zpet) of p3.. .5[point tim13 of p4,point tim15 of p4] |
| 14786 |
..subpath(rundy(p1,tim14),infinity) of p1..cycle; |
| 14787 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12); labels(1rr,5rr,6rr,5rr,11rr,12ll); |
| 14788 |
endchar; |
| 14789 |
|
| 14790 |
iff known chars.math_element: |
| 14791 |
bskchar "Element sign"; |
| 14792 |
beginchar(chars.math_element,9u#,v_center(x_height#+u#)); uni "0x2208"; |
| 14793 |
italcorr h#*slant; |
| 14794 |
adjust_fit(0,0); |
| 14795 |
pickup tiny.nib; |
| 14796 |
path p; numeric tim[]; oblu:=4oblu; |
| 14797 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14798 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14799 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14800 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14801 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14802 |
x2=x4=x3+(y2-y3); |
| 14803 |
y6=y7=y3; x7=x1; x6=x3r; |
| 14804 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14805 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 14806 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 14807 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 14808 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 14809 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14810 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 14811 |
endchar; |
| 14812 |
|
| 14813 |
iff known chars.math_element_dot: |
| 14814 |
bskchar "Element sign with dot above"; |
| 14815 |
beginchar(chars.math_element_dot,9u#,.5x_height#+1.5u#+math_axis#+dot_size#,.5x_height#+.5u#-math_axis#); uni "0x22F5"; |
| 14816 |
italcorr h#*slant; |
| 14817 |
adjust_fit(0,0); |
| 14818 |
pickup tiny.nib; |
| 14819 |
path p; numeric tim[]; oblu:=4oblu; |
| 14820 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14821 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14822 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14823 |
top y1r=top y2r=h-u-dot_size; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14824 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14825 |
x2=x4=x3+(y2-y3); |
| 14826 |
y6=y7=y3; x7=x1; x6=x3r; rt x8=x2; bot y8=h-.5dot_size; |
| 14827 |
dot(8); |
| 14828 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14829 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 14830 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 14831 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 14832 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 14833 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14834 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 14835 |
endchar; |
| 14836 |
|
| 14837 |
iff known chars.math_element_bar: |
| 14838 |
bskchar "Element sign with bar above"; |
| 14839 |
beginchar(chars.math_element_bar,9u#,.5x_height#+1.5u#+math_axis#+2rule_thickness#,.5x_height#+.5u#-math_axis#); uni "0x22F6"; |
| 14840 |
italcorr h#*slant; |
| 14841 |
adjust_fit(0,0); |
| 14842 |
pickup tiny.nib; |
| 14843 |
path p; numeric tim[]; oblu:=4oblu; |
| 14844 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14845 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14846 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14847 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14848 |
top y1r=top y2r=h-u-2rule_thickness; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14849 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14850 |
x2=x4=x3+(y2-y3); |
| 14851 |
y6=y7=y3; x7=x1; x6=x3r; lft x8=x6; rt x9=w-u; top y8r=top y9r=h; |
| 14852 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14853 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 14854 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 14855 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 14856 |
filldraw bskrule(8,9,hair,hair); |
| 14857 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 14858 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14859 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 14860 |
endchar; |
| 14861 |
|
| 14862 |
iff known chars.math_element_underbar: |
| 14863 |
bskchar "Element sign with bar below"; |
| 14864 |
beginchar(chars.math_element_underbar,9u#,.5x_height#+.5u#+math_axis#,.5x_height#+1.5u#+2rule_thickness#-math_axis#); uni "0x22F8"; |
| 14865 |
italcorr h#*slant; |
| 14866 |
adjust_fit(0,0); |
| 14867 |
pickup tiny.nib; |
| 14868 |
path p; numeric tim[]; oblu:=4oblu; |
| 14869 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14870 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14871 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14872 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14873 |
top y1r=top y2r=h; bot y4r=bot y5r=-d+u+2rule_thickness; y3=.5[y1,y4]+o; |
| 14874 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14875 |
x2=x4=x3+(y2-y3); |
| 14876 |
y6=y7=y3; x7=x1; x6=x3r; lft x8=x6; rt x9=w-u; bot y8l=bot y9l=-d; |
| 14877 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14878 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 14879 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 14880 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 14881 |
filldraw bskrule(8,9,hair,hair); |
| 14882 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 14883 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14884 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 14885 |
endchar; |
| 14886 |
|
| 14887 |
iff known chars.math_element_neg: |
| 14888 |
bskchar "Negated element sign"; |
| 14889 |
beginchar(chars.math_element_neg,9u#,.5x_height#+2u#+math_axis#, .5x_height#+1.5u#-math_axis#); uni "0x2209"; |
| 14890 |
italcorr h#*slant; |
| 14891 |
adjust_fit(0,0); |
| 14892 |
pickup tiny.nib; |
| 14893 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 14894 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14895 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14896 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14897 |
top y1r=top y2r=h-1.5u; bot y4r=bot y5r=-d+u; y3=.5[y1,y4]+o; |
| 14898 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14899 |
x2=x4=x3+(y2-y3); |
| 14900 |
y6=y7=y3; x7=x1; x6=x3r; |
| 14901 |
top rt z8=(w-2u,h); bot lft z9=(2u,-d); |
| 14902 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 14903 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14904 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 14905 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 14906 |
p1:=z8l--z9ll; |
| 14907 |
p2:=(x3l+stem,y6r)---z7r; |
| 14908 |
p3:=z7l--(x3l+stem,y6l); |
| 14909 |
p4:=z5rr---z4r...z3r...z2r---z1rr; |
| 14910 |
p5:=z9r--z8rr; |
| 14911 |
tim1=xpart(p0 intersectiontimes (z6r--z7r)); |
| 14912 |
tim2=xpart(p0 intersectiontimes (z6l--z7l)); |
| 14913 |
z10=p0 intersectionpoint p1; |
| 14914 |
z11=p1 intersectionpoint p2; |
| 14915 |
z12=p1 intersectionpoint p3; |
| 14916 |
(tim3,tim4-2)=p1 intersectiontimes subpath(2,infinity) of p0; z13= point tim3 of p1; |
| 14917 |
(tim5,tim6)=p1 intersectiontimes p4; |
| 14918 |
(tim7,tim8)=p5 intersectiontimes p4; |
| 14919 |
(tim9,tim10-2)=p5 intersectiontimes subpath(2,infinity) of p4; |
| 14920 |
(tim11-2,tim12)=subpath(2,infinity) of p4 intersectiontimes p1; |
| 14921 |
p6:=subpath (0, rundy(p,(tim1,4f_obl)).zpet) of p0..(x3l+stem,y6r)---z7r; |
| 14922 |
p7:=z7l---(x3l+stem,y6l)..subpath(rundy(p,(tim2,4f_obl)),infinity) of p0; |
| 14923 |
(tim13,tim14)=subpath(0,2) of p6 intersectiontimes p5; |
| 14924 |
(tim15-2,tim16)=subpath(2,infinity) of p6 intersectiontimes p5; |
| 14925 |
(tim17,tim18)=subpath(0,2) of p7 intersectiontimes p5; |
| 14926 |
(tim19-2,tim20)=subpath(2,infinity) of p7 intersectiontimes p5; |
| 14927 |
filldraw z1l---tobl(10,1l,11)---obl(11,10,7r)---z7r..z7l---obl(12,7l,13)---z13+oblu*unitvector(z12-z13) |
| 14928 |
...subpath(rundy(p0,tim4),infinity) of p0..z5+2o*right |
| 14929 |
..subpath(0,rundy(p4,tim6).zpet) of p4 |
| 14930 |
..subpath(rundy(p1,tim5),infinity) of p1 |
| 14931 |
..subpath(0,rundy(p5,tim7).zpet) of p5 |
| 14932 |
..subpath(rundy(p4,tim8),rundy(p4,tim10).zpet) of p4 |
| 14933 |
..subpath(rundy(p5,(tim9,f_obl)),infinity) of p5 |
| 14934 |
..subpath(0,rundy(p1,tim12).zpet) of p1..{right}z1r..z1+2o*right..cycle; |
| 14935 |
infill subpath(rundy(p5,tim16),rundy(p5,tim14).zpet) of p5 |
| 14936 |
..subpath(rundy(p6,tim13),rundy(p6,tim15).zpet) of p6..cycle; |
| 14937 |
infill subpath(rundy(p7,tim17),rundy(p7,tim19).zpet) of p7 |
| 14938 |
..subpath(rundy(p5,tim20),rundy(p5,tim18).zpet) of p5..cycle; |
| 14939 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 14940 |
endchar; |
| 14941 |
|
| 14942 |
iff known chars.math_element_double: |
| 14943 |
bskchar "Element sign with double arm"; |
| 14944 |
beginchar(chars.math_element_double,9u#,v_center(x_height#+u#)); uni "0x22F9"; |
| 14945 |
italcorr h#*slant; |
| 14946 |
adjust_fit(0,0); |
| 14947 |
pickup tiny.nib; |
| 14948 |
path p[]; numeric tim[]; oblu:=3oblu; |
| 14949 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14950 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14951 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14952 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 14953 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14954 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14955 |
x2=x4=x3+(y2-y3); |
| 14956 |
y6=y7; y8=y9; .5[y6,y8]=y3; y6-y8=1/3(y1-y5); x7=x9=x1; x6=x8=x3r; |
| 14957 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14958 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 14959 |
p1:=z6r--z7r; |
| 14960 |
p2:=z7l--z6l; |
| 14961 |
p3:=z8r--z9r; |
| 14962 |
p4:=z9l--z8l; |
| 14963 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 14964 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 14965 |
(tim4,tim5)=p0 intersectiontimes p3; |
| 14966 |
(tim6,tim7)=p0 intersectiontimes p4; |
| 14967 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 14968 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 14969 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 14970 |
..subpath(rundy(p0,(tim2,2f_obl)),rundy(p0,(tim4,2f_obl)).zpet) of p0 |
| 14971 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 14972 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 14973 |
..subpath(rundy(p0,tim6),infinity) of p0 |
| 14974 |
..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14975 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 14976 |
endchar; |
| 14977 |
|
| 14978 |
iff known chars.math_element_small: |
| 14979 |
bskchar "Small element sign"; |
| 14980 |
beginchar(chars.math_element_small,8u#,v_center(.85x_height#)); uni "0x220A"; |
| 14981 |
italcorr h#*slant; |
| 14982 |
adjust_fit(0,0); |
| 14983 |
pickup tiny.nib; |
| 14984 |
path p; numeric tim[]; oblu:=4oblu; |
| 14985 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 14986 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 14987 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 14988 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 14989 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 14990 |
x2=x4=x3+(y2-y3); |
| 14991 |
y6=y7=y3; x7=x1; x6=x3r; |
| 14992 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 14993 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 14994 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 14995 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 14996 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 14997 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 14998 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 14999 |
endchar; |
| 15000 |
|
| 15001 |
iff known chars.math_element_small_bar: |
| 15002 |
bskchar "Small element sign with bar above"; |
| 15003 |
beginchar(chars.math_element_small_bar,8u#,.425x_height#+.75u#+2rule_thickness#+math_axis#,.425x_height#-math_axis#); uni "0x22F7"; |
| 15004 |
italcorr h#*slant; |
| 15005 |
adjust_fit(0,0); |
| 15006 |
pickup tiny.nib; |
| 15007 |
path p; numeric tim[]; oblu:=4oblu; |
| 15008 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 15009 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15010 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15011 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 15012 |
top y1r=top y2r=h-.75u-2rule_thickness; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15013 |
rt x1=rt x5=w-u-2o; lft x3r=u; |
| 15014 |
x2=x4=x3+(y2-y3); |
| 15015 |
y6=y7=y3; x7=x1; x6=x3r; lft x8=x6; rt x9=w-u; top y8r=top y9r=h; |
| 15016 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15017 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15018 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15019 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15020 |
filldraw bskrule(8,9,hair,hair); |
| 15021 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l).. |
| 15022 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 15023 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 15024 |
endchar; |
| 15025 |
|
| 15026 |
iff known chars.math_element_plus: |
| 15027 |
bskchar "Element sign with plus"; |
| 15028 |
beginchar(chars.math_element_plus,9u#,v_center(x_height#+u#)); uni "non"; |
| 15029 |
italcorr h#*slant; |
| 15030 |
adjust_fit(0,0); |
| 15031 |
pickup tiny.nib; |
| 15032 |
path p; numeric tim[]; oblu:=4oblu; oblu.m:=f_obl; |
| 15033 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 15034 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15035 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15036 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15037 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15038 |
rt x1=rt x5=w-u-2o; lft x3r=u; x8=x9=2/3[x6,x7]; top y8=bot y1l-rule_thickness; |
| 15039 |
x2=x4=x3+(y2-y3); |
| 15040 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15041 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15042 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15043 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15044 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15045 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15046 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15047 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---obl(8'l,6r,8ll).m---z8ll |
| 15048 |
..z8r---tobl(8'r,8r,7r).m---z7r..z7l---tobl(9'r,7l,9rr).m---z9rr..z9l |
| 15049 |
---obl(9'l,9l,6l).m---(x3l+stem,y6l)..subpath(rundy(p,tim2),infinity) of p |
| 15050 |
..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 15051 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15052 |
endchar; |
| 15053 |
|
| 15054 |
iff known chars.math_element_bar: |
| 15055 |
bskchar "Element sign with bar at end"; |
| 15056 |
beginchar(chars.math_element_bar,9u#,v_center(x_height#+u#)); uni "0x22F3"; |
| 15057 |
italcorr h#*slant; |
| 15058 |
adjust_fit(0,0); |
| 15059 |
pickup tiny.nib; |
| 15060 |
path p; numeric tim[]; oblu:=4oblu; oblu.m:=f_obl; |
| 15061 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 15062 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15063 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15064 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15065 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15066 |
rt x1=rt x5=w-u-2o; lft x3r=u; x8=x9=x7; top y8=.5[y6,y1]; |
| 15067 |
x2=x4=x3+(y2-y3); |
| 15068 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15069 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15070 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15071 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15072 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15073 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15074 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15075 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---obl(8'l,6r,8ll).m---z8ll |
| 15076 |
..z8r---z9rr..z9l---obl(9'l,9l,6l).m---(x3l+stem,y6l) |
| 15077 |
..subpath(rundy(p,tim2),infinity) of p |
| 15078 |
..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 15079 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15080 |
endchar; |
| 15081 |
|
| 15082 |
iff known chars.math_element_small_bar: |
| 15083 |
bskchar "Small element sign with bar at end"; |
| 15084 |
beginchar(chars.math_element_small_bar,8u#,v_center(.85x_height#)); uni "0x22F4"; |
| 15085 |
italcorr h#*slant; |
| 15086 |
adjust_fit(0,0); |
| 15087 |
pickup tiny.nib; |
| 15088 |
path p; numeric tim[]; oblu:=4oblu; oblu.m:=f_obl; |
| 15089 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 15090 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15091 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15092 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15093 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15094 |
rt x1=rt x5=w-u-2o; lft x3r=u; x8=x9=x7; top y8=.5[y6,y1]; |
| 15095 |
x2=x4=x3+(y2-y3); |
| 15096 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15097 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15098 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15099 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15100 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15101 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15102 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15103 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l+stem,y6r)---obl(8'l,6r,8ll).m---z8ll |
| 15104 |
..z8r---z9rr..z9l---obl(9'l,9l,6l).m---(x3l+stem,y6l) |
| 15105 |
..subpath(rundy(p,tim2),infinity) of p |
| 15106 |
..z5+2o*right..z5rr---z4r...z3r...z2r---z1rr..z1+2o*right..cycle; |
| 15107 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15108 |
endchar; |
| 15109 |
|
| 15110 |
iff known chars.math_element_long: |
| 15111 |
bskchar "Element sign with long horizontal"; |
| 15112 |
beginchar(chars.math_element_long,11u#,v_center(x_height#+u#)); uni "0x22F2"; |
| 15113 |
italcorr h#*slant; |
| 15114 |
adjust_fit(0,0); |
| 15115 |
pickup tiny.nib; |
| 15116 |
path p[]; numeric tim[]; oblu:=4oblu; |
| 15117 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 15118 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15119 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15120 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15121 |
rt x1=rt x5=w-u-2o; lft x3r=3u; |
| 15122 |
x2=x4=x3+(y2-y3); |
| 15123 |
y6=y7=y3; x7=x1; lft x6=u; x6'r=x6'l=.5[x3r,x6]; y6'r=y6r; y6'l=y6l; |
| 15124 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15125 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 15126 |
p1:=z5rr---z4r...z3r...z2r---z1rr; |
| 15127 |
tim1=xpart(p0 intersectiontimes (z6r--z7r)); |
| 15128 |
tim2=xpart(p0 intersectiontimes (z6l--z7l)); |
| 15129 |
tim3=xpart(p1 intersectiontimes (z6r--z7r)); |
| 15130 |
tim4=xpart(p1 intersectiontimes (z6l--z7l)); |
| 15131 |
filldraw subpath (0, rundy(p0,tim1).zpet) of p0..(x3l+stem,y6r)---z7r..z7l---(x3l+stem,y6l) |
| 15132 |
..subpath(rundy(p0,tim2),infinity) of p0..z5+2o*right |
| 15133 |
..subpath(0,rundy(p1,tim4).zpet) of p1..z6'l---z6l..z6r---z6'r |
| 15134 |
..subpath(rundy(p1,tim3),infinity) of p1..z1+2o*right..cycle; |
| 15135 |
penlabels(1,2,3,4,5,6,6',7); labels(1rr,5rr); |
| 15136 |
endchar; |
| 15137 |
|
| 15138 |
iff known chars.math_element_down: |
| 15139 |
bskchar "Downwards element sign"; |
| 15140 |
beginchar(chars.math_element_down,11u#,v_center(x_height#)); uni "0x2AD9"; |
| 15141 |
italcorr h#*slant; |
| 15142 |
adjust_fit(0,0); |
| 15143 |
pickup tiny.nib; |
| 15144 |
path p; numeric tim[]; oblu:=4oblu; |
| 15145 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 15146 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 15147 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 15148 |
rt x1r=rt x2r=w-u; lft x4r=lft x5r=u; x3=.5[x1,x4]+o; |
| 15149 |
bot y1=bot y5=-d-o; top y3r=h+o; |
| 15150 |
y2=y4=y3+(x3-x2); |
| 15151 |
x6=x7=x3; y7=y1; y6=y3r; |
| 15152 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15153 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15154 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15155 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15156 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x6r,y3l-stem)---z7r..z7l---(x6l,y3l-stem).. |
| 15157 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*down..z5rr---z4r...z3r...z2r---z1rr..z1+2o*down..cycle; |
| 15158 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 15159 |
endchar; |
| 15160 |
|
| 15161 |
iff known chars.math_element_up: |
| 15162 |
bskchar "Upwards element sign"; |
| 15163 |
beginchar(chars.math_element_up,11u#,v_center(x_height#)); uni "0x27D2"; |
| 15164 |
italcorr h#*slant; |
| 15165 |
adjust_fit(0,0); |
| 15166 |
pickup tiny.nib; |
| 15167 |
path p; numeric tim[]; oblu:=4oblu; |
| 15168 |
pos1(rule_thickness,180); pos2(rule_thickness,180); pos3(rule_thickness,-90); |
| 15169 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 15170 |
pos6(rule_thickness,180); pos7(rule_thickness,180); |
| 15171 |
lft x1r=lft x2r=u; rt x4r=rt x5r=w-u; x3=.5[x1,x4]-o; |
| 15172 |
top y1=top y5=h+o; bot y3r=-d-o; |
| 15173 |
y2=y4=y3-(x2-x3); |
| 15174 |
x6=x7=x3; y7=y1; y6=y3r; |
| 15175 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15176 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15177 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15178 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15179 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x6r,y3l+stem)---z7r..z7l---(x6l,y3l+stem) |
| 15180 |
..subpath(rundy(p,tim2),infinity) of p..z5+2o*up..z5rr---z4r...z3r...z2r |
| 15181 |
---z1rr..z1+2o*up..cycle; |
| 15182 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 15183 |
endchar; |
| 15184 |
|
| 15185 |
iff known chars.math_sqelement: |
| 15186 |
bskchar "Square element sign (Z notation bag membership)"; |
| 15187 |
beginchar(chars.math_sqelement,10u#,v_center(x_height#+u#)); uni "0x22FF"; |
| 15188 |
italcorr h#*slant; |
| 15189 |
adjust_fit(0,0); |
| 15190 |
pickup tiny.nib; |
| 15191 |
path p; numeric tim[]; |
| 15192 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 15193 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 15194 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 15195 |
top y1r=top y2r=h; bot y3r=bot y4r=-d; |
| 15196 |
rt x1=rt x4=w-u; |
| 15197 |
lft x2=lft x3=u; |
| 15198 |
y5=y6=.5[y1,y3]+o; x6=x1; x2l:=x3l:=x5=x2+rule_thickness-currentbreadth; |
| 15199 |
bskpoints(1,2,hair,hair); bskpoints(4,3,hair,hair); |
| 15200 |
filldraw z1rr---obl(2r,1r,3r)---obl(3r,2r,4r)---z4rr..z4l---obl(3l,4l,5l) |
| 15201 |
---obl(5l,3l,6l)---z6l..z6r---obl(5r,6r,2l)---obl(2l,5r,1l)---z1l..cycle; |
| 15202 |
penlabels(1,2,3,4,5,6); labels(1rr,4rr); |
| 15203 |
endchar; |
| 15204 |
|
| 15205 |
iff known chars.math_ownership: |
| 15206 |
bskchar "Ownership sign"; |
| 15207 |
beginchar(chars.math_ownership,9u#,v_center(x_height#+u#)); uni "0x220B"; |
| 15208 |
adjust_fit(0,0); |
| 15209 |
pickup tiny.nib; |
| 15210 |
path p; numeric tim[]; oblu:=4oblu; |
| 15211 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15212 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15213 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15214 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15215 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 15216 |
x2=x4=x3-(y2-y3); |
| 15217 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15218 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15219 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15220 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15221 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15222 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---z7r..z7l---(x3l-stem,y6l).. |
| 15223 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15224 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 15225 |
endchar; |
| 15226 |
|
| 15227 |
iff known chars.math_ownership_bar: |
| 15228 |
bskchar "Ownership sign with bar above"; |
| 15229 |
beginchar(chars.math_ownership_bar,9u#,.5x_height#+1.5u#+math_axis#+2rule_thickness#,.5x_height#+.5u#-math_axis#); uni "0x22FD"; |
| 15230 |
adjust_fit(0,0); |
| 15231 |
pickup tiny.nib; |
| 15232 |
path p; numeric tim[]; oblu:=4oblu; |
| 15233 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15234 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15235 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15236 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 15237 |
top y1r=top y2r=h-u-2rule_thickness; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15238 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 15239 |
x2=x4=x3-(y2-y3); |
| 15240 |
y6=y7=y3; x7=x1; x6=x3r; lft x8=u; rt x9=x6; top y8r=top y9r=h; |
| 15241 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15242 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15243 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15244 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15245 |
filldraw bskrule(8,9,hair,hair); |
| 15246 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---z7r..z7l---(x3l-stem,y6l).. |
| 15247 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15248 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 15249 |
endchar; |
| 15250 |
|
| 15251 |
iff known chars.math_ownership_neg: |
| 15252 |
bskchar "Negated ownership sign"; |
| 15253 |
beginchar(chars.math_ownership_neg,9u#,.5x_height#+2u#+math_axis#, .5x_height#+1.5u#-math_axis#); uni "0x220C"; |
| 15254 |
adjust_fit(0,0); |
| 15255 |
pickup tiny.nib; |
| 15256 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 15257 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15258 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15259 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15260 |
top y1r=top y2r=h-1.5u; bot y4r=bot y5r=-d+u; y3=.5[y1,y4]+o; |
| 15261 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 15262 |
x2=x4=x3-(y2-y3); |
| 15263 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15264 |
top rt z8=(w-2u,h); bot lft z9=(2u,-d); |
| 15265 |
pos8(rule_thickness,angle(z8-z9)-90); pos9(rule_thickness,angle(z8-z9)-90); |
| 15266 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15267 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 15268 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 15269 |
p1:=z8l--z9ll; |
| 15270 |
p2:=(x3l-stem,y6r)---z7r; |
| 15271 |
p3:=z7l--(x3l-stem,y6l); |
| 15272 |
p4:=z5rr---z4r...z3r...z2r---z1rr; |
| 15273 |
p5:=z9r--z8rr; |
| 15274 |
tim1=xpart(p0 intersectiontimes (z6r--z7r)); |
| 15275 |
tim2=xpart(p0 intersectiontimes (z6l--z7l)); |
| 15276 |
(tim21,tim22)=p0 intersectiontimes p1; |
| 15277 |
(tim23,tim24)=p1 intersectiontimes p2; |
| 15278 |
z12=p1 intersectionpoint p3; |
| 15279 |
(tim3,tim4-2)=p1 intersectiontimes subpath(2,infinity) of p0; z13= point tim3 of p1; |
| 15280 |
(tim5,tim6)=p1 intersectiontimes p4; z10=point tim5 of p1; |
| 15281 |
(tim7,tim8)=p5 intersectiontimes p4; |
| 15282 |
(tim9,tim10-2)=p5 intersectiontimes subpath(2,infinity) of p4; |
| 15283 |
(tim11-2,tim12)=subpath(2,infinity) of p4 intersectiontimes p1; |
| 15284 |
p6:=subpath (0, rundy(p,(tim1,4f_obl)).zpet) of p0..(x3l-stem,y6r)---z7r; |
| 15285 |
p7:=z7l---(x3l-stem,y6l)..subpath(rundy(p,(tim2,4f_obl)),infinity) of p0; |
| 15286 |
(tim13,tim14)=subpath(0,2) of p6 intersectiontimes p5; |
| 15287 |
(tim15-2,tim16)=subpath(2,infinity) of p6 intersectiontimes p5; |
| 15288 |
(tim17,tim18)=subpath(0,2) of p7 intersectiontimes p5; |
| 15289 |
(tim19-2,tim20)=subpath(2,infinity) of p7 intersectiontimes p5; |
| 15290 |
filldraw subpath(0,rundy(p0,tim21).zpet) of p0 |
| 15291 |
..subpath(rundy(p1,tim22),rundy(p1,tim23).zpet) of p1 |
| 15292 |
..subpath(rundy(p2,tim24),infinity) of p2..z7l---obl(12,7l,13)---z13+oblu*unitvector(z12-z13) |
| 15293 |
...subpath(rundy(p0,tim4),infinity) of p0..z5+2o*left..{right}z5r |
| 15294 |
---tobl(10,5r,9ll)---z9ll |
| 15295 |
..subpath(0,rundy(p5,tim7).zpet) of p5 |
| 15296 |
..subpath(rundy(p4,tim8),rundy(p4,tim10).zpet) of p4 |
| 15297 |
..subpath(rundy(p5,tim9),infinity) of p5 |
| 15298 |
..subpath(0,rundy(p1,tim12).zpet) of p1 |
| 15299 |
..subpath(rundy(p4,tim11),infinity) of p4{left}..z1+2o*left..{right}cycle; |
| 15300 |
infill subpath(rundy(p5,tim16),rundy(p5,tim14).zpet) of p5 |
| 15301 |
..subpath(rundy(p6,tim13),rundy(p6,tim15).zpet) of p6..cycle; |
| 15302 |
infill subpath(rundy(p7,tim17),rundy(p7,tim19).zpet) of p7 |
| 15303 |
..subpath(rundy(p5,tim20),rundy(p5,tim18).zpet) of p5..cycle; |
| 15304 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,10,11,12,13); |
| 15305 |
endchar; |
| 15306 |
|
| 15307 |
iff known chars.math_ownership_small: |
| 15308 |
bskchar "Small ownership sign"; |
| 15309 |
beginchar(chars.math_ownership_small,8u#,v_center(.85x_height#)); uni "0x220D"; |
| 15310 |
adjust_fit(0,0); |
| 15311 |
pickup tiny.nib; |
| 15312 |
path p; numeric tim[]; oblu:=4oblu; |
| 15313 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15314 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15315 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15316 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15317 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 15318 |
x2=x4=x3-(y2-y3); |
| 15319 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15320 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15321 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15322 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15323 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15324 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---z7r..z7l---(x3l-stem,y6l).. |
| 15325 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15326 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr); |
| 15327 |
endchar; |
| 15328 |
|
| 15329 |
iff known chars.math_ownership_small_bar: |
| 15330 |
bskchar "Small ownership sign with bar above"; |
| 15331 |
beginchar(chars.math_ownership_small_bar,8u#,.425x_height#+.75u#+2rule_thickness#+math_axis#,.425x_height#-math_axis#); uni "0x22FE"; |
| 15332 |
adjust_fit(0,0); |
| 15333 |
pickup tiny.nib; |
| 15334 |
path p; numeric tim[]; oblu:=4oblu; |
| 15335 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15336 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15337 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15338 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 15339 |
top y1r=top y2r=h-.75u-2rule_thickness; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15340 |
lft x1=lft x5=u+2o; rt x3r=w-u; |
| 15341 |
x2=x4=x3-(y2-y3); |
| 15342 |
y6=y7=y3; x7=x1; x6=x3r; lft x8=u; rt x9=x6; top y8r=top y9r=h; |
| 15343 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15344 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15345 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15346 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15347 |
filldraw bskrule(8,9,hair,hair); |
| 15348 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---z7r..z7l---(x3l-stem,y6l).. |
| 15349 |
subpath(rundy(p,tim2),infinity) of p..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15350 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr); |
| 15351 |
endchar; |
| 15352 |
|
| 15353 |
iff known chars.math_ownership_plus: |
| 15354 |
bskchar "Ownership sign with plus"; |
| 15355 |
beginchar(chars.math_ownership_plus,9u#,v_center(x_height#+u#)); uni "non"; |
| 15356 |
adjust_fit(0,0); |
| 15357 |
pickup tiny.nib; |
| 15358 |
path p; numeric tim[]; oblu:=4oblu; |
| 15359 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15360 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15361 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15362 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15363 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15364 |
lft x1=lft x5=u+2o; rt x3r=w-u; x8=x9=2/3[x6,x7]; top y8=bot y1l-rule_thickness; |
| 15365 |
x2=x4=x3-(y2-y3); |
| 15366 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15367 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15368 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15369 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15370 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15371 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15372 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15373 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---obl(8'r,6r,8r).m---z8r..z8ll |
| 15374 |
---tobl(8'l,8ll,7r).m---z7r..z7l---tobl(9'l,7l,9l).m---z9l..z9rr |
| 15375 |
---obl(9'r,9rr,6l).m---(x3l-stem,y6l)..subpath(rundy(p,tim2),infinity) of p |
| 15376 |
..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15377 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15378 |
endchar; |
| 15379 |
|
| 15380 |
iff known chars.math_ownership_bar: |
| 15381 |
bskchar "Ownership sign with bar at end"; |
| 15382 |
beginchar(chars.math_ownership_bar,9u#,v_center(x_height#+u#)); uni "0x22FB"; |
| 15383 |
adjust_fit(0,0); |
| 15384 |
pickup tiny.nib; |
| 15385 |
path p; numeric tim[]; oblu:=4oblu; |
| 15386 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15387 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15388 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15389 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15390 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15391 |
lft x1=lft x5=u+2o; rt x3r=w-u; x8=x9=x7; top y8=.5[y6,y1]; |
| 15392 |
x2=x4=x3-(y2-y3); |
| 15393 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15394 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15395 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15396 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15397 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15398 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15399 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15400 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---obl(8'r,6r,8r).m---z8r..z8ll |
| 15401 |
---z9l..z9rr---obl(9'r,9rr,6l).m---(x3l-stem,y6l) |
| 15402 |
..subpath(rundy(p,tim2),infinity) of p |
| 15403 |
..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15404 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15405 |
endchar; |
| 15406 |
|
| 15407 |
iff known chars.math_ownership_small_bar: |
| 15408 |
bskchar "Small ownership sign with bar at end"; |
| 15409 |
beginchar(chars.math_ownership_small_bar,8u#,v_center(.85x_height#)); uni "0x22FC"; |
| 15410 |
adjust_fit(0,0); |
| 15411 |
pickup tiny.nib; |
| 15412 |
path p; numeric tim[]; oblu:=4oblu; |
| 15413 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15414 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15415 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15416 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 15417 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; .5[y8,y9]=y3; |
| 15418 |
lft x1=lft x5=u+2o; rt x3r=w-u; x8=x9=x7; top y8=.5[y6,y1]; |
| 15419 |
x2=x4=x3-(y2-y3); |
| 15420 |
y6=y7=y3; x7=x1; x6=x3r; |
| 15421 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(9,8,.5hair,.5hair); |
| 15422 |
z8'l=(x8l,y6r); z8'r=(x8r,y6r); |
| 15423 |
z9'l=(x8l,y6l); z9'r=(x8r,y6l); |
| 15424 |
p:=z1l---z2l...z3l...z4l---z5l; |
| 15425 |
tim1=xpart(p intersectiontimes (z6r--z7r)); |
| 15426 |
tim2=xpart(p intersectiontimes (z6l--z7l)); |
| 15427 |
filldraw subpath (0, rundy(p,tim1).zpet) of p..(x3l-stem,y6r)---obl(8'r,6r,8r).m---z8r..z8ll |
| 15428 |
---z9l..z9rr---obl(9'r,9rr,6l).m---(x3l-stem,y6l) |
| 15429 |
..subpath(rundy(p,tim2),infinity) of p |
| 15430 |
..z5+2o*left..z5rr---z4r...z3r...z2r---z1rr..z1+2o*left..cycle; |
| 15431 |
penlabels(1,2,3,4,5,6,7,8,8',9,9'); labels(1rr,5rr,8ll,9rr); |
| 15432 |
endchar; |
| 15433 |
|
| 15434 |
iff known chars.math_ownership_long: |
| 15435 |
bskchar "Ownership sign with long horizontal"; |
| 15436 |
beginchar(chars.math_ownership_long,11u#,v_center(x_height#+u#)); uni "0x22FA"; |
| 15437 |
adjust_fit(0,0); |
| 15438 |
pickup tiny.nib; |
| 15439 |
path p[]; numeric tim[]; oblu:=4oblu; |
| 15440 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 15441 |
pos4(rule_thickness,270); pos5(rule_thickness,270); |
| 15442 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 15443 |
top y1r=top y2r=h; bot y4r=bot y5r=-d; y3=.5[y1,y4]+o; |
| 15444 |
lft x1=lft x5=u+2o; rt x3r=w-3u; |
| 15445 |
x2=x4=x3-(y2-y3); |
| 15446 |
y6=y7=y3; x7=x1; rt x6=w-u; x6'r=x6'l=.5[x3r,x6]; y6'r=y6r; y6'l=y6l; |
| 15447 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); |
| 15448 |
p0:=z1l---z2l...z3l...z4l---z5l; |
| 15449 |
p1:=z5rr---z4r...z3r...z2r---z1rr; |
| 15450 |
tim1=xpart(p0 intersectiontimes (z6r--z7r)); |
| 15451 |
tim2=xpart(p0 intersectiontimes (z6l--z7l)); |
| 15452 |
tim3=xpart(p1 intersectiontimes (z6r--z7r)); |
| 15453 |
tim4=xpart(p1 intersectiontimes (z6l--z7l)); |
| 15454 |
filldraw subpath (0, rundy(p0,tim1).zpet) of p0..(x3l-stem,y6r)---z7r..z7l---(x3l-stem,y6l).. |
| 15455 |
subpath(rundy(p0,tim2),infinity) of p0..z5+2o*left..subpath(0,rundy(p1,tim4).zpet) of p1..z6'l---z6l..z6r---z6'r..subpath(rundy(p1,tim3),infinity) of p1..z1+2o*left..cycle; |
| 15456 |
penlabels(1,2,3,4,5,6,6',7); labels(1rr,5rr); |
| 15457 |
endchar; |
| 15458 |
|
| 15459 |
iff known chars.symbol_smile: |
| 15460 |
bskchar "Smile"; |
| 15461 |
beginchar(chars.symbol_smile,17u#,v_center(.6x_height#)); uni "0x2323"; |
| 15462 |
adjust_fit(0,0); |
| 15463 |
pickup tiny.nib; |
| 15464 |
path p; |
| 15465 |
lft x1=u; top y1=h; z2=z1+hair*down; |
| 15466 |
rt x3=w-u; y3=y1+.5apex_o; |
| 15467 |
bot y4=-d-o; |
| 15468 |
p:=z2..{dir70}z3; |
| 15469 |
x4=xpart(directionpoint right of p); |
| 15470 |
filldraw z2..z4..{dir70}z3{dir-140}..z1&z1{dir-100}..z2&cycle; |
| 15471 |
labels(1,2,3,4); |
| 15472 |
endchar; |
| 15473 |
|
| 15474 |
iff known chars.symbol_smile_eyes: |
| 15475 |
bskchar "Smile with eyes"; |
| 15476 |
beginchar(chars.symbol_smile_eyes,17u#,.65[asc_height#,x_height#],.3x_height#-math_axis#); uni "non"; |
| 15477 |
adjust_fit(0,0); |
| 15478 |
pickup tiny.nib; |
| 15479 |
path p; |
| 15480 |
lft x1=u; top y1=math_axis+.3x_height; z2=z1+hair*down; |
| 15481 |
rt x3=w-u; y3=y1+.5apex_o; |
| 15482 |
bot y4=-d-o; |
| 15483 |
p:=z2..{dir70}z3; |
| 15484 |
x4=xpart(directionpoint right of p); |
| 15485 |
filldraw z2..z4..{dir70}z3{dir-140}..z1&z1{dir-100}..z2&cycle; |
| 15486 |
top y5=h-.5dot_size-o; y6=y5+o; |
| 15487 |
.5[x5,x6]=x4; x5=.5[x1,x4]; |
| 15488 |
dot(5); dot(6); |
| 15489 |
labels(1,2,3,4,5,6); |
| 15490 |
endchar; |
| 15491 |
|
| 15492 |
iff known chars.symbol_smile_simple: |
| 15493 |
bskchar "Simple smile"; |
| 15494 |
beginchar(chars.symbol_smile_simple,13u#,v_center(.6x_height#)); uni "non"; |
| 15495 |
adjust_fit(0,0); |
| 15496 |
pickup tiny.nib; |
| 15497 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 15498 |
lft x1=u; top y1r=h; rt x2=w-u; y2=y1+.5apex_o; |
| 15499 |
filldraw z2r{dir-120}..z1r&z1r--z1l{dir-60}..z2l&z2l--cycle; |
| 15500 |
penlabels(1,2); |
| 15501 |
endchar; |
| 15502 |
|
| 15503 |
iff known chars.symbol_frown: |
| 15504 |
bskchar "Frown"; |
| 15505 |
beginchar(chars.symbol_frown,17u#,v_center(.5x_height#)); uni "0x2322"; |
| 15506 |
adjust_fit(0,0); |
| 15507 |
pickup tiny.nib; |
| 15508 |
path p; |
| 15509 |
lft x1=u; bot y1=-d; z2=z1+hair*up; |
| 15510 |
rt x3=w-u; y3=y1-.5apex_o; |
| 15511 |
top y4=h+o; |
| 15512 |
p:=z2..{dir-70}z3; |
| 15513 |
x4=xpart(directionpoint right of p); |
| 15514 |
filldraw z2..z4..{dir-70}z3{dir140}..z1&z1{dir100}..z2&cycle; |
| 15515 |
labels(1,2,3,4); |
| 15516 |
endchar; |
| 15517 |
|
| 15518 |
iff known chars.symbol_frown_simple: |
| 15519 |
bskchar "Simple frown"; |
| 15520 |
beginchar(chars.symbol_frown_simple,13u#,v_center(.5x_height#)); uni "non"; |
| 15521 |
adjust_fit(0,0); |
| 15522 |
pickup tiny.nib; |
| 15523 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 15524 |
lft x1=u; bot y1l=-d; rt x2=w-u; y2=y1-.5apex_o; |
| 15525 |
filldraw z2r{dir120}..z1r&z1r--z1l{dir60}..z2l&z2l--cycle; |
| 15526 |
penlabels(1,2); |
| 15527 |
endchar; |
| 15528 |
|
| 15529 |
iff known chars.symbol_flat: |
| 15530 |
bskchar "Musical flat sign"; |
| 15531 |
beginchar(chars.symbol_flat,7u#,asc_height#,0); uni "0x266D"; |
| 15532 |
adjust_fit(0,0); |
| 15533 |
pickup tiny.nib; |
| 15534 |
path p[]; numeric tim[]; oblu:=2.5oblu; |
| 15535 |
pos1(hair,0); pos2(hair,0); |
| 15536 |
pos3(curve,0); pos4(hair,90); pos5(vair,135); |
| 15537 |
lft x1l=u; x2=x1; top y1=h; bot y2=-d; x5l=x1r; y5=.5[y4,y3]; |
| 15538 |
rt x3r=w-u; y3=.75x_height; top y4r=x_height+o; x4=.5[x3,x2r]; |
| 15539 |
p0=z2r+up--z1r; |
| 15540 |
p1=z2r..{up}z3r..z4r..z5r; |
| 15541 |
p2=z5l..z4l..z3l{down}..z2r; |
| 15542 |
(tim1,tim2)=p0 intersectiontimes p1; |
| 15543 |
tim3=xpart(p0 intersectiontimes p2); |
| 15544 |
filldraw z1l---z2l--subpath (0, rundy(p1,tim2).zpet) of p1 |
| 15545 |
..subpath(rundy(p0,tim1),infinity) of p0..cycle; |
| 15546 |
infill subpath (rundy(p2,0),rundy(p2,length p2).zpet) of p2 |
| 15547 |
..subpath(rundy(p0,0),rundy(p0,tim3).zpet) of p0..cycle; |
| 15548 |
penlabels(1,2,3,4,5); |
| 15549 |
endchar; |
| 15550 |
|
| 15551 |
iff known chars.symbol_sharp: |
| 15552 |
bskchar "Musical sharp sign"; |
| 15553 |
beginchar(chars.symbol_sharp,7.5u#,asc_height#,0); uni "0x266F"; |
| 15554 |
adjust_fit(0,0); |
| 15555 |
pickup tiny.nib; |
| 15556 |
x1=x2; x3=x4; .5[x1,x3]=.5w; x3=2u; |
| 15557 |
top y1r=top y3r+stem=h; y2l-stem=y4l=0; |
| 15558 |
lft x5=lft x7=u; rt x6=rt x8=w-u; |
| 15559 |
y5=y6-stem; y7=y8-stem; .5[y5,y7]=.5h; y5-y7=.6x_height; |
| 15560 |
pos1(hair,180); pos2(hair,180); |
| 15561 |
pos3(hair,180); pos4(hair,180); |
| 15562 |
pos5(stem,90); pos6(stem,90); |
| 15563 |
pos7(stem,90); pos8(stem,90); |
| 15564 |
bskpoints(2,1,rule_thickness,0); bskpoints(4,3,0,rule_thickness); |
| 15565 |
bskpoints(6,5,rule_thickness,0); bskpoints(8,7,0,rule_thickness); |
| 15566 |
z10=whatever[z1r,z2r]=whatever[z6r,z5r]; |
| 15567 |
z11=whatever[z3l,z4l]=whatever[z6r,z5r]; |
| 15568 |
z12=whatever[z3r,z4r]=whatever[z6r,z5r]; |
| 15569 |
z13=whatever[z3r,z4r]=whatever[z6l,z5l]; |
| 15570 |
z14=whatever[z3r,z4r]=whatever[z7r,z8r]; |
| 15571 |
z15=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 15572 |
z16=whatever[z3l,z4l]=whatever[z7l,z8l]; |
| 15573 |
z17=whatever[z1r,z2r]=whatever[z7l,z8l]; |
| 15574 |
z18=whatever[z2l,z1l]=whatever[z7l,z8l]; |
| 15575 |
z19=whatever[z1l,z2l]=whatever[z7r,z8r]; |
| 15576 |
z20=whatever[z1l,z2l]=whatever[z5l,z6l]; |
| 15577 |
z21=whatever[z1l,z2l]=whatever[z6r,z5r]; |
| 15578 |
filldraw z1r---obl(10,1r,11)---obl(11,10,3l)---z3l..z3r---obl(12,3l,5r)---z5r--z5l |
| 15579 |
---obl(13,5l,14)---obl(14,13,7r)---z7r--z7l---obl(15,7l,4l)---z4rr--z4l |
| 15580 |
---obl(16,4l,17)---obl(17,16,2r)---z2r..z2l---obl(18,2l,8l)---z8l--z8r |
| 15581 |
---obl(19,8r,20)---obl(20,19,6l)---z6l--z6r---tobl(21,6r,1ll)---z1ll..cycle; |
| 15582 |
z0=(x10,y20); z0'=(x11,y13); z0''=(x16,y14); z0'''=(x17,y19); |
| 15583 |
infill obl(0,0''',0')---obl(0',0,0'')---obl(0'',0',0''')---obl(0''',0'',0)---cycle; |
| 15584 |
penlabels(1,2,3,4,5,6,7,8); labels(0,0',0'',0''',10,11,12,13,14,15,16,17,18,19,20,21); |
| 15585 |
endchar; |
| 15586 |
|
| 15587 |
iff known chars.symbol_natural: |
| 15588 |
bskchar "Musical natural sign"; |
| 15589 |
beginchar(chars.symbol_natural,6.5u#,asc_height#,comma_depth#); uni "0x266E"; |
| 15590 |
adjust_fit(0,0); |
| 15591 |
pickup tiny.nib; |
| 15592 |
pos1(hair,180); pos2(hair,180); |
| 15593 |
pos3(hair,180); pos4(hair,180); |
| 15594 |
pos5(stem,90); pos6(stem,90); |
| 15595 |
pos7(stem,90); pos8(stem,90); |
| 15596 |
top y1=h; bot y4=-d; y1-y2=y3-y4; |
| 15597 |
lft x1r=u; rt x4l=w-u; x2=x1; x3=x4; |
| 15598 |
y6l=y5r=x_height; y3=y6r; x6=x3; x5=x1l; x8=x4r; |
| 15599 |
y7l=y2; z8-z7=z6-z5; |
| 15600 |
bskpoints(2,1,rule_thickness,rule_thickness); |
| 15601 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 15602 |
x5'=x7'; x6'=x8'; x5'-x5=x6-x6'=rule_thickness-currentbreadth; |
| 15603 |
z5'=whatever[z5l,z6l]; z6'=whatever[z5l,z6l]; |
| 15604 |
z7'=whatever[z7r,z8r]; z8'=whatever[z7r,z8r]; |
| 15605 |
filldraw z1r---obl(2r,1r,8l)---obl(8l,2r,4r)---z4rr..z4l---obl(3l,4l,5r)---obl(5r,3l,1l)---z1ll..cycle; |
| 15606 |
infill obl(5',6',7')---obl(7',5',8')---obl(8',7',6')---obl(6',8',5')---cycle; |
| 15607 |
penlabels(1,2,3,4,5,6,7,8); labels(1ll,4rr,5',6',7',8'); |
| 15608 |
endchar; |
| 15609 |
|
| 15610 |
iff known chars.math_virgule: |
| 15611 |
bskchar "Virgule"; |
| 15612 |
beginchar(chars.math_virgule,8u#,v_center(16u#)); uni "0x2215"; |
| 15613 |
adjust_fit(0,0); |
| 15614 |
pickup rule.nib; |
| 15615 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 15616 |
pickup tiny.nib; |
| 15617 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 15618 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15619 |
penlabels(1,2); |
| 15620 |
endchar; |
| 15621 |
|
| 15622 |
iff known chars.math_backslash: |
| 15623 |
bskchar "Backslash"; |
| 15624 |
beginchar(chars.math_backslash,8u#,v_center(16u#)); uni "0x2216"; |
| 15625 |
adjust_fit(0,0); |
| 15626 |
pickup rule.nib; |
| 15627 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 15628 |
pickup tiny.nib; |
| 15629 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 15630 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15631 |
penlabels(1,2); |
| 15632 |
endchar; |
| 15633 |
|
| 15634 |
iff known chars.math_zero_slash: |
| 15635 |
bskchar "Zero width slash"; |
| 15636 |
beginchar(chars.math_zero_slash,12u#,asc_height#,asc_depth#); uni "non"; |
| 15637 |
adjust_fit(0,0); |
| 15638 |
pickup rule.nib; |
| 15639 |
top rt z1=(w-2u,h); lft x2=2u; .5[y1,y2]=math_axis; |
| 15640 |
pickup tiny.nib; |
| 15641 |
pos1(rule_thickness,angle(z2-z1)+90); pos2(rule_thickness,angle(z2-z1)+90); |
| 15642 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15643 |
penlabels(1,2); zero_width; |
| 15644 |
endchar; |
| 15645 |
|
| 15646 |
iff known chars.math_maps_to: |
| 15647 |
bskchar "Zero width maps to"; |
| 15648 |
beginchar(chars.math_maps_to,12u#,v_center(.5x_height#)); uni "non"; |
| 15649 |
adjust_fit(0,0); |
| 15650 |
oblu:=1.5oblu; |
| 15651 |
pickup tiny.nib; |
| 15652 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15653 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 15654 |
lft x1l=u; x2=x1; x3=x1r; y3=.5[y1,y2]=math_axis; |
| 15655 |
top y1=h; z4=z3+max(oblu,.5u)*right; |
| 15656 |
bskpoints(2,1,rule_thickness,rule_thickness); |
| 15657 |
filldraw z1ll---z2l..z2r---obl(3l,2r,4l)---z4l--z4r---obl(3r,4r,1r)---z1r..cycle; |
| 15658 |
penlabels(1,2,3,4); labels(1ll); zero_width; |
| 15659 |
endchar; |
| 15660 |
|
| 15661 |
charscription(5u,body_height,paren_depth)( |
| 15662 |
x1=x2=.5w; top y1=h; bot y2=-d; |
| 15663 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15664 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15665 |
penlabels(1,2); |
| 15666 |
); |
| 15667 |
|
| 15668 |
iff known chars.sign_vertical: |
| 15669 |
bskchar "Vertical line sign"; |
| 15670 |
beginchar(chars.sign_vertical,5u#,body_height#,paren_depth#); uni "0x007C"; |
| 15671 |
italcorr body_height#*slant-u#; |
| 15672 |
adjust_fit(0,0); |
| 15673 |
pickup tiny.nib; |
| 15674 |
usechar; |
| 15675 |
endchar; |
| 15676 |
|
| 15677 |
iff known chars.math_vertical: |
| 15678 |
bskchar "Vertical line"; |
| 15679 |
beginchar(chars.math_vertical,5u#,body_height#,paren_depth#); uni "0x2223"; |
| 15680 |
italcorr body_height#*slant-u#; |
| 15681 |
adjust_fit(0,0); |
| 15682 |
pickup tiny.nib; |
| 15683 |
usechar; |
| 15684 |
endchar; |
| 15685 |
|
| 15686 |
iff known chars.math_vertical_cute: |
| 15687 |
bskchar "Cute vertical line"; |
| 15688 |
beginchar(chars.math_vertical_cute,5u#,x_height#,0); uni "non"; |
| 15689 |
italcorr body_height#*slant-u#; |
| 15690 |
adjust_fit(0,0); |
| 15691 |
pickup tiny.nib; |
| 15692 |
x1=x2=.5w; top y1=h+o; bot y2=-d-o; |
| 15693 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15694 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15695 |
penlabels(1,2); labels(1ll,2rr); |
| 15696 |
endchar; |
| 15697 |
|
| 15698 |
iff known chars.math_vertical_neg: |
| 15699 |
bskchar "Negated vertical line"; |
| 15700 |
beginchar(chars.math_vertical_neg,5u#,body_height#,paren_depth#); uni "0x2224"; |
| 15701 |
italcorr body_height#*slant-u#; |
| 15702 |
adjust_fit(0,0); |
| 15703 |
pickup tiny.nib; |
| 15704 |
x1=x2=.5w; top y1=h; bot y2=-d; |
| 15705 |
x3=.5u; x4=w-x3; .5[y3,y4]=math_axis; y4-y3=2u; |
| 15706 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15707 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 15708 |
bskpoints(2,1,rule_thickness,rule_thickness); bskpoints(3,4,rule_thickness,rule_thickness); |
| 15709 |
x3'l=x3'r=x1l; x4'r=x4'l=x1r; |
| 15710 |
z3'l=whatever[z3l,z4l]; z3'r=whatever[z3r,z4r]; |
| 15711 |
z4'l=whatever[z3l,z4l]; z4'r=whatever[z3r,z4r]; |
| 15712 |
filldraw z1ll---obl(3'l,1l,3l)---z3l..z3rr---tobl(3'r,3rr,2l)---z2l..z2rr---obl(4'r,2r,4r) |
| 15713 |
---z4r..z4ll---tobl(4'l,4ll,1r)---z1r..cycle; |
| 15714 |
penlabels(1,2,3,3',4,4'); labels(1ll,2rr,3rr,4ll); |
| 15715 |
endchar; |
| 15716 |
|
| 15717 |
iff known chars.math_vertical_horizontal: |
| 15718 |
bskchar "Vertical line with horizontal stroke"; |
| 15719 |
beginchar(chars.math_vertical_horizontal,7.5u#,body_height#,paren_depth#); uni "0x27CA"; |
| 15720 |
italcorr body_height#*slant-u#; |
| 15721 |
adjust_fit(0,0); |
| 15722 |
pickup tiny.nib; |
| 15723 |
x1=x2=.5w; top y1=h; bot y2=-d; |
| 15724 |
x3=u; x4=w-x3; y3=y4=math_axis; |
| 15725 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15726 |
pos3(rule_thickness,-90); pos4(rule_thickness,-90); |
| 15727 |
bskpoints(2,1,rule_thickness,rule_thickness); bskpoints(3,4,rule_thickness,rule_thickness); |
| 15728 |
x3'l=x3'r=x1l; x4'r=x4'l=x1r; |
| 15729 |
z3'l=whatever[z3l,z4l]; z3'r=whatever[z3r,z4r]; |
| 15730 |
z4'l=whatever[z3l,z4l]; z4'r=whatever[z3r,z4r]; |
| 15731 |
filldraw z1ll---obl(3'l,1l,3l)---z3l..z3rr---tobl(3'r,3rr,2l)---z2l..z2rr---obl(4'r,2r,4r) |
| 15732 |
---z4r..z4ll---tobl(4'l,4ll,1r)---z1r..cycle; |
| 15733 |
penlabels(1,2,3,3',4,4'); labels(1ll,2rr,3rr,4ll); |
| 15734 |
endchar; |
| 15735 |
|
| 15736 |
iff known chars.math_vertical_revneg: |
| 15737 |
bskchar "Reverse-negated vertical line"; |
| 15738 |
beginchar(chars.math_vertical_revneg,5u#,body_height#,paren_depth#); uni "0x2AEE"; |
| 15739 |
italcorr body_height#*slant-u#; |
| 15740 |
adjust_fit(0,0); |
| 15741 |
pickup tiny.nib; |
| 15742 |
x1=x2=.5w; top y1=h; bot y2=-d; |
| 15743 |
x3=.5u; x4=w-x3; .5[y3,y4]=math_axis; y3-y4=2u; |
| 15744 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15745 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 15746 |
bskpoints(2,1,rule_thickness,rule_thickness); bskpoints(3,4,rule_thickness,rule_thickness); |
| 15747 |
x3'l=x3'r=x1l; x4'r=x4'l=x1r; |
| 15748 |
z3'l=whatever[z3l,z4l]; z3'r=whatever[z3r,z4r]; |
| 15749 |
z4'l=whatever[z3l,z4l]; z4'r=whatever[z3r,z4r]; |
| 15750 |
filldraw z1ll---obl(3'l,1l,3l)---z3l..z3rr---tobl(3'r,3rr,2l)---z2l..z2rr---obl(4'r,2r,4r) |
| 15751 |
---z4r..z4ll---tobl(4'l,4ll,1r)---z1r..cycle; |
| 15752 |
penlabels(1,2,3,3',4,4'); labels(1ll,2rr,3rr,4ll); |
| 15753 |
endchar; |
| 15754 |
|
| 15755 |
iff known chars.math_vertical_neg_cute: |
| 15756 |
bskchar "Negated cute vertical line"; |
| 15757 |
beginchar(chars.math_vertical_neg_cute,5u#,x_height#,0); uni "non"; |
| 15758 |
italcorr body_height#*slant-u#; |
| 15759 |
adjust_fit(0,0); |
| 15760 |
pickup tiny.nib; |
| 15761 |
x1=x2=.5w; top y1=h+o; bot y2=-d-o; |
| 15762 |
x3=.5u; x4=w-x3; .5[y3,y4]=math_axis; y4-y3=2u; |
| 15763 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15764 |
pos3(rule_thickness,angle(z3-z4)+90); pos4(rule_thickness,angle(z3-z4)+90); |
| 15765 |
bskpoints(2,1,rule_thickness,rule_thickness); bskpoints(3,4,rule_thickness,rule_thickness); |
| 15766 |
x3'l=x3'r=x1l; x4'r=x4'l=x1r; |
| 15767 |
z3'l=whatever[z3l,z4l]; z3'r=whatever[z3r,z4r]; |
| 15768 |
z4'l=whatever[z3l,z4l]; z4'r=whatever[z3r,z4r]; |
| 15769 |
filldraw z1ll---obl(3'l,1l,3l)---z3l..z3rr---tobl(3'r,3rr,2l)---z2l..z2rr---obl(4'r,2r,4r) |
| 15770 |
---z4r..z4ll---tobl(4'l,4ll,1r)---z1r..cycle; |
| 15771 |
penlabels(1,2,3,3',4,4'); labels(1ll,2rr,3rr,4ll); |
| 15772 |
endchar; |
| 15773 |
|
| 15774 |
iff known chars.sign_broken_bar: |
| 15775 |
bskchar "Broken bar sign"; |
| 15776 |
beginchar(chars.sign_broken_bar,5u#,body_height#,paren_depth#); uni "0x00A6"; |
| 15777 |
adjust_fit(0,0); |
| 15778 |
pickup tiny.nib; |
| 15779 |
x1=x2=x3=x4=.5w; top y1=h; bot y4=-d; .5[y2,y3]=.5[h,-d]; bot y2-top y3=3rule_thickness; |
| 15780 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15781 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15782 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 15783 |
filldraw bskrule(3,4,rule_thickness,rule_thickness); |
| 15784 |
penlabels(1,2,3,4); |
| 15785 |
endchar; |
| 15786 |
|
| 15787 |
iff known chars.math_slanted_double: |
| 15788 |
bskchar "Double slanted vertical line"; |
| 15789 |
beginchar(chars.math_slanted_double,8u#,body_height#,paren_depth#); uni "non"; |
| 15790 |
adjust_fit(0,0); |
| 15791 |
pickup tiny.nib; |
| 15792 |
.5[x1,x4]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15793 |
x1-x2=x3-x4=x3-x1=max(3curve,3u); |
| 15794 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15795 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15796 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 15797 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 15798 |
penlabels(1,2,3,4); |
| 15799 |
endchar; |
| 15800 |
|
| 15801 |
iff known chars.math_vertical_double: |
| 15802 |
bskchar "Double vertical line"; |
| 15803 |
beginchar(chars.math_vertical_double,8u#,body_height#,paren_depth#); uni "0x2225"; |
| 15804 |
adjust_fit(0,0); |
| 15805 |
pickup tiny.nib; |
| 15806 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15807 |
x3-x1=max(3curve,3u); |
| 15808 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15809 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15810 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 15811 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 15812 |
penlabels(1,2,3,4); |
| 15813 |
endchar; |
| 15814 |
|
| 15815 |
iff known chars.math_vertical_double: |
| 15816 |
bskchar "Double vertical line (norm)"; |
| 15817 |
beginchar(chars.math_vertical_double,6u#,body_height#,paren_depth#); uni "0x2016"; |
| 15818 |
adjust_fit(0,0); |
| 15819 |
pickup tiny.nib; |
| 15820 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15821 |
x3-x1=2u+rule_thickness; |
| 15822 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15823 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15824 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 15825 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 15826 |
penlabels(1,2,3,4); |
| 15827 |
endchar; |
| 15828 |
|
| 15829 |
iff known chars.math_vertical_double_cute: |
| 15830 |
bskchar "Cute double vertical line"; |
| 15831 |
beginchar(chars.math_vertical_double_cute,8u#,x_height#,0); uni "non"; |
| 15832 |
adjust_fit(0,0); |
| 15833 |
pickup tiny.nib; |
| 15834 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h+o; bot y2=bot y4=-d-o; |
| 15835 |
x3-x1=max(3curve,3u); |
| 15836 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15837 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15838 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 15839 |
filldraw bskrule(4,3,rule_thickness,rule_thickness); |
| 15840 |
penlabels(1,2,3,4); labels(1rr,2ll,4rr,3ll); |
| 15841 |
endchar; |
| 15842 |
|
| 15843 |
iff known chars.math_vertical_double_neg: |
| 15844 |
bskchar "Negated double vertical line"; |
| 15845 |
beginchar(chars.math_vertical_double_neg,8u#,body_height#,paren_depth#); uni "0x2226"; |
| 15846 |
adjust_fit(0,0); |
| 15847 |
pickup tiny.nib; |
| 15848 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15849 |
x3-x1=max(3curve,3u); |
| 15850 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15851 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15852 |
x5=.5u; x6=w-x5; .5[y5,y6]=math_axis; y6-y5=4u; |
| 15853 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 15854 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15855 |
x5'l=x5'r=x1l; x6'r=x6'l=x1r; x5''l=x5''r=x3l; x6''l=x6''r=x3r; |
| 15856 |
z5'l=whatever[z5l,z6l]; z5'r=whatever[z5r,z6r]; |
| 15857 |
z5''l=whatever[z5l,z6l]; z5''r=whatever[z5r,z6r]; |
| 15858 |
z6'l=whatever[z5l,z6l]; z6'r=whatever[z5r,z6r]; |
| 15859 |
z6''l=whatever[z5l,z6l]; z6''r=whatever[z5r,z6r]; |
| 15860 |
bskpoints(1,2,rule_thickness,rule_thickness); |
| 15861 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 15862 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15863 |
filldraw z1l---obl(5'l,1l,5l)---z5l..z5rr---tobl(5'r,5rr,2l)---z2ll..z2r |
| 15864 |
---obl(6'r,2r,6r)---obl(5''r,5r,4l)---z4l..z4rr---obl(6''r,4r,6r) |
| 15865 |
---z6r..z6ll---tobl(6''l,6ll,3r)---z3r..z3ll---obl(5''l,3l,5l) |
| 15866 |
---obl(6'l,6l,1r)---z1rr..cycle; |
| 15867 |
penlabels(1,2,3,4,5,5',5'',6,6',6''); labels(1rr,2ll,4rr,3ll,5rr,6ll); |
| 15868 |
endchar; |
| 15869 |
|
| 15870 |
iff known chars.math_vertical_double_neg_cute: |
| 15871 |
bskchar "Negated cute double vertical line"; |
| 15872 |
beginchar(chars.math_vertical_double_neg_cute,8u#,x_height#,0); uni "non"; |
| 15873 |
adjust_fit(0,0); |
| 15874 |
pickup tiny.nib; |
| 15875 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h+o; bot y2=bot y4=-d-o; |
| 15876 |
x3-x1=max(3curve,3u); |
| 15877 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15878 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15879 |
x5=.5u; x6=w-x5; .5[y5,y6]=math_axis; y6-y5=4u; |
| 15880 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 15881 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15882 |
x5'l=x5'r=x1l; x6'r=x6'l=x1r; x5''l=x5''r=x3l; x6''l=x6''r=x3r; |
| 15883 |
z5'l=whatever[z5l,z6l]; z5'r=whatever[z5r,z6r]; |
| 15884 |
z5''l=whatever[z5l,z6l]; z5''r=whatever[z5r,z6r]; |
| 15885 |
z6'l=whatever[z5l,z6l]; z6'r=whatever[z5r,z6r]; |
| 15886 |
z6''l=whatever[z5l,z6l]; z6''r=whatever[z5r,z6r]; |
| 15887 |
bskpoints(1,2,rule_thickness,rule_thickness); |
| 15888 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 15889 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15890 |
filldraw z1l---obl(5'l,1l,5l)---z5l..z5rr---tobl(5'r,5rr,2l)---z2ll..z2r |
| 15891 |
---obl(6'r,2r,6r)---obl(5''r,5r,4l)---z4l..z4rr---obl(6''r,4r,6r) |
| 15892 |
---z6r..z6ll---tobl(6''l,6ll,3r)---z3r..z3ll---obl(5''l,3l,5l) |
| 15893 |
---obl(6'l,6l,1r)---z1rr..cycle; |
| 15894 |
penlabels(1,2,3,4,5,5',5'',6,6',6''); labels(1rr,2ll,4rr,3ll,5rr,6ll); |
| 15895 |
endchar; |
| 15896 |
|
| 15897 |
iff known chars.math_parallel_hbar: |
| 15898 |
bskchar "Parallel sign with horizontal bar"; |
| 15899 |
beginchar(chars.math_parallel_hbar,8u#,body_height#,paren_depth#); uni "0x2AF2"; |
| 15900 |
adjust_fit(0,0); |
| 15901 |
pickup tiny.nib; |
| 15902 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15903 |
x3-x1=max(3curve,3u); |
| 15904 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15905 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15906 |
x5=.5u; x6=w-x5; y5=y6=math_axis; |
| 15907 |
pos5(rule_thickness,-90); pos6(rule_thickness,-90); |
| 15908 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15909 |
x5'l=x5'r=x1l; x6'r=x6'l=x1r; x5''l=x5''r=x3l; x6''l=x6''r=x3r; |
| 15910 |
z5'l=whatever[z5l,z6l]; z5'r=whatever[z5r,z6r]; |
| 15911 |
z5''l=whatever[z5l,z6l]; z5''r=whatever[z5r,z6r]; |
| 15912 |
z6'l=whatever[z5l,z6l]; z6'r=whatever[z5r,z6r]; |
| 15913 |
z6''l=whatever[z5l,z6l]; z6''r=whatever[z5r,z6r]; |
| 15914 |
bskpoints(1,2,rule_thickness,rule_thickness); |
| 15915 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 15916 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 15917 |
filldraw z1l---obl(5'l,1l,5l)---z5l..z5rr---tobl(5'r,5rr,2l)---z2ll..z2r |
| 15918 |
---obl(6'r,2r,6r)---obl(5''r,5r,4l)---z4l..z4rr---obl(6''r,4r,6r) |
| 15919 |
---z6r..z6ll---tobl(6''l,6ll,3r)---z3r..z3ll---obl(5''l,3l,5l) |
| 15920 |
---obl(6'l,6l,1r)---z1rr..cycle; |
| 15921 |
penlabels(1,2,3,4,5,5',5'',6,6',6''); labels(1rr,2ll,4rr,3ll,5rr,6ll); |
| 15922 |
endchar; |
| 15923 |
|
| 15924 |
iff known chars.math_parallel_tilde: |
| 15925 |
bskchar "Parallel sign with tilde"; |
| 15926 |
beginchar(chars.math_parallel_tilde,10u#,body_height#,paren_depth#); uni "0x2AF3"; |
| 15927 |
adjust_fit(0,0); |
| 15928 |
pickup tiny.nib; |
| 15929 |
path p[]; numeric tim[]; |
| 15930 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; bot y2=bot y4=-d; |
| 15931 |
x3-x1=max(3curve,3u); |
| 15932 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15933 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15934 |
.5[y5,y6]=math_axis; spread:=.45x_height; |
| 15935 |
bskpoints(1,2,rule_thickness,rule_thickness); |
| 15936 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 15937 |
vlnka(5,6).nodraw; |
| 15938 |
p0=_vlnka; |
| 15939 |
p1=z1l--z2ll; |
| 15940 |
p2=z2r--z1rr; |
| 15941 |
p3=z3ll--z4l; |
| 15942 |
p4=z4rr--z3r; |
| 15943 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 15944 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 15945 |
(tim4,tim5)=p0 intersectiontimes p3; |
| 15946 |
(tim6,tim7)=p0 intersectiontimes p4; |
| 15947 |
(tim8-4,tim9)=subpath(4,infinity) of p0 intersectiontimes p4; |
| 15948 |
(tim10-4,tim11)=subpath(4,infinity) of p0 intersectiontimes p3; |
| 15949 |
(tim12-4,tim13)=subpath(4,infinity) of p0 intersectiontimes p2; |
| 15950 |
(tim14-4,tim15)=subpath(4,infinity) of p0 intersectiontimes p1; |
| 15951 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 15952 |
..subpath(rundy(p1,(tim1,2oblu)),infinity) of p1 |
| 15953 |
..subpath(0,rundy(p2,(tim3,2oblu)).zpet) of p2 |
| 15954 |
..subpath(rundy(p0,(tim2,2oblu)),rundy(p0,tim4).zpet) of p0 |
| 15955 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 15956 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 15957 |
..subpath(rundy(p0,tim6),rundy(p0,(tim8,2oblu)).zpet) of p0 |
| 15958 |
..subpath(rundy(p4,(tim9,2oblu)),infinity) of p4 |
| 15959 |
..subpath(0,rundy(p3,(tim11,2oblu)).zpet) of p3 |
| 15960 |
..subpath(rundy(p0,(tim10,2oblu)),rundy(p0,tim12).zpet) of p0 |
| 15961 |
..subpath(rundy(p2,tim13),infinity) of p2 |
| 15962 |
..subpath(0,rundy(p1,tim15).zpet) of p1 |
| 15963 |
..subpath(rundy(p0,tim14),infinity) of p0..cycle; |
| 15964 |
penlabels(1,2,3,4,5,5',5'',6,6',6''); labels(1rr,2ll,4rr,3ll); |
| 15965 |
endchar; |
| 15966 |
|
| 15967 |
iff known chars.math_vertical_triple: |
| 15968 |
bskchar "Triple vertical line"; |
| 15969 |
beginchar(chars.math_vertical_triple,9u#,body_height#,paren_depth#); uni "0x2AF4"; |
| 15970 |
adjust_fit(0,0); |
| 15971 |
pickup tiny.nib; |
| 15972 |
x1=x2; x3=x4; x5=x6; .5[x1,x5]=.5w; top y1=top y3=top y5=h; bot y2=bot y4=bot y6=-d; |
| 15973 |
x5-x3=x3-x1=2u+rule_thickness; |
| 15974 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15975 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15976 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 15977 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 15978 |
filldraw bskrule(3,4,0,0); |
| 15979 |
filldraw bskrule(6,5,rule_thickness,rule_thickness); |
| 15980 |
penlabels(1,2,3,4,5,6); |
| 15981 |
endchar; |
| 15982 |
|
| 15983 |
iff known chars.math_vertical_triple_hbar: |
| 15984 |
bskchar "Triple vertical line with horizontal bar"; |
| 15985 |
beginchar(chars.math_vertical_triple_hbar,11u#,body_height#,paren_depth#); uni "0x2AF5"; |
| 15986 |
adjust_fit(0,0); |
| 15987 |
pickup tiny.nib; |
| 15988 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 15989 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 15990 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 15991 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 15992 |
x1=x2; x3=x4; x5=x6; .5[x1,x5]=.5w; top y1=top y3=top y5=h; bot y2=bot y4=bot y6=-d; |
| 15993 |
x5-x3=x3-x1=2u+rule_thickness; |
| 15994 |
lft x7=u; rt x8=w-u; y7=y8=math_axis; |
| 15995 |
bskpoints(1,2,rule_thickness,rule_thickness); |
| 15996 |
bskpoints(6,5,rule_thickness,rule_thickness); |
| 15997 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 15998 |
y10=y11=y12=y13=y14=y15=y7l; y16=y17=y18=y19=y20=y21=y7r; |
| 15999 |
x10=x21=x1l; x11=x20=x1r; x12=x19=x3l; x13=x18=x3r; x14=x17=x5l; x15=x16=x5r; |
| 16000 |
filldraw z7l---obl(10,7l,2l)---z2ll..z2r---tobl(11,2ll,12)---tobl(12,11,4l)---z4l |
| 16001 |
..z4r---tobl(13,4r,14)---tobl(14,13,6l)---z6l..z6rr---tobl(15,6r,8ll)---z8ll |
| 16002 |
..z8r---tobl(16,8r,5r)---z5r..z5ll---tobl(17,5l,18)--tobl(18,17,3r)---z3r..z3l |
| 16003 |
---tobl(19,3l,20)---tobl(20,19,1r)---z1rr..z1l---tobl(21,1l,7rr)---z7rr..cycle; |
| 16004 |
penlabels(1,2,3,4,5,6,7,8); labels(2ll,6rr,10,11,12,13,14,15,16,17,18,19,21); |
| 16005 |
endchar; |
| 16006 |
|
| 16007 |
iff known chars.math_vertical_triple_op: |
| 16008 |
bskchar "N-ary triple vertical bar operator"; |
| 16009 |
beginchar(chars.math_vertical_triple_op,12u#,v_center(10/6dh#)); uni "0x2AFC"; |
| 16010 |
adjust_fit(0,0); |
| 16011 |
pickup tiny.nib; |
| 16012 |
x1=x2; x3=x4; x5=x6; .5[x1,x5]=.5w; top y1=top y3=top y5=h; bot y2=bot y4=bot y6=-d; |
| 16013 |
x5-x3=x3-x1=3u+rule_thickness; |
| 16014 |
pos1(stem,0); pos2(stem,0); |
| 16015 |
pos3(stem,0); pos4(stem,0); |
| 16016 |
pos5(stem,0); pos6(stem,0); |
| 16017 |
filldraw bskrule(1,2,rule_thickness,rule_thickness); |
| 16018 |
filldraw bskrule(3,4,0,0); |
| 16019 |
filldraw bskrule(6,5,rule_thickness,rule_thickness); |
| 16020 |
penlabels(1,2,3,4,5,6); |
| 16021 |
endchar; |
| 16022 |
|
| 16023 |
iff known chars.math_uptack_double: |
| 16024 |
bskchar "Double up tack"; |
| 16025 |
beginchar(chars.math_uptack_double,12u#,asc_height#,0); uni "0x2AEB"; |
| 16026 |
adjust_fit(0,0); |
| 16027 |
pickup tiny.nib; |
| 16028 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 16029 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 16030 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16031 |
x1=x2; x3=x4; .5[x1,x3]=.5w; top y1=top y3=h; x3-x1=max(3curve,3u); |
| 16032 |
y2=y4=y5r; bot y5l=bot y6l=-d; lft x5=u; x6=w-x5; |
| 16033 |
bskpoints(1,2,rule_thickness,rule_thickness); bskpoints(4,3,rule_thickness,rule_thickness); |
| 16034 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 16035 |
filldraw z1l---tobl(2l,1l,5rr)---z5rr..z5l---z6ll..z6r---obl(4r,6r,3r)---z3r |
| 16036 |
..z3ll---obl(4l,3l,2r)---obl(2r,4r,1r)---z1rr..cycle; |
| 16037 |
penlabels(1,2,3,4,5,6); labels(1rr,3ll,5rr,6ll); |
| 16038 |
endchar; |
| 16039 |
|
| 16040 |
iff known chars.math_times: |
| 16041 |
bskchar "Times operator sign"; |
| 16042 |
beginarithchar(chars.math_times); uni "0x00D7"; |
| 16043 |
pickup tiny.nib; |
| 16044 |
oblu:=2.2oblu; |
| 16045 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16046 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16047 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16048 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16049 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16050 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16051 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16052 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16053 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16054 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16055 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16056 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16057 |
endchar; |
| 16058 |
|
| 16059 |
iff known chars.math_times_uni: |
| 16060 |
bskchar "N-ary times operator sign (for Unicode)"; |
| 16061 |
beginchar(chars.math_times_uni,15u#,v_center(10/6dh#)); uni "0x2A09"; |
| 16062 |
adjust_fit(0,0); |
| 16063 |
pickup tiny.nib; |
| 16064 |
oblu:=2.2oblu; |
| 16065 |
pos1(stem,135); pos2(stem,135); |
| 16066 |
pos3(stem,45); pos4(stem,45); |
| 16067 |
lft x1r=lft x3l=u; rt x2l=rt x4r=w-u; |
| 16068 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16069 |
bskpoints(1,2,stem,stem); bskpoints(4,3,.5stem,.5stem); |
| 16070 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16071 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16072 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16073 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16074 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16075 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16076 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16077 |
endchar; |
| 16078 |
|
| 16079 |
iff known chars.math_times_underbar: |
| 16080 |
bskchar "Times operator sign with underbar"; |
| 16081 |
beginchar(chars.math_times_underbar,13u#,5.5u#+math_axis#,5.5u#+rule_thickness#-math_axis#); uni "0x2A31"; |
| 16082 |
pickup tiny.nib; |
| 16083 |
oblu:=2.2oblu; |
| 16084 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16085 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16086 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16087 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16088 |
bot y1l=bot y4l=-d+u+rule_thickness; top y2r=top y3r=h-u; |
| 16089 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16090 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16091 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16092 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16093 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16094 |
x9=x1; x10=x4; bot y9l=bot y10l=-d; |
| 16095 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16096 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16097 |
filldraw bskrule(9,10,hair,0); |
| 16098 |
penlabels(1,2,3,4,9,10); labels(5,6,7,8); |
| 16099 |
endchar; |
| 16100 |
|
| 16101 |
iff known chars.math_times_semicircle_left: |
| 16102 |
bskchar "Times operator sign in left half circle"; |
| 16103 |
beginchar(chars.math_times_semicircle_left,11u#,v_center(11u#)); uni "0x2A34"; |
| 16104 |
adjust_fit(0,0); |
| 16105 |
pickup tiny.nib; |
| 16106 |
oblu:=2.2oblu; |
| 16107 |
pos9(rule_thickness,135); pos10(rule_thickness,135); |
| 16108 |
pos11(rule_thickness,45); pos12(rule_thickness,45); |
| 16109 |
lft x6=u+.5rule_thickness; .5[x6,x2]=.5[x11,x10]=.5w+u; y8-y4=x2-x6; |
| 16110 |
x9r=x11l; x10l=x12r; lft x9r=3u+rule_thickness; |
| 16111 |
y9l=y12l; y10r=y11r; y2=.5[y10r,y9l]=math_axis; y11r-y9l=x10l-x11l; |
| 16112 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 16113 |
circle_points(rule_thickness); |
| 16114 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 16115 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 16116 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 16117 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 16118 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 16119 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 16120 |
filldraw subpath(4,8) of (draw_circle.l)..reverse subpath(4,8) of (draw_circle.r)..cycle; |
| 16121 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 16122 |
endchar; |
| 16123 |
|
| 16124 |
iff known chars.math_times_semicircle_right: |
| 16125 |
bskchar "Times operator sign in right half circle"; |
| 16126 |
beginchar(chars.math_times_semicircle_right,11u#,v_center(11u#)); uni "0x2A35"; |
| 16127 |
adjust_fit(0,0); |
| 16128 |
pickup tiny.nib; |
| 16129 |
oblu:=2.2oblu; |
| 16130 |
pos9(rule_thickness,135); pos10(rule_thickness,135); |
| 16131 |
pos11(rule_thickness,45); pos12(rule_thickness,45); |
| 16132 |
rt x2=w-u-.5rule_thickness; .5[x6,x2]=.5[x11,x10]=.5w-u; y8-y4=x2-x6; |
| 16133 |
x9r=x11l; x10l=x12r; lft x9r=u+rule_thickness; |
| 16134 |
y9l=y12l; y10r=y11r; y2=.5[y10r,y9l]=math_axis; y11r-y9l=x10l-x11l; |
| 16135 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 16136 |
circle_points(rule_thickness); |
| 16137 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 16138 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 16139 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 16140 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 16141 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 16142 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 16143 |
filldraw subpath(0,4) of (draw_circle.l)..reverse subpath(0,4) of (draw_circle.r)..cycle; |
| 16144 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 16145 |
endchar; |
| 16146 |
|
| 16147 |
iff known chars.math_times_circle_circumflex: |
| 16148 |
bskchar "Times operator sign in circle with circumflex"; |
| 16149 |
beginchar(chars.math_times_circle_circumflex,13u#,5.5u#+math_axis#+.5x_height#,5.5u#-math_axis#); uni "0x2A36"; |
| 16150 |
adjust_fit(0,0); |
| 16151 |
pickup tiny.nib; |
| 16152 |
oblu:=2.2oblu; |
| 16153 |
pos9(rule_thickness,135); pos10(rule_thickness,135); |
| 16154 |
pos11(rule_thickness,45); pos12(rule_thickness,45); |
| 16155 |
rt x2=w-u-.5rule_thickness; .5[x6,x2]=.5[x11,x10]=x18-o=.5w; y8-y4=x2-x6; y2=.5[y11,y12]; |
| 16156 |
x9r=x11l; x10l=x12r; lft x9r=3u+rule_thickness; |
| 16157 |
y9l=y12l; y10r=y11r; .5[y10r,y9l]=math_axis; y11r-y9l=x10l-x11l; |
| 16158 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 16159 |
circle_points(rule_thickness); |
| 16160 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 16161 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 16162 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 16163 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 16164 |
filldraw draw_circle.l; |
| 16165 |
infill draw_circle.r; |
| 16166 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 16167 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 16168 |
circumflex(17,18,19); |
| 16169 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 16170 |
endchar; |
| 16171 |
|
| 16172 |
iff known chars.math_times_circle_double: |
| 16173 |
bskchar "Times operator sign in double circle"; |
| 16174 |
beginarithchar(chars.math_times_circle_double); uni "0x2A37"; |
| 16175 |
adjust_fit(0,0); |
| 16176 |
pickup tiny.nib; |
| 16177 |
oblu:=2.2oblu; |
| 16178 |
rt x2=w-u; .5[x6,x2]=.5w; y8-y4=x2-x6; y2=math_axis; |
| 16179 |
circle_points(rule_thickness); |
| 16180 |
filldraw draw_circle.l; |
| 16181 |
infill draw_circle.r; |
| 16182 |
save x,y; |
| 16183 |
rt x2=w-u-1.5rule_thickness; .5[x6,x2]=.5w; y8-y4=x2-x6; y2=math_axis; |
| 16184 |
circle_points(rule_thickness); |
| 16185 |
filldraw draw_circle.l; |
| 16186 |
infill draw_circle.r; |
| 16187 |
pos9(rule_thickness,135); pos10(rule_thickness,135); |
| 16188 |
pos11(rule_thickness,45); pos12(rule_thickness,45); |
| 16189 |
x9r=x11l; x10l=x12r; lft x9r=3.5u+rule_thickness; .5[x11,x10]=.5w; |
| 16190 |
y9l=y12l; y10r=y11r; .5[y10r,y9l]=math_axis; y11r-y9l=x10l-x11l; |
| 16191 |
bskpoints(9,10,hair,hair); bskpoints(12,11,.5hair,.5hair); |
| 16192 |
z13=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 16193 |
z14=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 16194 |
z15=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 16195 |
z16=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 16196 |
filldraw z9l---obl(13,9l,12l)---z12l..z12rr---obl(14,12r,10l)---z10ll..z10r--- |
| 16197 |
obl(15,10r,11r)---z11r..z11ll---obl(16,11l,9r)---z9rr..cycle; |
| 16198 |
penlabels(9,10,11,12); labels(13,14,15,16); |
| 16199 |
endchar; |
| 16200 |
|
| 16201 |
iff known chars.math_times_dot: |
| 16202 |
bskchar "Times operator sign with dot"; |
| 16203 |
beginarithchar(chars.math_times_dot); uni "0x2A30"; |
| 16204 |
pickup tiny.nib; |
| 16205 |
oblu:=2.2oblu; |
| 16206 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16207 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16208 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16209 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16210 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16211 |
x9=.5w; top y9+.5dot_size=h+o; |
| 16212 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16213 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16214 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16215 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16216 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16217 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16218 |
dot(9); |
| 16219 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16220 |
endchar; |
| 16221 |
|
| 16222 |
iff known chars.math_times_bot: |
| 16223 |
bskchar "Times operator with bottom closed"; |
| 16224 |
beginarithchar(chars.math_times_bot); uni "0x2A32"; |
| 16225 |
pickup tiny.nib; |
| 16226 |
oblu:=2.2oblu; |
| 16227 |
pos0(rule_thickness,0); |
| 16228 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16229 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16230 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16231 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16232 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16233 |
x0=.5w; y0l=y1l; y1'=y4'=y1r; |
| 16234 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16235 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16236 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16237 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16238 |
z1'=whatever[z1l,z5]; z4'=whatever[z4l,z5]; |
| 16239 |
filldraw z1l---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16240 |
obl(7,2r,3r)---z3r..z3l---obl(8,3l,1r)---z1r..cycle; |
| 16241 |
infill obl(5,1',4')---obl(4',5,1')---obl(1',4',5)---cycle; |
| 16242 |
penlabels(0,1,2,3,4); labels(1',4',5,6,7,8); |
| 16243 |
endchar; |
| 16244 |
|
| 16245 |
iff known chars.math_times_left: |
| 16246 |
bskchar "Times operator with left vertical"; |
| 16247 |
beginarithchar(chars.math_times_left); uni "0x22C9"; |
| 16248 |
pickup tiny.nib; |
| 16249 |
oblu:=2.2oblu; |
| 16250 |
pos0(rule_thickness,0); |
| 16251 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16252 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16253 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16254 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16255 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16256 |
y0=math_axis; x0l=x3l; x1'=x3'=x0r; |
| 16257 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16258 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16259 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16260 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16261 |
z1'=whatever[z1r,z8]; z3'=whatever[z3l,z8]; |
| 16262 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16263 |
obl(7,2r,3r)---z3r..z3l---z1r..cycle; |
| 16264 |
infill obl(8,1',3')---obl(3',8,1')---obl(1',3',8)---cycle; |
| 16265 |
penlabels(0,1,2,3,4); labels(1',3',5,6,7,8); |
| 16266 |
endchar; |
| 16267 |
|
| 16268 |
iff known chars.math_times_left_black: |
| 16269 |
bskchar "Times operator with left half black"; |
| 16270 |
beginarithchar(chars.math_times_left_black); uni "0x29D4"; |
| 16271 |
pickup tiny.nib; |
| 16272 |
oblu:=2.2oblu; |
| 16273 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16274 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16275 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16276 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16277 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16278 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16279 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16280 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16281 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16282 |
obl(7,2r,3r)---z3r..z3l---z1r..cycle; |
| 16283 |
penlabels(1,2,3,4); labels(5,6,7); |
| 16284 |
endchar; |
| 16285 |
|
| 16286 |
iff known chars.math_times_right: |
| 16287 |
bskchar "Times operator with right vertical"; |
| 16288 |
beginarithchar(chars.math_times_right); uni "0x22CA"; |
| 16289 |
pickup tiny.nib; |
| 16290 |
oblu:=2.2oblu; |
| 16291 |
pos0(rule_thickness,0); |
| 16292 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16293 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16294 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16295 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16296 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16297 |
y0=math_axis; x0r=x4r; x2'=x4'=x0l; |
| 16298 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16299 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16300 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16301 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16302 |
z2'=whatever[z2l,z6]; z4'=whatever[z4r,z6]; |
| 16303 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16304 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16305 |
infill obl(6,2',4')---obl(4',6,2')---obl(2',4',6)---cycle; |
| 16306 |
penlabels(0,1,2,3,4); labels(2',4',5,6,7,8); |
| 16307 |
endchar; |
| 16308 |
|
| 16309 |
iff known chars.math_times_right_black: |
| 16310 |
bskchar "Times operator with right half black"; |
| 16311 |
beginarithchar(chars.math_times_right_black); uni "0x29D5"; |
| 16312 |
pickup tiny.nib; |
| 16313 |
oblu:=2.2oblu; |
| 16314 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16315 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16316 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16317 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16318 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16319 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16320 |
z6=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16321 |
z7=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16322 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16323 |
obl(6,2r,3r)---z3r..z3ll---obl(7,3l,1r)---z1rr..cycle; |
| 16324 |
penlabels(1,2,3,4); labels(5,6,7); |
| 16325 |
endchar; |
| 16326 |
|
| 16327 |
iff known chars.math_times_verticals: |
| 16328 |
bskchar "Times operator with both vertical (bowtie)"; |
| 16329 |
beginarithchar(chars.math_times_verticals); uni "0x22C8"; |
| 16330 |
pickup tiny.nib; |
| 16331 |
oblu:=2.2oblu; |
| 16332 |
pos0(rule_thickness,0); pos0'(rule_thickness,0); |
| 16333 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16334 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16335 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16336 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16337 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16338 |
y0=y0'=math_axis; x0r=x4r; x0'l=x3l; x1'=x3'=x0'r; x2'=x4'=x0l; |
| 16339 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16340 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16341 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16342 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16343 |
z1'=whatever[z1r,z8]; z3'=whatever[z3l,z8]; |
| 16344 |
z2'=whatever[z2l,z6]; z4'=whatever[z4r,z6]; |
| 16345 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16346 |
obl(7,2r,3r)---z3r..z3l---z1r..cycle; |
| 16347 |
infill obl(8,1',3')---obl(3',8,1')---obl(1',3',8)---cycle; |
| 16348 |
infill obl(6,2',4')---obl(4',6,2')---obl(2',4',6)---cycle; |
| 16349 |
penlabels(0,0',1,2,3,4); labels(1',2',3',4',5,6,7,8); |
| 16350 |
endchar; |
| 16351 |
|
| 16352 |
iff known chars.math_join: |
| 16353 |
bskchar "Join"; |
| 16354 |
beginchar(chars.math_join,16u#,asc_height#,0); uni "0x2A1D"; |
| 16355 |
adjust_fit(0,0); |
| 16356 |
pickup tiny.nib; |
| 16357 |
oblu:=2.2oblu; |
| 16358 |
pos0(rule_thickness,0); pos0'(rule_thickness,0); |
| 16359 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16360 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16361 |
lft x1r=lft x3l=u; rt x2l=rt x4r=w-u; |
| 16362 |
bot y1l=bot y4l=-d; top y2r=top y3r=h; |
| 16363 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16364 |
y0=y0'=math_axis; x0r=x4r; x0'l=x3l; x1'=x3'=x0'r; x2'=x4'=x0l; |
| 16365 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16366 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16367 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16368 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16369 |
z1'=whatever[z1r,z8]; z3'=whatever[z3l,z8]; |
| 16370 |
z2'=whatever[z2l,z6]; z4'=whatever[z4r,z6]; |
| 16371 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16372 |
obl(7,2r,3r)---z3r..z3l---z1r..cycle; |
| 16373 |
infill obl(8,1',3')---obl(3',8,1')---obl(1',3',8)---cycle; |
| 16374 |
infill obl(6,2',4')---obl(4',6,2')---obl(2',4',6)---cycle; |
| 16375 |
penlabels(0,0',1,2,3,4); labels(1',2',3',4',5,6,7,8); |
| 16376 |
endchar; |
| 16377 |
|
| 16378 |
iff known chars.math_bowtie_black: |
| 16379 |
bskchar "Black bowtie"; |
| 16380 |
beginarithchar(chars.math_bowtie_black); uni "0x29D3"; |
| 16381 |
pickup tiny.nib; |
| 16382 |
oblu:=2.2oblu; |
| 16383 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16384 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16385 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16386 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16387 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16388 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16389 |
z6=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16390 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16391 |
obl(6,2r,3r)---z3r..z3l---z1r..cycle; |
| 16392 |
penlabels(1,2,3,4); labels(5,6); |
| 16393 |
endchar; |
| 16394 |
|
| 16395 |
iff known chars.math_bowtie_left_black: |
| 16396 |
bskchar "Bowtie with left half black"; |
| 16397 |
beginarithchar(chars.math_bowtie_left_black); uni "0x29D1"; |
| 16398 |
pickup tiny.nib; |
| 16399 |
oblu:=2.2oblu; |
| 16400 |
pos0(rule_thickness,0); |
| 16401 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16402 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16403 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16404 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16405 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16406 |
y0=math_axis; x0r=x4r; x2'=x4'=x0l; |
| 16407 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16408 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16409 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16410 |
z2'=whatever[z2l,z6]; z4'=whatever[z4r,z6]; |
| 16411 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16412 |
obl(7,2r,3r)---z3r..z3l---z1r..cycle; |
| 16413 |
infill obl(6,2',4')---obl(4',6,2')---obl(2',4',6)---cycle; |
| 16414 |
penlabels(0,1,2,3,4); labels(2',4',5,6,7); |
| 16415 |
endchar; |
| 16416 |
|
| 16417 |
iff known chars.math_bowtie_right_black: |
| 16418 |
bskchar "Bowtie with right half black"; |
| 16419 |
beginarithchar(chars.math_bowtie_right_black); uni "0x29D2"; |
| 16420 |
pickup tiny.nib; |
| 16421 |
oblu:=2.2oblu; |
| 16422 |
pos0(rule_thickness,0); |
| 16423 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16424 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16425 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16426 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16427 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16428 |
y0=math_axis; x0l=x3l; x1'=x3'=x0r; |
| 16429 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16430 |
z6=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16431 |
z7=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16432 |
z1'=whatever[z1r,z7]; z3'=whatever[z3l,z7]; |
| 16433 |
filldraw z1l---obl(5,1l,4l)---z4l..z4r---z2l..z2r--- |
| 16434 |
obl(6,2r,3r)---z3r..z3l---z1r..cycle; |
| 16435 |
infill obl(7,1',3')---obl(3',7,1')---obl(1',3',7)---cycle; |
| 16436 |
penlabels(0,1,2,3,4); labels(1',3',5,6,7); |
| 16437 |
endchar; |
| 16438 |
|
| 16439 |
iff known chars.math_semiproduct_left: |
| 16440 |
bskchar "Left semidirect product"; |
| 16441 |
beginarithchar(chars.math_semiproduct_left); uni "0x22CB"; |
| 16442 |
pickup tiny.nib; |
| 16443 |
oblu:=2.2oblu; |
| 16444 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16445 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16446 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16447 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16448 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16449 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16450 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16451 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16452 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16453 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16454 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16455 |
endchar; |
| 16456 |
|
| 16457 |
iff known chars.math_semiproduct_right: |
| 16458 |
bskchar "Right semidirect product"; |
| 16459 |
beginarithchar(chars.math_semiproduct_right); uni "0x22CC"; |
| 16460 |
pickup tiny.nib; |
| 16461 |
oblu:=2.2oblu; |
| 16462 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16463 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16464 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16465 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16466 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16467 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16468 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16469 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16470 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16471 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r---z1rr..cycle; |
| 16472 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16473 |
endchar; |
| 16474 |
|
| 16475 |
iff known chars.math_times_BB: |
| 16476 |
bskchar "Blackboard-bold times operator sign"; |
| 16477 |
beginarithchar(chars.math_times_BB); uni "non"; |
| 16478 |
pickup tiny.nib; |
| 16479 |
path p; |
| 16480 |
oblu:=2.2oblu; |
| 16481 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 16482 |
pos3(cap_stem,45); pos4(cap_stem,45); |
| 16483 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 16484 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 16485 |
bskpoints(1,2,cap_stem,cap_stem); bskpoints(4,3,.5cap_stem,.5cap_stem); |
| 16486 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16487 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16488 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16489 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16490 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16491 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16492 |
infill z4l..z4rr---z3r..z3ll---cycle; |
| 16493 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16494 |
endchar; |
| 16495 |
|
| 16496 |
iff known chars.math_product_cartesian: |
| 16497 |
bskchar "Cartesian product operator sign"; |
| 16498 |
beginchar(chars.math_product_cartesian,8u#,v_center(asc_height#)); uni "0x2A2F"; |
| 16499 |
adjust_fit(0,0); |
| 16500 |
pickup tiny.nib; |
| 16501 |
oblu:=2.2oblu; |
| 16502 |
lft x1r=lft x3l=u; rt x2r=rt x4l=w-u-.5rule_thickness; |
| 16503 |
bot y1r-.25rule_thickness=bot y4l=-d+u; top y2r=top y3l+.25rule_thickness=h-u; |
| 16504 |
pos1(rule_thickness,angle(z2r-z1r)+90); pos2(rule_thickness,angle(z2r-z1r)+90); |
| 16505 |
pos3(rule_thickness,angle(z4l-z3l)+90); pos4(rule_thickness,angle(z4l-z3l)+90); |
| 16506 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16507 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16508 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16509 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16510 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16511 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 16512 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16513 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 16514 |
endchar; |
| 16515 |
|
| 16516 |
iff known chars.math_smash: |
| 16517 |
bskchar "Smash product sign"; |
| 16518 |
compute_spread(.45x_height#,.55x_height#); |
| 16519 |
beginarithchar(chars.math_smash); uni "0x2A33"; |
| 16520 |
adjust_fit(0,0); |
| 16521 |
pickup tiny.nib; |
| 16522 |
pos1(rule_thickness,45); pos2(rule_thickness,45); |
| 16523 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 16524 |
pos5(rule_thickness,-45); pos6(rule_thickness,-45); |
| 16525 |
pos7(rule_thickness,-45); pos8(rule_thickness,-45); |
| 16526 |
top y1=top y5=h; bot y4=bot y8=-d; lft x3=lft x6=u; rt x2=rt x7=w-u; |
| 16527 |
z3-z1=spread*dir225; z2-z1=z4-z3; z6-z5=z8-z7; z7-z5=spread*dir-45; |
| 16528 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 16529 |
bskpoints(5,6,rule_thickness,rule_thickness); bskpoints(8,7,rule_thickness,rule_thickness); |
| 16530 |
z1'=whatever[z5l,z6l]=whatever[z1r,z2r]; |
| 16531 |
z2'=whatever[z5r,z6r]=whatever[z1r,z2r]; |
| 16532 |
z3'=whatever[z5r,z6r]=whatever[z1l,z2l]; |
| 16533 |
z4'=whatever[z5r,z6r]=whatever[z3r,z4r]; |
| 16534 |
z5'=whatever[z5r,z6r]=whatever[z3l,z4l]; |
| 16535 |
z6'=whatever[z5l,z6l]=whatever[z3l,z4l]; |
| 16536 |
z7'=whatever[z5l,z6l]=whatever[z3r,z4r]; |
| 16537 |
z8'=whatever[z5l,z6l]=whatever[z1l,z2l]; |
| 16538 |
z9'=whatever[z7l,z8l]=whatever[z1r,z2r]; |
| 16539 |
z10'=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 16540 |
z11'=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 16541 |
z12'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 16542 |
z13'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 16543 |
z14'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 16544 |
z15'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 16545 |
z16'=whatever[z7l,z8l]=whatever[z1l,z2l]; |
| 16546 |
filldraw z1r---obl(1',1r,5l)---z5l..z5rr---obl(2',5r,9')---obl(9',2',7l)---z7ll..z7r |
| 16547 |
---obl(10',7r,2r)---z2r..z2ll---obl(11',2l,12')---obl(12',11',4r)---z4r..z4l |
| 16548 |
---obl(13',4l,8r)---z8rr..z8l---obl(14',8l,5')---obl(5',4l,6r)---z6r..z6ll |
| 16549 |
---obl(6',6l,3l)---z3ll..z3r---obl(7',3r,8')---obl(8',7',1l)---z1l..cycle; |
| 16550 |
infill obl(3',16',4')---obl(4',3',15')---obl(15',4',16')---obl(16',15',3')---cycle; |
| 16551 |
penlabels(1,2,3,4,5,6,7,8); |
| 16552 |
labels(2ll,3ll,5rr,6ll,7ll,8rr,1',2',3',4',5',6',7',8',9',10',11',12',13',14',15',16'); |
| 16553 |
endchar; |
| 16554 |
|
| 16555 |
iff known chars.math_plus_minus: |
| 16556 |
bskchar "Plus-minus sign"; |
| 16557 |
beginarithchar(chars.math_plus_minus); uni "0x00B1"; |
| 16558 |
pickup tiny.nib; |
| 16559 |
oblu:=2.2oblu; |
| 16560 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16561 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 16562 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16563 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; x9=x1; x10=x2; |
| 16564 |
x3=x4=.5w; top y3=h; y4=y9r; y9=y10; bot y9l=-d; |
| 16565 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16566 |
bskpoints(9,10,hair,hair); |
| 16567 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16568 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16569 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16570 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16571 |
filldraw z1l---obl(5,1l,4l)---obl(4l,5,9r)---z9rr..z9l---z10ll..z10r---obl(4r,10r,6) |
| 16572 |
---obl(6,4r,2l)---z2ll..z2r---obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16573 |
penlabels(1,2,3,4,9,10); labels(5,6,7,8); |
| 16574 |
endchar; |
| 16575 |
|
| 16576 |
iff known chars.math_minus_plus: |
| 16577 |
bskchar "Minus-plus sign"; |
| 16578 |
beginarithchar(chars.math_minus_plus); uni "0x2213"; |
| 16579 |
pickup tiny.nib; |
| 16580 |
oblu:=2.2oblu; |
| 16581 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16582 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 16583 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16584 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; x9=x1; x10=x2; |
| 16585 |
x3=x4=.5w; y3=y9l; y4=-d; y9=y10; top y9r=h; |
| 16586 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16587 |
bskpoints(9,10,hair,hair); |
| 16588 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16589 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16590 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16591 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16592 |
filldraw z1l---obl(5,1l,4l)---z4l...z4rr---obl(6,4r,2l)---z2ll..z2r |
| 16593 |
---obl(7,2r,3r)---obl(3r,7,10l)---z10ll..z10r---z9rr..z9l |
| 16594 |
---obl(3l,9l,8)---obl(8,3l,1r)---z1rr..cycle; |
| 16595 |
penlabels(1,2,3,4,9,10); labels(5,6,7,8); |
| 16596 |
endchar; |
| 16597 |
|
| 16598 |
iff known chars.math_equals_plus: |
| 16599 |
bskchar "Equals-plus sign"; |
| 16600 |
beginchar(chars.math_equals_plus,13u#,v_center(11u#+.45x_height#)); uni "0x2A71"; |
| 16601 |
pickup tiny.nib; |
| 16602 |
oblu:=2.2oblu; |
| 16603 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16604 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 16605 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16606 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 16607 |
lft x1=u; rt x2=w-u; y1=y2=.5[y3,y4]; x9=x11=x1; x10=x12=x2; |
| 16608 |
x3=x4=.5w; y3=y9l; y4=-d; y9=y10=y11-.45x_height; y12=y11; top y11r=h; |
| 16609 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16610 |
bskpoints(10,9,hair,0); |
| 16611 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16612 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16613 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16614 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16615 |
filldraw z1l---obl(5,1l,4l)---z4l...z4rr---obl(6,4r,2l)---z2ll..z2r |
| 16616 |
---obl(7,2r,3r)---obl(3r,7,10l)---z10l..z10rr---z9r..z9ll |
| 16617 |
---obl(3l,9l,8)---obl(8,3l,1r)---z1rr..cycle; |
| 16618 |
filldraw bskrule(11,12,hair,0); |
| 16619 |
penlabels(1,2,3,4,9,10,11,12); labels(5,6,7,8); |
| 16620 |
endchar; |
| 16621 |
|
| 16622 |
iff known chars.math_plus_equals: |
| 16623 |
bskchar "Plus-equals sign"; |
| 16624 |
beginchar(chars.math_plus_equals,13u#,v_center(11u#+.45x_height#)); uni "0x2A72"; |
| 16625 |
pickup tiny.nib; |
| 16626 |
oblu:=2.2oblu; |
| 16627 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16628 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 16629 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16630 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 16631 |
lft x1=u; rt x2=w-u; y1=y2=.5[y3,y4]; x9=x11=x1; x10=x12=x2; |
| 16632 |
x3=x4=.5w; top y3=h; y4=y9r; y9=y10=y11+.45x_height; y11=y12; bot y11l=-d; |
| 16633 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 16634 |
bskpoints(9,10,hair,0); |
| 16635 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 16636 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 16637 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 16638 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 16639 |
filldraw z1l---obl(5,1l,4l)---obl(4l,5,9r)---z9rr..z9l---z10ll..z10r---obl(4r,10r,6) |
| 16640 |
---obl(6,4r,2l)---z2ll..z2r---obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 16641 |
filldraw bskrule(12,11,hair,0); |
| 16642 |
penlabels(1,2,3,4,9,10,11,12); labels(5,6,7,8); |
| 16643 |
endchar; |
| 16644 |
|
| 16645 |
iff known chars.math_minus: |
| 16646 |
bskchar "Minus sign"; |
| 16647 |
beginarithchar(chars.math_minus); uni "0x2212"; |
| 16648 |
pickup tiny.nib; |
| 16649 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16650 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16651 |
filldraw bskrule(1,2,hair,hair); |
| 16652 |
penlabels(1,2); |
| 16653 |
endchar; |
| 16654 |
|
| 16655 |
iff known chars.math_minus_dot: |
| 16656 |
bskchar "Minus sign with dot above"; |
| 16657 |
beginarithchar(chars.math_minus_dot); uni "0x2238"; |
| 16658 |
pickup tiny.nib; |
| 16659 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16660 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; x3=.5w; y3=y1+2rule_thickness+dot_size; |
| 16661 |
bskpoints(1,2,hair,hair); |
| 16662 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16663 |
dot(3); |
| 16664 |
penlabels(1,2); |
| 16665 |
endchar; |
| 16666 |
|
| 16667 |
iff known chars.math_minus_comma: |
| 16668 |
bskchar "Minus sign with comma above"; |
| 16669 |
beginarithchar(chars.math_minus_comma); uni "0x2A29"; |
| 16670 |
pickup tiny.nib; |
| 16671 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16672 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; x3=.5w; y3=y1+2rule_thickness+dot_size+.25comma_depth; |
| 16673 |
bskpoints(1,2,hair,hair); |
| 16674 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16675 |
comma(3,dot_size,infinity,.6comma_depth); |
| 16676 |
penlabels(1,2); |
| 16677 |
endchar; |
| 16678 |
|
| 16679 |
iff known chars.math_minus_dot_below: |
| 16680 |
bskchar "Minus sign with dot below"; |
| 16681 |
beginarithchar(chars.math_minus_dot_below); uni "0x2A2A"; |
| 16682 |
pickup tiny.nib; |
| 16683 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16684 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; x3=.5w; y3=y1-2rule_thickness-dot_size; |
| 16685 |
bskpoints(1,2,hair,hair); |
| 16686 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16687 |
dot(3); |
| 16688 |
penlabels(1,2); |
| 16689 |
endchar; |
| 16690 |
|
| 16691 |
iff known chars.math_minus_dot_lr: |
| 16692 |
bskchar "Dotted (left-right) minus sign"; |
| 16693 |
beginarithchar(chars.math_minus_dot_lr); uni "0x2A2B"; |
| 16694 |
pickup tiny.nib; |
| 16695 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16696 |
lft x1=u; rt x2=w-u; y1=y2=.5[y3,y4]=math_axis; |
| 16697 |
.5[x3,x4]=.5w; y3=y1+2rule_thickness+dot_size; lft x3=x1+.5dot_size; |
| 16698 |
bskpoints(1,2,hair,hair); |
| 16699 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16700 |
dot(3); dot(4); |
| 16701 |
penlabels(1,2); |
| 16702 |
endchar; |
| 16703 |
|
| 16704 |
iff known chars.math_minus_dot_rl: |
| 16705 |
bskchar "Dotted (right-left) minus sign"; |
| 16706 |
beginarithchar(chars.math_minus_dot_rl); uni "0x2A2C"; |
| 16707 |
pickup tiny.nib; |
| 16708 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16709 |
lft x1=u; rt x2=w-u; y1=y2=.5[y3,y4]=math_axis; |
| 16710 |
.5[x3,x4]=.5w; y3=y1+2rule_thickness+dot_size; lft x4=x1+.5dot_size; |
| 16711 |
bskpoints(1,2,hair,hair); |
| 16712 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16713 |
dot(3); dot(4); |
| 16714 |
penlabels(1,2); |
| 16715 |
endchar; |
| 16716 |
|
| 16717 |
iff known chars.math_minus_through_circ: |
| 16718 |
bskchar "Minus through circle"; |
| 16719 |
beginarithchar(chars.math_minus_through_circ); uni "non"; |
| 16720 |
pickup tiny.nib; |
| 16721 |
path p[]; numeric tim[]; |
| 16722 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 16723 |
.5[y8,y4]=math_axis; .5[x2,x6]=.5w; x2-x6=y8-y4=w-6u; |
| 16724 |
circle_points(rule_thickness); |
| 16725 |
lft x9=u; rt x10=w-u; y9=y10=math_axis; |
| 16726 |
bskpoints(9,10,hair,hair); |
| 16727 |
p0:=reverse (draw_circle.l); |
| 16728 |
p1:=reverse (draw_circle.r); |
| 16729 |
p2:=z9rr{left}..z9l---z10ll..z10r---z9rr; |
| 16730 |
(tim0-1,tim1-1)=subpath(1,3) of p0 intersectiontimes subpath(1,2) of p2; |
| 16731 |
(tim2-5,tim3)=subpath(5,7) of p0 intersectiontimes subpath(0,2) of p2; |
| 16732 |
(tim4-5,tim5-3)=subpath(5,7) of p0 intersectiontimes subpath(3,4) of p2; |
| 16733 |
(tim6-1,tim7-3)=subpath(1,3) of p0 intersectiontimes subpath(3,4) of p2; |
| 16734 |
(tim8-1,tim9-1)=subpath(1,3) of p1 intersectiontimes subpath(1,2) of p2; |
| 16735 |
(tim10-5,tim11)=subpath(5,7) of p1 intersectiontimes subpath(0,2) of p2; |
| 16736 |
(tim12-5,tim13-3)=subpath(5,7) of p1 intersectiontimes subpath(3,4) of p2; |
| 16737 |
(tim14-1,tim15-3)=subpath(1,3) of p1 intersectiontimes subpath(3,4) of p2; |
| 16738 |
filldraw subpath(0,rundy(p2,tim1).zpet) of p2 |
| 16739 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 16740 |
..subpath(rundy(p2,tim3),rundy(p2,tim5).zpet) of p2 |
| 16741 |
..subpath(rundy(p0,tim4),length p0) of p0 |
| 16742 |
..subpath(0,rundy(p0,tim6).zpet) of p0 |
| 16743 |
..subpath(rundy(p2,tim7),infinity) of p2..cycle; |
| 16744 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 16745 |
..subpath(rundy(p1,tim10).zpet,rundy(p1,tim8)) of p1..cycle; |
| 16746 |
infill subpath(rundy(p2,tim13),rundy(p2,tim15).zpet) of p2 |
| 16747 |
..reverse subpath(0,rundy(p1,tim14).zpet) of p1 |
| 16748 |
..reverse subpath(rundy(p1,tim12),length p1) of p1..cycle; |
| 16749 |
penlabels(9,10); |
| 16750 |
endchar; |
| 16751 |
|
| 16752 |
iff known chars.math_division: |
| 16753 |
bskchar "Division sign"; |
| 16754 |
beginarithchar(chars.math_division); uni "0x00F7"; |
| 16755 |
pickup tiny.nib; |
| 16756 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16757 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16758 |
x3=x4=.5w; .5[y3,y4]=y1; y3-y4=x_height; |
| 16759 |
bskpoints(1,2,hair,hair); |
| 16760 |
filldraw z1rr..z1l---z2ll..z2r---cycle; |
| 16761 |
dot(3); dot(4); |
| 16762 |
penlabels(1,2); |
| 16763 |
endchar; |
| 16764 |
|
| 16765 |
iff known chars.math_cdot: |
| 16766 |
bskchar "Verticaly raised period"; |
| 16767 |
beginchar(chars.math_cdot, 5u#, v_center(dot_size#)); uni "0x22C5"; |
| 16768 |
italcorr math_axis#*slant-u#; |
| 16769 |
adjust_fit(0,0); |
| 16770 |
pickup tiny.nib; |
| 16771 |
y1=math_axis; x1=.5w; |
| 16772 |
dot(1); |
| 16773 |
endchar; |
| 16774 |
|
| 16775 |
iff known chars.sign_middle_dot: |
| 16776 |
bskchar "Middle dot"; |
| 16777 |
beginchar(chars.sign_middle_dot, 5u#,x_height#, 0); uni "0x00B7"; |
| 16778 |
italcorr bar_height#*slant-u#; |
| 16779 |
adjust_fit(0,0); |
| 16780 |
pickup tiny.nib; |
| 16781 |
y1=bar_height; x1=.5w; |
| 16782 |
dot(1); |
| 16783 |
endchar; |
| 16784 |
|
| 16785 |
iff known chars.sign_hyphen_dot: |
| 16786 |
bskchar "Hyphenation point"; |
| 16787 |
beginchar(chars.sign_hyphen_dot, 5u#,x_height#, 0); uni "0x2027"; |
| 16788 |
italcorr bar_height#*slant-u#; |
| 16789 |
adjust_fit(0,0); |
| 16790 |
pickup tiny.nib; |
| 16791 |
y1+.5dot_size=.6h; x1=.5w; |
| 16792 |
dot(1); |
| 16793 |
endchar; |
| 16794 |
|
| 16795 |
iff known chars.math_equivalence: |
| 16796 |
bskchar "Equivalence sign"; |
| 16797 |
beginchar(chars.math_equivalence,13u#,v_center(x_height#+rule_thickness#)); uni "0x2261"; |
| 16798 |
italcorr h#*slant-.25u#; |
| 16799 |
adjust_fit(0,0); |
| 16800 |
pickup tiny.nib; |
| 16801 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16802 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16803 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16804 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16805 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16806 |
x3=x5=x1; x4=x6=x2; |
| 16807 |
y3-y5=x_height; |
| 16808 |
bskpoints(3,4,hair,hair); |
| 16809 |
bskpoints(5,6,hair,hair); |
| 16810 |
filldraw z1l---z2l..z2r---z1r..cycle; |
| 16811 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 16812 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 16813 |
penlabels(1,2,3,4,5,6); |
| 16814 |
endchar; |
| 16815 |
|
| 16816 |
iff known chars.math_equivalence_neg: |
| 16817 |
bskchar "Negated equivalence sign"; |
| 16818 |
beginchar(chars.math_equivalence_neg,13u#,v_center(13u#)); uni "0x2262"; |
| 16819 |
italcorr h#*slant-.25u#; |
| 16820 |
adjust_fit(0,0); |
| 16821 |
pickup tiny.nib; |
| 16822 |
oblu.more:=2oblu; |
| 16823 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16824 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16825 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16826 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16827 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16828 |
x3=x5=x1; x4=x6=x2; |
| 16829 |
y3-y5=x_height; |
| 16830 |
top rt z7=(w-2u,h); top lft z8=(2u,-d); |
| 16831 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 16832 |
bskpoints(3,4,hair,hair); |
| 16833 |
bskpoints(5,6,hair,hair); |
| 16834 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 16835 |
y10=y11=y5l; y12=y13=y5r; y14=y15=y1l; y16=y17=y1r; y18=y19=y3l; y20=y21=y3r; |
| 16836 |
forsuffixes $=10,12,14,16,18,20: z$=whatever[z8l,z7l]; endfor |
| 16837 |
forsuffixes $=11,13,15,17,19,21: z$=whatever[z8r,z7r]; endfor |
| 16838 |
filldraw z1l---obl(14,1l,12).more---obl(12,14,5r)---z5rr..z5l---tobl(10,5l,8ll).more |
| 16839 |
---z8ll..z8r---obl(11,8r,6l)---z6ll..z6r---obl(13,6r,15).more---obl(15,13,2l) |
| 16840 |
---z2l..z2r---obl(17,2r,19).more---obl(19,17,4l)---z4ll..z4r---tobl(21,4r,7rr).more |
| 16841 |
---z7rr..z7l---obl(20,7l,3r)---z3rr..z3l---obl(18,3l,16).more---obl(16,18,1r)---z1r..cycle; |
| 16842 |
penlabels(1,2,3,4,5,6,7,8); labels(10,11,12,13,14,15,16,17,18,19,20,21,8ll); |
| 16843 |
endchar; |
| 16844 |
|
| 16845 |
iff known chars.math_equivalence_neg_vert: |
| 16846 |
bskchar "Negated equivalence sign with vertical stroke"; |
| 16847 |
beginchar(chars.math_equivalence_neg_vert,13u#,v_center(13u#)); uni "non"; %"0x2262.vert"; |
| 16848 |
italcorr h#*slant-.25u#; |
| 16849 |
adjust_fit(0,0); |
| 16850 |
pickup tiny.nib; |
| 16851 |
oblu.more:=2oblu; |
| 16852 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16853 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16854 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16855 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 16856 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16857 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16858 |
x3=x5=x1; x4=x6=x2; |
| 16859 |
y3-y5=x_height; |
| 16860 |
top y7=h; top y8=-d; x7=x8=.5w; |
| 16861 |
bskpoints(3,4,hair,hair); |
| 16862 |
bskpoints(5,6,hair,hair); |
| 16863 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 16864 |
y10=y11=y5l; y12=y13=y5r; y14=y15=y1l; y16=y17=y1r; y18=y19=y3l; y20=y21=y3r; |
| 16865 |
forsuffixes $=10,12,14,16,18,20: z$=whatever[z8l,z7l]; endfor |
| 16866 |
forsuffixes $=11,13,15,17,19,21: z$=whatever[z8r,z7r]; endfor |
| 16867 |
filldraw z1l---obl(14,1l,12)---obl(12,14,5r)---z5rr..z5l---obl(10,5l,8ll) |
| 16868 |
---z8ll..z8r---obl(11,8r,6l)---z6ll..z6r---obl(13,6r,15)---obl(15,13,2l) |
| 16869 |
---z2l..z2r---obl(17,2r,19)---obl(19,17,4l)---z4ll..z4r---obl(21,4r,7rr) |
| 16870 |
---z7rr..z7l---obl(20,7l,3r)---z3rr..z3l---obl(18,3l,16)---obl(16,18,1r)---z1r..cycle; |
| 16871 |
penlabels(1,2,3,4,5,6,7,8); labels(10,11,12,13,14,15,16,17,18,19,20,21,8ll); |
| 16872 |
endchar; |
| 16873 |
|
| 16874 |
iff known chars.math_equivalence_parallel: |
| 16875 |
bskchar "Equivalence and parallel sign"; |
| 16876 |
beginchar(chars.math_equivalence_parallel,13u#,v_center(13u#)); uni "0x2A68"; |
| 16877 |
italcorr h#*slant-.25u#; |
| 16878 |
adjust_fit(0,0); |
| 16879 |
pickup tiny.nib; |
| 16880 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16881 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16882 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16883 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 16884 |
pos9(rule_thickness,0); pos10(rule_thickness,0); |
| 16885 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16886 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16887 |
x3=x5=x1; x4=x6=x2; |
| 16888 |
y3-y5=x_height; |
| 16889 |
top y7=top y9=h; bot y8=bot y10=-d; x7=x8; x9=x10; .5[x7,x9]=.5w; x9-x7=max(3curve,3u); |
| 16890 |
bskpoints(3,4,hair,hair); |
| 16891 |
bskpoints(5,6,hair,hair); |
| 16892 |
bskpoints(7,8,rule_thickness,rule_thickness); bskpoints(9,10,rule_thickness,rule_thickness); |
| 16893 |
z11l=whatever[z7l,z8l]=whatever[z3r,z4r]; z11r=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 16894 |
z12l=whatever[z7l,z8l]=whatever[z3l,z4l]; z12r=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 16895 |
z13l=whatever[z7l,z8l]=whatever[z1r,z2r]; z13r=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 16896 |
z14l=whatever[z7l,z8l]=whatever[z1l,z2l]; z14r=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 16897 |
z15l=whatever[z7l,z8l]=whatever[z5r,z6r]; z15r=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 16898 |
z16l=whatever[z7l,z8l]=whatever[z5l,z6l]; z16r=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 16899 |
z17l=whatever[z9l,z10l]=whatever[z3r,z4r]; z17r=whatever[z9r,z10r]=whatever[z3r,z4r]; |
| 16900 |
z18l=whatever[z9l,z10l]=whatever[z3l,z4l]; z18r=whatever[z9r,z10r]=whatever[z3l,z4l]; |
| 16901 |
z19l=whatever[z9l,z10l]=whatever[z1r,z2r]; z19r=whatever[z9r,z10r]=whatever[z1r,z2r]; |
| 16902 |
z20l=whatever[z9l,z10l]=whatever[z1l,z2l]; z20r=whatever[z9r,z10r]=whatever[z1l,z2l]; |
| 16903 |
z21l=whatever[z9l,z10l]=whatever[z5r,z6r]; z21r=whatever[z9r,z10r]=whatever[z5r,z6r]; |
| 16904 |
z22l=whatever[z9l,z10l]=whatever[z5l,z6l]; z22r=whatever[z9r,z10r]=whatever[z5l,z6l]; |
| 16905 |
filldraw z1l---obl(14l,1l,15l)---obl(15l,14l,5rr)---z5rr..z5l---tobl(16l,5l,8ll)---z8ll |
| 16906 |
..z8r---obl(16r,8r,22l)---tobl(22l,16r,10ll)---z10ll..z10r---obl(22r,10r,6ll)---z6ll |
| 16907 |
..z6r---obl(21r,6r,20r)---obl(20r,21r,2l)---z2l..z2r---obl(19r,2r,18r)---obl(18r,19r,4ll) |
| 16908 |
---z4ll..z4r---tobl(17r,4r,9rr)---z9rr..z9l---obl(17l,9l,11r)---tobl(11r,17l,7rr)---z7rr |
| 16909 |
..z7l---obl(11l,7l,3rr)---z3rr..z3l---obl(12l,3l,13l)---obl(13l,12l,1r)---z1r..cycle; |
| 16910 |
infill obl(13r,12r,19l)---obl(19l,13r,18l)---obl(18l,19l,12r)---obl(12r,18l,13r)---cycle; |
| 16911 |
infill obl(15r,14r,21l)---obl(21l,15r,20l)---obl(20l,21l,14r)---obl(14r,20l,15r)---cycle; |
| 16912 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22); labels(7rr,8ll,9rr,10ll); |
| 16913 |
endchar; |
| 16914 |
|
| 16915 |
iff known chars.math_equivalence_parallel_sl: |
| 16916 |
bskchar "Equivalence and slanted parallel sign"; |
| 16917 |
beginchar(chars.math_equivalence_parallel_sl,13u#,v_center(13u#)); uni "non"; %"0x2A68.slant"; |
| 16918 |
italcorr h#*slant-.25u#; |
| 16919 |
adjust_fit(0,0); |
| 16920 |
pickup tiny.nib; oblu.more:=1.5f_obl; |
| 16921 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16922 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16923 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16924 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16925 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16926 |
x3=x5=x1; x4=x6=x2; |
| 16927 |
y3-y5=x_height; |
| 16928 |
top y7=top y9=h; bot y8=bot y10=-d; .5[x8,x9]=.5w; x9-x7=x10-x8=max(3curve,3u); x7-x8=2/3(x9-x7); |
| 16929 |
pos7(rule_thickness,angle(z7-z8)-90); pos8(rule_thickness,angle(z7-z8)-90); |
| 16930 |
pos9(rule_thickness,angle(z7-z8)-90); pos10(rule_thickness,angle(z7-z8)-90); |
| 16931 |
bskpoints(3,4,hair,hair); |
| 16932 |
bskpoints(5,6,hair,hair); |
| 16933 |
bskpoints(7,8,rule_thickness,rule_thickness); bskpoints(9,10,rule_thickness,rule_thickness); |
| 16934 |
z11l=whatever[z7l,z8l]=whatever[z3r,z4r]; z11r=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 16935 |
z12l=whatever[z7l,z8l]=whatever[z3l,z4l]; z12r=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 16936 |
z13l=whatever[z7l,z8l]=whatever[z1r,z2r]; z13r=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 16937 |
z14l=whatever[z7l,z8l]=whatever[z1l,z2l]; z14r=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 16938 |
z15l=whatever[z7l,z8l]=whatever[z5r,z6r]; z15r=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 16939 |
z16l=whatever[z7l,z8l]=whatever[z5l,z6l]; z16r=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 16940 |
z17l=whatever[z9l,z10l]=whatever[z3r,z4r]; z17r=whatever[z9r,z10r]=whatever[z3r,z4r]; |
| 16941 |
z18l=whatever[z9l,z10l]=whatever[z3l,z4l]; z18r=whatever[z9r,z10r]=whatever[z3l,z4l]; |
| 16942 |
z19l=whatever[z9l,z10l]=whatever[z1r,z2r]; z19r=whatever[z9r,z10r]=whatever[z1r,z2r]; |
| 16943 |
z20l=whatever[z9l,z10l]=whatever[z1l,z2l]; z20r=whatever[z9r,z10r]=whatever[z1l,z2l]; |
| 16944 |
z21l=whatever[z9l,z10l]=whatever[z5r,z6r]; z21r=whatever[z9r,z10r]=whatever[z5r,z6r]; |
| 16945 |
z22l=whatever[z9l,z10l]=whatever[z5l,z6l]; z22r=whatever[z9r,z10r]=whatever[z5l,z6l]; |
| 16946 |
filldraw z1l---obl(14l,1l,15l).more---obl(15l,14l,5rr)---z5rr..z5l---tobl(16l,5l,8ll).more---z8ll |
| 16947 |
..z8r---obl(16r,8r,22l)---tobl(22l,16r,10ll).more---z10ll..z10r---obl(22r,10r,6ll)---z6ll |
| 16948 |
..z6r---obl(21r,6r,20r).more---obl(20r,21r,2l)---z2l..z2r---obl(19r,2r,18r).more |
| 16949 |
---obl(18r,19r,4ll)---z4ll..z4r---tobl(17r,4r,9rr).more---z9rr..z9l---obl(17l,9l,11r) |
| 16950 |
---tobl(11r,17l,7rr).more---z7rr..z7l---obl(11l,7l,3rr)---z3rr..z3l |
| 16951 |
---obl(12l,3l,13l).more---obl(13l,12l,1r)---z1r..cycle; |
| 16952 |
infill obl(13r,12r,19l).more---obl(19l,13r,18l)---obl(18l,19l,12r).more---obl(12r,18l,13r)---cycle; |
| 16953 |
infill obl(15r,14r,21l).more---obl(21l,15r,20l)---obl(20l,21l,14r).more---obl(14r,20l,15r)---cycle; |
| 16954 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22); labels(7rr,8ll,9rr,10ll); |
| 16955 |
endchar; |
| 16956 |
|
| 16957 |
iff known chars.math_equivalence_triple: |
| 16958 |
bskchar "Equivalence with triple vertical line"; |
| 16959 |
beginchar(chars.math_equivalence_triple,13u#,v_center(13u#)); uni "0x2A69"; |
| 16960 |
italcorr h#*slant-.25u#; |
| 16961 |
adjust_fit(0,0); |
| 16962 |
pickup tiny.nib; |
| 16963 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 16964 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 16965 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 16966 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 16967 |
pos9(rule_thickness,0); pos10(rule_thickness,0); |
| 16968 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 16969 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 16970 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 16971 |
x3=x5=x1; x4=x6=x2; |
| 16972 |
y3-y5=x_height; |
| 16973 |
top y7=top y9=top y11=h; bot y8=bot y10=bot y12=-d; |
| 16974 |
x7=x8; x9=x10; x11=x12; .5[x7,x9]=.5w; x9-x11=x11-x7=max(2curve,2u); |
| 16975 |
bskpoints(3,4,hair,hair); |
| 16976 |
bskpoints(5,6,hair,hair); |
| 16977 |
bskpoints(7,8,rule_thickness,rule_thickness); bskpoints(9,10,rule_thickness,rule_thickness); |
| 16978 |
bskpoints(11,12,rule_thickness,rule_thickness); |
| 16979 |
z13l=whatever[z7l,z8l]=whatever[z3r,z4r]; z13r=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 16980 |
z14l=whatever[z7l,z8l]=whatever[z3l,z4l]; z14r=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 16981 |
z15l=whatever[z7l,z8l]=whatever[z1r,z2r]; z15r=whatever[z7r,z8r]=whatever[z1r,z2r]; |
| 16982 |
z16l=whatever[z7l,z8l]=whatever[z1l,z2l]; z16r=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 16983 |
z17l=whatever[z7l,z8l]=whatever[z5r,z6r]; z17r=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 16984 |
z18l=whatever[z7l,z8l]=whatever[z5l,z6l]; z18r=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 16985 |
z19l=whatever[z9l,z10l]=whatever[z3r,z4r]; z19r=whatever[z9r,z10r]=whatever[z3r,z4r]; |
| 16986 |
z20l=whatever[z9l,z10l]=whatever[z3l,z4l]; z20r=whatever[z9r,z10r]=whatever[z3l,z4l]; |
| 16987 |
z21l=whatever[z9l,z10l]=whatever[z1r,z2r]; z21r=whatever[z9r,z10r]=whatever[z1r,z2r]; |
| 16988 |
z22l=whatever[z9l,z10l]=whatever[z1l,z2l]; z22r=whatever[z9r,z10r]=whatever[z1l,z2l]; |
| 16989 |
z23l=whatever[z9l,z10l]=whatever[z5r,z6r]; z23r=whatever[z9r,z10r]=whatever[z5r,z6r]; |
| 16990 |
z24l=whatever[z9l,z10l]=whatever[z5l,z6l]; z24r=whatever[z9r,z10r]=whatever[z5l,z6l]; |
| 16991 |
z25l=whatever[z11l,z12l]=whatever[z3r,z4r]; z25r=whatever[z11r,z12r]=whatever[z3r,z4r]; |
| 16992 |
z26l=whatever[z11l,z12l]=whatever[z3l,z4l]; z26r=whatever[z11r,z12r]=whatever[z3l,z4l]; |
| 16993 |
z27l=whatever[z11l,z12l]=whatever[z1r,z2r]; z27r=whatever[z11r,z12r]=whatever[z1r,z2r]; |
| 16994 |
z28l=whatever[z11l,z12l]=whatever[z1l,z2l]; z28r=whatever[z11r,z12r]=whatever[z1l,z2l]; |
| 16995 |
z29l=whatever[z11l,z12l]=whatever[z5r,z6r]; z29r=whatever[z11r,z12r]=whatever[z5r,z6r]; |
| 16996 |
z30l=whatever[z11l,z12l]=whatever[z5l,z6l]; z30r=whatever[z11r,z12r]=whatever[z5l,z6l]; |
| 16997 |
filldraw z1l---obl(16l,1l,17l)---obl(17l,16l,5rr)---z5rr..z5l---tobl(18l,5l,8ll)---z8ll |
| 16998 |
..z8r---obl(18r,8r,30l)---tobl(30l,18r,12ll)---z12ll..z12r---obl(30r,12r,24l) |
| 16999 |
---tobl(24l,18r,10ll)---z10ll..z10r---obl(24r,10r,6ll)---z6ll..z6r---obl(23r,6r,22r) |
| 17000 |
---obl(22r,23r,2l)---z2l..z2r---obl(21r,2r,20r)---obl(20r,21r,4ll)---z4ll..z4r |
| 17001 |
---tobl(19r,4r,9rr)---z9rr..z9l---obl(19l,9l,25r)---tobl(25r,19l,11rr)---z11rr |
| 17002 |
..z11l---obl(25l,11l,13r)---tobl(13r,19l,7rr)---z7rr..z7l---obl(13l,7l,3rr)---z3rr |
| 17003 |
..z3l---obl(14l,3l,15l)---obl(15l,14l,1r)---z1r..cycle; |
| 17004 |
infill obl(15r,14r,27l)---obl(27l,15r,26l)---obl(26l,27l,14r)---obl(14r,26l,15r)---cycle; |
| 17005 |
infill obl(17r,16r,29l)---obl(29l,17r,28l)---obl(28l,29l,16r)---obl(16r,28l,17r)---cycle; |
| 17006 |
infill obl(27r,26r,21l)---obl(21l,27r,20l)---obl(20l,21l,26r)---obl(26r,20l,27r)---cycle; |
| 17007 |
infill obl(29r,28r,23l)---obl(23l,29r,22l)---obl(22l,23l,28r)---obl(28r,22l,29r)---cycle; |
| 17008 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,22,23,24,25,26,27,28,29,30); |
| 17009 |
labels(7rr,8ll,9rr,10ll,11rr,12ll); |
| 17010 |
endchar; |
| 17011 |
|
| 17012 |
iff known chars.math_equivalence_dot: |
| 17013 |
bskchar "Equivalence sign with dot"; |
| 17014 |
beginchar(chars.math_equivalence_dot,13u#,.5x_height#+2.5rule_thickness#+dot_size#+math_axis#,.5x_height#+.5rule_thickness#-math_axis#); uni "0x2A67"; |
| 17015 |
italcorr h#*slant-.25u#; |
| 17016 |
adjust_fit(0,0); |
| 17017 |
pickup tiny.nib; |
| 17018 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 17019 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 17020 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 17021 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 17022 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 17023 |
x3=x5=x1; x4=x6=x2; |
| 17024 |
y3-y5=x_height; |
| 17025 |
x7=.5w; top y7=h+o; |
| 17026 |
bskpoints(3,4,hair,hair); |
| 17027 |
bskpoints(5,6,hair,hair); |
| 17028 |
filldraw z1l---z2l..z2r---z1r..cycle; |
| 17029 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 17030 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 17031 |
dot(7); |
| 17032 |
penlabels(1,2,3,4,5,6); |
| 17033 |
endchar; |
| 17034 |
|
| 17035 |
iff known chars.math_equivalence_dot_four: |
| 17036 |
bskchar "Four-dotted equivalence sign"; |
| 17037 |
beginchar(chars.math_equivalence_dot_four,13u#,.5x_height#+2.5rule_thickness#+dot_size#+math_axis#,.5x_height#+.5rule_thickness#-math_axis#); uni "0x2A78"; |
| 17038 |
italcorr h#*slant-.25u#; |
| 17039 |
adjust_fit(0,0); |
| 17040 |
pickup tiny.nib; |
| 17041 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 17042 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 17043 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 17044 |
lft x1=u; rt x2=w-u; y1=y2=math_axis; |
| 17045 |
y3=y4; y5=y6; .5[y3,y5]=y1; |
| 17046 |
x3=x5=x1; x4=x6=x2; |
| 17047 |
y3-y5=x_height; |
| 17048 |
top y7=h+o; y7=y8=y9=y10; x10-x9=x9-x8=x8-x7; .5[x7,x10]=.5w; x7=u+dot_size; |
| 17049 |
bskpoints(3,4,hair,hair); |
| 17050 |
bskpoints(5,6,hair,hair); |
| 17051 |
filldraw z1l---z2l..z2r---z1r..cycle; |
| 17052 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 17053 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 17054 |
dot(7); dot(8); dot(9); dot(10); |
| 17055 |
penlabels(1,2,3,4,5,6); |
| 17056 |
endchar; |
| 17057 |
|
| 17058 |
iff known chars.math_equivalence_strict: |
| 17059 |
bskchar "Strict equivalence sign"; |
| 17060 |
beginchar(chars.math_equivalence_strict,13u#,v_center(1.5x_height#+rule_thickness#)); uni "0x2263"; |
| 17061 |
italcorr h#*slant-.25u#; |
| 17062 |
adjust_fit(0,0); |
| 17063 |
pickup tiny.nib; |
| 17064 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 17065 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 17066 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 17067 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 17068 |
lft x1=u; rt x2=w-u; |
| 17069 |
y1=y2; y3=y4; y5=y6; y7=y8; .5[y1,y7]=.5[y3,y5]=math_axis; |
| 17070 |
x3=x5=x7=x1; x4=x6=x8=x2; |
| 17071 |
y1-y3=y3-y5; top y1r=h; |
| 17072 |
bskpoints(3,4,hair,hair); |
| 17073 |
bskpoints(5,6,hair,hair); |
| 17074 |
bskpoints(7,8,hair,hair); |
| 17075 |
filldraw z1l---z2l..z2r---z1r..cycle; |
| 17076 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 17077 |
filldraw z5rr..z5l---z6ll..z6r---cycle; |
| 17078 |
filldraw z7l---z8l..z8r---z7r..cycle; |
| 17079 |
penlabels(1,2,3,4,5,6); |
| 17080 |
endchar; |
| 17081 |
|
| 17082 |
iff known chars.math_circle_op: |
| 17083 |
bskchar "Circle operator"; |
| 17084 |
beginchar(chars.math_circle_op,8u#,v_center(6u#)); uni "0x2218"; |
| 17085 |
adjust_fit(0,0); |
| 17086 |
pickup tiny.nib; |
| 17087 |
z0=(.5w,math_axis); |
| 17088 |
filldraw fullcircle scaled (w-rt 2u) shifted z0; |
| 17089 |
infill fullcircle scaled (w-rt 2u-rule_thickness+.5currentbreadth) shifted z0; |
| 17090 |
endchar; |
| 17091 |
|
| 17092 |
iff known chars.math_bullet: |
| 17093 |
bskchar "Bullet"; |
| 17094 |
beginchar(chars.math_bullet,8u#,v_center(6u#)); uni "0x2219"; |
| 17095 |
adjust_fit(0,0); |
| 17096 |
pickup tiny.nib; |
| 17097 |
z0=(.5w,math_axis); |
| 17098 |
filldraw fullcircle scaled (w-rt 2u) shifted z0; |
| 17099 |
endchar; |
| 17100 |
|
| 17101 |
iff known chars.sign_bullet: |
| 17102 |
bskchar "Bullet sign"; |
| 17103 |
beginchar(chars.sign_bullet,6.5u#,x_height#,0); uni "0x2022"; |
| 17104 |
adjust_fit(0,0); |
| 17105 |
pickup tiny.nib; |
| 17106 |
z0=(.5w,bar_height); |
| 17107 |
filldraw fullcircle scaled (w-rt 2u) shifted z0; |
| 17108 |
endchar; |
| 17109 |
|
| 17110 |
iff known chars.sign_bullet_triangle: |
| 17111 |
bskchar "Triangle bullet"; |
| 17112 |
beginchar(chars.sign_bullet_triangle,6.5u#,x_height#,0); uni "0x2023"; |
| 17113 |
adjust_fit(0,0); |
| 17114 |
pickup tiny.nib; |
| 17115 |
numeric lw; |
| 17116 |
lw=rule_thickness-currentbreadth; |
| 17117 |
lft x1=u; x2=x1; y3=.5[y1,y2]=bar_height; rt x3=w-u+hair; |
| 17118 |
top y1=h; |
| 17119 |
x1'=x2'=x1+lw; |
| 17120 |
y1'-y1=y2-y2'=-lw/cosd(angle(z3-z1)); |
| 17121 |
z3'=z2'+whatever*(z3-z2)=z1'+whatever*(z3-z1); |
| 17122 |
filldraw obl(1,3,2)---obl(2,1,3)---obl(3,2,1)---cycle; |
| 17123 |
labels(1,1',2,2',3,3'); |
| 17124 |
endchar; |
| 17125 |
|
| 17126 |
iff known chars.sign_bullet_hyphen: |
| 17127 |
bskchar "Hyphen bullet"; |
| 17128 |
beginchar(chars.sign_bullet_hyphen,6.5u#,x_height#,0); uni "0x2043"; |
| 17129 |
italcorr .5x_height#*slant-.5u#; |
| 17130 |
adjust_fit(0,0); |
| 17131 |
pickup tiny.nib; |
| 17132 |
pos1(stem+rule_thickness,90); pos2(stem+rule_thickness,90); |
| 17133 |
y1=y2=bar_height; x2=w-x1; |
| 17134 |
lft x1=.5u+.5rule_thickness+.5stem; |
| 17135 |
filldraw bskrule(1,2,hair,hair); |
| 17136 |
penlabels(1,2); |
| 17137 |
endchar; |
| 17138 |
|
| 17139 |
iff known chars.math_diamond_op: |
| 17140 |
bskchar "Diamond operator"; |
| 17141 |
beginchar(chars.math_diamond_op,9u#,v_center(7u#)); uni "0x22C4"; |
| 17142 |
italcorr math_axis#*slant-.25u#; |
| 17143 |
adjust_fit(0,0); |
| 17144 |
pickup tiny.nib; |
| 17145 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17146 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; |
| 17147 |
y4-y2=x3-x1; |
| 17148 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17149 |
oblu:=2oblu; |
| 17150 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 17151 |
penlabels(1,2,3,4); |
| 17152 |
endchar; |
| 17153 |
|
| 17154 |
iff known chars.math_diamond_op_dot: |
| 17155 |
bskchar "Diamond operator with dot"; |
| 17156 |
beginchar(chars.math_diamond_op_dot,9u#,v_center(7u#)); uni "non"; |
| 17157 |
adjust_fit(0,0); |
| 17158 |
pickup tiny.nib; |
| 17159 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17160 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; |
| 17161 |
y4-y2=x3-x1; |
| 17162 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17163 |
infill fullcircle scaled (x2-x1) shifted .5[z1,z3]; |
| 17164 |
penlabels(1,2,3,4); |
| 17165 |
endchar; |
| 17166 |
|
| 17167 |
iff known chars.math_diamond: |
| 17168 |
bskchar "Diamond"; |
| 17169 |
beginchar(chars.math_diamond,10u#,asc_height#,rule_thickness#); uni "non"; |
| 17170 |
adjust_fit(0,0); |
| 17171 |
pickup tiny.nib; |
| 17172 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17173 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=.5[h,-d]; x2=x4=.5w; y4l=h+o; |
| 17174 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17175 |
oblu:=2oblu; |
| 17176 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 17177 |
penlabels(1,2,3,4); |
| 17178 |
endchar; |
| 17179 |
|
| 17180 |
iff known chars.math_diamond_dot: |
| 17181 |
bskchar "Diamond with dot"; |
| 17182 |
beginchar(chars.math_diamond_dot,10u#,asc_height#,rule_thickness#); uni "non"; |
| 17183 |
adjust_fit(0,0); |
| 17184 |
pickup tiny.nib; |
| 17185 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17186 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=.5[h,-d]; x2=x4=.5w; y4l=h+o; |
| 17187 |
z0=.5[z1,z3]; |
| 17188 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17189 |
oblu:=2oblu; |
| 17190 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 17191 |
dot(0); |
| 17192 |
penlabels(1,2,3,4); |
| 17193 |
endchar; |
| 17194 |
|
| 17195 |
iff known chars.math_diamond_black: |
| 17196 |
bskchar "Black diamond"; |
| 17197 |
beginchar(chars.math_diamond_black,10u#,asc_height#,rule_thickness#); uni "non"; |
| 17198 |
adjust_fit(0,0); |
| 17199 |
pickup tiny.nib; |
| 17200 |
lft x1=u; rt x3=w-u; y1=y3=.5[y2,y4]=.5[h,-d]; x2=x4=.5w; y4=h+o; |
| 17201 |
filldraw obl(1,4,2)---obl(2,1,3)--obl(3,2,4)---obl(4,3,1)---cycle; |
| 17202 |
labels(1,2,3,4); |
| 17203 |
endchar; |
| 17204 |
|
| 17205 |
iff known chars.math_diamond_uni: |
| 17206 |
bskchar "Diamond (for Unicode)"; |
| 17207 |
beginchar(chars.math_diamond_uni,14u#,asc_height#,rule_thickness#); uni "0x25C7"; |
| 17208 |
adjust_fit(0,0); |
| 17209 |
pickup tiny.nib; |
| 17210 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17211 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=.5[h,-d]; x2=x4=.5w; y4l=h+o; |
| 17212 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17213 |
oblu:=2oblu; |
| 17214 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 17215 |
penlabels(1,2,3,4); |
| 17216 |
endchar; |
| 17217 |
|
| 17218 |
iff known chars.math_diamond_dot_uni: |
| 17219 |
bskchar "Diamond with dot (for Unicode)"; |
| 17220 |
beginchar(chars.math_diamond_dot_uni,14u#,asc_height#,rule_thickness#); uni "0x27D0"; |
| 17221 |
adjust_fit(0,0); |
| 17222 |
pickup tiny.nib; |
| 17223 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 17224 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=.5[h,-d]; x2=x4=.5w; y4l=h+o; |
| 17225 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 17226 |
oblu:=2oblu; |
| 17227 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 17228 |
z0=.5[z1,z3]; |
| 17229 |
dot(0); |
| 17230 |
penlabels(1,2,3,4); |
| 17231 |
endchar; |
| 17232 |
|
| 17233 |
iff known chars.math_asterisk: |
| 17234 |
bskchar "Asterisk on axis"; |
| 17235 |
beginchar(chars.math_asterisk,8u#,v_center(x_height#)); uni "0x2217"; |
| 17236 |
adjust_fit(0,0); |
| 17237 |
pickup tiny.nib; |
| 17238 |
numeric size, ast, vast; |
| 17239 |
path p; |
| 17240 |
z0=(.5w,math_axis); ast:=3/4stem; vast=.7stem; |
| 17241 |
pos1(ast,0); x1=x0; |
| 17242 |
size=1/3h; if (size+.5ast)*cosd(30) > (lft w)-u-x0: |
| 17243 |
size:= (lft w-u-x0)/cosd(30)-.5ast; fi; |
| 17244 |
y1=y0+size; |
| 17245 |
p:=z0---z1r{dir120}..z1l---z0; |
| 17246 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 17247 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 17248 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 17249 |
labels(0); penlabels(1); |
| 17250 |
endchar; |
| 17251 |
|
| 17252 |
iff known chars.math_asterisk_big: |
| 17253 |
bskchar "Big asterisk on axis"; |
| 17254 |
beginchar(chars.math_asterisk_big,13u#,v_center(12u#)); uni "non"; |
| 17255 |
adjust_fit(0,0); |
| 17256 |
pickup tiny.nib; |
| 17257 |
numeric size, ast, vast; |
| 17258 |
path p; |
| 17259 |
z0=(.5w,math_axis); ast:=2rule_thickness; vast=2rule_thickness; |
| 17260 |
pos1(ast,0); x1=x0; |
| 17261 |
size=1/2h; if (size+.5ast)*cosd(30) > (lft w)-u-x0: |
| 17262 |
size:= (lft w-u-x0)/cosd(30)-.5ast; fi; |
| 17263 |
y1=y0+size; |
| 17264 |
p:=z0---z1r{dir120}..z1l---z0; |
| 17265 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 17266 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 17267 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 17268 |
labels(0); penlabels(1); |
| 17269 |
endchar; |
| 17270 |
|
| 17271 |
iff known chars.math_convolution: |
| 17272 |
bskchar "Convolution sign"; |
| 17273 |
beginchar(chars.math_convolution,10u#,v_center(8u#)); uni "non"; |
| 17274 |
adjust_fit(0,0); |
| 17275 |
pickup tiny.nib; |
| 17276 |
oblu:=2oblu; |
| 17277 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 17278 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 17279 |
pos5(rule_thickness,-45); pos6(rule_thickness,-45); |
| 17280 |
pos7(rule_thickness,45); pos8(rule_thickness,45); |
| 17281 |
y1=y2=.5[y3,y4]=math_axis; .5[x1,x2]=x3=x4=.5w; .5[z5,z6]=.5[z7,z8]=(x3,y1); |
| 17282 |
z5-z6=(z2-z1) rotated 45; z7-z8=(z2-z1) rotated -45; |
| 17283 |
x1=u+.5rule_thickness; y4-y3=x2-x1; |
| 17284 |
z1'=whatever[z1l,z2l]=whatever[z5l,z6l]; |
| 17285 |
z2'=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 17286 |
z3'=whatever[z3r,z4r]=whatever[z7l,z8l]; |
| 17287 |
z4'=whatever[z7r,z8r]=whatever[z1l,z2l]; |
| 17288 |
z5'=whatever[z1r,z2r]=whatever[z5r,z6r]; |
| 17289 |
z6'=whatever[z3r,z4r]=whatever[z5l,z6l]; |
| 17290 |
z7'=whatever[z3l,z4l]=whatever[z7r,z8r]; |
| 17291 |
z8'=whatever[z1r,z2r]=whatever[z7l,z8l]; |
| 17292 |
bskpoints(1,2,hair,hair); bskpoints(3,4,hair,hair); |
| 17293 |
filldraw z1l---obl(1',1l,6l)---z6l..z6r---obl(2',6r,3l)---z3l..z3rr |
| 17294 |
---obl(3',3rr,7l)---z7l..z7r---obl(4',7r,2ll)---z2ll..z2r |
| 17295 |
---obl(5',2r,5r)---z5r..z5l---obl(6',5l,4r)---z4r..z4ll |
| 17296 |
---obl(7',4ll,8r)---z8r..z8l---obl(8',8l,1rr)---z1rr..cycle; |
| 17297 |
penlabels(1,2,3,4,5,6,7,8); labels(1',2',3',4',5',6',1rr,2ll,3rr,4ll); |
| 17298 |
endchar; |
| 17299 |
|
| 17300 |
iff known chars.math_diamond_curved_dot: |
| 17301 |
bskchar "Curved diamond with dot"; |
| 17302 |
beginchar(chars.math_diamond_curved_dot,9u#,v_center(7u#)); uni "non"; |
| 17303 |
adjust_fit(0,0); |
| 17304 |
pickup tiny.nib; |
| 17305 |
numeric st; st:=rule_thickness; |
| 17306 |
pos1(st,0); pos2(st,90); pos3(st,180); pos4(st,270); |
| 17307 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; |
| 17308 |
z0=.5[z1,z3]; |
| 17309 |
y4-y2=x3-x1; |
| 17310 |
filldraw z1l.. .75[z0,.5[z1,z2]] ..z2l& z2l.. .75[z0,.5[z3,z2]] ..z3l& z3l.. .75[z0,.5[z3,z4]] ..z4l& z4l.. .75[z0,.5[z1,z4]] ..z1l&cycle; |
| 17311 |
infill fullcircle scaled (x2-x1) shifted .5[z1,z3]; |
| 17312 |
penlabels(1,2,3,4); labels(0); |
| 17313 |
endchar; |
| 17314 |
|
| 17315 |
iff known chars.math_circle_minus: |
| 17316 |
bskchar "Circle-minus operator"; |
| 17317 |
beginarithchar(chars.math_circle_minus); uni "0x2296"; |
| 17318 |
adjust_fit(0,0); |
| 17319 |
pickup tiny.nib; |
| 17320 |
numeric tim[]; oblu:=2oblu; |
| 17321 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 17322 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17323 |
y9=y10=y2; x9-x6r=x2r-x10=curve; |
| 17324 |
circle_points(rule_thickness); |
| 17325 |
path p; |
| 17326 |
filldraw draw_circle.l; |
| 17327 |
p:=subpath (-2,2) of (draw_circle.r); |
| 17328 |
tim1=xpart(p intersectiontimes ((0,y9r)--(x4,y9r))); |
| 17329 |
tim2=xpart(p intersectiontimes ((x4,y9r)--(w,y9r))); |
| 17330 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z10r---z9r..cycle; |
| 17331 |
p:=subpath (2,6) of (draw_circle.r); |
| 17332 |
tim3=xpart(p intersectiontimes ((x4,y9l)--(w,y9l))); |
| 17333 |
tim4=xpart(p intersectiontimes ((x4,y9l)--(0,y9l))); |
| 17334 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z9l---z10l..cycle; |
| 17335 |
penlabels(9,10); |
| 17336 |
endchar; |
| 17337 |
|
| 17338 |
iff known chars.math_circle_bar_top: |
| 17339 |
bskchar "Circle-bar top operator"; |
| 17340 |
beginarithchar(chars.math_circle_bar_top); uni "non"; |
| 17341 |
adjust_fit(0,0); |
| 17342 |
pickup tiny.nib; |
| 17343 |
numeric tim[]; oblu:=2oblu; |
| 17344 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 17345 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 17346 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17347 |
y9=y10=y2; x9-x6r=x2r-x10=curve; z12=.5[z9r,z10r]; z11=z8+curve*down; |
| 17348 |
circle_points(rule_thickness); |
| 17349 |
path p; |
| 17350 |
filldraw draw_circle.l; |
| 17351 |
p:=subpath (-2,2) of (draw_circle.r); |
| 17352 |
tim1=xpart(p intersectiontimes (z11r--(x11r,2h))); |
| 17353 |
tim2=xpart(p intersectiontimes ((x4,y9r)--(w,y9r))); |
| 17354 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z10r---obl(12r,10r,11r)---z11r..cycle; |
| 17355 |
p:=subpath (-3,1) of (draw_circle.r); |
| 17356 |
tim3=xpart(p intersectiontimes ((0,y9r)--(x4,y9r))); |
| 17357 |
tim4=xpart(p intersectiontimes (z11l--(x11l,2h))); |
| 17358 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(12l,11l,9r)---z9r..cycle; |
| 17359 |
p:=subpath (2,6) of (draw_circle.r); |
| 17360 |
tim5=xpart(p intersectiontimes ((x4,y9l)--(w,y9l))); |
| 17361 |
tim6=xpart(p intersectiontimes ((x4,y9l)--(0,y9l))); |
| 17362 |
infill subpath (rundy(p,tim5),rundy(p,tim6).zpet) of p..z9l---z10l..cycle; |
| 17363 |
penlabels(9,10,11,12); |
| 17364 |
endchar; |
| 17365 |
|
| 17366 |
iff known chars.math_circle_bar_bot: |
| 17367 |
bskchar "Circle-bar bot operator"; |
| 17368 |
beginarithchar(chars.math_circle_bar_bot); uni "non"; |
| 17369 |
adjust_fit(0,0); |
| 17370 |
pickup tiny.nib; |
| 17371 |
numeric tim[]; oblu:=2oblu; |
| 17372 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 17373 |
pos11(rule_thickness,0); pos12(rule_thickness,0); |
| 17374 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17375 |
y9=y10=y2; x9-x6r=x2r-x10=curve; z12=.5[z9l,z10l]; z11=z4+curve*up; |
| 17376 |
circle_points(rule_thickness); |
| 17377 |
path p; |
| 17378 |
filldraw draw_circle.l; |
| 17379 |
p:=subpath (-2,2) of (draw_circle.r); |
| 17380 |
tim1=xpart(p intersectiontimes ((0,y9r)--(x4,y9r))); |
| 17381 |
tim2=xpart(p intersectiontimes ((x4,y9r)--(w,y9r))); |
| 17382 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z10r---z9r..cycle; |
| 17383 |
p:=subpath (2,5) of (draw_circle.r); |
| 17384 |
tim3=xpart(p intersectiontimes (z11r--(x11r,-d))); |
| 17385 |
tim4=xpart(p intersectiontimes ((x4,y9l)--(w,y9l))); |
| 17386 |
infill subpath (rundy(p,tim4),rundy(p,tim3).zpet) of p..z11r---obl(12r,11r,10l)---z10l..cycle; |
| 17387 |
p:=subpath (3,7) of (draw_circle.r); |
| 17388 |
tim5=xpart(p intersectiontimes ((0,y9l)--(x4,y9l))); |
| 17389 |
tim6=xpart(p intersectiontimes (z11l--(x11l,-d))); |
| 17390 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z9l---obl(12l,9l,11l)---z11l..cycle; |
| 17391 |
penlabels(9,10,11,12); |
| 17392 |
endchar; |
| 17393 |
|
| 17394 |
iff known chars.math_circle_divide: |
| 17395 |
bskchar "Circle-divide operator"; |
| 17396 |
beginarithchar(chars.math_circle_divide); uni "0x2298"; |
| 17397 |
adjust_fit(0,0); |
| 17398 |
pickup tiny.nib; |
| 17399 |
numeric tim[]; oblu:=2oblu; |
| 17400 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17401 |
circle_points(rule_thickness); |
| 17402 |
pos9(rule_thickness,angle(direction 1 of _circle_path)); |
| 17403 |
pos10(rule_thickness,angle(direction 5 of _circle_path)+180); |
| 17404 |
z9=z1+curve*unitvector(z5-z1); z10=z5+curve*unitvector(z1-z5); |
| 17405 |
path p; |
| 17406 |
filldraw draw_circle.l; |
| 17407 |
p:=subpath (-3,1) of (draw_circle.r); |
| 17408 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17409 |
tim2=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17410 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z9l---z10l..cycle; |
| 17411 |
p:=subpath (1,5) of (draw_circle.r); |
| 17412 |
tim4=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17413 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17414 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z10r---z9r..cycle; |
| 17415 |
penlabels(9,10); |
| 17416 |
endchar; |
| 17417 |
|
| 17418 |
iff known chars.math_circle_set_minus: |
| 17419 |
bskchar "Circle-set minus operator"; |
| 17420 |
beginarithchar(chars.math_circle_set_minus); uni "0x29B8"; |
| 17421 |
adjust_fit(0,0); |
| 17422 |
pickup tiny.nib; |
| 17423 |
numeric tim[]; oblu:=2oblu; |
| 17424 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17425 |
circle_points(rule_thickness); |
| 17426 |
pos9(rule_thickness,angle(direction 3 of _circle_path)); |
| 17427 |
pos10(rule_thickness,angle(direction 7 of _circle_path)+180); |
| 17428 |
z9=z3+curve*unitvector(z7-z3); z10=z7+curve*unitvector(z3-z7); |
| 17429 |
path p; |
| 17430 |
filldraw draw_circle.l; |
| 17431 |
p:=subpath (-2,4) of (draw_circle.r); |
| 17432 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17433 |
tim2=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17434 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z9l---z10l..cycle; |
| 17435 |
p:=subpath (3,8) of (draw_circle.r); |
| 17436 |
tim4=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17437 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17438 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z10r---z9r..cycle; |
| 17439 |
penlabels(9,10); |
| 17440 |
endchar; |
| 17441 |
|
| 17442 |
iff known chars.math_circle_vbar: |
| 17443 |
bskchar "Circle-vertical bar operator"; |
| 17444 |
beginarithchar(chars.math_circle_vbar); uni "0x29B6"; |
| 17445 |
adjust_fit(0,0); |
| 17446 |
pickup tiny.nib; |
| 17447 |
numeric tim[]; oblu:=2oblu; |
| 17448 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17449 |
circle_points(rule_thickness); |
| 17450 |
pos9(rule_thickness,180); |
| 17451 |
pos10(rule_thickness,180); |
| 17452 |
z9=z4+curve*unitvector(z8-z4); z10=z8+curve*unitvector(z4-z8); |
| 17453 |
path p; |
| 17454 |
filldraw draw_circle.l; |
| 17455 |
p:=subpath (-1,5) of (draw_circle.r); |
| 17456 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17457 |
tim2=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17458 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z9l---z10l..cycle; |
| 17459 |
p:=subpath (3,9) of (draw_circle.r); |
| 17460 |
tim4=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17461 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17462 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z10r---z9r..cycle; |
| 17463 |
penlabels(9,10); |
| 17464 |
endchar; |
| 17465 |
|
| 17466 |
iff known chars.math_circle_bar_right: |
| 17467 |
bskchar "Circle-bar right operator"; |
| 17468 |
beginarithchar(chars.math_circle_bar_right); uni "non"; |
| 17469 |
adjust_fit(0,0); |
| 17470 |
pickup tiny.nib; |
| 17471 |
numeric tim[]; oblu:=2oblu; |
| 17472 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17473 |
circle_points(rule_thickness); |
| 17474 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 17475 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 17476 |
z9=z4+curve*unitvector(z8-z4); z10=z8+curve*unitvector(z4-z8); |
| 17477 |
z12=.5[z9l,z10l]; z11=z2+curve*left; |
| 17478 |
path p; |
| 17479 |
filldraw draw_circle.l; |
| 17480 |
p:=subpath (-1,3) of (draw_circle.r); |
| 17481 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17482 |
tim2=xpart(p intersectiontimes (z11r--(w,y11r))); |
| 17483 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z11r---obl(12r,11r,10l)---z10l..cycle; |
| 17484 |
p:=subpath (2,5) of (draw_circle.r); |
| 17485 |
tim3=xpart(p intersectiontimes (z11l--(w,y11l))); |
| 17486 |
tim4=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17487 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z9l---obl(12l,9l,11l)---z11l..cycle; |
| 17488 |
p:=subpath (3,9) of (draw_circle.r); |
| 17489 |
tim6=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17490 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17491 |
infill subpath (rundy(p,tim5),rundy(p,tim6).zpet) of p..z10r---z9r..cycle; |
| 17492 |
penlabels(9,10,11,12); |
| 17493 |
endchar; |
| 17494 |
|
| 17495 |
iff known chars.math_circle_bar_left: |
| 17496 |
bskchar "Circle-bar left operator"; |
| 17497 |
beginarithchar(chars.math_circle_bar_left); uni "non"; |
| 17498 |
adjust_fit(0,0); |
| 17499 |
pickup tiny.nib; |
| 17500 |
numeric tim[]; oblu:=2oblu; |
| 17501 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17502 |
circle_points(rule_thickness); |
| 17503 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 17504 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 17505 |
z9=z4+curve*unitvector(z8-z4); z10=z8+curve*unitvector(z4-z8); |
| 17506 |
z12=.5[z10r,z9r]; z11=z6+curve*right; |
| 17507 |
path p; |
| 17508 |
filldraw draw_circle.l; |
| 17509 |
p:=subpath (-1,5) of (draw_circle.r); |
| 17510 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17511 |
tim2=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17512 |
infill subpath (rundy(p,tim1),rundy(p,tim2).zpet) of p..z9l---z10l..cycle; |
| 17513 |
p:=subpath (3,7) of (draw_circle.r); |
| 17514 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17515 |
tim4=xpart(p intersectiontimes (z11l--(0,y11l))); |
| 17516 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(12l,11l,9r)---z9r..cycle; |
| 17517 |
p:=subpath (5,9) of (draw_circle.r); |
| 17518 |
tim6=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17519 |
tim5=xpart(p intersectiontimes (z11r--(0,y11r))); |
| 17520 |
infill subpath (rundy(p,tim5),rundy(p,tim6).zpet) of p..z10r---obl(12r,10r,11r)---z11r..cycle; |
| 17521 |
penlabels(9,10,11,12); |
| 17522 |
endchar; |
| 17523 |
|
| 17524 |
iff known chars.math_circle_dot: |
| 17525 |
bskchar "Circle-dot operator"; |
| 17526 |
beginarithchar(chars.math_circle_dot); uni "0x2299"; |
| 17527 |
adjust_fit(0,0); |
| 17528 |
pickup tiny.nib; |
| 17529 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17530 |
y2=y0; x0=x8; |
| 17531 |
circle_points(rule_thickness); |
| 17532 |
filldraw draw_circle.l; |
| 17533 |
infill draw_circle.r; |
| 17534 |
dot(0); |
| 17535 |
endchar; |
| 17536 |
|
| 17537 |
iff known chars.math_circle_dot_uni: |
| 17538 |
bskchar "N-ary circle-dot operator (for Unicode)"; |
| 17539 |
beginchar(chars.math_circle_dot_uni,14u#,v_center(10/6dh#)); uni "0x2A00"; |
| 17540 |
adjust_fit(0,0); |
| 17541 |
pickup tiny.nib; |
| 17542 |
lft x6=u; x2=w-x6; y2=y0=.5[h,-d]; x0=x8; y8-y4=x2-x6; |
| 17543 |
circle_points(stem); |
| 17544 |
filldraw draw_circle.l; |
| 17545 |
infill draw_circle.r; |
| 17546 |
filldraw fullcircle scaled 2stem shifted z0; |
| 17547 |
endchar; |
| 17548 |
|
| 17549 |
iff known chars.math_circle_dot_text: |
| 17550 |
bskchar "\textstyle circle-dot operator"; |
| 17551 |
beginchar(chars.math_circle_dot_text,14u#,0,10/6dh#); uni "non"; |
| 17552 |
adjust_fit(0,0); |
| 17553 |
pickup tiny.nib; |
| 17554 |
lft x6=u; x2=w-x6; y2=y0=.5[h,-d]; x0=x8; y8-y4=x2-x6; |
| 17555 |
circle_points(stem); |
| 17556 |
filldraw draw_circle.l; |
| 17557 |
infill draw_circle.r; |
| 17558 |
filldraw fullcircle scaled 2stem shifted z0; |
| 17559 |
endchar; |
| 17560 |
|
| 17561 |
iff known chars.math_circle_dot_disp: |
| 17562 |
bskchar "\displaystyle circle-dot operator"; |
| 17563 |
beginchar(chars.math_circle_dot_disp,20u#,0,14/6dh#); uni "non"; |
| 17564 |
adjust_fit(0,0); |
| 17565 |
pickup tiny.nib; |
| 17566 |
lft x6=u; x2=w-x6; y2=y0=.5[h,-d]; x0=x8; y8-y4=x2-x6; |
| 17567 |
circle_points(bourstem); |
| 17568 |
filldraw draw_circle.l; |
| 17569 |
infill draw_circle.r; |
| 17570 |
filldraw fullcircle scaled (2*.5[bourstem,stem]) shifted z0; |
| 17571 |
endchar; |
| 17572 |
|
| 17573 |
iff known chars.math_circle_times: |
| 17574 |
bskchar "Circle-times operator"; |
| 17575 |
beginarithchar(chars.math_circle_times); uni "0x2297"; |
| 17576 |
adjust_fit(0,0); |
| 17577 |
pickup tiny.nib; |
| 17578 |
numeric tim[]; oblu:=2oblu; |
| 17579 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17580 |
circle_points(rule_thickness); |
| 17581 |
pos9(rule_thickness,angle(direction 1 of _circle_path)); |
| 17582 |
pos10(rule_thickness,angle(direction 5 of _circle_path)+180); |
| 17583 |
pos11(rule_thickness,angle(direction 3 of _circle_path)); |
| 17584 |
pos12(rule_thickness,angle(direction 7 of _circle_path)+180); |
| 17585 |
z9=z1+curve*unitvector(z5-z1); z10=z5+curve*unitvector(z1-z5); |
| 17586 |
z11=z3+curve*unitvector(z7-z3); z12=z7+curve*unitvector(z3-z7); |
| 17587 |
path p; |
| 17588 |
filldraw draw_circle.l; |
| 17589 |
p:=subpath (-1,1) of (draw_circle.r); |
| 17590 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17591 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17592 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17593 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17594 |
p:=subpath (1,3) of (draw_circle.r); |
| 17595 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17596 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17597 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17598 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17599 |
p:=subpath (3,5) of (draw_circle.r); |
| 17600 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17601 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17602 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17603 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17604 |
p:=subpath (5,7) of (draw_circle.r); |
| 17605 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17606 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17607 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17608 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17609 |
penlabels(9,10,11,12); |
| 17610 |
endchar; |
| 17611 |
|
| 17612 |
iff known chars.math_circle_times_uni: |
| 17613 |
bskchar "N-ary circle-times operator (for Unicode)"; |
| 17614 |
beginchar(chars.math_circle_times_uni,14u#,v_center(10/6dh#)); uni "0x2A02"; |
| 17615 |
adjust_fit(0,0); |
| 17616 |
pickup tiny.nib; |
| 17617 |
numeric tim[]; oblu:=2oblu; |
| 17618 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17619 |
circle_points(stem); |
| 17620 |
pos9(stem,angle(direction 1 of _circle_path)); |
| 17621 |
pos10(stem,angle(direction 5 of _circle_path)+180); |
| 17622 |
pos11(stem,angle(direction 3 of _circle_path)); |
| 17623 |
pos12(stem,angle(direction 7 of _circle_path)+180); |
| 17624 |
z9=z1+curve*unitvector(z5-z1); z10=z5+curve*unitvector(z1-z5); |
| 17625 |
z11=z3+curve*unitvector(z7-z3); z12=z7+curve*unitvector(z3-z7); |
| 17626 |
path p; |
| 17627 |
filldraw draw_circle.l; |
| 17628 |
p:=subpath (-1,1) of (draw_circle.r); |
| 17629 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17630 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17631 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17632 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17633 |
p:=subpath (1,3) of (draw_circle.r); |
| 17634 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17635 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17636 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17637 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17638 |
p:=subpath (3,5) of (draw_circle.r); |
| 17639 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17640 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17641 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17642 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17643 |
p:=subpath (5,7) of (draw_circle.r); |
| 17644 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17645 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17646 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17647 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17648 |
penlabels(9,10,11,12); |
| 17649 |
endchar; |
| 17650 |
|
| 17651 |
iff known chars.math_circle_times_text: |
| 17652 |
bskchar "\textstyle circle-times operator"; |
| 17653 |
beginchar(chars.math_circle_times_text,14u#,0,10/6dh#); uni "non"; |
| 17654 |
adjust_fit(0,0); |
| 17655 |
pickup tiny.nib; |
| 17656 |
numeric tim[]; oblu:=2oblu; |
| 17657 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17658 |
circle_points(stem); |
| 17659 |
pos9(stem,angle(direction 1 of _circle_path)); |
| 17660 |
pos10(stem,angle(direction 5 of _circle_path)+180); |
| 17661 |
pos11(stem,angle(direction 3 of _circle_path)); |
| 17662 |
pos12(stem,angle(direction 7 of _circle_path)+180); |
| 17663 |
z9=z1+curve*unitvector(z5-z1); z10=z5+curve*unitvector(z1-z5); |
| 17664 |
z11=z3+curve*unitvector(z7-z3); z12=z7+curve*unitvector(z3-z7); |
| 17665 |
path p; |
| 17666 |
filldraw draw_circle.l; |
| 17667 |
p:=subpath (-1,1) of (draw_circle.r); |
| 17668 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17669 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17670 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17671 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17672 |
p:=subpath (1,3) of (draw_circle.r); |
| 17673 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17674 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17675 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17676 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17677 |
p:=subpath (3,5) of (draw_circle.r); |
| 17678 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17679 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17680 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17681 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17682 |
p:=subpath (5,7) of (draw_circle.r); |
| 17683 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17684 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17685 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17686 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17687 |
penlabels(9,10,11,12); |
| 17688 |
endchar; |
| 17689 |
|
| 17690 |
iff known chars.math_circle_times_disp: |
| 17691 |
bskchar "\displaystyle circle-times operator"; |
| 17692 |
beginchar(chars.math_circle_times_disp,18u#,0,14/6dh#); uni "non"; |
| 17693 |
adjust_fit(0,0); |
| 17694 |
pickup tiny.nib; |
| 17695 |
numeric tim[]; oblu:=2oblu; |
| 17696 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17697 |
circle_points(bourstem); |
| 17698 |
pos9(bourstem,angle(direction 1 of _circle_path)); |
| 17699 |
pos10(bourstem,angle(direction 5 of _circle_path)+180); |
| 17700 |
pos11(bourstem,angle(direction 3 of _circle_path)); |
| 17701 |
pos12(bourstem,angle(direction 7 of _circle_path)+180); |
| 17702 |
z9=z1+curve*unitvector(z5-z1); z10=z5+curve*unitvector(z1-z5); |
| 17703 |
z11=z3+curve*unitvector(z7-z3); z12=z7+curve*unitvector(z3-z7); |
| 17704 |
path p; |
| 17705 |
filldraw draw_circle.l; |
| 17706 |
p:=subpath (-1,1) of (draw_circle.r); |
| 17707 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17708 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17709 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17710 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17711 |
p:=subpath (1,3) of (draw_circle.r); |
| 17712 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17713 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17714 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17715 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17716 |
p:=subpath (3,5) of (draw_circle.r); |
| 17717 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17718 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17719 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17720 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17721 |
p:=subpath (5,7) of (draw_circle.r); |
| 17722 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17723 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17724 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17725 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17726 |
penlabels(9,10,11,12); |
| 17727 |
endchar; |
| 17728 |
|
| 17729 |
iff known chars.math_circle_plus: |
| 17730 |
bskchar "Circle-plus operator"; |
| 17731 |
beginarithchar(chars.math_circle_plus); uni "0x2295"; |
| 17732 |
adjust_fit(0,0); |
| 17733 |
pickup tiny.nib; |
| 17734 |
numeric tim[]; oblu:=2oblu; |
| 17735 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17736 |
circle_points(rule_thickness); |
| 17737 |
pos9(rule_thickness,angle(direction 2 of _circle_path)); |
| 17738 |
pos10(rule_thickness,angle(direction 6 of _circle_path)+180); |
| 17739 |
pos11(rule_thickness,angle(direction 4 of _circle_path)); |
| 17740 |
pos12(rule_thickness,angle(direction 8 of _circle_path)+180); |
| 17741 |
z9=z2+curve*unitvector(z6-z2); z10=z6+curve*unitvector(z2-z6); |
| 17742 |
z11=z4+curve*unitvector(z8-z4); z12=z8+curve*unitvector(z4-z8); |
| 17743 |
path p; |
| 17744 |
filldraw draw_circle.l; |
| 17745 |
p:=subpath (0,2) of (draw_circle.r); |
| 17746 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17747 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17748 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17749 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17750 |
p:=subpath (2,4) of (draw_circle.r); |
| 17751 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17752 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17753 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17754 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17755 |
p:=subpath (4,6) of (draw_circle.r); |
| 17756 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17757 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17758 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17759 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17760 |
p:=subpath (6,8) of (draw_circle.r); |
| 17761 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17762 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17763 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17764 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17765 |
penlabels(9,10,11,12); |
| 17766 |
endchar; |
| 17767 |
|
| 17768 |
iff known chars.math_circle_plus_uni: |
| 17769 |
bskchar "N-ary circle-plus operator (for Unicode)"; |
| 17770 |
beginchar(chars.math_circle_plus_uni,14u#,v_center(10/6dh#)); uni "0x2A01"; |
| 17771 |
adjust_fit(0,0); |
| 17772 |
pickup tiny.nib; |
| 17773 |
numeric tim[]; oblu:=2oblu; |
| 17774 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17775 |
circle_points(stem); |
| 17776 |
pos9(stem,angle(direction 2 of _circle_path)); |
| 17777 |
pos10(stem,angle(direction 6 of _circle_path)+180); |
| 17778 |
pos11(stem,angle(direction 4 of _circle_path)); |
| 17779 |
pos12(stem,angle(direction 8 of _circle_path)+180); |
| 17780 |
z9=z2+curve*unitvector(z6-z2); z10=z6+curve*unitvector(z2-z6); |
| 17781 |
z11=z4+curve*unitvector(z8-z4); z12=z8+curve*unitvector(z4-z8); |
| 17782 |
path p; |
| 17783 |
filldraw draw_circle.l; |
| 17784 |
p:=subpath (0,2) of (draw_circle.r); |
| 17785 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17786 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17787 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17788 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17789 |
p:=subpath (2,4) of (draw_circle.r); |
| 17790 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17791 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17792 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17793 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17794 |
p:=subpath (4,6) of (draw_circle.r); |
| 17795 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17796 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17797 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17798 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17799 |
p:=subpath (6,8) of (draw_circle.r); |
| 17800 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17801 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17802 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17803 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17804 |
penlabels(9,10,11,12); |
| 17805 |
endchar; |
| 17806 |
|
| 17807 |
iff known chars.math_circle_plus_text: |
| 17808 |
bskchar "\textstyle circle-plus operator"; |
| 17809 |
beginchar(chars.math_circle_plus_text,14u#,0,10/6dh#); uni "non"; |
| 17810 |
adjust_fit(0,0); |
| 17811 |
pickup tiny.nib; |
| 17812 |
numeric tim[]; oblu:=2oblu; |
| 17813 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17814 |
circle_points(stem); |
| 17815 |
pos9(stem,angle(direction 2 of _circle_path)); |
| 17816 |
pos10(stem,angle(direction 6 of _circle_path)+180); |
| 17817 |
pos11(stem,angle(direction 4 of _circle_path)); |
| 17818 |
pos12(stem,angle(direction 8 of _circle_path)+180); |
| 17819 |
z9=z2+curve*unitvector(z6-z2); z10=z6+curve*unitvector(z2-z6); |
| 17820 |
z11=z4+curve*unitvector(z8-z4); z12=z8+curve*unitvector(z4-z8); |
| 17821 |
path p; |
| 17822 |
filldraw draw_circle.l; |
| 17823 |
p:=subpath (0,2) of (draw_circle.r); |
| 17824 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17825 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17826 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17827 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17828 |
p:=subpath (2,4) of (draw_circle.r); |
| 17829 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17830 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17831 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17832 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17833 |
p:=subpath (4,6) of (draw_circle.r); |
| 17834 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17835 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17836 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17837 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17838 |
p:=subpath (6,8) of (draw_circle.r); |
| 17839 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17840 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17841 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17842 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17843 |
penlabels(9,10,11,12); |
| 17844 |
endchar; |
| 17845 |
|
| 17846 |
iff known chars.math_circle_plus_disp: |
| 17847 |
bskchar "\displaystyle circle-plus operator"; |
| 17848 |
beginchar(chars.math_circle_plus_disp,18u#,0,14/6dh#); uni "non"; |
| 17849 |
adjust_fit(0,0); |
| 17850 |
pickup tiny.nib; |
| 17851 |
numeric tim[]; oblu:=2oblu; |
| 17852 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; y8-y4=x2-x6; |
| 17853 |
circle_points(bourstem); |
| 17854 |
pos9(bourstem,angle(direction 2 of _circle_path)); |
| 17855 |
pos10(bourstem,angle(direction 6 of _circle_path)+180); |
| 17856 |
pos11(bourstem,angle(direction 4 of _circle_path)); |
| 17857 |
pos12(bourstem,angle(direction 8 of _circle_path)+180); |
| 17858 |
z9=z2+curve*unitvector(z6-z2); z10=z6+curve*unitvector(z2-z6); |
| 17859 |
z11=z4+curve*unitvector(z8-z4); z12=z8+curve*unitvector(z4-z8); |
| 17860 |
path p; |
| 17861 |
filldraw draw_circle.l; |
| 17862 |
p:=subpath (0,2) of (draw_circle.r); |
| 17863 |
tim1=xpart(p intersectiontimes (.5[z9l,z10l]--2[z10l,z9l])); |
| 17864 |
tim2=xpart(p intersectiontimes (.5[z11l,z12l]--2[z11l,z12l])); |
| 17865 |
z100=whatever[z12l,z11l]=whatever[z9l,z10l]; |
| 17866 |
infill subpath (rundy(p,tim1).zpet,rundy(p,tim2)) of p..z12l---obl(100,12l,9l)---z9l..cycle; |
| 17867 |
p:=subpath (2,4) of (draw_circle.r); |
| 17868 |
tim3=xpart(p intersectiontimes (.5[z9r,z10r]--2[z10r,z9r])); |
| 17869 |
tim4=xpart(p intersectiontimes (.5[z11l,z12l]--2[z12l,z11l])); |
| 17870 |
z101=whatever[z12l,z11l]=whatever[z9r,z10r]; |
| 17871 |
infill subpath (rundy(p,tim3),rundy(p,tim4).zpet) of p..z11l---obl(101,11l,9r)---z9r..cycle; |
| 17872 |
p:=subpath (4,6) of (draw_circle.r); |
| 17873 |
tim5=xpart(p intersectiontimes (.5[z9r,z10r]--2[z9r,z10r])); |
| 17874 |
tim6=xpart(p intersectiontimes (.5[z11r,z12r]--2[z12r,z11r])); |
| 17875 |
z102=whatever[z12r,z11r]=whatever[z9r,z10r]; |
| 17876 |
infill subpath (rundy(p,tim6),rundy(p,tim5).zpet) of p..z10r---obl(102,10r,11r)---z11r..cycle; |
| 17877 |
p:=subpath (6,8) of (draw_circle.r); |
| 17878 |
tim7=xpart(p intersectiontimes (.5[z9l,z10l]--2[z9l,z10l])); |
| 17879 |
tim8=xpart(p intersectiontimes (.5[z11r,z12r]--2[z11r,z12r])); |
| 17880 |
z103=whatever[z12r,z11r]=whatever[z9l,z10l]; |
| 17881 |
infill subpath (rundy(p,tim7),rundy(p,tim8).zpet) of p..z12r---obl(103,12r,10l)---z10l..cycle; |
| 17882 |
penlabels(9,10,11,12); |
| 17883 |
endchar; |
| 17884 |
|
| 17885 |
iff known chars.math_circle_division: |
| 17886 |
bskchar "Circle-division operator"; |
| 17887 |
beginarithchar(chars.math_circle_division); uni "0x2A38"; |
| 17888 |
adjust_fit(0,0); |
| 17889 |
pickup tiny.nib; |
| 17890 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 17891 |
x0=x8; circle_points(rule_thickness); |
| 17892 |
filldraw draw_circle.l; |
| 17893 |
infill draw_circle.r; |
| 17894 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 17895 |
.5[x9,x10]=x4=x11=x12; lft x9=rt x6r+u; y9=y10=math_axis; |
| 17896 |
.5[y11,y12]=y9; y11-y12=.75(x10-x9); |
| 17897 |
filldraw bskrule(9,10,hair,hair)---cycle; |
| 17898 |
dot(11); dot(12); |
| 17899 |
penlabels(9,10); |
| 17900 |
endchar; |
| 17901 |
|
| 17902 |
iff known chars.math_circle_circle: |
| 17903 |
bskchar "Circle-circle operator"; |
| 17904 |
beginarithchar(chars.math_circle_circle); uni "0x229A"; |
| 17905 |
adjust_fit(0,0); |
| 17906 |
pickup tiny.nib; |
| 17907 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness; |
| 17908 |
y2=y0; x0=x8; |
| 17909 |
circle_points(rule_thickness); |
| 17910 |
filldraw draw_circle.l; |
| 17911 |
infill draw_circle.r; |
| 17912 |
save x,y; |
| 17913 |
lft x6=4u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness-3u; |
| 17914 |
y2=y0; x0=x8; |
| 17915 |
circle_points(rule_thickness); |
| 17916 |
filldraw draw_circle.l; |
| 17917 |
infill draw_circle.r; |
| 17918 |
endchar; |
| 17919 |
|
| 17920 |
iff known chars.math_circle_equals: |
| 17921 |
bskchar "Circle-equals operator"; |
| 17922 |
compute_spread(.45x_height#,.55x_height#); |
| 17923 |
beginarithchar(chars.math_circle_equals); uni "0x229C"; |
| 17924 |
adjust_fit(0,0); |
| 17925 |
pickup tiny.nib; |
| 17926 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 17927 |
pos13(rule_thickness,90); pos14(rule_thickness,90); |
| 17928 |
lft x6=u; x2=w-x6; y2=math_axis; top y8=h; |
| 17929 |
lft x11=3u; x12+x11=w; x13=x11; x14=x12; |
| 17930 |
y11=y12; y13=y14; .5[y11,y13]=y2; y11-y13=spread; |
| 17931 |
circle_points(rule_thickness); |
| 17932 |
filldraw draw_circle.l; |
| 17933 |
infill draw_circle.r; |
| 17934 |
filldraw bskrule(11,12,hair,0); |
| 17935 |
filldraw bskrule(14,13,hair,0); |
| 17936 |
penlabels(11,12,13,14); |
| 17937 |
endchar; |
| 17938 |
|
| 17939 |
iff known chars.math_circle_bar: |
| 17940 |
bskchar "Circle-bar operator"; |
| 17941 |
beginarithchar(chars.math_circle_bar); uni "0x229D"; |
| 17942 |
adjust_fit(0,0); |
| 17943 |
pickup tiny.nib; |
| 17944 |
pos9(hair,90); pos10(hair,90); |
| 17945 |
lft x6=u+.5rule_thickness; x2=w-x6; y2=y9=y10=math_axis; top y8=h-.5rule_thickness; |
| 17946 |
y2=y0; x0=x8; |
| 17947 |
.5[x9,x10]=x8; x10-x9=1/2(x2r-x6r); |
| 17948 |
circle_points(rule_thickness); |
| 17949 |
filldraw draw_circle.l; |
| 17950 |
infill draw_circle.r; |
| 17951 |
filldraw bskrule(9,10,.5hair,.5hair); |
| 17952 |
penlabels(9,10); |
| 17953 |
endchar; |
| 17954 |
|
| 17955 |
iff known chars.math_circle_asterisk: |
| 17956 |
bskchar "Circle-asterisk operator"; |
| 17957 |
beginarithchar(chars.math_circle_asterisk); uni "0x229B"; |
| 17958 |
adjust_fit(0,0); |
| 17959 |
pickup tiny.nib; |
| 17960 |
numeric size, ast, vast; |
| 17961 |
path p; |
| 17962 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 17963 |
x0=x8; circle_points(rule_thickness); |
| 17964 |
z9=(x8,y2); ast:=3/4stem; vast=.7stem; |
| 17965 |
pos10(ast,0); x10=x9; |
| 17966 |
size=1/3h; if (size+.5ast)*cosd(30) > (lft w)-u-x9: |
| 17967 |
size:= (lft w-u-x9)/cosd(30)-.5ast; fi; |
| 17968 |
y10=y9+size; |
| 17969 |
p:=z9---z10r{dir120}..z10l---z9; |
| 17970 |
p:=subpath (xpart(p intersectiontimes ((x9,y9+vast)--(w,y9+vast))), |
| 17971 |
xpart(p intersectiontimes ((x9,y9+vast)--(0,y9+vast)))) of p; |
| 17972 |
filldraw draw_circle.l; |
| 17973 |
infill draw_circle.r; |
| 17974 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z9,i).. endfor cycle; |
| 17975 |
labels(9); penlabels(10); |
| 17976 |
endchar; |
| 17977 |
|
| 17978 |
iff known chars.math_circle_triangle: |
| 17979 |
bskchar "Circle-triangle operator"; |
| 17980 |
beginarithchar(chars.math_circle_triangle); uni "non"; |
| 17981 |
adjust_fit(0,0); |
| 17982 |
pickup tiny.nib; |
| 17983 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 17984 |
x0=x8; circle_points(rule_thickness); |
| 17985 |
filldraw draw_circle.l; |
| 17986 |
infill draw_circle.r; |
| 17987 |
x11=.5[x9,x10]=.5w; x10-x9=1.5(y11-y9)=w-7u; |
| 17988 |
y9=y10; 1/3[y9,y11]=math_axis; |
| 17989 |
y9'=y10'=y9+(rule_thickness-currentbreadth); |
| 17990 |
x9'-x9=x10-x10'=(rule_thickness-currentbreadth)/cosd(angle(z11-z9)); |
| 17991 |
z11'=z10'+whatever*(z11-z10)=z9'+whatever*(z11-z9); |
| 17992 |
filldraw obl(9,11,10)---obl(10,9,11)---obl(11,10,9)---cycle; |
| 17993 |
oblu:=2oblu; |
| 17994 |
infill obl(9',11',10')---obl(10',9',11')---obl(11',10',9')---cycle; |
| 17995 |
labels(9,9',10,10',11,11',12,12'); |
| 17996 |
endchar; |
| 17997 |
|
| 17998 |
iff known chars.math_circle_less: |
| 17999 |
bskchar "Circle-less than operator"; |
| 18000 |
beginarithchar(chars.math_circle_less); uni "0x29C0"; |
| 18001 |
adjust_fit(0,0); |
| 18002 |
pickup tiny.nib; |
| 18003 |
path p[]; numeric tim[]; |
| 18004 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 18005 |
x0=x8; circle_points(rule_thickness); |
| 18006 |
p0:=draw_circle; |
| 18007 |
pos9(whatever,0); pos10(rule_thickness,angle(direction 1 of p0)); |
| 18008 |
pos11(rule_thickness,angle(direction 3 of p0)); |
| 18009 |
z9l=z6; z10=z1; z11=z3; z9r=z11l+whatever*(z9l-z11r); |
| 18010 |
filldraw draw_circle.l; |
| 18011 |
p0:=draw_circle.r; |
| 18012 |
p1:=z10l--z9l; |
| 18013 |
p2:=z9l--z11r; |
| 18014 |
p3:=z11l--z9r; |
| 18015 |
p4:=z9r--z10r; |
| 18016 |
(tim0,tim1)=subpath(0,2) of p0 intersectiontimes p1; |
| 18017 |
(tim2-2,tim3)=subpath(2,4) of p0 intersectiontimes p2; |
| 18018 |
(tim4-5,tim5)=subpath(5,8) of p0 intersectiontimes p1; |
| 18019 |
(tim6-4,tim7)=subpath(4,7) of p0 intersectiontimes p2; |
| 18020 |
(tim8,tim9)=subpath(0,2) of p0 intersectiontimes p4; |
| 18021 |
(tim10-2,tim11)=subpath(2,4) of p0 intersectiontimes p3; |
| 18022 |
oblu:=2oblu; |
| 18023 |
infill subpath(0,rundy(p0,tim0).zpet) of p0 |
| 18024 |
..subpath(rundy(p1,tim1),rundy(p1,tim5).zpet) of p1 |
| 18025 |
..subpath(rundy(p0,tim4),length p0) of p0&cycle; |
| 18026 |
infill subpath(rundy(p0,tim2),rundy(p0,tim6).zpet) of p0 |
| 18027 |
..subpath(rundy(p2,tim7),rundy(p2,tim3).zpet) of p2..cycle; |
| 18028 |
infill subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 18029 |
..subpath(rundy(p3,tim11),rundy(p3,1).zpet) of p3 |
| 18030 |
..subpath(rundy(p4,0),rundy(p4,tim9).zpet) of p4..cycle; |
| 18031 |
penlabels(9,10,11); |
| 18032 |
endchar; |
| 18033 |
|
| 18034 |
iff known chars.math_circle_greater: |
| 18035 |
bskchar "Circle-greater than operator"; |
| 18036 |
beginarithchar(chars.math_circle_greater); uni "0x29C1"; |
| 18037 |
adjust_fit(0,0); |
| 18038 |
pickup tiny.nib; |
| 18039 |
path p[]; numeric tim[]; |
| 18040 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 18041 |
x0=x8; circle_points(rule_thickness); |
| 18042 |
p0:=draw_circle; |
| 18043 |
pos9(whatever,180); pos10(rule_thickness,angle(direction 7 of p0)); |
| 18044 |
pos11(rule_thickness,angle(direction 5 of p0)); |
| 18045 |
z9l=z2; z10=z7; z11=z5; z9r=z11r+whatever*(z9l-z11l); |
| 18046 |
filldraw draw_circle.l; |
| 18047 |
p0:=draw_circle.r; |
| 18048 |
p1:=z9l--z10r; |
| 18049 |
p2:=z11l--z9l; |
| 18050 |
p3:=z9r--z11r; |
| 18051 |
p4:=z10l--z9r; |
| 18052 |
(tim0-1,tim1)=subpath(1,3) of p0 intersectiontimes p1; |
| 18053 |
(tim2-1,tim3)=subpath(1,3) of p0 intersectiontimes p2; |
| 18054 |
(tim4-6,tim5)=subpath(6,8) of p0 intersectiontimes p1; |
| 18055 |
(tim6-4,tim7)=subpath(4,6) of p0 intersectiontimes p2; |
| 18056 |
(tim8-4,tim9)=subpath(4,6) of p0 intersectiontimes p3; |
| 18057 |
(tim10-6,tim11)=subpath(6,8) of p0 intersectiontimes p4; |
| 18058 |
oblu:=2oblu; |
| 18059 |
infill subpath(0,rundy(p0,tim0).zpet) of p0 |
| 18060 |
..subpath(rundy(p1,tim1),rundy(p1,tim5).zpet) of p1 |
| 18061 |
..subpath(rundy(p0,tim4),length p0) of p0&cycle; |
| 18062 |
infill subpath(rundy(p0,tim2),rundy(p0,tim6).zpet) of p0 |
| 18063 |
..subpath(rundy(p2,tim7),rundy(p2,tim3).zpet) of p2..cycle; |
| 18064 |
infill subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 18065 |
..subpath(rundy(p4,0),rundy(p4,tim9).zpet) of p4 |
| 18066 |
..subpath(rundy(p3,tim11),rundy(p3,1).zpet) of p3..cycle; |
| 18067 |
penlabels(9,10,11); |
| 18068 |
endchar; |
| 18069 |
|
| 18070 |
iff known chars.math_circle_vee: |
| 18071 |
bskchar "Circle-vee operator"; |
| 18072 |
beginarithchar(chars.math_circle_vee); uni "non"; |
| 18073 |
adjust_fit(0,0); |
| 18074 |
pickup tiny.nib; |
| 18075 |
path p[]; numeric tim[]; |
| 18076 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 18077 |
x0=x8; circle_points(rule_thickness); |
| 18078 |
p0:=draw_circle; |
| 18079 |
pos9(whatever,90); pos10(rule_thickness,angle(direction 1 of p0)); |
| 18080 |
pos11(rule_thickness,angle(direction 7 of p0)); |
| 18081 |
z9l=z4; z10=z1; z11=z7; z9r=z11r+whatever*(z9l-z11l); |
| 18082 |
filldraw draw_circle.l; |
| 18083 |
p0:=draw_circle.r; |
| 18084 |
p1:=z9l--z10r; |
| 18085 |
p2:=z11l--z9l; |
| 18086 |
p3:=z9r--z11r; |
| 18087 |
p4:=z10l--z9r; |
| 18088 |
(tim0,tim1)=subpath(0,2) of p0 intersectiontimes p1; |
| 18089 |
(tim2-3,tim3)=subpath(3,5) of p0 intersectiontimes p2; |
| 18090 |
(tim4-3,tim5)=subpath(3,5) of p0 intersectiontimes p1; |
| 18091 |
(tim6-6,tim7)=subpath(6,8) of p0 intersectiontimes p2; |
| 18092 |
(tim8-6,tim9)=subpath(6,8) of p0 intersectiontimes p3; |
| 18093 |
(tim10,tim11)=subpath(0,2) of p0 intersectiontimes p4; |
| 18094 |
oblu:=2oblu; |
| 18095 |
infill subpath(rundy(p0,tim0),rundy(p0,tim4).zpet) of p0 |
| 18096 |
..subpath(rundy(p1,tim5),rundy(p1,tim1).zpet) of p1..cycle; |
| 18097 |
infill subpath(rundy(p0,tim2),rundy(p0,tim6).zpet) of p0 |
| 18098 |
..subpath(rundy(p2,tim7),rundy(p2,tim3).zpet) of p2..cycle; |
| 18099 |
infill subpath(rundy(p0,tim8),8+rundy(p0,tim10).zpet) of p0 |
| 18100 |
..subpath(rundy(p4,tim11),rundy(p4,1).zpet) of p4 |
| 18101 |
..subpath(rundy(p3,0),rundy(p3,tim9).zpet) of p3..cycle; |
| 18102 |
penlabels(9,10,11); |
| 18103 |
endchar; |
| 18104 |
|
| 18105 |
iff known chars.math_circle_wedge: |
| 18106 |
bskchar "Circle-wedge operator"; |
| 18107 |
beginarithchar(chars.math_circle_wedge); uni "non"; |
| 18108 |
adjust_fit(0,0); |
| 18109 |
pickup tiny.nib; |
| 18110 |
path p[]; numeric tim[]; |
| 18111 |
lft x6=u+.5rule_thickness; x2=w-x6; y0=y2=math_axis; top y8=h-.5rule_thickness; |
| 18112 |
x0=x8; circle_points(rule_thickness); |
| 18113 |
p0:=draw_circle; |
| 18114 |
pos9(whatever,90); pos10(rule_thickness,angle(direction 3 of p0)); |
| 18115 |
pos11(rule_thickness,angle(direction 5 of p0)); |
| 18116 |
z9l=z8; z10=z3; z11=z5; z9r=z11l+whatever*(z9l-z11r); |
| 18117 |
filldraw draw_circle.l; |
| 18118 |
p0:=draw_circle.r; |
| 18119 |
p1:=z10l--z9l; |
| 18120 |
p2:=z9l--z11r; |
| 18121 |
p3:=z11l--z9r; |
| 18122 |
p4:=z9r--z10r; |
| 18123 |
(tim0,tim1)=subpath(0,1) of p0 intersectiontimes p1; |
| 18124 |
(tim2-4,tim3)=subpath(4,6) of p0 intersectiontimes p2; |
| 18125 |
(tim4-2,tim5)=subpath(2,4) of p0 intersectiontimes p1; |
| 18126 |
(tim6-7,tim7)=subpath(7,8) of p0 intersectiontimes p2; |
| 18127 |
(tim8-2,tim9)=subpath(2,4) of p0 intersectiontimes p4; |
| 18128 |
(tim10-4,tim11)=subpath(4,6) of p0 intersectiontimes p3; |
| 18129 |
oblu:=2oblu; |
| 18130 |
infill subpath(rundy(p0,tim0),rundy(p0,tim4).zpet) of p0 |
| 18131 |
..subpath(rundy(p1,tim5),rundy(p1,tim1).zpet) of p1..cycle; |
| 18132 |
infill subpath(rundy(p0,tim2),rundy(p0,tim6).zpet) of p0 |
| 18133 |
..subpath(rundy(p2,tim7),rundy(p2,tim3).zpet) of p2..cycle; |
| 18134 |
infill subpath(rundy(p0,tim8),rundy(p0,tim10).zpet) of p0 |
| 18135 |
..subpath(rundy(p3,tim11),rundy(p3,1).zpet) of p3 |
| 18136 |
..subpath(rundy(p4,0),rundy(p4,tim9).zpet) of p4..cycle; |
| 18137 |
penlabels(9,10,11); |
| 18138 |
endchar; |
| 18139 |
|
| 18140 |
iff known chars.math_circle_copy: |
| 18141 |
bskchar "Circle for copyright"; |
| 18142 |
beginchar(chars.math_circle_copy,20u#,asc_height#,desc_depth#); uni "0x25EF"; |
| 18143 |
pickup tiny.nib; |
| 18144 |
adjust_fit(0,0); |
| 18145 |
lft x6=u; x2=w-x6; y2=.5[h,-d]; top y8=h; |
| 18146 |
circle_points(rule_thickness); |
| 18147 |
filldraw draw_circle.l; |
| 18148 |
infill draw_circle.r; |
| 18149 |
endchar; |
| 18150 |
|
| 18151 |
iff known chars.math_oblong: |
| 18152 |
bskchar "Oblong"; |
| 18153 |
beginchar(chars.math_oblong,11u#,.8asc_height#,0); uni "non"; |
| 18154 |
adjust_fit(0,0); |
| 18155 |
pickup tiny.nib; |
| 18156 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18157 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18158 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18159 |
y1=y2; y3=y4; top y1r=h; bot y4r=-d; |
| 18160 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18161 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18162 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18163 |
penlabels(1,2,3,4); |
| 18164 |
endchar; |
| 18165 |
|
| 18166 |
iff known chars.math_oblong_tall: |
| 18167 |
compute_spread(.45x_height#,.55x_height#); |
| 18168 |
bskchar "Tall oblong"; |
| 18169 |
beginchar(chars.math_oblong_tall,8u#,body_height#,paren_depth#); uni "non"; |
| 18170 |
adjust_fit(0,0); |
| 18171 |
pickup tiny.nib; |
| 18172 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18173 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18174 |
x1=x4; x2=x3; .5[x1,x2]=.5w; x2-x1=spread; |
| 18175 |
y1=y2; y3=y4; top y1r=h; bot y4r=-d; |
| 18176 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18177 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18178 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18179 |
penlabels(1,2,3,4); |
| 18180 |
endchar; |
| 18181 |
|
| 18182 |
iff known chars.math_qed: |
| 18183 |
bskchar "End-of-proof sign"; |
| 18184 |
beginchar(chars.math_qed,10u#,.8asc_height#,0); uni "0x220E"; |
| 18185 |
adjust_fit(0,0); |
| 18186 |
pickup tiny.nib; |
| 18187 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18188 |
top y1=top y2=h; bot y3=bot y4=-d; |
| 18189 |
filldraw obl(1,4,2)---obl(2,1,3)---obl(3,2,4)---obl(4,3,1)---cycle; |
| 18190 |
labels(1,2,3,4); |
| 18191 |
endchar; |
| 18192 |
|
| 18193 |
iff known chars.math_box_operator_black: |
| 18194 |
bskchar "Black-box operator"; |
| 18195 |
beginarithchar(chars.math_box_operator_black); uni "non"; |
| 18196 |
adjust_fit(0,0); |
| 18197 |
pickup tiny.nib; |
| 18198 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18199 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=x2-x1; |
| 18200 |
filldraw obl(1,4,2)---obl(2,1,3)---obl(3,2,4)---obl(4,3,1)---cycle; |
| 18201 |
labels(1,2,3,4); |
| 18202 |
endchar; |
| 18203 |
|
| 18204 |
iff known chars.math_box_operator: |
| 18205 |
bskchar "Box operator"; |
| 18206 |
beginarithchar(chars.math_box_operator); uni "non"; |
| 18207 |
adjust_fit(0,0); |
| 18208 |
pickup tiny.nib; |
| 18209 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18210 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18211 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18212 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18213 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18214 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18215 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18216 |
penlabels(1,2,3,4); |
| 18217 |
endchar; |
| 18218 |
|
| 18219 |
iff known chars.math_box_plus: |
| 18220 |
bskchar "Box-plus operator"; |
| 18221 |
beginarithchar(chars.math_box_plus); uni "0x229E"; |
| 18222 |
adjust_fit(0,0); |
| 18223 |
pickup tiny.nib; |
| 18224 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18225 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18226 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18227 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18228 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18229 |
pos5(rule_thickness,90); pos6(rule_thickness,0); |
| 18230 |
pos7(rule_thickness,-90); pos8(rule_thickness,180); |
| 18231 |
z5=.5[z1l,z4l]; z6=.5[z1l,z2l]; z7=.5[z2l,z3l]; z8=.5[z3l,z4l]; |
| 18232 |
z5'=(x6l,y5r); z6'=(x6r,y7l); z7'=(x8l,y7r); z8'=(x8r,y5l); |
| 18233 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18234 |
infill obl(1l,5r,6l)---obl(6l,1l,5')---obl(5',6l,5r)---obl(5r,5',1l)---cycle; |
| 18235 |
infill obl(2l,6r,7l)---obl(7l,2l,6')---obl(6',7l,6r)---obl(6r,6',2l)---cycle; |
| 18236 |
infill obl(3l,7r,8l)---obl(8l,3l,7')---obl(7',8l,7r)---obl(7r,7',3l)---cycle; |
| 18237 |
infill obl(4l,8r,5l)---obl(5l,4l,8')---obl(8',5l,8r)---obl(8r,8',4l)---cycle; |
| 18238 |
penlabels(1,2,3,4,5,6,7,8); labels(5',6',7',8'); |
| 18239 |
endchar; |
| 18240 |
|
| 18241 |
iff known chars.math_box_times: |
| 18242 |
bskchar "Box-times operator"; |
| 18243 |
beginarithchar(chars.math_box_times); uni "0x22A0"; |
| 18244 |
adjust_fit(0,0); |
| 18245 |
pickup tiny.nib; |
| 18246 |
oblu.more:=2oblu; |
| 18247 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18248 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18249 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18250 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18251 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18252 |
pos5(rule_thickness,45); pos6(rule_thickness,-45); |
| 18253 |
pos7(rule_thickness,-135); pos8(rule_thickness,-225); |
| 18254 |
for i=5 upto 8: z[i]=z[i-4]l; endfor; |
| 18255 |
z5'=whatever[z5r,z7l]=whatever[z6l,z8r]; z6'=whatever[z6r,z8l]=whatever[z5r,z7l]; |
| 18256 |
z7'=whatever[z5l,z7r]=whatever[z6r,z8l]; z8'=whatever[z6l,z8r]=whatever[z5l,z7r]; |
| 18257 |
z5'r=whatever[z5',z5r]=whatever[z1l,z2l]; z6'l=whatever[z5',z6l]=whatever[z1l,z2l]; |
| 18258 |
z6'r=whatever[z6',z6r]=whatever[z2l,z3l]; z7'l=whatever[z6',z7l]=whatever[z2l,z3l]; |
| 18259 |
z7'r=whatever[z7',z7r]=whatever[z3l,z4l]; z8'l=whatever[z7',z8l]=whatever[z3l,z4l]; |
| 18260 |
z8'r=whatever[z8',z8r]=whatever[z1l,z4l]; z5'l=whatever[z8',z5l]=whatever[z1l,z4l]; |
| 18261 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18262 |
infill obl(5'r,5',6'l).more---obl(6'l,5'r,5').more---obl(5',6'l,5'r)---cycle; |
| 18263 |
infill obl(6'r,6',7'l).more---obl(7'l,6'r,6').more---obl(6',7'l,6'r)---cycle; |
| 18264 |
infill obl(7'r,7',8'l).more---obl(8'l,7'r,7').more---obl(7',8'l,7'r)---cycle; |
| 18265 |
infill obl(8'r,8',5'l).more---obl(5'l,8'r,8').more---obl(8',5'l,8'r)---cycle; |
| 18266 |
penlabels(1,2,3,4,5,5',6,6',7,7',8,8'); |
| 18267 |
endchar; |
| 18268 |
|
| 18269 |
iff known chars.math_box_divide: |
| 18270 |
bskchar "Box-divide operator"; |
| 18271 |
beginarithchar(chars.math_box_divide); uni "0x29C4"; |
| 18272 |
adjust_fit(0,0); |
| 18273 |
pickup tiny.nib; |
| 18274 |
oblu.more:=2oblu; |
| 18275 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18276 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18277 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18278 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18279 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18280 |
pos5(rule_thickness,-45); pos6(rule_thickness,-45); |
| 18281 |
z5=z2l; z6=z4l; |
| 18282 |
z5'l=whatever[z6l,z5l]=whatever[z1l,z2l]; z5'r=whatever[z6r,z5r]=whatever[z3l,z2l]; |
| 18283 |
z6'l=whatever[z6r,z5r]=whatever[z3l,z4l]; z6'r=whatever[z6l,z5l]=whatever[z1l,z4l]; |
| 18284 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18285 |
infill obl(3l,6'l,5'r)---obl(5'r,3l,6'l).more---obl(6'l,5'r,3l).more---cycle; |
| 18286 |
infill obl(1l,6'r,5'l)---obl(5'l,1l,6'r).more---obl(6'r,5'l,1l).more---cycle; |
| 18287 |
penlabels(1,2,3,4,5,5',6,6'); |
| 18288 |
endchar; |
| 18289 |
|
| 18290 |
iff known chars.math_box_set_minus: |
| 18291 |
bskchar "Box-set minus operator"; |
| 18292 |
beginarithchar(chars.math_box_set_minus); uni "0x29C5"; |
| 18293 |
adjust_fit(0,0); |
| 18294 |
pickup tiny.nib; |
| 18295 |
oblu.more:=2oblu; |
| 18296 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18297 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18298 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18299 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18300 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18301 |
pos5(rule_thickness,45); pos6(rule_thickness,45); |
| 18302 |
z5=z1l; z6=z3l; |
| 18303 |
z5'l=whatever[z6r,z5r]=whatever[z1l,z2l]; z5'r=whatever[z6l,z5l]=whatever[z4l,z1l]; |
| 18304 |
z6'r=whatever[z6l,z5l]=whatever[z3l,z4l]; z6'l=whatever[z6r,z5r]=whatever[z2l,z3l]; |
| 18305 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18306 |
infill obl(4l,6'r,5'r)---obl(5'r,4l,6'r).more---obl(6'r,5'r,4l).more---cycle; |
| 18307 |
infill obl(2l,6'l,5'l)---obl(5'l,2l,6'l).more---obl(6'l,5'l,2l).more---cycle; |
| 18308 |
penlabels(1,2,3,4,5,5',6,6'); |
| 18309 |
endchar; |
| 18310 |
|
| 18311 |
iff known chars.math_box_minus: |
| 18312 |
bskchar "Box-minus operator"; |
| 18313 |
beginarithchar(chars.math_box_minus); uni "0x229F"; |
| 18314 |
adjust_fit(0,0); |
| 18315 |
pickup tiny.nib; |
| 18316 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18317 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18318 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18319 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18320 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18321 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18322 |
y5=y6=math_axis; x5=x1l; x6=x2l; |
| 18323 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18324 |
infill obl(1l,5r,2l)---obl(2l,1l,6r)---obl(6r,2l,5r)---obl(5r,6r,1l)---cycle; |
| 18325 |
infill obl(4l,5l,3l)---obl(3l,4l,6l)---obl(6l,3l,5l)---obl(5l,6l,4l)---cycle; |
| 18326 |
penlabels(1,2,3,4,5,6); |
| 18327 |
endchar; |
| 18328 |
|
| 18329 |
iff known chars.math_box_vbar: |
| 18330 |
bskchar "Box-vertical bar operator"; |
| 18331 |
beginarithchar(chars.math_box_vbar); uni "non"; |
| 18332 |
adjust_fit(0,0); |
| 18333 |
pickup tiny.nib; |
| 18334 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18335 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18336 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 18337 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18338 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18339 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18340 |
x5=x6=.5w; y5=y1l; y6=y3l; |
| 18341 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18342 |
infill obl(1l,5l,4l)---obl(4l,1l,6l)---obl(6l,4l,5l)---obl(5l,6l,1l)---cycle; |
| 18343 |
infill obl(2l,5r,3l)---obl(3l,2l,6r)---obl(6r,3l,5r)---obl(5r,6r,2l)---cycle; |
| 18344 |
penlabels(1,2,3,4,5,6); |
| 18345 |
endchar; |
| 18346 |
|
| 18347 |
iff known chars.math_box_bar_top: |
| 18348 |
bskchar "Box-bar top operator"; |
| 18349 |
beginarithchar(chars.math_box_bar_top); uni "non"; |
| 18350 |
adjust_fit(0,0); |
| 18351 |
pickup tiny.nib; |
| 18352 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18353 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18354 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18355 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 18356 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18357 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18358 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18359 |
y5=y6=math_axis; x5=x1l; x6=x2l; x7=x8=.5w; y7=y5r; y8=y1l; |
| 18360 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18361 |
infill obl(1l,5r,8l)---obl(8l,1l,7l)---obl(7l,8l,5r)---obl(5r,7l,1l)---cycle; |
| 18362 |
infill obl(2l,6r,8r)---obl(8r,2l,7r)---obl(7r,8r,6r)---obl(6r,7r,2l)---cycle; |
| 18363 |
infill obl(4l,5l,3l)---obl(3l,4l,6l)---obl(6l,3l,5l)---obl(5l,6l,4l)---cycle; |
| 18364 |
penlabels(1,2,3,4,5,6,7,8); |
| 18365 |
endchar; |
| 18366 |
|
| 18367 |
iff known chars.math_box_bar_bot: |
| 18368 |
bskchar "Box-bar bottom operator"; |
| 18369 |
beginarithchar(chars.math_box_bar_bot); uni "non"; |
| 18370 |
adjust_fit(0,0); |
| 18371 |
pickup tiny.nib; |
| 18372 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18373 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18374 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18375 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 18376 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18377 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18378 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18379 |
y5=y6=math_axis; x5=x1l; x6=x2l; x7=x8=.5w; y7=y5l; y8=y4l; |
| 18380 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18381 |
infill obl(1l,5r,2l)---obl(2l,1l,6r)---obl(6r,2l,5r)---obl(5r,6r,1l)---cycle; |
| 18382 |
infill obl(4l,5l,8l)---obl(8l,4l,7l)---obl(7l,8l,5l)---obl(5l,7l,4l)---cycle; |
| 18383 |
infill obl(6l,3l,7r)---obl(7r,6l,8r)---obl(8r,7r,3l)---obl(3l,8r,6l)---cycle; |
| 18384 |
penlabels(1,2,3,4,5,6,7,8); |
| 18385 |
endchar; |
| 18386 |
|
| 18387 |
iff known chars.math_box_bar_right: |
| 18388 |
bskchar "Box-bar right operator"; |
| 18389 |
beginarithchar(chars.math_box_bar_right); uni "non"; |
| 18390 |
adjust_fit(0,0); |
| 18391 |
pickup tiny.nib; |
| 18392 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18393 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18394 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 18395 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 18396 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18397 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18398 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18399 |
x5=x6=.5w; y5=y1l; y6=y3l; y7=y8=math_axis; x7=x5r; x8=x2l; |
| 18400 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18401 |
infill obl(1l,5l,4l)---obl(4l,1l,6l)---obl(6l,4l,5l)---obl(5l,6l,1l)---cycle; |
| 18402 |
infill obl(2l,8r,5r)---obl(5r,2l,7r)---obl(7r,5r,8r)---obl(8r,7r,2l)---cycle; |
| 18403 |
infill obl(3l,6r,8l)---obl(8l,3l,7l)---obl(7l,8l,6r)---obl(6r,7l,3l)---cycle; |
| 18404 |
penlabels(1,2,3,4,5,6,7,8); |
| 18405 |
endchar; |
| 18406 |
|
| 18407 |
iff known chars.math_box_bar_left: |
| 18408 |
bskchar "Box-bar left operator"; |
| 18409 |
beginarithchar(chars.math_box_bar_left); uni "non"; |
| 18410 |
adjust_fit(0,0); |
| 18411 |
pickup tiny.nib; |
| 18412 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18413 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18414 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 18415 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 18416 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18417 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18418 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18419 |
x5=x6=.5w; y5=y1l; y6=y3l; y7=y8=math_axis; x7=x1l; x8=x5l; |
| 18420 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18421 |
infill obl(1l,5l,7r)---obl(7r,1l,8r)---obl(8r,7r,5l)---obl(5l,8r,1l)---cycle; |
| 18422 |
infill obl(4l,7l,6l)---obl(6l,4l,8l)---obl(8l,6l,7l)---obl(7l,8l,4l)---cycle; |
| 18423 |
infill obl(2l,5r,3l)---obl(3l,2l,6r)---obl(6r,3l,5r)---obl(5r,6r,2l)---cycle; |
| 18424 |
penlabels(1,2,3,4,5,6,7,8); |
| 18425 |
endchar; |
| 18426 |
|
| 18427 |
iff known chars.math_box_dot: |
| 18428 |
bskchar "Box-dot operator"; |
| 18429 |
beginarithchar(chars.math_box_dot); uni "0x22A1"; |
| 18430 |
adjust_fit(0,0); |
| 18431 |
pickup tiny.nib; |
| 18432 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18433 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18434 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18435 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18436 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18437 |
z0=.5[z1,z3]; |
| 18438 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18439 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18440 |
dot(0); |
| 18441 |
penlabels(1,2,3,4); |
| 18442 |
endchar; |
| 18443 |
|
| 18444 |
iff known chars.math_box_asterisk: |
| 18445 |
bskchar "Box-asterisk operator"; |
| 18446 |
beginarithchar(chars.math_box_asterisk); uni "0x29C6"; |
| 18447 |
adjust_fit(0,0); |
| 18448 |
pickup tiny.nib; |
| 18449 |
numeric size, ast, vast; |
| 18450 |
path p; |
| 18451 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18452 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18453 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18454 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18455 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18456 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18457 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18458 |
z5=.5[z1l,z3l]; ast:=3/4stem; vast=.7stem; |
| 18459 |
pos6(ast,0); x6=x5; |
| 18460 |
size=1/3h; if (size+.5ast)*cosd(30) > (lft w)-u-x5: |
| 18461 |
size:= (lft w-u-x5)/cosd(30)-.5ast; fi; |
| 18462 |
y6=y5+size; |
| 18463 |
p:=z5---z6r{dir120}..z6l---z5; |
| 18464 |
p:=subpath (xpart(p intersectiontimes ((x5,y5+vast)--(w,y5+vast))), |
| 18465 |
xpart(p intersectiontimes ((x5,y5+vast)--(0,y5+vast)))) of p; |
| 18466 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z5,i).. endfor cycle; |
| 18467 |
penlabels(1,2,3,4,6); labels(5); |
| 18468 |
endchar; |
| 18469 |
|
| 18470 |
iff known chars.math_box_circle: |
| 18471 |
bskchar "Box-circle operator"; |
| 18472 |
beginarithchar(chars.math_box_circle); uni "0x29C7"; |
| 18473 |
adjust_fit(0,0); |
| 18474 |
pickup tiny.nib; |
| 18475 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 18476 |
pos11(rule_thickness,270); pos12(rule_thickness,270); |
| 18477 |
lft x9=lft x12=u; x10=x11=w-x9; |
| 18478 |
y9=y10; y11=y12; .5[y9,y11]=math_axis; y9r-y11r=x10-x9; |
| 18479 |
x9l:=x12l:=x9l+rule_thickness-currentbreadth; x10l:=x11l:=w-x9l; |
| 18480 |
filldraw obl(9r,12r,10r)---obl(10r,9r,11r)---obl(11r,10r,12r)---obl(12r,11r,9r)---cycle; |
| 18481 |
infill obl(9l,12l,10l)---obl(10l,9l,11l)---obl(11l,10l,12l)---obl(12l,11l,9l)---cycle; |
| 18482 |
lft x6=4u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness-3u; |
| 18483 |
y2=y0; x0=x8; |
| 18484 |
circle_points(rule_thickness); |
| 18485 |
filldraw draw_circle.l; |
| 18486 |
infill draw_circle.r; |
| 18487 |
penlabels(9,10,11,12); |
| 18488 |
endchar; |
| 18489 |
|
| 18490 |
iff known chars.math_box_triangle: |
| 18491 |
bskchar "Box-triangle operator"; |
| 18492 |
beginarithchar(chars.math_box_triangle); uni "non"; |
| 18493 |
adjust_fit(0,0); |
| 18494 |
pickup tiny.nib; |
| 18495 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18496 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18497 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18498 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18499 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18500 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18501 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18502 |
x7=.5[x5,x6]=.5w; x6-x5=1.5(y7-y5)=w-7u; |
| 18503 |
y5=y6; 1/3[y5,y7]=math_axis; |
| 18504 |
y5'=y6'=y5+(rule_thickness-currentbreadth); |
| 18505 |
x5'-x5=x6-x6'=(rule_thickness-currentbreadth)/cosd(angle(z7-z5)); |
| 18506 |
z7'=z6'+whatever*(z7-z6)=z5'+whatever*(z7-z5); |
| 18507 |
filldraw obl(5,7,6)---obl(6,5,7)---obl(7,6,5)---cycle; |
| 18508 |
oblu:=2oblu; |
| 18509 |
infill obl(5',7',6')---obl(6',5',7')---obl(7',6',5')---cycle; |
| 18510 |
penlabels(1,2,3,4); labels(5,5',6,6',7,7',8,8'); |
| 18511 |
endchar; |
| 18512 |
|
| 18513 |
iff known chars.math_box_division: |
| 18514 |
bskchar "Box-division operator"; |
| 18515 |
beginarithchar(chars.math_box_division); uni "non"; |
| 18516 |
adjust_fit(0,0); |
| 18517 |
pickup tiny.nib; |
| 18518 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18519 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18520 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18521 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1r-y3r=x2-x1; |
| 18522 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18523 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18524 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18525 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18526 |
.5[x5,x6]=.5w=x7=x8; lft x5=rt x1l+u; y5=y6=math_axis; |
| 18527 |
.5[y7,y8]=y5; y7-y8=.75(x6-x5); |
| 18528 |
filldraw bskrule(5,6,hair,hair)---cycle; |
| 18529 |
dot(7); dot(8); |
| 18530 |
penlabels(1,2,3,4); penlabels(5,6); |
| 18531 |
endchar; |
| 18532 |
|
| 18533 |
iff known chars.math_box_box: |
| 18534 |
bskchar "Box-box operator"; |
| 18535 |
beginarithchar(chars.math_box_box); uni "0x29C8"; |
| 18536 |
adjust_fit(0,0); |
| 18537 |
pickup tiny.nib; |
| 18538 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 18539 |
pos3(rule_thickness,270); pos4(rule_thickness,270); |
| 18540 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18541 |
pos7(rule_thickness,270); pos8(rule_thickness,270); |
| 18542 |
lft x1=lft x4=u; x2=x3=w-x1; |
| 18543 |
y1=y2; y3=y4; .5[y1,y3]=.5[y5,y7]=math_axis; y1r-y3r=x2-x1; |
| 18544 |
x1l:=x4l:=x1l+rule_thickness-currentbreadth; x2l:=x3l:=w-x1l; |
| 18545 |
.5[x1,x2]=.5[x5,x7]; x5=x8; x6=x7; y5=y6; y7=y8; y5r-y7r=x6-x5=w-7u; |
| 18546 |
x5l:=x8l:=x5l+rule_thickness-currentbreadth; x6l:=x7l:=w-x5l; |
| 18547 |
filldraw obl(1r,4r,2r)---obl(2r,1r,3r)---obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18548 |
infill obl(1l,4l,2l)---obl(2l,1l,3l)---obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18549 |
filldraw obl(5r,8r,6r)---obl(6r,5r,7r)---obl(7r,6r,8r)---obl(8r,7r,5r)---cycle; |
| 18550 |
infill obl(5l,8l,6l)---obl(6l,5l,7l)---obl(7l,6l,8l)---obl(8l,7l,5l)---cycle; |
| 18551 |
penlabels(1,2,3,4,5,6,7,8); |
| 18552 |
endchar; |
| 18553 |
|
| 18554 |
iff known chars.math_diamond_wider: |
| 18555 |
bskchar "Wider diamond"; |
| 18556 |
beginarithchar(chars.math_diamond_wider); uni "non"; |
| 18557 |
adjust_fit(0,0); |
| 18558 |
pickup tiny.nib; |
| 18559 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18560 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; y4l=h+o; |
| 18561 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18562 |
oblu:=2oblu; |
| 18563 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18564 |
penlabels(1,2,3,4); |
| 18565 |
endchar; |
| 18566 |
|
| 18567 |
iff known chars.math_diamond_triangle: |
| 18568 |
bskchar "Diamond-triangle operator"; |
| 18569 |
beginarithchar(chars.math_diamond_triangle); uni "non"; |
| 18570 |
adjust_fit(0,0); |
| 18571 |
pickup tiny.nib; |
| 18572 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18573 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; y4l=h+o; |
| 18574 |
x7=.5[x5,x6]=.5w; x6-x5=1.5(y7-y5)=w-7.5u; |
| 18575 |
y5=y6; .2[y5,y7]=math_axis; |
| 18576 |
y5'=y6'=y5+(rule_thickness-currentbreadth); |
| 18577 |
x5'-x5=x6-x6'=(rule_thickness-currentbreadth)/cosd(angle(z7-z5)); |
| 18578 |
z7'=z6'+whatever*(z7-z6)=z5'+whatever*(z7-z5); |
| 18579 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18580 |
oblu:=2oblu; |
| 18581 |
infill obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18582 |
oblu:=f_obl; |
| 18583 |
filldraw obl(5,7,6)---obl(6,5,7)---obl(7,6,5)---cycle; |
| 18584 |
oblu:=2oblu; |
| 18585 |
infill obl(5',7',6')---obl(6',5',7')---obl(7',6',5')---cycle; |
| 18586 |
penlabels(1,2,3,4); labels(5,5',6,6',7,7',8,8'); |
| 18587 |
endchar; |
| 18588 |
|
| 18589 |
iff known chars.math_diamond_circle: |
| 18590 |
bskchar "Diamond-circle operator"; |
| 18591 |
beginarithchar(chars.math_diamond_circle); uni "non"; |
| 18592 |
adjust_fit(0,0); |
| 18593 |
pickup tiny.nib; |
| 18594 |
lft x6=4u+.5rule_thickness; x2=w-x6; y2=math_axis; top y8=h-.5rule_thickness-3u; |
| 18595 |
y2=y0; x0=x8; |
| 18596 |
circle_points(rule_thickness); |
| 18597 |
pos9(rule_thickness,0); pos10(rule_thickness,90); pos11(rule_thickness,180); pos12(rule_thickness,270); |
| 18598 |
lft x9l=u; rt x11l=w-u; y9=y11=.5[y10,y12]=math_axis; x10=x12=.5w; y12l=h+o; |
| 18599 |
filldraw obl(9l,12l,10l)---obl(10l,9l,11l)--obl(11l,10l,12l)---obl(12l,11l,9l)---cycle; |
| 18600 |
oblu:=2oblu; |
| 18601 |
infill obl(9r,12r,10r)---obl(10r,9r,11r)--obl(11r,10r,12r)---obl(12r,11r,9r)---cycle; |
| 18602 |
filldraw draw_circle.l; |
| 18603 |
infill draw_circle.r; |
| 18604 |
penlabels(9,10,11,12); |
| 18605 |
endchar; |
| 18606 |
|
| 18607 |
iff known chars.math_diamond_minus: |
| 18608 |
bskchar "Diamond-minus operator"; |
| 18609 |
beginarithchar(chars.math_diamond_minus); uni "non"; |
| 18610 |
adjust_fit(0,0); |
| 18611 |
pickup tiny.nib; |
| 18612 |
path p[]; numeric tim[]; |
| 18613 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18614 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 18615 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis=y5=y6; x2=x4=.5w; y4l=h+o; |
| 18616 |
x5=x1; x6=x3; |
| 18617 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18618 |
oblu:=2oblu; |
| 18619 |
p0=obl(4r,3r,1r)---obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---cycle; |
| 18620 |
p1=z6l--z5l; |
| 18621 |
p2=z5r--z6r; |
| 18622 |
(tim0,tim1)=subpath(0,3) of p0 intersectiontimes p1; |
| 18623 |
(tim2-3,tim3)=subpath(3,length p0) of p0 intersectiontimes p1; |
| 18624 |
(tim4,tim5)=subpath(0,3) of p0 intersectiontimes p2; |
| 18625 |
(tim6-6,tim7)=subpath(6,length p0) of p0 intersectiontimes p2; |
| 18626 |
infill subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 18627 |
..subpath(rundy(p1,tim3),rundy(p1,tim1).zpet) of p1..cycle; |
| 18628 |
infill subpath(rundy(p0,tim6),length p0) of p0 |
| 18629 |
..subpath(0,rundy(p0,tim4).zpet) of p0 |
| 18630 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2..cycle; |
| 18631 |
penlabels(1,2,3,4,5,6); |
| 18632 |
endchar; |
| 18633 |
|
| 18634 |
iff known chars.math_diamond_vbar: |
| 18635 |
bskchar "Diamond-vertical bar operator"; |
| 18636 |
beginarithchar(chars.math_diamond_vbar); uni "non"; |
| 18637 |
adjust_fit(0,0); |
| 18638 |
pickup tiny.nib; |
| 18639 |
path p[]; numeric tim[]; |
| 18640 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18641 |
pos5(rule_thickness,180); pos6(rule_thickness,180); |
| 18642 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=x5=x6=.5w; y4l=h+o; |
| 18643 |
y5=y2; y6=y4; |
| 18644 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18645 |
oblu:=2oblu; |
| 18646 |
p0=obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18647 |
p1=z6l--z5l; |
| 18648 |
p2=z5r--z6r; |
| 18649 |
(tim0,tim1)=subpath(0,3) of p0 intersectiontimes p1; |
| 18650 |
(tim2-3,tim3)=subpath(3,length p0) of p0 intersectiontimes p1; |
| 18651 |
(tim4,tim5)=subpath(0,3) of p0 intersectiontimes p2; |
| 18652 |
(tim6-6,tim7)=subpath(6,length p0) of p0 intersectiontimes p2; |
| 18653 |
infill subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 18654 |
..subpath(rundy(p1,tim3),rundy(p1,tim1).zpet) of p1..cycle; |
| 18655 |
infill subpath(rundy(p0,tim6),length p0) of p0 |
| 18656 |
..subpath(0,rundy(p0,tim4).zpet) of p0 |
| 18657 |
..subpath(rundy(p2,tim5),rundy(p2,tim7).zpet) of p2..cycle; |
| 18658 |
penlabels(1,2,3,4,5,6); |
| 18659 |
endchar; |
| 18660 |
|
| 18661 |
iff known chars.math_diamond_plus: |
| 18662 |
bskchar "Diamond-plus operator"; |
| 18663 |
beginarithchar(chars.math_diamond_plus); uni "non"; |
| 18664 |
adjust_fit(0,0); |
| 18665 |
pickup tiny.nib; |
| 18666 |
path p[]; numeric tim[]; |
| 18667 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18668 |
pos5(rule_thickness,180); pos6(rule_thickness,180); |
| 18669 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 18670 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=y7=y8=math_axis; x2=x4=x5=x6=.5w; y4l=h+o; |
| 18671 |
y5=y2; y6=y4; x7=x1; x8=x3; |
| 18672 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18673 |
oblu:=2oblu; |
| 18674 |
p0=obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18675 |
p5=obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---obl(1r,4r,2r)---cycle; |
| 18676 |
p1=z6l--z5l; |
| 18677 |
p2=z5r--z6r; |
| 18678 |
p3=z8l--z7l; |
| 18679 |
p4=z7r--z8r; |
| 18680 |
(tim0,tim1)=subpath(0,2) of p0 intersectiontimes p3; |
| 18681 |
(tim2-1,tim3)=subpath(1,length p0) of p0 intersectiontimes p2; |
| 18682 |
(tim4,tim5)=p2 intersectiontimes p3; |
| 18683 |
(tim6-2,tim7)=subpath(2,4) of p0 intersectiontimes p1; |
| 18684 |
(tim8-4,tim9)=subpath(4,6) of p0 intersectiontimes p3; |
| 18685 |
(tim10,tim11)=p3 intersectiontimes p1; |
| 18686 |
(tim12-4,tim13)=subpath(4,6) of p0 intersectiontimes p4; |
| 18687 |
(tim14-6,tim15)=subpath(6,8) of p0 intersectiontimes p1; |
| 18688 |
(tim16,tim17)=p1 intersectiontimes p4; |
| 18689 |
(tim18-4,tim19)=subpath(4,7) of p5 intersectiontimes p2; |
| 18690 |
(tim20-6,tim21)=subpath(6,length p5) of p5 intersectiontimes p4; |
| 18691 |
(tim22,tim23)=p4 intersectiontimes p2; |
| 18692 |
infill subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 18693 |
..subpath(rundy(p2,tim3),rundy(p2,tim4).zpet) of p2 |
| 18694 |
..subpath(rundy(p3,tim5),rundy(p3,tim1).zpet) of p3..cycle; |
| 18695 |
infill subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 18696 |
..subpath(rundy(p3,tim9),rundy(p3,tim10).zpet) of p3 |
| 18697 |
..subpath(rundy(p1,tim11),rundy(p1,tim7).zpet) of p1..cycle; |
| 18698 |
infill subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0 |
| 18699 |
..subpath(rundy(p1,tim15),rundy(p1,tim16).zpet) of p1 |
| 18700 |
..subpath(rundy(p4,tim17),rundy(p4,tim13).zpet) of p4..cycle; |
| 18701 |
infill subpath(rundy(p5,tim18),rundy(p5,tim20).zpet) of p5 |
| 18702 |
..subpath(rundy(p4,tim21),rundy(p4,tim22).zpet) of p4 |
| 18703 |
..subpath(rundy(p2,tim23),rundy(p2,tim19).zpet) of p2..cycle; |
| 18704 |
penlabels(1,2,3,4,5,6,7,8); |
| 18705 |
endchar; |
| 18706 |
|
| 18707 |
iff known chars.math_diamond_times: |
| 18708 |
bskchar "Diamond-times operator"; |
| 18709 |
beginarithchar(chars.math_diamond_times); uni "non"; |
| 18710 |
adjust_fit(0,0); |
| 18711 |
pickup tiny.nib; |
| 18712 |
path p[]; numeric tim[]; |
| 18713 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 18714 |
pos5(rule_thickness,225); pos6(rule_thickness,225); |
| 18715 |
pos7(rule_thickness,135); pos8(rule_thickness,135); |
| 18716 |
lft x1l=u; rt x3l=w-u; y1=y3=.5[y2,y4]=math_axis; x2=x4=.5w; y4l=h+o; |
| 18717 |
z5=.5[z2,z3]; z6=.5[z1,z4]; z7=.5[z1,z2]; z8=.5[z3,z4]; |
| 18718 |
filldraw obl(1l,4l,2l)---obl(2l,1l,3l)--obl(3l,2l,4l)---obl(4l,3l,1l)---cycle; |
| 18719 |
oblu:=2oblu; |
| 18720 |
p0=obl(1r,4r,2r)---obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---cycle; |
| 18721 |
p5=obl(2r,1r,3r)--obl(3r,2r,4r)---obl(4r,3r,1r)---obl(1r,4r,2r)---cycle; |
| 18722 |
p1=z6l--z5l; |
| 18723 |
p2=z5r--z6r; |
| 18724 |
p3=z8l--z7l; |
| 18725 |
p4=z7r--z8r; |
| 18726 |
(tim0,tim1)=subpath(0,2) of p0 intersectiontimes p3; |
| 18727 |
(tim2-1,tim3)=subpath(1,length p0) of p0 intersectiontimes p2; |
| 18728 |
(tim4,tim5)=p2 intersectiontimes p3; |
| 18729 |
(tim6-2,tim7)=subpath(2,4) of p0 intersectiontimes p1; |
| 18730 |
(tim8-4,tim9)=subpath(4,6) of p0 intersectiontimes p3; |
| 18731 |
(tim10,tim11)=p3 intersectiontimes p1; |
| 18732 |
(tim12-4,tim13)=subpath(4,6) of p0 intersectiontimes p4; |
| 18733 |
(tim14-6,tim15)=subpath(6,8) of p0 intersectiontimes p1; |
| 18734 |
(tim16,tim17)=p1 intersectiontimes p4; |
| 18735 |
(tim18-4,tim19)=subpath(4,7) of p5 intersectiontimes p2; |
| 18736 |
(tim20-6,tim21)=subpath(6,length p5) of p5 intersectiontimes p4; |
| 18737 |
(tim22,tim23)=p4 intersectiontimes p2; |
| 18738 |
infill subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 18739 |
..subpath(rundy(p2,tim3),rundy(p2,tim4).zpet) of p2 |
| 18740 |
..subpath(rundy(p3,tim5),rundy(p3,tim1).zpet) of p3..cycle; |
| 18741 |
infill subpath(rundy(p0,tim6),rundy(p0,tim8).zpet) of p0 |
| 18742 |
..subpath(rundy(p3,tim9),rundy(p3,tim10).zpet) of p3 |
| 18743 |
..subpath(rundy(p1,tim11),rundy(p1,tim7).zpet) of p1..cycle; |
| 18744 |
infill subpath(rundy(p0,tim12),rundy(p0,tim14).zpet) of p0 |
| 18745 |
..subpath(rundy(p1,tim15),rundy(p1,tim16).zpet) of p1 |
| 18746 |
..subpath(rundy(p4,tim17),rundy(p4,tim13).zpet) of p4..cycle; |
| 18747 |
infill subpath(rundy(p5,tim18),rundy(p5,tim20).zpet) of p5 |
| 18748 |
..subpath(rundy(p4,tim21),rundy(p4,tim22).zpet) of p4 |
| 18749 |
..subpath(rundy(p2,tim23),rundy(p2,tim19).zpet) of p2..cycle; |
| 18750 |
penlabels(1,2,3,4,5,6,7,8); |
| 18751 |
endchar; |
| 18752 |
|
| 18753 |
iff known chars.math_prime: |
| 18754 |
bskchar "Prime symbol"; |
| 18755 |
beginchar(chars.math_prime,4u#+curve#,.8asc_height#,0); uni "non"; |
| 18756 |
adjust_fit(0,0); |
| 18757 |
pickup tiny.nib; |
| 18758 |
y2=u; y1+.5curve=h; x2=.5u+.5stem; x1+.5curve=w-.5curve; |
| 18759 |
numeric theta; theta:=angle(z1-z2)-90; |
| 18760 |
penpos1(curve,theta); pos2(stem,theta); |
| 18761 |
z1'=z1l+.5curve*dir(theta+50); |
| 18762 |
bskpoints(2,1,curve,curve); |
| 18763 |
filldraw z1ll{dir(angle(z2l-z1l)+5)}...z2l&z2l..z2rr---z1r...z1'..cycle; |
| 18764 |
penlabels(1,2); labels(1',1ll,2rr); |
| 18765 |
endchar; |
| 18766 |
|
| 18767 |
charscription(4u,asc_height,0)( |
| 18768 |
h-y2=.7(.8asc_height-u); y1+.35curve=h; x2=.5u+.35stem; x1+.35curve=w-.35curve; |
| 18769 |
numeric theta; theta:=angle(z1-z2)-90; |
| 18770 |
penpos1(.7curve,theta); pos2(.7stem,theta); |
| 18771 |
z1'=z1l+.35curve*dir(theta+50); |
| 18772 |
bskpoints(2,1,.7curve,.7curve); |
| 18773 |
filldraw z1ll{dir(angle(z2l-z1l)+5)}...z2l&z2l..z2rr---z1r...z1'..cycle; |
| 18774 |
penlabels(1,2); labels(1',1ll,2rr); |
| 18775 |
); |
| 18776 |
|
| 18777 |
iff known chars.sign_prime: |
| 18778 |
bskchar "Prime sign (superscript)"; |
| 18779 |
beginchar(chars.sign_prime,4u#,asc_height#,0); uni "0x2032"; |
| 18780 |
adjust_fit(0,0); |
| 18781 |
pickup tiny.nib; |
| 18782 |
usechar; |
| 18783 |
endchar; |
| 18784 |
|
| 18785 |
iff known chars.sign_prime_double: |
| 18786 |
bskchar "Double prime sign (superscript)"; |
| 18787 |
beginchar(chars.sign_prime_double,7u#,asc_height#,0); uni "0x2033"; |
| 18788 |
adjust_fit(0,0); |
| 18789 |
pickup tiny.nib; |
| 18790 |
usechar; |
| 18791 |
save x,y; |
| 18792 |
usechar shifted (WW-4u,0); |
| 18793 |
endchar; |
| 18794 |
|
| 18795 |
iff known chars.sign_prime_triple: |
| 18796 |
bskchar "Triple prime sign (superscript)"; |
| 18797 |
beginchar(chars.sign_prime_triple,10u#,asc_height#,0); uni "0x2034"; |
| 18798 |
adjust_fit(0,0); |
| 18799 |
pickup tiny.nib; |
| 18800 |
usechar; |
| 18801 |
save x,y; |
| 18802 |
usechar shifted (WW-7u,0); |
| 18803 |
save x,y; |
| 18804 |
usechar shifted (WW-4u,0); |
| 18805 |
endchar; |
| 18806 |
|
| 18807 |
iff known chars.sign_prime_quadruple: |
| 18808 |
bskchar "Quadruple prime sign (superscript)"; |
| 18809 |
beginchar(chars.sign_prime_quadruple,13u#,asc_height#,0); uni "0x2057"; |
| 18810 |
adjust_fit(0,0); |
| 18811 |
pickup tiny.nib; |
| 18812 |
usechar; |
| 18813 |
save x,y; |
| 18814 |
usechar shifted (WW-10u,0); |
| 18815 |
save x,y; |
| 18816 |
usechar shifted (WW-7u,0); |
| 18817 |
save x,y; |
| 18818 |
usechar shifted (WW-4u,0); |
| 18819 |
endchar; |
| 18820 |
|
| 18821 |
iff known chars.math_backprime: |
| 18822 |
bskchar "Back prime symbol"; |
| 18823 |
beginchar(chars.math_backprime,4u#+curve#,.8asc_height#,0); uni "non"; |
| 18824 |
adjust_fit(0,0); |
| 18825 |
pickup tiny.nib; |
| 18826 |
y2=u; y1+.5curve=h; x2=w-.5u-.5stem; x1-.5curve=.5curve; |
| 18827 |
numeric theta; theta:=angle(z1-z2)-90; |
| 18828 |
penpos1(curve,theta); pos2(stem,theta); |
| 18829 |
z1'=z1r+.5curve*dir(theta+140); |
| 18830 |
bskpoints(1,2,curve,curve); |
| 18831 |
filldraw z1rr{dir(angle(z2r-z1r)-5)}...z2r&z2r..z2ll---z1l...z1'..cycle; |
| 18832 |
penlabels(1,2); labels(1',1rr,2ll); |
| 18833 |
endchar; |
| 18834 |
|
| 18835 |
charscription(4u,asc_height,0)( |
| 18836 |
h-y2=.7(.8asc_height-u); y1+.35curve=h; x2=w-.5u-.35stem; x1-.35curve=.35curve; |
| 18837 |
numeric theta; theta:=angle(z1-z2)-90; |
| 18838 |
penpos1(.7curve,theta); pos2(.7stem,theta); |
| 18839 |
z1'=z1r+.35curve*dir(theta+140); |
| 18840 |
bskpoints(1,2,.7curve,.7curve); |
| 18841 |
filldraw z1rr{dir(angle(z2r-z1r)-5)}...z2r&z2r..z2ll---z1l...z1'..cycle; |
| 18842 |
penlabels(1,2); labels(1',1rr,2ll); |
| 18843 |
); |
| 18844 |
|
| 18845 |
iff known chars.sign_backprime: |
| 18846 |
bskchar "Back prime sign (superscript)"; |
| 18847 |
beginchar(chars.sign_backprime,4u#,asc_height#,0); uni "0x2035"; |
| 18848 |
adjust_fit(0,0); |
| 18849 |
pickup tiny.nib; |
| 18850 |
usechar; |
| 18851 |
endchar; |
| 18852 |
|
| 18853 |
iff known chars.sign_backprime_double: |
| 18854 |
bskchar "Double back prime sign"; |
| 18855 |
beginchar(chars.sign_backprime_double,7u#,asc_height#,0); uni "0x2036"; |
| 18856 |
adjust_fit(0,0); |
| 18857 |
pickup tiny.nib; |
| 18858 |
usechar; |
| 18859 |
save x,y; |
| 18860 |
usechar shifted (WW-4u,0); |
| 18861 |
endchar; |
| 18862 |
|
| 18863 |
iff known chars.sign_backprime_triple: |
| 18864 |
bskchar "Triple back prime sign"; |
| 18865 |
beginchar(chars.sign_backprime_triple,10u#,asc_height#,0); uni "0x2037"; |
| 18866 |
adjust_fit(0,0); |
| 18867 |
pickup tiny.nib; |
| 18868 |
usechar; |
| 18869 |
save x,y; |
| 18870 |
usechar shifted (WW-7u,0); |
| 18871 |
save x,y; |
| 18872 |
usechar shifted (WW-4u,0); |
| 18873 |
endchar; |
| 18874 |
|
| 18875 |
iff known chars.math_sim: |
| 18876 |
bskchar "Similarity sign"; |
| 18877 |
beginchar(chars.math_sim, 14u#, v_center(.5x_height#)); uni "0x223C"; |
| 18878 |
adjust_fit(0,0); |
| 18879 |
pickup tiny.nib; |
| 18880 |
numeric spread; spread:=h+d; |
| 18881 |
vlnka(0,1); |
| 18882 |
endchar; |
| 18883 |
|
| 18884 |
iff known chars.math_sim_thick: |
| 18885 |
bskchar "Thick similarity sign"; |
| 18886 |
beginchar(chars.math_sim_thick, 14u#, v_center(.5x_height#)); uni "non"; |
| 18887 |
adjust_fit(0,0); |
| 18888 |
pickup tiny.nib; |
| 18889 |
numeric spread; spread:=h+d; |
| 18890 |
{{ numeric old_curve, old_hair; old_curve:=curve; old_hair:=hair; |
| 18891 |
save curve, hair; numeric curve, hair; |
| 18892 |
curve:=1.5old_curve; hair:=1.5old_hair; |
| 18893 |
vlnka(0,1); |
| 18894 |
}}; |
| 18895 |
endchar; |
| 18896 |
|
| 18897 |
iff known chars.math_sim_dots: |
| 18898 |
bskchar "Similarity sign with dots"; |
| 18899 |
beginchar(chars.math_sim_dots, 14u#, v_center(x_height#)); uni "0x223B"; |
| 18900 |
adjust_fit(0,0); |
| 18901 |
pickup tiny.nib; |
| 18902 |
numeric spread; spread:=.5x_height; |
| 18903 |
x2=x3=.5w; .5[y2,y3]=.5[y0,y1]=math_axis; top y2+.5dot_size=h; |
| 18904 |
vlnka(0,1); |
| 18905 |
dot(2); dot(3); |
| 18906 |
endchar; |
| 18907 |
|
| 18908 |
iff known chars.math_sim_dot: |
| 18909 |
bskchar "Similarity sign with dot"; |
| 18910 |
beginchar(chars.math_sim_dot, 14u#, v_center(x_height#)); uni "0x2A6A"; |
| 18911 |
adjust_fit(0,0); |
| 18912 |
pickup tiny.nib; |
| 18913 |
numeric spread; spread:=.5x_height; |
| 18914 |
x2=.5w; .5[y0,y1]=math_axis; top y2+.5dot_size=h; |
| 18915 |
vlnka(0,1); |
| 18916 |
dot(2); |
| 18917 |
endchar; |
| 18918 |
|
| 18919 |
iff known chars.math_sim_dots_rising: |
| 18920 |
bskchar "Similarity sign with rising dots"; |
| 18921 |
beginchar(chars.math_sim_dots_rising, 14u#, v_center(.8x_height#)); uni "0x2A6B"; |
| 18922 |
adjust_fit(0,0); |
| 18923 |
pickup tiny.nib; |
| 18924 |
numeric spread; spread:=.5x_height; |
| 18925 |
.5[x2,x3]=.5w; rt x2=x1a; |
| 18926 |
.5[y2,y3]=.5[y0,y1]=math_axis; top y2+.5dot_size=h; |
| 18927 |
vlnka(0,1); |
| 18928 |
dot(2); dot(3); |
| 18929 |
endchar; |
| 18930 |
|
| 18931 |
iff known chars.math_sim_BB: |
| 18932 |
bskchar "Blackboard-bold similarity sign"; |
| 18933 |
beginchar(chars.math_sim_BB, 14u#, v_center(.5x_height#)); uni "non"; |
| 18934 |
adjust_fit(0,0); |
| 18935 |
pickup tiny.nib; |
| 18936 |
numeric spread; spread:=h+d; |
| 18937 |
{{ numeric old_curve, old_hair; old_curve:=curve; old_hair:=hair; |
| 18938 |
save curve, hair; numeric curve, hair; |
| 18939 |
curve:=1.5old_curve; hair:=1.5old_hair; |
| 18940 |
vlnka(0,1); |
| 18941 |
}}; |
| 18942 |
path p[]; numeric tim[]; |
| 18943 |
p100:=subpath(0,4) of _vlnka; |
| 18944 |
p101:=subpath(5,infinity) of _vlnka; |
| 18945 |
z100=bsktouch(subpath(0,2) of p100,dir135,p101,dir-45); |
| 18946 |
z101=bsktouch(subpath(2,infinity) of p100,dir135,p101,dir-45); |
| 18947 |
tim100=xpart(p100 intersectiontimes (z100--(x100,y0r-5))); |
| 18948 |
tim101=xpart(p101 intersectiontimes (z100--(x100,y1))); |
| 18949 |
tim102=xpart(p100 intersectiontimes (z101--(x101,y0))); |
| 18950 |
tim103=xpart(p101 intersectiontimes (z101--(x101,y1))); |
| 18951 |
oblu:=curve; |
| 18952 |
infill subpath(rundy(p100,tim100),rundy(p100,tim102).zpet) of p100 |
| 18953 |
..subpath(rundy(p101,tim103),rundy(p101,tim101).zpet) of p101..cycle; |
| 18954 |
labels(100,101); |
| 18955 |
endchar; |
| 18956 |
|
| 18957 |
iff known chars.math_sim_not: |
| 18958 |
bskchar "Not similarity sign"; |
| 18959 |
beginchar(chars.math_sim_not, 14u#, v_center(.7x_height#)); uni "0x2241"; |
| 18960 |
adjust_fit(0,0); |
| 18961 |
pickup tiny.nib; |
| 18962 |
numeric spread, tim[]; spread:=.5x_height; |
| 18963 |
.5[y0,y1]=math_axis; |
| 18964 |
vlnka(0,1).nodraw; |
| 18965 |
top y2=h; bot y3=-d; .5[x2,x3]=.5w; x2=x1a; |
| 18966 |
pos2(rule_thickness,angle(z3-z2)+90); pos3(rule_thickness,angle(z3-z2)+90); |
| 18967 |
bskpoints(2,3,rule_thickness,rule_thickness); |
| 18968 |
p0:=subpath(0,4) of _vlnka; |
| 18969 |
p1:=subpath(5,infinity) of _vlnka; |
| 18970 |
p2:=z2l---z3ll..{z2-z3}z3r; |
| 18971 |
p3:=z3r---z2rr..{z3-z2}z2l; |
| 18972 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 18973 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 18974 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 18975 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 18976 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 18977 |
..subpath(rundy(p2,(tim1,2oblu)),infinity) of p2 |
| 18978 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 18979 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 18980 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 18981 |
..subpath(rundy(p3,(tim5,2oblu)),infinity) of p3 |
| 18982 |
..subpath(0,rundy(p2,tim7).zpet) of p2 |
| 18983 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 18984 |
penlabels(2,3); labels(2rr,3ll); |
| 18985 |
endchar; |
| 18986 |
|
| 18987 |
iff known chars.math_lazyS: |
| 18988 |
bskchar "Inverted lazy S sign"; |
| 18989 |
beginchar(chars.math_lazyS, 14u#, v_center(.5x_height#)); uni "0x223E"; |
| 18990 |
adjust_fit(0,0); |
| 18991 |
pickup tiny.nib; |
| 18992 |
numeric spread; spread:=h+d; |
| 18993 |
pos0(rule_thickness,0); pos1(rule_thickness,0); pos2(rule_thickness,250); pos3(rule_thickness,250); |
| 18994 |
pos4(hair,90); pos5(hair,90); |
| 18995 |
top y2l=top y5r=h; bot y3r=bot y4l=-d; x1-x3=1/4(x1-x0); .5[x0,x1]=.5[x2,x3]=.5w; lft x0l=u; |
| 18996 |
y0=y1=.5[y2,y3]; x4=x2; x5=x3; |
| 18997 |
filldraw z4l{left}..z0l..z2l..z3l..z1l..{left}z5l..{right}z5r..z1r..z3r..z2r..z0r..{right}z4r..cycle; |
| 18998 |
penlabels(0,1,2,3,4,5); |
| 18999 |
endchar; |
| 19000 |
|
| 19001 |
iff known chars.math_sinus: |
| 19002 |
bskchar "Sinus sign"; |
| 19003 |
beginchar(chars.math_sinus, 14u#, v_center(.5x_height#)); uni "0x223F"; |
| 19004 |
adjust_fit(0,0); |
| 19005 |
pickup tiny.nib; |
| 19006 |
numeric spread; spread:=h+d; |
| 19007 |
pos0(rule_thickness,0); pos1(rule_thickness,0); pos2(rule_thickness,270); pos3(rule_thickness,270); |
| 19008 |
pos4(rule_thickness,180); |
| 19009 |
x1-x3=1/4(x1-x0); .5[x0,x1]=.5[x2,x3]=x4=.5w; lft x0l=u; |
| 19010 |
y0=y1=.5[y2,y3]=y4=math_axis; y2-y0=(x1-x0)/6.28; |
| 19011 |
filldraw z0l{dir45}..{right}z2l..{dir-45}z4l..{right}z3l..{dir45}z1l |
| 19012 |
..z1r{dir-135}..{left}z3r..{dir135}z4r..{left}z2r..{dir-135}z0r..cycle; |
| 19013 |
penlabels(0,1,2,3,4,5); |
| 19014 |
endchar; |
| 19015 |
|
| 19016 |
iff known chars.math_sim_eq: |
| 19017 |
bskchar "Similar or equal sign"; |
| 19018 |
beginchar(chars.math_sim_eq, 14u#, v_center(.5x_height#+3u#)); uni "0x2243"; |
| 19019 |
adjust_fit(0,0); |
| 19020 |
pickup tiny.nib; |
| 19021 |
numeric spread; spread:=.5x_height; |
| 19022 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19023 |
top y1=h; lft x2=u; rt x3=w-u; y2l=y3l=-d; |
| 19024 |
vlnka(0,1); |
| 19025 |
filldraw bskrule(2,3,hair,hair); |
| 19026 |
penlabels(2,3); |
| 19027 |
endchar; |
| 19028 |
|
| 19029 |
iff known chars.math_sim_eq_neg: |
| 19030 |
bskchar "Negated similar or equal sign"; |
| 19031 |
beginchar(chars.math_sim_eq_neg, 14u#,.25x_height#+1.5u#+math_axis#,.25x_height#+1.5u#-math_axis#); uni "0x2244"; |
| 19032 |
adjust_fit(0,0); |
| 19033 |
pickup tiny.nib; |
| 19034 |
path p[]; numeric tim[]; |
| 19035 |
numeric spread; spread:=.5x_height; |
| 19036 |
oblu:=oblu; oblu.more:=2oblu; |
| 19037 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19038 |
top y1=h; lft x2=u; rt x3=w-u; y2l=y3l=-d; |
| 19039 |
vlnka(0,1).nodraw; |
| 19040 |
bskpoints(2,3,hair,hair); |
| 19041 |
top y4=h; bot y5=-d-2.5rule_thickness; .5[x4,x5]=.5w; x4=x1a; |
| 19042 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 19043 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 19044 |
p0:=subpath(0,4) of _vlnka; |
| 19045 |
p1:=subpath(5,infinity) of _vlnka; |
| 19046 |
p2:=z4l---z5ll..{z4-z5}z5r; |
| 19047 |
p3:=z5r---z4rr..{z5-z4}z4l; |
| 19048 |
p4:=z3r--z2rr; |
| 19049 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 19050 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 19051 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 19052 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 19053 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 19054 |
(tim10,tim11)=p3 intersectiontimes p4; |
| 19055 |
y1'l=y1'r=y2r; z1'l=whatever[z4l,z5l]; z1'r=whatever[z4r,z5r]; |
| 19056 |
y2'l=y2'r=y2l; z2'l=whatever[z4l,z5l]; z2'r=whatever[z4r,z5r]; |
| 19057 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 19058 |
..subpath(rundy(p2,(tim1,2oblu)),rundy(p2,tim8).zpet) of p2 |
| 19059 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 19060 |
..z2l---tobl(2'l,2l,5ll).more---z5ll..z5r---tobl(2'r,5r,3l)---z3ll..z3r |
| 19061 |
..subpath(0,rundy(p4,(tim11,2oblu)).zpet) of p4 |
| 19062 |
..subpath(rundy(p3,(tim10,2oblu)),rundy(p3,(tim3,2oblu)).zpet) of p3 |
| 19063 |
..subpath(rundy(p0,(tim2,2oblu)),infinity) of p0 |
| 19064 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 19065 |
..subpath(rundy(p3,(tim5,2oblu)),infinity) of p3 |
| 19066 |
..subpath(0,rundy(p2,(tim7,2oblu)).zpet) of p2 |
| 19067 |
..subpath(rundy(p1,(tim6,2oblu)),infinity) of p1..cycle; |
| 19068 |
penlabels(1',2,2',3,4,5,6,7); labels(2rr,3ll,4rr,5ll); |
| 19069 |
endchar; |
| 19070 |
|
| 19071 |
iff known chars.math_eq_double_sim: |
| 19072 |
bskchar "Double equal or similar sign"; |
| 19073 |
beginchar(chars.math_eq_double_sim, 14u#, v_center(.95x_height#+2u#)); uni "0x2A73"; |
| 19074 |
adjust_fit(0,0); |
| 19075 |
pickup tiny.nib; |
| 19076 |
numeric spread; spread:=.5x_height; |
| 19077 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19078 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19079 |
bot y0=-d; lft x2=lft x4=u; rt x3=rt x5=w-u; y4r=y5r=h; y2=y3=y4-.45x_height; |
| 19080 |
vlnka(0,1); |
| 19081 |
filldraw bskrule(2,3,hair,hair); |
| 19082 |
filldraw bskrule(4,5,hair,hair); |
| 19083 |
penlabels(2,3,4,5); |
| 19084 |
endchar; |
| 19085 |
|
| 19086 |
iff known chars.math_sim_eq_double: |
| 19087 |
bskchar "Similar or double equal sign"; |
| 19088 |
beginchar(chars.math_sim_eq_double, 14u#, v_center(.95x_height#+2u#)); uni "0x2245"; |
| 19089 |
adjust_fit(0,0); |
| 19090 |
pickup tiny.nib; |
| 19091 |
numeric spread; spread:=.5x_height; |
| 19092 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19093 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19094 |
top y1=h; lft x2=lft x4=u; rt x3=rt x5=w-u; y2l=y3l=-d; y4=y5=y3+.45x_height; |
| 19095 |
vlnka(0,1); |
| 19096 |
filldraw bskrule(2,3,hair,hair); |
| 19097 |
filldraw bskrule(4,5,hair,hair); |
| 19098 |
penlabels(2,3,4,5); |
| 19099 |
endchar; |
| 19100 |
|
| 19101 |
iff known chars.math_congruent_dot: |
| 19102 |
bskchar "Congruent with dot"; |
| 19103 |
beginchar(chars.math_congruent_dot, 14u#, .775x_height#+u#+math_axis#,.475x_height#+u#-math_axis#); uni "0x2A6D"; |
| 19104 |
adjust_fit(0,0); |
| 19105 |
pickup tiny.nib; |
| 19106 |
numeric spread; spread:=.5x_height; |
| 19107 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19108 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19109 |
top y1=h-.3x_height; lft x2=lft x4=u; rt x3=rt x5=w-u; y2l=y3l=-d; y4=y5=y3+.45x_height; |
| 19110 |
x6=.5w; top y6+.5dot_size=h; |
| 19111 |
vlnka(0,1); |
| 19112 |
filldraw bskrule(2,3,hair,hair); |
| 19113 |
filldraw bskrule(4,5,hair,hair); |
| 19114 |
dot(6); |
| 19115 |
penlabels(2,3,4,5); |
| 19116 |
endchar; |
| 19117 |
|
| 19118 |
iff known chars.math_sim_neq_double: |
| 19119 |
bskchar "Similar or not double equal sign"; |
| 19120 |
beginchar(chars.math_sim_neq_double, 14u#, v_center(.95x_height#+2u#)); uni "0x2246"; |
| 19121 |
adjust_fit(0,0); |
| 19122 |
pickup tiny.nib; oblu.more:=2oblu; |
| 19123 |
numeric spread; spread:=.5x_height; |
| 19124 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19125 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19126 |
top y1=h; lft x2=lft x4=u; rt x3=rt x5=w-u; y2l=y3l=-d; y4=y5=y3+.45x_height; |
| 19127 |
vlnka(0,1); |
| 19128 |
top top y6=bot y1a.r; bot y7=-d-2.5rule_thickness; .5[x6,x7]=.5w; x6-x7=3u; |
| 19129 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 19130 |
bskpoints(2,3,hair,hair); bskpoints(4,5,hair,hair); |
| 19131 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 19132 |
y2'l=y2'r=y2l; y3'l=y3'r=y2r; y4'l=y4'r=y4l; y5'l=y5'r=y4r; |
| 19133 |
z5'l=whatever[z6l,z7l]; z5'r=whatever[z6r,z7r]; |
| 19134 |
z4'l=whatever[z6l,z7l]; z4'r=whatever[z6r,z7r]; |
| 19135 |
z3'l=whatever[z6l,z7l]; z3'r=whatever[z6r,z7r]; |
| 19136 |
z2'l=whatever[z6l,z7l]; z2'r=whatever[z6r,z7r]; |
| 19137 |
filldraw z4l---obl(4'l,4l,3'l).more---obl(3'l,4'l,2r)---z2rr..z2l---obl(2'l,2l,7l).more---z7l..z7r---obl(2'r,7r,3l)---z3ll..z3r---obl(3'r,3r,4'r).more---obl(4'r,3'r,5l)---z5ll..z5r---obl(5'r,5r,6r).more---z6r..z6l---obl(5'l,6l,4r)---z4rr..cycle; |
| 19138 |
penlabels(2,2',3,3',4,4',5,5',6,7); |
| 19139 |
endchar; |
| 19140 |
|
| 19141 |
iff known chars.math_sim_eq_double_neg: |
| 19142 |
bskchar "Negated similar or double equal sign"; |
| 19143 |
beginchar(chars.math_sim_eq_double_neg, 14u#, v_center(.95x_height#+2u#)); uni "0x2247"; |
| 19144 |
adjust_fit(0,0); |
| 19145 |
pickup tiny.nib; |
| 19146 |
path p[]; numeric tim[]; |
| 19147 |
numeric spread; spread:=.5x_height; |
| 19148 |
oblu:=oblu; oblu.more:=2oblu; |
| 19149 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19150 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19151 |
top y1=h; lft x2=lft x4=u; rt x3=rt x5=w-u; y2l=y3l=-d; y4=y5=y3+.45x_height; |
| 19152 |
vlnka(0,1).nodraw; |
| 19153 |
bskpoints(2,3,hair,hair); bskpoints(4,5,hair,hair); |
| 19154 |
top y6=h; bot y7=-d-2.5rule_thickness; .5[x6,x7]=.5w; x6=x1a; |
| 19155 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 19156 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 19157 |
p0:=subpath(0,4) of _vlnka; |
| 19158 |
p1:=subpath(5,infinity) of _vlnka; |
| 19159 |
p2:=z6l---z7ll..{z6-z7}z7r; |
| 19160 |
p3:=z7r---z6rr..{z7-z6}z6l; |
| 19161 |
p4:=z5r--z4rr; |
| 19162 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 19163 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 19164 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 19165 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 19166 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 19167 |
(tim10,tim11)=p3 intersectiontimes p4; |
| 19168 |
y2'l=y2'r=y2l; z2'l=whatever[z6l,z7l]; z2'r=whatever[z6r,z7r]; |
| 19169 |
y3'l=y3'r=y2r; z3'l=whatever[z6l,z7l]; z3'r=whatever[z6r,z7r]; |
| 19170 |
y4'l=y4'r=y4l; z4'l=whatever[z6l,z7l]; z4'r=whatever[z6r,z7r]; |
| 19171 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 19172 |
..subpath(rundy(p2,(tim1,2oblu)),rundy(p2,tim8).zpet) of p2 |
| 19173 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 19174 |
..z4l---obl(4'l,4l,3'l).more---obl(3'l,4'l,2r)---z2rr..z2l |
| 19175 |
---obl(2'l,2l,7l).more---z7ll..z7r |
| 19176 |
---obl(2'r,7r,3l)---z3ll..z3r---obl(3'r,3r,4'r).more---obl(4'r,3'r,5l) |
| 19177 |
---z5ll..z5r |
| 19178 |
..subpath(0,rundy(p4,(tim11,2oblu)).zpet) of p4 |
| 19179 |
..subpath(rundy(p3,(tim10,2oblu)),rundy(p3,(tim3,2oblu)).zpet) of p3 |
| 19180 |
..subpath(rundy(p0,(tim2,2oblu)),infinity) of p0 |
| 19181 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 19182 |
..subpath(rundy(p3,(tim5,2oblu)),infinity) of p3 |
| 19183 |
..subpath(0,rundy(p2,(tim7,2oblu)).zpet) of p2 |
| 19184 |
..subpath(rundy(p1,(tim6,2oblu)),infinity) of p1..cycle; |
| 19185 |
penlabels(2,2',3,3',4,4',5,6,7); labels(2rr,3ll,4rr,5ll); |
| 19186 |
endchar; |
| 19187 |
|
| 19188 |
iff known chars.math_eq_sim: |
| 19189 |
bskchar "Equal or similar sign"; |
| 19190 |
beginchar(chars.math_eq_sim, 14u#, v_center(.5x_height#+3u#)); uni "0x2242"; |
| 19191 |
adjust_fit(0,0); |
| 19192 |
pickup tiny.nib; |
| 19193 |
numeric spread; spread:=(h+d)-3u; |
| 19194 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 19195 |
bot y0=-d; lft x2=u; rt x3=w-u; y2r=y3r=h; |
| 19196 |
vlnka(0,1); |
| 19197 |
filldraw bskrule(2,3,hair,hair); |
| 19198 |
endchar; |
| 19199 |
|
| 19200 |
iff known chars.math_approx: |
| 19201 |
bskchar "Approximate sign"; |
| 19202 |
beginchar(chars.math_approx, 14u#, v_center(x_height#)); uni "0x2248"; |
| 19203 |
adjust_fit(0,0); |
| 19204 |
pickup tiny.nib; |
| 19205 |
numeric spread; spread:=.5(h+d); |
| 19206 |
top y1=h; bot y2=-d; |
| 19207 |
vlnka(0,1); |
| 19208 |
vlnka(2,3); |
| 19209 |
endchar; |
| 19210 |
|
| 19211 |
iff known chars.math_approx_thick: |
| 19212 |
bskchar "Thick approximate sign"; |
| 19213 |
beginchar(chars.math_approx_thick, 14u#, v_center(x_height#)); uni "non"; |
| 19214 |
adjust_fit(0,0); |
| 19215 |
pickup tiny.nib; |
| 19216 |
numeric spread; spread:=.5(h+d); |
| 19217 |
top y1=h; bot y2=-d; |
| 19218 |
{{ numeric old_curve, old_hair; old_curve:=curve; old_hair:=hair; |
| 19219 |
save curve, hair; numeric curve, hair; |
| 19220 |
curve:=1.5old_curve; hair:=1.5old_hair; |
| 19221 |
vlnka(0,1); |
| 19222 |
vlnka(2,3); |
| 19223 |
}}; |
| 19224 |
endchar; |
| 19225 |
|
| 19226 |
iff known chars.math_sim_minus_sim: |
| 19227 |
bskchar "Similar-minus-similar sign"; |
| 19228 |
beginchar(chars.math_sim_minus_sim, 14u#, v_center(1.5x_height#)); uni "0x2A6C"; |
| 19229 |
adjust_fit(0,0); |
| 19230 |
pickup tiny.nib; |
| 19231 |
numeric spread; spread:=.5x_height; |
| 19232 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19233 |
top y1=h; bot y2=-d; |
| 19234 |
lft x4=u; rt x5=w-u; y4=y5=math_axis; |
| 19235 |
vlnka(0,1); |
| 19236 |
vlnka(2,3); |
| 19237 |
filldraw bskrule(4,5,hair,hair); |
| 19238 |
penlabels(4,5); |
| 19239 |
endchar; |
| 19240 |
|
| 19241 |
iff known chars.math_approx_circumflex: |
| 19242 |
bskchar "Approximate sign with circumflex accent"; |
| 19243 |
beginchar(chars.math_approx_circumflex, 14u#, asc_height#,.5x_height#-math_axis#); uni "0x2A6F"; |
| 19244 |
adjust_fit(0,0); |
| 19245 |
pickup tiny.nib; |
| 19246 |
numeric spread; spread:=.5x_height; |
| 19247 |
top y1=.5x_height+math_axis; bot y2=-d; x5=.5w+u; |
| 19248 |
vlnka(0,1); |
| 19249 |
vlnka(2,3); |
| 19250 |
circumflex(4,5,6); |
| 19251 |
endchar; |
| 19252 |
|
| 19253 |
iff known chars.math_tilde_triple: |
| 19254 |
bskchar "Triple tilde"; |
| 19255 |
beginchar(chars.math_tilde_triple, 14u#, v_center(1.2x_height#)); uni "0x224B"; |
| 19256 |
adjust_fit(0,0); |
| 19257 |
pickup tiny.nib; |
| 19258 |
numeric spread; spread:=.4x_height; |
| 19259 |
top y1=h; bot y2=-d; .5[y4,y5]=math_axis; |
| 19260 |
vlnka(0,1); |
| 19261 |
vlnka(2,3); |
| 19262 |
vlnka(4,5); |
| 19263 |
endchar; |
| 19264 |
|
| 19265 |
iff known chars.math_approx_bar: |
| 19266 |
bskchar "Approximate sign with lower bar"; |
| 19267 |
beginchar(chars.math_approx_bar, 14u#, v_center(x_height#+3u#)); uni "0x224A"; |
| 19268 |
adjust_fit(0,0); |
| 19269 |
pickup tiny.nib; |
| 19270 |
numeric spread; spread:=.5x_height; |
| 19271 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19272 |
top y1=h; bot y2=-d+3u; |
| 19273 |
y4l=y5l=-d; lft x4=u; rt x5=w-u; |
| 19274 |
vlnka(0,1); |
| 19275 |
vlnka(2,3); |
| 19276 |
filldraw bskrule(4,5,hair,hair); |
| 19277 |
penlabels(4,5); |
| 19278 |
endchar; |
| 19279 |
|
| 19280 |
iff known chars.math_approx_eq_double: |
| 19281 |
bskchar "Approximate sign with lower bar"; |
| 19282 |
beginchar(chars.math_approx_eq_double, 14u#, v_center(x_height#+2u#+.45x_height#)); uni "0x2A70"; |
| 19283 |
adjust_fit(0,0); |
| 19284 |
pickup tiny.nib; |
| 19285 |
numeric spread; spread:=.5x_height; |
| 19286 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19287 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 19288 |
top y1=h; bot y2=-d+2u+.45x_height; |
| 19289 |
y6l=y7l=-d; y4=y5=y6+.45x_height; lft x4=lft x6=u; rt x5=rt x7=w-u; |
| 19290 |
vlnka(0,1); |
| 19291 |
vlnka(2,3); |
| 19292 |
filldraw bskrule(4,5,hair,0); |
| 19293 |
filldraw bskrule(7,6,hair,0); |
| 19294 |
penlabels(4,5,6,7); |
| 19295 |
endchar; |
| 19296 |
|
| 19297 |
iff known chars.math_approx_neg: |
| 19298 |
bskchar "Negated approximate sign"; |
| 19299 |
beginchar(chars.math_approx_neg, 14u#, v_center(x_height#)); uni "0x2249"; |
| 19300 |
adjust_fit(0,0); |
| 19301 |
pickup tiny.nib; |
| 19302 |
path p[]; numeric tim[], spread; spread:=.5(h+d); |
| 19303 |
top y1=h; bot y2=-d; |
| 19304 |
vlnka(0,1).nodraw; p0:=_vlnka; |
| 19305 |
vlnka(2,3).nodraw; |
| 19306 |
.5[y4,y5]=math_axis;top y4=h+rule_thickness; .5[x4,x5]=.5w; rt x4=lft x1a; |
| 19307 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 19308 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 19309 |
p1:=subpath(0,4) of p0; |
| 19310 |
p2:=subpath(5,infinity) of p0; |
| 19311 |
p3:=subpath(0,4) of _vlnka; |
| 19312 |
p4:=subpath(5,infinity) of _vlnka; |
| 19313 |
p5:=z4l---z5ll..{z4-z5}z5r; |
| 19314 |
p6:=z5r---z4rr..{z5-z4}z4l; |
| 19315 |
(tim0,tim1)=p1 intersectiontimes p5; |
| 19316 |
(tim2,tim3)=p1 intersectiontimes p6; |
| 19317 |
(tim4,tim5)=p2 intersectiontimes p6; |
| 19318 |
(tim6,tim7)=p2 intersectiontimes p5; |
| 19319 |
(tim8,tim9)=p3 intersectiontimes p5; |
| 19320 |
(tim10,tim11)=p3 intersectiontimes p6; |
| 19321 |
(tim12,tim13)=p4 intersectiontimes p6; |
| 19322 |
(tim14,tim15)=p4 intersectiontimes p5; |
| 19323 |
filldraw subpath(0,rundy(p1,(tim0,2oblu)).zpet) of p1 |
| 19324 |
..subpath(rundy(p5,(tim1,2oblu)),rundy(p5,tim15).zpet) of p5 |
| 19325 |
..subpath(rundy(p4,tim14),infinity) of p4 |
| 19326 |
..subpath(0,rundy(p3,(tim8,2oblu)).zpet) of p3 |
| 19327 |
..subpath(rundy(p5,(tim9,2oblu)),infinity) of p5 |
| 19328 |
..subpath(0,rundy(p6,tim11).zpet) of p6 |
| 19329 |
..subpath(rundy(p3,tim10),infinity) of p3 |
| 19330 |
..subpath(0,rundy(p4,(tim12,2oblu)).zpet) of p4 |
| 19331 |
..subpath(rundy(p6,(tim13,2oblu)),rundy(p6,tim3).zpet) of p6 |
| 19332 |
..subpath(rundy(p1,tim2),infinity) of p1 |
| 19333 |
..subpath(0,rundy(p2,(tim4,2oblu)).zpet) of p2 |
| 19334 |
..subpath(rundy(p6,(tim5,2oblu)),infinity) of p6 |
| 19335 |
..subpath(0,rundy(p5,tim7).zpet) of p5 |
| 19336 |
..subpath(rundy(p2,tim6),infinity) of p2..cycle; |
| 19337 |
penlabels(4,5); |
| 19338 |
endchar; |
| 19339 |
|
| 19340 |
iff known chars.math_ceiling_left: |
| 19341 |
bskchar "Left ceiling bracket"; |
| 19342 |
beginchar(chars.math_ceiling_left,5.5u#,body_height#,paren_depth#); uni "0x2308"; |
| 19343 |
adjust_fit(0,0); |
| 19344 |
pickup tiny.nib; |
| 19345 |
pos1(hair,90); |
| 19346 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u; |
| 19347 |
top y2r=top y1r=h; bot y3r=-d; |
| 19348 |
rt z2l=(x2r+.5[stem,hair],y1l); z3l=(x2l,y3r); |
| 19349 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+hair*left..cycle; |
| 19350 |
penlabels(1,2,3); |
| 19351 |
endchar; |
| 19352 |
|
| 19353 |
iff known chars.math_ceiling_left_big: |
| 19354 |
bskchar "\big left ceiling bracket"; |
| 19355 |
beginchar(chars.math_ceiling_left_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 19356 |
adjust_fit(0,0); |
| 19357 |
pickup tiny.nib; |
| 19358 |
numeric breadth; breadth:=hair; |
| 19359 |
pos1(breadth,90); |
| 19360 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u-.25breadth; |
| 19361 |
top y2r=top y1r=h; bot y3r=-d; |
| 19362 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19363 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 19364 |
penlabels(1,2,3); |
| 19365 |
endchar; |
| 19366 |
|
| 19367 |
iff known chars.math_ceiling_left_Big: |
| 19368 |
bskchar "\Big left ceiling bracket"; |
| 19369 |
beginchar(chars.math_ceiling_left_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 19370 |
adjust_fit(0,0); |
| 19371 |
pickup tiny.nib; |
| 19372 |
numeric breadth; breadth:=.25[hair,stem]; |
| 19373 |
pos1(breadth,90); |
| 19374 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u-.25breadth; |
| 19375 |
top y2r=top y1r=h; bot y3r=-d; |
| 19376 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19377 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 19378 |
penlabels(1,2,3); |
| 19379 |
endchar; |
| 19380 |
|
| 19381 |
iff known chars.math_ceiling_left_bigg: |
| 19382 |
bskchar "\bigg left ceiling bracket"; |
| 19383 |
beginchar(chars.math_ceiling_left_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 19384 |
adjust_fit(0,0); |
| 19385 |
pickup tiny.nib; |
| 19386 |
numeric breadth; breadth:=.5[hair,stem]; |
| 19387 |
pos1(breadth,90); |
| 19388 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u-.25breadth; |
| 19389 |
top y2r=top y1r=h; bot y3r=-d; |
| 19390 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19391 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 19392 |
penlabels(1,2,3); |
| 19393 |
endchar; |
| 19394 |
|
| 19395 |
iff known chars.math_ceiling_left_Bigg: |
| 19396 |
bskchar "\Bigg left ceiling bracket"; |
| 19397 |
beginchar(chars.math_ceiling_left_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 19398 |
adjust_fit(0,0); |
| 19399 |
pickup tiny.nib; |
| 19400 |
numeric breadth; breadth:=.75[hair,stem]; |
| 19401 |
pos1(breadth,90); |
| 19402 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u-.25breadth; |
| 19403 |
top y2r=top y1r=h; bot y3r=-d; |
| 19404 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19405 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 19406 |
penlabels(1,2,3); |
| 19407 |
endchar; |
| 19408 |
|
| 19409 |
iff known chars.math_floor_left: |
| 19410 |
bskchar "Left floor bracket"; |
| 19411 |
beginchar(chars.math_floor_left,5.5u#,body_height#,paren_depth#); uni "0x230A"; |
| 19412 |
adjust_fit(0,0); |
| 19413 |
pickup tiny.nib; |
| 19414 |
pos3(hair,270); |
| 19415 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u; |
| 19416 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19417 |
rt z1l=(x1r+.5[stem,hair],y1r); z2l=(x1l,y3l); |
| 19418 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+hair*left..cycle; |
| 19419 |
penlabels(1,2,3); |
| 19420 |
endchar; |
| 19421 |
|
| 19422 |
iff known chars.math_floor_left_big: |
| 19423 |
bskchar "\big left floor bracket"; |
| 19424 |
beginchar(chars.math_floor_left_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 19425 |
adjust_fit(0,0); |
| 19426 |
pickup tiny.nib; |
| 19427 |
numeric breadth; breadth:=hair; |
| 19428 |
pos3(breadth,270); |
| 19429 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u; |
| 19430 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19431 |
rt z1l=(x1r+.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19432 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*left..cycle; |
| 19433 |
penlabels(1,2,3); |
| 19434 |
endchar; |
| 19435 |
|
| 19436 |
iff known chars.math_floor_left_Big: |
| 19437 |
bskchar "\Big left floor bracket"; |
| 19438 |
beginchar(chars.math_floor_left_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 19439 |
adjust_fit(0,0); |
| 19440 |
pickup tiny.nib; |
| 19441 |
numeric breadth; breadth:=.25[hair,stem]; |
| 19442 |
pos3(breadth,270); |
| 19443 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u-.25breadth; |
| 19444 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19445 |
rt z1l=(x1r+.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19446 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*left..cycle; |
| 19447 |
penlabels(1,2,3); |
| 19448 |
endchar; |
| 19449 |
|
| 19450 |
iff known chars.math_floor_left_bigg: |
| 19451 |
bskchar "\bigg left floor bracket"; |
| 19452 |
beginchar(chars.math_floor_left_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 19453 |
adjust_fit(0,0); |
| 19454 |
pickup tiny.nib; |
| 19455 |
numeric breadth; breadth:=.5[hair,stem]; |
| 19456 |
pos3(breadth,270); |
| 19457 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u-.25breadth; |
| 19458 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19459 |
rt z1l=(x1r+.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19460 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*left..cycle; |
| 19461 |
penlabels(1,2,3); |
| 19462 |
endchar; |
| 19463 |
|
| 19464 |
iff known chars.math_floor_left_Bigg: |
| 19465 |
bskchar "\Bigg left floor bracket"; |
| 19466 |
beginchar(chars.math_floor_left_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 19467 |
adjust_fit(0,0); |
| 19468 |
pickup tiny.nib; |
| 19469 |
numeric breadth; breadth:=.75[hair,stem]; |
| 19470 |
pos3(breadth,270); |
| 19471 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u-.25breadth; |
| 19472 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19473 |
rt z1l=(x1r+.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19474 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*left..cycle; |
| 19475 |
penlabels(1,2,3); |
| 19476 |
endchar; |
| 19477 |
|
| 19478 |
iff known chars.math_ceiling_right: |
| 19479 |
bskchar "Right ceiling bracket"; |
| 19480 |
beginchar(chars.math_ceiling_right,5.5u#,body_height#,paren_depth#); uni "0x2309"; |
| 19481 |
adjust_fit(0,0); |
| 19482 |
pickup tiny.nib; |
| 19483 |
pos1(hair,90); |
| 19484 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u; |
| 19485 |
top y2r=top y1r=h; bot y3r=-d; |
| 19486 |
lft z2l=(x2r-.5[stem,hair],y1l); z3l=(x2l,y3r); |
| 19487 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+hair*right..cycle; |
| 19488 |
penlabels(1,2,3); |
| 19489 |
endchar; |
| 19490 |
|
| 19491 |
iff known chars.math_ceiling_right_big: |
| 19492 |
bskchar "\big right ceiling bracket"; |
| 19493 |
beginchar(chars.math_ceiling_right_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 19494 |
adjust_fit(0,0); |
| 19495 |
pickup tiny.nib; |
| 19496 |
numeric breadth; breadth:=hair; |
| 19497 |
pos1(breadth,90); |
| 19498 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u+.25breadth; |
| 19499 |
top y2r=top y1r=h; bot y3r=-d; |
| 19500 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19501 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 19502 |
penlabels(1,2,3); |
| 19503 |
endchar; |
| 19504 |
|
| 19505 |
iff known chars.math_ceiling_right_Big: |
| 19506 |
bskchar "\Big right ceiling bracket"; |
| 19507 |
beginchar(chars.math_ceiling_right_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 19508 |
adjust_fit(0,0); |
| 19509 |
pickup tiny.nib; |
| 19510 |
numeric breadth; breadth:=.25[hair,stem]; |
| 19511 |
pos1(breadth,90); |
| 19512 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u+.25breadth; |
| 19513 |
top y2r=top y1r=h; bot y3r=-d; |
| 19514 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19515 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 19516 |
penlabels(1,2,3); |
| 19517 |
endchar; |
| 19518 |
|
| 19519 |
iff known chars.math_ceiling_right_bigg: |
| 19520 |
bskchar "\big right ceiling bracket"; |
| 19521 |
beginchar(chars.math_ceiling_right_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 19522 |
adjust_fit(0,0); |
| 19523 |
pickup tiny.nib; |
| 19524 |
numeric breadth; breadth:=.5[hair,stem]; |
| 19525 |
pos1(breadth,90); |
| 19526 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u+.25breadth; |
| 19527 |
top y2r=top y1r=h; bot y3r=-d; |
| 19528 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19529 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 19530 |
penlabels(1,2,3); |
| 19531 |
endchar; |
| 19532 |
|
| 19533 |
iff known chars.math_ceiling_right_Bigg: |
| 19534 |
bskchar "\Bigg right ceiling bracket"; |
| 19535 |
beginchar(chars.math_ceiling_right_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 19536 |
adjust_fit(0,0); |
| 19537 |
pickup tiny.nib; |
| 19538 |
numeric breadth; breadth:=.75[hair,stem]; |
| 19539 |
pos1(breadth,90); |
| 19540 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u+.25breadth; |
| 19541 |
top y2r=top y1r=h; bot y3r=-d; |
| 19542 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 19543 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,3l)---z3l---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 19544 |
penlabels(1,2,3); |
| 19545 |
endchar; |
| 19546 |
|
| 19547 |
iff known chars.math_floor_right: |
| 19548 |
bskchar "Right floor bracket"; |
| 19549 |
beginchar(chars.math_floor_right,5.5u#,body_height#,paren_depth#); uni "0x230B"; |
| 19550 |
adjust_fit(0,0); |
| 19551 |
pickup tiny.nib; |
| 19552 |
pos3(hair,270); |
| 19553 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 19554 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19555 |
lft z1l=(x1r-.5[stem,hair],y1r); z2l=(x1l,y3l); |
| 19556 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+hair*right..cycle; |
| 19557 |
penlabels(1,2,3); |
| 19558 |
endchar; |
| 19559 |
|
| 19560 |
iff known chars.math_floor_right_big: |
| 19561 |
bskchar "\big right floor bracket"; |
| 19562 |
beginchar(chars.math_floor_right_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 19563 |
adjust_fit(0,0); |
| 19564 |
pickup tiny.nib; |
| 19565 |
numeric breadth; breadth:=hair; |
| 19566 |
pos3(breadth,270); |
| 19567 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 19568 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19569 |
lft z1l=(x1r-.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19570 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*right..cycle; |
| 19571 |
penlabels(1,2,3); |
| 19572 |
endchar; |
| 19573 |
|
| 19574 |
iff known chars.math_floor_right_Big: |
| 19575 |
bskchar "\Big right floor bracket"; |
| 19576 |
beginchar(chars.math_floor_right_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 19577 |
adjust_fit(0,0); |
| 19578 |
pickup tiny.nib; |
| 19579 |
numeric breadth; breadth:=.25[hair,stem]; |
| 19580 |
pos3(breadth,270); |
| 19581 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 19582 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19583 |
lft z1l=(x1r-.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19584 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*right..cycle; |
| 19585 |
penlabels(1,2,3); |
| 19586 |
endchar; |
| 19587 |
|
| 19588 |
iff known chars.math_floor_right_bigg: |
| 19589 |
bskchar "\bigg right floor bracket"; |
| 19590 |
beginchar(chars.math_floor_right_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 19591 |
adjust_fit(0,0); |
| 19592 |
pickup tiny.nib; |
| 19593 |
numeric breadth; breadth:=.5[hair,stem]; |
| 19594 |
pos3(breadth,270); |
| 19595 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 19596 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19597 |
lft z1l=(x1r-.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19598 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*right..cycle; |
| 19599 |
penlabels(1,2,3); |
| 19600 |
endchar; |
| 19601 |
|
| 19602 |
iff known chars.math_floor_right_Bigg: |
| 19603 |
bskchar "\Bigg right floor bracket"; |
| 19604 |
beginchar(chars.math_floor_right_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 19605 |
adjust_fit(0,0); |
| 19606 |
pickup tiny.nib; |
| 19607 |
numeric breadth; breadth:=.75[hair,stem]; |
| 19608 |
pos3(breadth,270); |
| 19609 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 19610 |
top y1r=h; bot y2r=bot y3r=-d; |
| 19611 |
lft z1l=(x1r-.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 19612 |
filldraw z3r---obl(2r,3r,1r)---obl(1r,2r,1l)---z1l---obl(2l,1l,3l)---z3l+breadth*right..cycle; |
| 19613 |
penlabels(1,2,3); |
| 19614 |
endchar; |
| 19615 |
|
| 19616 |
iff known chars.math_logical_not: |
| 19617 |
bskchar "Logical not sign"; |
| 19618 |
beginchar(chars.math_logical_not,13u#, x_height#,0); uni "0x00AC"; |
| 19619 |
italcorr x_height#*slant-.5u#; |
| 19620 |
adjust_fit(0,0); |
| 19621 |
pickup tiny.nib; |
| 19622 |
oblu:=2oblu; |
| 19623 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 19624 |
lft x1=u; rt x3r=w-u; x2=x3r; |
| 19625 |
y1=y2=.5[bar_height,x_height]; y1-y3=1/3(x2-x1); if y3<stem: y3:=stem; fi |
| 19626 |
x2l:=x3l; |
| 19627 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); |
| 19628 |
filldraw z1l---obl(2l,1l,3l)---z3ll..z3r---z2r---z1rr..cycle; |
| 19629 |
penlabels(1,2,3); labels(1rr,3ll); |
| 19630 |
endchar; |
| 19631 |
|
| 19632 |
iff known chars.math_logical_not_double: |
| 19633 |
bskchar "Logical not sign (double stroked)"; |
| 19634 |
beginchar(chars.math_logical_not_double,13u#, x_height#,0); uni "0x2AEC"; |
| 19635 |
italcorr x_height#*slant-.5u#; |
| 19636 |
adjust_fit(0,0); |
| 19637 |
pickup tiny.nib; |
| 19638 |
oblu:=2oblu; |
| 19639 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,0); |
| 19640 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19641 |
lft x1=lft x5=u; rt x3r=w-u; x2=x3r; x4=x3l; |
| 19642 |
top y1=top y2=x_height; y3=.2x_height; y4=y5=bar_height; |
| 19643 |
x2l:=x3l; |
| 19644 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); bskpoints(5,4,hair,hair); |
| 19645 |
filldraw z1l---obl(2l,1l,3l)---obl(4r,2l,5r)---z5rr..z5l---obl(4l,5l,3l)---z3ll |
| 19646 |
..z3r---z2r---z1rr..cycle; |
| 19647 |
penlabels(1,2,3,4,5); labels(1rr,3ll,4ll,5rr); |
| 19648 |
endchar; |
| 19649 |
|
| 19650 |
iff known chars.math_logical_not_inv: |
| 19651 |
bskchar "Inverted logical not sign"; |
| 19652 |
beginchar(chars.math_logical_not_inv,13u#, x_height#,0); uni "0x2310"; |
| 19653 |
italcorr x_height#*slant-.5u#; |
| 19654 |
adjust_fit(0,0); |
| 19655 |
pickup tiny.nib; |
| 19656 |
oblu:=2oblu; |
| 19657 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 19658 |
rt x1=w-u; lft x3r=u; x2=x3r; |
| 19659 |
y1=y2=.5[bar_height,x_height]; y3-y1=1/3(x2-x1); if y3<stem: y3:=stem; fi |
| 19660 |
x2l:=x3l; |
| 19661 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); |
| 19662 |
filldraw z1l---obl(2l,1l,3l)---z3ll..z3r---z2r---z1rr..cycle; |
| 19663 |
penlabels(1,2,3); labels(1rr,3ll); |
| 19664 |
endchar; |
| 19665 |
|
| 19666 |
iff known chars.math_logical_not_inv_double: |
| 19667 |
bskchar "Inverted logical not sign (double stroked)"; |
| 19668 |
beginchar(chars.math_logical_not_inv_double,13u#, x_height#,0); uni "0x2AED"; |
| 19669 |
italcorr x_height#*slant-.5u#; |
| 19670 |
adjust_fit(0,0); |
| 19671 |
pickup tiny.nib; |
| 19672 |
oblu:=2oblu; |
| 19673 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(rule_thickness,180); |
| 19674 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 19675 |
rt x1=rt x5=w-u; lft x3r=u; x2=x3r; x4=x3l; |
| 19676 |
top y1=top y2=x_height; y3=.2x_height; y4=y5=bar_height; |
| 19677 |
x2l:=x3l; |
| 19678 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); bskpoints(5,4,hair,hair); |
| 19679 |
filldraw z1l---obl(2l,1l,3l)---obl(4r,2l,5r)---z5rr..z5l---obl(4l,5l,3l)---z3ll |
| 19680 |
..z3r---z2r---z1rr..cycle; |
| 19681 |
penlabels(1,2,3,4,5); labels(1rr,3ll,4ll,5rr); |
| 19682 |
endchar; |
| 19683 |
|
| 19684 |
iff known chars.math_product_interior: |
| 19685 |
bskchar "Interior product sign"; |
| 19686 |
beginchar(chars.math_product_interior,13u#, x_height#,0); uni "0x2A3C"; |
| 19687 |
italcorr x_height#*slant-.5u#; |
| 19688 |
adjust_fit(0,0); |
| 19689 |
pickup tiny.nib; |
| 19690 |
oblu:=2oblu; |
| 19691 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,0); |
| 19692 |
lft x1=u; rt x3r=w-u; x2=x3r; |
| 19693 |
y1=y2=math_axis; y3=h; |
| 19694 |
x2l:=x3l; |
| 19695 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); |
| 19696 |
filldraw z1l---obl(2l,1l,3l)---z3ll..z3r---z2r---z1rr..cycle; |
| 19697 |
penlabels(1,2,3); labels(1rr,3ll); |
| 19698 |
endchar; |
| 19699 |
|
| 19700 |
iff known chars.math_product_interior_right: |
| 19701 |
bskchar "Righthand interior product sign"; |
| 19702 |
beginchar(chars.math_product_interior_right,13u#, x_height#,0); uni "0x2A3D"; |
| 19703 |
italcorr x_height#*slant-.5u#; |
| 19704 |
adjust_fit(0,0); |
| 19705 |
pickup tiny.nib; |
| 19706 |
oblu:=2oblu; |
| 19707 |
pos1(rule_thickness,-90); pos2(rule_thickness,-90); pos3(rule_thickness,180); |
| 19708 |
rt x1=w-u; lft x3r=u; x2=x3r; |
| 19709 |
y1=y2=math_axis; y3=h; |
| 19710 |
x2l:=x3l; |
| 19711 |
bskpoints(1,2,hair,hair); bskpoints(2,3,hair,hair); |
| 19712 |
filldraw z1l---obl(2l,1l,3l)---z3ll..z3r---z2r---z1rr..cycle; |
| 19713 |
penlabels(1,2,3); labels(1rr,3ll); |
| 19714 |
endchar; |
| 19715 |
|
| 19716 |
iff known chars.math_forall: |
| 19717 |
bskchar "Universal quantifier"; |
| 19718 |
beginchar(chars.math_forall,11u#,asc_height#,0); uni "0x2200"; |
| 19719 |
italcorr asc_height#*slant+.75u#; |
| 19720 |
adjust_fit(0,0); |
| 19721 |
pickup tiny.nib; |
| 19722 |
numeric theta; oblu:=2oblu; |
| 19723 |
pos1(rule_thickness,0); pos3(rule_thickness,0); |
| 19724 |
top y1r=top y3l=h; |
| 19725 |
lft x1l=0; rt x3r=w; x2=.5w; bot y2=-apex_o; |
| 19726 |
theta:=angle(z1l-z2)-90; |
| 19727 |
pos2'(rule_thickness,theta); z2'l=z2; y1'=y1r; z1'=z2'r+whatever*unitvector(z1l-z2'l); |
| 19728 |
theta:=angle(z3r-z2)+90; |
| 19729 |
pos2''(rule_thickness,theta-180); z2''r=z2; y3'=y3r; z3'=z2''l+whatever*unitvector(z3r-z2''r); |
| 19730 |
y4r-y4l=y5r-y5l=rule_thickness-currentbreadth; .5[y4r,y4l]=.5[y5r,y5l]=x_height; |
| 19731 |
z4r=whatever[z3',z2''l]; z4l=whatever[z3',z2''l]; |
| 19732 |
z5r=whatever[z1',z2'r]; z5l=whatever[z1',z2'r]; |
| 19733 |
z6=whatever[z3',z2''l]=whatever[z1',z2'r]; |
| 19734 |
filldraw z1l---z2---z3r..z3'---obl(4r,3',5r)---obl(5r,4r,1')---z1'..cycle; |
| 19735 |
oblu:=2.5f_obl; |
| 19736 |
infill obl(5l,4l,6)---obl(6,5l,4l)--obl(4l,6,5l)---cycle; |
| 19737 |
penlabels(1,2',2'',3,4,5); labels(1',2,3',6); |
| 19738 |
endchar; |
| 19739 |
|
| 19740 |
iff known chars.math_exists: |
| 19741 |
bskchar "Existential quantifier"; |
| 19742 |
beginchar(chars.math_exists,10u#,asc_height#,0); uni "0x2203"; |
| 19743 |
italcorr asc_height#*slant; |
| 19744 |
adjust_fit(0,0); |
| 19745 |
pickup tiny.nib; |
| 19746 |
oblu:=2oblu; |
| 19747 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 19748 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 19749 |
pos2(rule_thickness,0); pos4(rule_thickness,0); |
| 19750 |
lft x1=lft x3=lft x5=u; top y1r=h; bot y5l=0; y3=.5[y1,y5]+o; |
| 19751 |
rt x2r=rt x4r=w-u; y2=y1r; y4=y5l; y2l:=y1l; y4l:=y5r; |
| 19752 |
y6=y3; x6=x2l; |
| 19753 |
bskpoints(2,1,hair,hair); bskpoints(5,4,hair,hair); |
| 19754 |
filldraw z1r---z2..z2r+o*down---z4r---z5l..z5rr---obl(4l,5r,6l)---obl(6l,4l,3l) |
| 19755 |
---z3l..z3r---obl(6r,3r,2l)---obl(2l,6r,1l)---z1ll..cycle; |
| 19756 |
penlabels(1,2,3,4,5,6); labels(1ll,5rr); |
| 19757 |
endchar; |
| 19758 |
|
| 19759 |
iff known chars.math_exists_not: |
| 19760 |
bskchar "Existential quantifier with negation"; |
| 19761 |
beginchar(chars.math_exists_not,10u#,asc_height#+1/3desc_depth#,1/3desc_depth#); uni "0x2204"; |
| 19762 |
italcorr asc_height#*slant; |
| 19763 |
adjust_fit(0,0); |
| 19764 |
pickup tiny.nib; |
| 19765 |
numeric oblu.m; oblu.m:=oblu; |
| 19766 |
oblu:=2oblu; |
| 19767 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 19768 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 19769 |
pos2(rule_thickness,0); pos4(rule_thickness,0); |
| 19770 |
lft x1=lft x3=lft x5=u; top y1r=asc_height; bot y5l=0; y3=.5[y1,y5]+o; |
| 19771 |
rt x2r=rt x4r=w-u; y2=y1r; y4=y5l; y2l:=y1l; y4l:=y5r; |
| 19772 |
y6=y3; x6=x2l; |
| 19773 |
top rt z7=(w-2.5u,h); top lft z8=(2.5u,-d); |
| 19774 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 19775 |
bskpoints(2,1,hair,hair); bskpoints(5,4,hair,hair); |
| 19776 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 19777 |
y7'l=y7'r=y1r; y8'l=y8'r=y5l; y7''l=y7''r=y1l; y8''l=y8''r=y5r; |
| 19778 |
y3'l=y3'r=y3l; y3''l=y3''r=y3r; |
| 19779 |
z3'l=whatever[z7l,z8l]; z3'r=whatever[z7r,z8r]; |
| 19780 |
z3''l=whatever[z7l,z8l]; z3''r=whatever[z7r,z8r]; |
| 19781 |
z7'l=whatever[z7l,z8l]; z7'r=whatever[z7r,z8r]; |
| 19782 |
z7''l=whatever[z7l,z8l]; z7''r=whatever[z7r,z8r]; |
| 19783 |
z8'l=whatever[z7l,z8l]; z8'r=whatever[z7r,z8r]; |
| 19784 |
z8''l=whatever[z7l,z8l]; z8''r=whatever[z7r,z8r]; |
| 19785 |
filldraw z1r---obl(7'l,1r,7l)---z7l..z7rr---tobl(7'r,7rr,2r)---z2 |
| 19786 |
..z2r+o*down---z4r---obl(8'r,4r,8r)---z8r..z8ll |
| 19787 |
---obl(8'l,8l,5l)---z5l..z5rr---obl(8''l,5r,3'l) |
| 19788 |
---obl(3'l,8''l,3l)--z3l..z3r---obl(3''l,3r,7''l)---obl(7''l,3''l,1l) |
| 19789 |
---z1ll..cycle; |
| 19790 |
infill obl(2l,7''r,6r).m---obl(6r,2l,3''r)---obl(3''r,6r,7''r) |
| 19791 |
---obl(7''r,3''r,2l).m---cycle; |
| 19792 |
infill obl(3'r,8''r,6l)---obl(6l,3'r,4l)---obl(4l,6l,8''r)---obl(8''r,4l,3'r)---cycle; |
| 19793 |
penlabels(1,2,3,3',3'',4,5,6,7,7',7'',8,8',8''); labels(1ll,5rr,7rr,8ll); |
| 19794 |
endchar; |
| 19795 |
|
| 19796 |
iff known chars.math_exists_not_vert: |
| 19797 |
bskchar "Existential quantifier with vertical negation"; |
| 19798 |
beginchar(chars.math_exists_not_vert,10u#,asc_height#+1/3desc_depth#,1/3desc_depth#); uni "non"; |
| 19799 |
italcorr asc_height#*slant; |
| 19800 |
adjust_fit(0,0); |
| 19801 |
pickup tiny.nib; |
| 19802 |
numeric oblu.m; oblu.m:=oblu; |
| 19803 |
oblu:=2oblu; |
| 19804 |
pos1(rule_thickness,90); pos3(rule_thickness,90); |
| 19805 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 19806 |
pos2(rule_thickness,0); pos4(rule_thickness,0); |
| 19807 |
lft x1=lft x3=lft x5=u; top y1r=asc_height; bot y5l=0; y3=.5[y1,y5]+o; |
| 19808 |
rt x2r=rt x4r=w-u; y2=y1r; y4=y5l; y2l:=y1l; y4l:=y5r; |
| 19809 |
y6=y3; x6=x2l; |
| 19810 |
top y7=h; top y8=-d; x7=x8=.5w; |
| 19811 |
pos7(rule_thickness,0); pos8(rule_thickness,0); |
| 19812 |
bskpoints(2,1,hair,hair); bskpoints(5,4,hair,hair); |
| 19813 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 19814 |
y7'l=y7'r=y1r; y8'l=y8'r=y5l; y7''l=y7''r=y1l; y8''l=y8''r=y5r; |
| 19815 |
y3'l=y3'r=y3l; y3''l=y3''r=y3r; |
| 19816 |
z3'l=whatever[z7l,z8l]; z3'r=whatever[z7r,z8r]; |
| 19817 |
z3''l=whatever[z7l,z8l]; z3''r=whatever[z7r,z8r]; |
| 19818 |
z7'l=whatever[z7l,z8l]; z7'r=whatever[z7r,z8r]; |
| 19819 |
z7''l=whatever[z7l,z8l]; z7''r=whatever[z7r,z8r]; |
| 19820 |
z8'l=whatever[z7l,z8l]; z8'r=whatever[z7r,z8r]; |
| 19821 |
z8''l=whatever[z7l,z8l]; z8''r=whatever[z7r,z8r]; |
| 19822 |
filldraw z1r---obl(7'l,1r,7l).m---z7l..z7rr---obl(7'r,7r,2r).m---z2 |
| 19823 |
..z2r+o*down---z4r---obl(8'r,4r,8r).m---z8r..z8ll |
| 19824 |
---obl(8'l,8l,5l).m---z5l..z5rr---obl(8''l,5r,3'l).m |
| 19825 |
---obl(3'l,8''l,3l).m---z3l..z3r---obl(3''l,3r,7''l).m---obl(7''l,3''l,1l).m |
| 19826 |
---z1ll..cycle; |
| 19827 |
infill obl(2l,7''r,6r).m---obl(6r,2l,3''r)---obl(3''r,6r,7''r).m |
| 19828 |
---obl(7''r,3''r,2l).m---cycle; |
| 19829 |
infill obl(3'r,8''r,6l).m---obl(6l,3'r,4l)---obl(4l,6l,8''r)---obl(8''r,4l,3'r).m---cycle; |
| 19830 |
penlabels(1,2,3,3',3'',4,5,6,7,7',7'',8,8',8''); labels(1ll,5rr,7rr,8ll); |
| 19831 |
endchar; |
| 19832 |
|
| 19833 |
iff known chars.math_hardy: |
| 19834 |
bskchar "Hardy's asypmtotic equivalence sign"; |
| 19835 |
beginchar(chars.math_hardy,14u#,v_center(x_height#)); uni "0x224D"; |
| 19836 |
adjust_fit(0,0); |
| 19837 |
pickup tiny.nib; |
| 19838 |
pos2(rule_thickness,90); pos5(rule_thickness,90); |
| 19839 |
x1-.5rule_thickness=u=w-x3; x2=x5=.5w; y2-y5=1/3(h-d); .5[y2,y5]=math_axis; |
| 19840 |
top y1=top y3=h; .5[y1,y4]=.5[y3,y6]=math_axis; x4=x1; x6=x3; |
| 19841 |
pos1(rule_thickness,angle(z1-z2)-90); pos3(rule_thickness,angle(z3-z2)+90); |
| 19842 |
pos4(rule_thickness,angle(z4-z2)-90); pos6(rule_thickness,angle(z6-z2)+90); |
| 19843 |
filldraw (z1l+hair*unitvector(z2-z1)...z2l...z3l)..(z3r..z2r..z1r)..cycle; |
| 19844 |
filldraw (z4l...z5l...z6l)..(z6r+hair*unitvector(z5-z6)..z5r..z4r)..cycle; |
| 19845 |
penlabels(1,2,3,4,5,6); |
| 19846 |
endchar; |
| 19847 |
|
| 19848 |
iff known chars.math_hardy_neg: |
| 19849 |
bskchar "Negated Hardy's asypmtotic equivalence sign"; |
| 19850 |
beginchar(chars.math_hardy_neg,14u#,v_center(x_height#)); uni "0x226D"; |
| 19851 |
adjust_fit(0,0); |
| 19852 |
pickup tiny.nib; |
| 19853 |
path p[]; numeric tim[]; |
| 19854 |
pos2(rule_thickness,90); pos5(rule_thickness,90); |
| 19855 |
x1-.5rule_thickness=u=w-x3; x2=x5=.5w; y2-y5=1/3(h-d); .5[y2,y5]=math_axis; |
| 19856 |
top y1=top y3=h; .5[y1,y4]=.5[y3,y6]=math_axis; x4=x1; x6=x3; |
| 19857 |
.5[y7,y8]=math_axis; bot y8=-d-2.5rule_thickness; .5[x7,x8]=.5w; x7=x3-2u; |
| 19858 |
pos1(rule_thickness,angle(z1-z2)-90); pos3(rule_thickness,angle(z3-z2)+90); |
| 19859 |
pos4(rule_thickness,angle(z4-z2)-90); pos6(rule_thickness,angle(z6-z2)+90); |
| 19860 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 19861 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 19862 |
p0:=(z1l+hair*unitvector(z2-z1)...z2l...z3l)..(z3r..z2r..z1r)..cycle; |
| 19863 |
p1:=(z4l...z5l...z6l)..(z6r+hair*unitvector(z5-z6)..z5r..z4r)..cycle; |
| 19864 |
p2:=z7l--z8ll; |
| 19865 |
p3:=z8r--z7rr; |
| 19866 |
(tim0,tim1)=subpath(0,2) of p0 intersectiontimes p2; |
| 19867 |
(tim2-3,tim3)=subpath(3,length p1) of p1 intersectiontimes p2; |
| 19868 |
(tim4,tim5)=subpath(0,2) of p1 intersectiontimes p2; |
| 19869 |
(tim6,tim7)=subpath(0,2) of p1 intersectiontimes p3; |
| 19870 |
(tim8-2,tim9)=subpath(2,length p1) of p1 intersectiontimes p3; |
| 19871 |
(tim10,tim11)=subpath(0,2) of p0 intersectiontimes p3; |
| 19872 |
(tim12-3,tim13)=subpath(3,length p0) of p0 intersectiontimes p3; |
| 19873 |
(tim14-3,tim15)=subpath(3,length p0) of p0 intersectiontimes p2; |
| 19874 |
filldraw subpath(0,rundy(p0,(tim0,2oblu)).zpet) of p0 |
| 19875 |
..subpath(rundy(p2,(tim1,2oblu)),rundy(p2,tim3).zpet) of p2 |
| 19876 |
..subpath(rundy(p1,tim2),length p1) of p1 |
| 19877 |
..subpath(0,rundy(p1,(tim4,2oblu)).zpet) of p1 |
| 19878 |
..subpath(rundy(p2,(tim5,2oblu)),infinity) of p2 |
| 19879 |
..subpath(0,rundy(p3,tim7).zpet) of p3 |
| 19880 |
..subpath(rundy(p1,tim6),rundy(p1,(tim8,2oblu)).zpet) of p1 |
| 19881 |
..subpath(rundy(p3,(tim9,2oblu)),rundy(p3,tim11).zpet) of p3 |
| 19882 |
..subpath(rundy(p0,tim10),rundy(p0,(tim12,2oblu)).zpet) of p0 |
| 19883 |
..subpath(rundy(p3,(tim13,2oblu)),infinity) of p3 |
| 19884 |
..subpath(0,rundy(p2,tim15).zpet) of p2 |
| 19885 |
..subpath(rundy(p0,tim14),length p0) of p0..cycle; |
| 19886 |
penlabels(1,2,3,4,5,6,7,8); labels(7rr,8ll); |
| 19887 |
endchar; |
| 19888 |
|
| 19889 |
iff known chars.math_logor_curly: |
| 19890 |
bskchar "Curly logical or sign"; |
| 19891 |
beginchar(chars.math_logor_curly,10u#,.8asc_height#,0); uni "0x22CE"; |
| 19892 |
adjust_fit(0,0); |
| 19893 |
pickup tiny.nib; |
| 19894 |
numeric tim[]; oblu:=2oblu; |
| 19895 |
path p[]; |
| 19896 |
x0=x0'-.5o=.5[x1,x2]=.5w; bot y0=0; y0'=2/3[y0,y1]; |
| 19897 |
rt x1=w-u; y1+.5rule_thickness=h; y2=y1; |
| 19898 |
pos0(rule_thickness,0); |
| 19899 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 19900 |
p1:=z1r{z0'-z1}..{down}z0l; |
| 19901 |
p2:=z0r{up}..{z2-z0'}z2l; |
| 19902 |
z3=bsktouch(p1,left,p2,right); |
| 19903 |
tim1=xpart(p1 intersectiontimes (z3--(w,y3))); |
| 19904 |
tim2=xpart(p2 intersectiontimes (z3--(0,y3))); |
| 19905 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{down}z0l..z0r{up}..{z1-z0'}z1l |
| 19906 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 19907 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 19908 |
penlabels(0,1,2); labels(0',3); |
| 19909 |
endchar; |
| 19910 |
|
| 19911 |
iff known chars.math_logand_curly: |
| 19912 |
bskchar "Curly logical and sign"; |
| 19913 |
beginchar(chars.math_logand_curly,10u#,.8asc_height#,0); uni "0x22CF"; |
| 19914 |
adjust_fit(0,0); |
| 19915 |
pickup tiny.nib; |
| 19916 |
numeric tim[]; oblu:=2oblu; |
| 19917 |
path p[]; |
| 19918 |
x0=x0'-.5o=.5[x1,x2]=.5w; top y0=h; y0'=2/3[y0,y1]; |
| 19919 |
rt x1=w-u; y1-.5rule_thickness=0; y2=y1; |
| 19920 |
pos0(rule_thickness,0); |
| 19921 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 19922 |
p1:=z1l{z0'-z1}..{up}z0l; |
| 19923 |
p2:=z0r{down}..{z2-z0'}z2r; |
| 19924 |
z3=bsktouch(p1,left,p2,right); |
| 19925 |
tim1=xpart(p1 intersectiontimes (z3--(w,y3))); |
| 19926 |
tim2=xpart(p2 intersectiontimes (z3--(0,y3))); |
| 19927 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{up}z0l..z0r{down}..{z1-z0'}z1r |
| 19928 |
..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 19929 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 19930 |
penlabels(0,1,2); labels(0',3); |
| 19931 |
endchar; |
| 19932 |
|
| 19933 |
iff known chars.math_precedes: |
| 19934 |
bskchar "Precedes sign"; |
| 19935 |
beginchar(chars.math_precedes,12u#,v_center(x_height#)); uni "0x227A"; |
| 19936 |
adjust_fit(0,0); |
| 19937 |
pickup tiny.nib; |
| 19938 |
numeric tim[]; oblu:=2oblu; |
| 19939 |
path p[]; |
| 19940 |
y0=y0'-.5o=.5[y1,y2]=math_axis; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 19941 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 19942 |
pos0(rule_thickness,90); |
| 19943 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 19944 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 19945 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 19946 |
z3=bsktouch(p1,down,p2,up); |
| 19947 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 19948 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 19949 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right}..{z1-z0'}z1r |
| 19950 |
..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 19951 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 19952 |
penlabels(0,1,2); labels(0',3); |
| 19953 |
endchar; |
| 19954 |
|
| 19955 |
iff known chars.math_precedes_not: |
| 19956 |
bskchar "Not precedes sign"; |
| 19957 |
beginchar(chars.math_precedes_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2280"; |
| 19958 |
adjust_fit(0,0); |
| 19959 |
pickup tiny.nib; |
| 19960 |
numeric tim[]; oblu:=2oblu; |
| 19961 |
path p[]; |
| 19962 |
y0=y0'-.5o=.5[y1,y2]=math_axis; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 19963 |
top y1=vround((math_axis#+.5x_height#)*hppp); x1+.5rule_thickness=w-u; x2=x1; |
| 19964 |
pos0(rule_thickness,90); |
| 19965 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 19966 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 19967 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 19968 |
z3=bsktouch(p1,down,p2,up); |
| 19969 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 19970 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 19971 |
top rt z4=(w-2u,h); top lft z5=(2u,-d); |
| 19972 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 19973 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 19974 |
p3:=z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l; |
| 19975 |
p4:=z0r{right}..{z1-z0'}z1r..{z0'-z1}z1l; |
| 19976 |
p5:=z5r{z5-z4}..z5ll---z4l; |
| 19977 |
p6:=z4l{z4-z5}..z4rr---z5r; |
| 19978 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 19979 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 19980 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 19981 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 19982 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 19983 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 19984 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 19985 |
..subpath(rundy(p6,tim4),infinity) of p6 |
| 19986 |
..subpath(0,rundy(p5,tim6).zpet) of p5 |
| 19987 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 19988 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 19989 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 19990 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 19991 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 19992 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 19993 |
..subpath(rundy(p6,(tim12,.5f_obl)),rundy(p6,(tim14,.5f_obl)).zpet) of p6 |
| 19994 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 19995 |
penlabels(0,1,2,3,4,5); labels(0',4rr,5ll); |
| 19996 |
endchar; |
| 19997 |
|
| 19998 |
iff known chars.math_precedes_eq: |
| 19999 |
bskchar "Precedes or equals to sign"; |
| 20000 |
beginchar(chars.math_precedes_eq,12u#,v_center(x_height#+3u#)); uni "0x2AAF"; |
| 20001 |
adjust_fit(0,0); |
| 20002 |
pickup tiny.nib; |
| 20003 |
numeric tim[]; oblu:=2oblu; |
| 20004 |
path p[]; |
| 20005 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20006 |
top y1=h; x1+.5rule_thickness=w-u; x2=x4=x1; |
| 20007 |
pos0(rule_thickness,90); |
| 20008 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20009 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20010 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20011 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20012 |
z5=bsktouch(p1,down,p2,up); |
| 20013 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20014 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20015 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20016 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20017 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20018 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20019 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 20020 |
penlabels(0,1,2,3,4); labels(0'); |
| 20021 |
endchar; |
| 20022 |
|
| 20023 |
iff known chars.math_precedes_neq: |
| 20024 |
bskchar "Precedes or not equals to sign"; |
| 20025 |
beginchar(chars.math_precedes_neq,12u#,v_center(x_height#+3u#)); uni "0x2AB1"; |
| 20026 |
adjust_fit(0,0); |
| 20027 |
pickup tiny.nib; |
| 20028 |
numeric tim[]; oblu:=2oblu; |
| 20029 |
path p[]; |
| 20030 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20031 |
top y1=h; x1+.5rule_thickness=w-u; x2=x4=x1; |
| 20032 |
pos0(rule_thickness,90); |
| 20033 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20034 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20035 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20036 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20037 |
z10=bsktouch(p1,down,p2,up); |
| 20038 |
tim1=xpart(p1 intersectiontimes (z10--(x10,h))); |
| 20039 |
tim2=xpart(p2 intersectiontimes (z10--(x10,-d))); |
| 20040 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20041 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20042 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20043 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20044 |
bskpoints(3,4,hair,hair); |
| 20045 |
.5[x5,x6]=.5[x3,x4]; .5[y5,y6]=y3; x6-x5=.75(y6-y5)=3u; |
| 20046 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 20047 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20048 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 20049 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 20050 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 20051 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 20052 |
penlabels(0,1,2,3,4,5,6); labels(0'); |
| 20053 |
endchar; |
| 20054 |
|
| 20055 |
iff known chars.math_precedes_neq_vert: |
| 20056 |
bskchar "Precedes or not equals to sign with vertical stroke"; |
| 20057 |
beginchar(chars.math_precedes_neq_vert,12u#,v_center(x_height#+3u#)); uni "non"; %"0x2AB1.vert"; |
| 20058 |
adjust_fit(0,0); |
| 20059 |
pickup tiny.nib; |
| 20060 |
numeric tim[]; oblu:=2oblu; |
| 20061 |
path p[]; |
| 20062 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20063 |
top y1=h; x1+.5rule_thickness=w-u; x2=x4=x1; |
| 20064 |
pos0(rule_thickness,90); |
| 20065 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20066 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20067 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20068 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20069 |
z10=bsktouch(p1,down,p2,up); |
| 20070 |
tim1=xpart(p1 intersectiontimes (z10--(x10,h))); |
| 20071 |
tim2=xpart(p2 intersectiontimes (z10--(x10,-d))); |
| 20072 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20073 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20074 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20075 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20076 |
bskpoints(3,4,hair,hair); |
| 20077 |
x5=x6=.5[x3,x4]; .5[y5,y6]=y3; .75(y6-y5)=3u; |
| 20078 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 20079 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20080 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 20081 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 20082 |
oblu:=f_obl; |
| 20083 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 20084 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 20085 |
penlabels(0,1,2,3,4,5,6); labels(0'); |
| 20086 |
endchar; |
| 20087 |
|
| 20088 |
iff known chars.math_precedes_eq_double: |
| 20089 |
bskchar "Precedes and double equals to sign"; |
| 20090 |
beginchar(chars.math_precedes_eq_double,12u#,v_center(1.45x_height#+3u#)); uni "0x2AB3"; |
| 20091 |
adjust_fit(0,0); |
| 20092 |
pickup tiny.nib; |
| 20093 |
numeric tim[]; oblu:=2oblu; |
| 20094 |
path p[]; |
| 20095 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u+.225x_height; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20096 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 20097 |
pos0(rule_thickness,90); |
| 20098 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20099 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20100 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20101 |
z9=bsktouch(p1,down,p2,up); |
| 20102 |
tim1=xpart(p1 intersectiontimes (z9--(x9,h))); |
| 20103 |
tim2=xpart(p2 intersectiontimes (z9--(x9,-d))); |
| 20104 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20105 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20106 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20107 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20108 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 20109 |
x3=x5=x0; x4=x6=x1; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 20110 |
filldraw bskrule(3,4,hair,0); |
| 20111 |
filldraw bskrule(6,5,hair,0); |
| 20112 |
penlabels(0,1,2,3,4,5,6); labels(0',4ll,5ll); |
| 20113 |
endchar; |
| 20114 |
|
| 20115 |
iff known chars.math_precedes_not_eq_double: |
| 20116 |
bskchar "Precedes and not double equals to sign"; |
| 20117 |
beginchar(chars.math_precedes_not_eq_double,12u#,v_center(1.45x_height#+3u#)); uni "0x2AB5"; |
| 20118 |
adjust_fit(0,0); |
| 20119 |
pickup tiny.nib; |
| 20120 |
numeric tim[]; oblu:=2oblu; |
| 20121 |
path p[]; |
| 20122 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u+.225x_height; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20123 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 20124 |
pos0(rule_thickness,90); |
| 20125 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20126 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20127 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20128 |
z9=bsktouch(p1,down,p2,up); |
| 20129 |
tim1=xpart(p1 intersectiontimes (z9--(x9,h))); |
| 20130 |
tim2=xpart(p2 intersectiontimes (z9--(x9,-d))); |
| 20131 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20132 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20133 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20134 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20135 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 20136 |
x3=x5=x0; x4=x6=x1; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 20137 |
top rt z7=(x2-2u,y2l-rule_thickness); .5[x8,x7]=.5w; .5[y8,y7]=.5[y3,y5]; |
| 20138 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 20139 |
bskpoints(3,4,hair,0); bskpoints(6,5,hair,0); |
| 20140 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 20141 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 20142 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 20143 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 20144 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 20145 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 20146 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 20147 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 20148 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 20149 |
if y7rr<y3r: y7rr:=y7r; x7rr:=x7r; fi |
| 20150 |
if y8ll>y5l: y8ll:=y8l; x8ll:=x8l; fi |
| 20151 |
oblu:=f_obl; oblu.more:=2f_obl; |
| 20152 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r).more---z4r |
| 20153 |
..z4ll---obl(5',4l,6')---obl(6',5',6rr).more---z6rr..z6l |
| 20154 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5ll).more---z5ll |
| 20155 |
..z5r---obl(9',5r,10')---obl(10',9',3l).more---z3l..cycle; |
| 20156 |
penlabels(0,1,2,3,4,5,6,7,8); labels(0',4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 20157 |
endchar; |
| 20158 |
|
| 20159 |
iff known chars.math_precedes_sim: |
| 20160 |
bskchar "Precedes or similar to sign"; |
| 20161 |
beginchar(chars.math_precedes_sim,12u#,v_center(1.5x_height#+2rule_thickness#)); uni "0x227E"; |
| 20162 |
adjust_fit(0,0); |
| 20163 |
pickup tiny.nib; |
| 20164 |
numeric tim[], spread; oblu:=2oblu; |
| 20165 |
path p[]; |
| 20166 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.25x_height+rule_thickness; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20167 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 20168 |
pos0(rule_thickness,90); |
| 20169 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20170 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20171 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20172 |
z5=bsktouch(p1,down,p2,up); |
| 20173 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20174 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20175 |
bot y3=-d; spread:=.5x_height; |
| 20176 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20177 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20178 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20179 |
vlnka(3,4); |
| 20180 |
penlabels(0,1,2); labels(0'); |
| 20181 |
endchar; |
| 20182 |
|
| 20183 |
iff known chars.math_precedes_not_sim: |
| 20184 |
bskchar "Precedes and not similar to sign"; |
| 20185 |
beginchar(chars.math_precedes_not_sim,12u#,v_center(1.5x_height#+2rule_thickness#)); uni "0x22E8"; |
| 20186 |
adjust_fit(0,0); |
| 20187 |
pickup tiny.nib; |
| 20188 |
numeric tim[], spread; oblu:=2oblu; |
| 20189 |
path p[]; |
| 20190 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.25x_height+rule_thickness; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20191 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 20192 |
pos0(rule_thickness,90); |
| 20193 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20194 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20195 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20196 |
z5=bsktouch(p1,down,p2,up); |
| 20197 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20198 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20199 |
bot y3=-d; spread:=.5x_height; |
| 20200 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20201 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20202 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20203 |
vlnka(3,4).nodraw; |
| 20204 |
top y6-bot y7=.7x_height; .5[y6,y7]=.5[y3,y4]; .5[x6,x7]=.5w; x6=x4a; |
| 20205 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 20206 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 20207 |
p3:=subpath(0,4) of _vlnka; |
| 20208 |
p4:=subpath(5,infinity) of _vlnka; |
| 20209 |
p5:=z6l---z7ll..{z6-z7}z7r; |
| 20210 |
p6:=z7r---z6rr..{z7-z6}z6l; |
| 20211 |
(tim3,tim4)=p3 intersectiontimes p5; |
| 20212 |
(tim5,tim6)=p3 intersectiontimes p6; |
| 20213 |
(tim7,tim8)=p4 intersectiontimes p6; |
| 20214 |
(tim9,tim10)=p4 intersectiontimes p5; |
| 20215 |
filldraw subpath(0,rundy(p3,(tim3,2oblu)).zpet) of p3 |
| 20216 |
..subpath(rundy(p5,(tim4,2oblu)),infinity) of p5 |
| 20217 |
..subpath(0,rundy(p6,tim6).zpet) of p6 |
| 20218 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20219 |
..subpath(0,rundy(p4,(tim7,2oblu)).zpet) of p4 |
| 20220 |
..subpath(rundy(p6,(tim8,2oblu)),infinity) of p6 |
| 20221 |
..subpath(0,rundy(p5,tim10).zpet) of p5 |
| 20222 |
..subpath(rundy(p4,tim9),infinity) of p4..cycle; |
| 20223 |
penlabels(0,1,2,6,7); labels(0'); |
| 20224 |
endchar; |
| 20225 |
|
| 20226 |
iff known chars.math_precedes_approx: |
| 20227 |
bskchar "Precedes or approximately equal to sign"; |
| 20228 |
beginchar(chars.math_precedes_approx,12u#,v_center(1.8x_height#+2rule_thickness#)); uni "0x2AB7"; |
| 20229 |
adjust_fit(0,0); |
| 20230 |
pickup tiny.nib; |
| 20231 |
numeric tim[], spread; oblu:=2oblu; |
| 20232 |
path p[]; |
| 20233 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.4x_height+rule_thickness; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20234 |
top y1=h; x1+.5rule_thickness=w-u; x2=x1; |
| 20235 |
pos0(rule_thickness,90); |
| 20236 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20237 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20238 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20239 |
z5=bsktouch(p1,down,p2,up); |
| 20240 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20241 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20242 |
bot y3=-d; spread:=.4x_height; y6-y3=spread; |
| 20243 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20244 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20245 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20246 |
vlnka(3,4); vlnka(6,7); |
| 20247 |
penlabels(0,1,2); labels(0'); |
| 20248 |
endchar; |
| 20249 |
|
| 20250 |
iff known chars.math_precedes_not_approx: |
| 20251 |
bskchar "Precedes and not approximately equal to sign"; |
| 20252 |
beginchar(chars.math_precedes_not_approx,12u#,v_center(1.8x_height#+2rule_thickness#)); uni "0x2AB9"; |
| 20253 |
italcorr h#*slant; |
| 20254 |
adjust_fit(0,0); |
| 20255 |
numeric spread; |
| 20256 |
pickup tiny.nib; |
| 20257 |
path p[]; numeric tim[]; |
| 20258 |
oblu:=2oblu; |
| 20259 |
spread:=.4x_height; |
| 20260 |
bot y1=-d; y3-y1=spread; |
| 20261 |
top y5-bot y6=x_height; .5[y5,y6]=y3; .5[x5,x6]=.5w; z5=z6+whatever*dir60; |
| 20262 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 20263 |
y7=y7'-.5o=.5[y8,y9]=math_axis+.4x_height+rule_thickness; lft x7=1.5u; x7'=2/3[x7,x8]; |
| 20264 |
top y8=h; x8+.5rule_thickness=w-u; x9=x8; |
| 20265 |
pos7(rule_thickness,90); |
| 20266 |
pos8(rule_thickness,angle(z8-z7')+90); pos9(rule_thickness,angle(z9-z7')+90); |
| 20267 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20268 |
vlnka(1,2).nodraw; |
| 20269 |
p0:=subpath(0,4) of _vlnka; |
| 20270 |
p1:=subpath(5,infinity) of _vlnka; |
| 20271 |
vlnka(3,4).nodraw; |
| 20272 |
p2:=subpath(0,4) of _vlnka; |
| 20273 |
p3:=subpath(5,infinity) of _vlnka; |
| 20274 |
p4:=z5l---z6ll..{z5-z6}z6r; |
| 20275 |
p5:=z6r---z5rr..{z6-z5}z5l; |
| 20276 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 20277 |
(tim2,tim3)=p0 intersectiontimes p5; |
| 20278 |
(tim4,tim5)=p1 intersectiontimes p5; |
| 20279 |
(tim6,tim7)=p1 intersectiontimes p4; |
| 20280 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 20281 |
(tim10,tim11)=p2 intersectiontimes p5; |
| 20282 |
(tim12,tim13)=p3 intersectiontimes p5; |
| 20283 |
(tim14,tim15)=p3 intersectiontimes p4; |
| 20284 |
p6:=z8l{z7'-z8}..{left}z7l; |
| 20285 |
p7:=z7r{right}..{z9-z7'}z9r; |
| 20286 |
z12=bsktouch(p6,down,p7,up); |
| 20287 |
tim16=xpart(p6 intersectiontimes (z12--(x12,h))); |
| 20288 |
tim17=xpart(p7 intersectiontimes (z12--(x12,-d))); |
| 20289 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 20290 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 20291 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 20292 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 20293 |
..subpath(0,rundy(p1,tim6).zpet) of p1 |
| 20294 |
..subpath(rundy(p5,(tim5,f_obl)),rundy(p5,(tim11,f_obl)).zpet) of p5 |
| 20295 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 20296 |
..subpath(0,rundy(p3,tim12).zpet) of p3 |
| 20297 |
..subpath(rundy(p5,tim13),infinity) of p5 |
| 20298 |
..subpath(0,rundy(p4,tim15).zpet) of p4 |
| 20299 |
..subpath(rundy(p3,tim14),infinity) of p3 |
| 20300 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 20301 |
..subpath(rundy(p4,(tim9,f_obl)),rundy(p4,(tim7,f_obl)).zpet) of p4 |
| 20302 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 20303 |
filldraw z9l+.5hair*unitvector(z7'-z9){z7'-z9}..{left}z7l..z7r{right} |
| 20304 |
..{z8-z7'}z8r..{z7'-z8}z8l..subpath (0,rundy(p6,tim16).zpet) of p6 |
| 20305 |
..subpath(rundy(p7,tim17),infinity) of p7..cycle; |
| 20306 |
penlabels(5,6,7,8,9); labels(7'); |
| 20307 |
endchar; |
| 20308 |
|
| 20309 |
iff known chars.math_precedes_eq_not: |
| 20310 |
bskchar "Not precedes or equals to sign"; |
| 20311 |
beginchar(chars.math_precedes_eq_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 20312 |
adjust_fit(0,0); |
| 20313 |
pickup tiny.nib; |
| 20314 |
numeric tim[]; oblu:=2oblu; |
| 20315 |
path p[]; |
| 20316 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20317 |
top y1=vround((math_axis#+.5x_height#+1.5u#)*hppp); x1+.5rule_thickness=w-u; x2=x1; |
| 20318 |
pos0(rule_thickness,90); |
| 20319 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20320 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 20321 |
y6l=y7l=math_axis-.5x_height-1.5u; x6=x0; x7=x1; bskpoints(6,7,hair,hair); |
| 20322 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20323 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20324 |
z3=bsktouch(p1,down,p2,up); |
| 20325 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20326 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20327 |
top rt z4=(w-3u,h); top lft z5=(3u,-d); |
| 20328 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 20329 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 20330 |
p3:=z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l; |
| 20331 |
p4:=z0r{right}..{z1-z0'}z1r..{z0'-z1}z1l; |
| 20332 |
p5:=z5r{z5-z4}..z5ll---z4l; |
| 20333 |
p6:=z4l{z4-z5}..z4rr---z5r; |
| 20334 |
p7:=z6l{left}..z6rr---z7r; |
| 20335 |
p8:=z7r{right}..z7ll---z6l; |
| 20336 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 20337 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 20338 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 20339 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 20340 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 20341 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 20342 |
(tim15,tim16)=p6 intersectiontimes p7; |
| 20343 |
(tim17,tim18)=p6 intersectiontimes p8; |
| 20344 |
(tim19,tim20)=p5 intersectiontimes p8; |
| 20345 |
(tim21,tim22)=p5 intersectiontimes p7; |
| 20346 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 20347 |
..subpath(rundy(p6,tim4),rundy(p6,tim15).zpet) of p6 |
| 20348 |
..subpath(rundy(p7,tim16),infinity) of p7 |
| 20349 |
..subpath(0,rundy(p8,(tim18,f_obl)).zpet) of p8 |
| 20350 |
..subpath(rundy(p6,(tim17,f_obl)),infinity) of p6 |
| 20351 |
..subpath(0,rundy(p5,tim19).zpet) of p5 |
| 20352 |
..subpath(rundy(p8,tim20),infinity) of p8 |
| 20353 |
..subpath(0,rundy(p7,(tim22,f_obl)).zpet) of p7 |
| 20354 |
..subpath(rundy(p5,(tim21,f_obl)),rundy(p5,tim6).zpet) of p5 |
| 20355 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20356 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 20357 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 20358 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 20359 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 20360 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 20361 |
..subpath(rundy(p6,(tim12,.5f_obl)),rundy(p6,(tim14,.5f_obl)).zpet) of p6 |
| 20362 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 20363 |
penlabels(0,1,2,3,4,5,6,7); labels(0',4rr,5ll,6rr,7ll); |
| 20364 |
endchar; |
| 20365 |
|
| 20366 |
iff known chars.math_precedes_eq_curved: |
| 20367 |
bskchar "Precedes or curvy equals to sign"; |
| 20368 |
beginchar(chars.math_precedes_eq_curved,12u#,v_center(x_height#+3u#)); uni "0x227C"; |
| 20369 |
adjust_fit(0,0); |
| 20370 |
pickup tiny.nib; |
| 20371 |
numeric tim[]; oblu:=2oblu; |
| 20372 |
path p[]; |
| 20373 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20374 |
top y1=h; x1+.5rule_thickness=w-u; x2=x4+u=x1; |
| 20375 |
bot y4=-d; y0-y3=y2-y4; |
| 20376 |
pos0(rule_thickness,90); |
| 20377 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20378 |
pos3(rule_thickness,90); pos4(rule_thickness,angle(z2-z0')+90); |
| 20379 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20380 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20381 |
z5=bsktouch(p1,down,p2,up); |
| 20382 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20383 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20384 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20385 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20386 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20387 |
filldraw z4l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z3l..z3r{right}..{z2-z0'}z4r..cycle; |
| 20388 |
penlabels(0,1,2,3,4); labels(0'); |
| 20389 |
endchar; |
| 20390 |
|
| 20391 |
iff known chars.math_precedes_eq_curved_not: |
| 20392 |
bskchar "Not precedes or curved equals to sign"; |
| 20393 |
beginchar(chars.math_precedes_eq_curved_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x22E0"; |
| 20394 |
adjust_fit(0,0); |
| 20395 |
pickup tiny.nib; |
| 20396 |
numeric tim[]; oblu:=2oblu; |
| 20397 |
path p[]; |
| 20398 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20399 |
top y1=vround((math_axis#+.5x_height#+1.5u#)*hppp); x1+.5rule_thickness=w-u; x2=x1; |
| 20400 |
pos0(rule_thickness,90); |
| 20401 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20402 |
pos6(rule_thickness,90); pos7(rule_thickness,angle(z2-z0')+90); |
| 20403 |
bot y7=.5x_height-math_axis; y0-y6=y2-y7; x6=x0; x7=x1-u; |
| 20404 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20405 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20406 |
z3=bsktouch(p1,down,p2,up); |
| 20407 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20408 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20409 |
top rt z4=(w-3u,h); top lft z5=(3u,-d); |
| 20410 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 20411 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 20412 |
p3:=z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l; |
| 20413 |
p4:=z0r{right}..{z1-z0'}z1r..{z0'-z1}z1l; |
| 20414 |
p5:=z5r{z5-z4}..z5ll---z4l; |
| 20415 |
p6:=z4l{z4-z5}..z4rr---z5r; |
| 20416 |
p7:=z6r{right}..{z2-z0'}z7r; |
| 20417 |
p8:=z7l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z6l; |
| 20418 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 20419 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 20420 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 20421 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 20422 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 20423 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 20424 |
(tim15,tim16)=p6 intersectiontimes p7; |
| 20425 |
(tim17,tim18)=p6 intersectiontimes p8; |
| 20426 |
(tim19,tim20)=p5 intersectiontimes p8; |
| 20427 |
(tim21,tim22)=p5 intersectiontimes p7; |
| 20428 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 20429 |
..subpath(rundy(p6,tim4),rundy(p6,tim15).zpet) of p6 |
| 20430 |
..subpath(rundy(p7,tim16),infinity) of p7 |
| 20431 |
..subpath(0,rundy(p8,(tim18,f_obl)).zpet) of p8 |
| 20432 |
..subpath(rundy(p6,(tim17,f_obl)),infinity) of p6 |
| 20433 |
..subpath(0,rundy(p5,tim19).zpet) of p5 |
| 20434 |
..subpath(rundy(p8,tim20),infinity) of p8 |
| 20435 |
..subpath(0,rundy(p7,(tim22,f_obl)).zpet) of p7 |
| 20436 |
..subpath(rundy(p5,(tim21,f_obl)),rundy(p5,tim6).zpet) of p5 |
| 20437 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20438 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 20439 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 20440 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 20441 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 20442 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 20443 |
..subpath(rundy(p6,(tim12,.5f_obl)),rundy(p6,(tim14,.5f_obl)).zpet) of p6 |
| 20444 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 20445 |
penlabels(0,1,2,3,4,5,6,7); labels(0',4rr,5ll,6rr,7ll); |
| 20446 |
endchar; |
| 20447 |
|
| 20448 |
iff known chars.math_eq_precedes: |
| 20449 |
bskchar "Equals to or precedes sign"; |
| 20450 |
beginchar(chars.math_eq_precedes,12u#,v_center(x_height#+3u#)); uni "0x22DE"; |
| 20451 |
adjust_fit(0,0); |
| 20452 |
pickup tiny.nib; |
| 20453 |
numeric tim[]; oblu:=2oblu; |
| 20454 |
path p[]; |
| 20455 |
y0=y0'-.5o=.5[y1,y2]=math_axis-1.5u; lft x0=1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20456 |
bot y2=-d; x1+.5rule_thickness=w-u; x2=x4+u=x1; |
| 20457 |
top y4=h; y0-y3=y1-y4; |
| 20458 |
pos0(rule_thickness,90); |
| 20459 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20460 |
pos3(rule_thickness,90); pos4(rule_thickness,angle(z1-z0')+90); |
| 20461 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20462 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20463 |
z5=bsktouch(p1,down,p2,up); |
| 20464 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20465 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20466 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right} |
| 20467 |
..{z1-z0'}z1r..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20468 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20469 |
filldraw z4l+.5hair*unitvector(z0'-z1){z0'-z1}..{left}z3l..z3r{right}..{z1-z0'}z4r..cycle; |
| 20470 |
penlabels(0,1,2,3,4); labels(0'); |
| 20471 |
endchar; |
| 20472 |
|
| 20473 |
iff known chars.math_precedes_double: |
| 20474 |
bskchar "Double precedes sign"; |
| 20475 |
beginchar(chars.math_precedes_double,15u#,v_center(x_height#)); uni "0x2ABB"; |
| 20476 |
adjust_fit(0,0); |
| 20477 |
pickup tiny.nib; |
| 20478 |
numeric tim[]; oblu:=2oblu; |
| 20479 |
path p[]; |
| 20480 |
y0=y0'-.5o=.5[y1,y2]=y4=y4'-.5o=.5[y5,y6]=math_axis; lft x0=1.5u; x0'=2/3[x0,x1]; |
| 20481 |
top y1=top y5=h; x1+.5rule_thickness=w-4.5u; x2=x1; |
| 20482 |
lft x4=7.5u; x4'=2/3[x4,x5]; x5+.5rule_thickness=w-u; x6=x5; |
| 20483 |
pos0(rule_thickness,90); pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20484 |
pos4(rule_thickness,90); pos5(rule_thickness,angle(z5-z4')+90); pos6(rule_thickness,angle(z6-z4')+90); |
| 20485 |
p1:=z1l{z0'-z1}..{left}z0l; |
| 20486 |
p2:=z0r{right}..{z2-z0'}z2r; |
| 20487 |
p3:=z5l{z4'-z5}..{left}z4l; |
| 20488 |
p4:=z4r{right}..{z6-z4'}z6r; |
| 20489 |
z3=bsktouch(p1,down,p2,up); |
| 20490 |
z7=bsktouch(p3,down,p4,up); |
| 20491 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20492 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20493 |
tim3=xpart(p3 intersectiontimes (z7--(x7,h))); |
| 20494 |
tim4=xpart(p4 intersectiontimes (z7--(x7,-d))); |
| 20495 |
filldraw z2l+.5hair*unitvector(z0'-z2){z0'-z2}..{left}z0l..z0r{right}..{z1-z0'}z1r |
| 20496 |
..{z0'-z1}z1l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20497 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20498 |
filldraw z6l+.5hair*unitvector(z4'-z2){z4'-z6}..{left}z4l..z4r{right}..{z5-z4'}z5r |
| 20499 |
..{z4'-z5}z5l..subpath (0,rundy(p3,tim3).zpet) of p3 |
| 20500 |
..subpath(rundy(p4,tim4),infinity) of p4..cycle; |
| 20501 |
penlabels(0,1,2,4,5,6); labels(0',3,4',7); |
| 20502 |
endchar; |
| 20503 |
|
| 20504 |
iff known chars.math_follows: |
| 20505 |
bskchar "Follows sign"; |
| 20506 |
beginchar(chars.math_follows,12u#,v_center(x_height#)); uni "0x227B"; |
| 20507 |
adjust_fit(0,0); |
| 20508 |
pickup tiny.nib; |
| 20509 |
numeric tim[]; oblu:=2oblu; |
| 20510 |
path p[]; |
| 20511 |
y0=y0'-.5o=.5[y1,y2]=math_axis; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20512 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20513 |
pos0(rule_thickness,90); |
| 20514 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20515 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20516 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20517 |
z3=bsktouch(p1,down,p2,up); |
| 20518 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20519 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20520 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20521 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20522 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20523 |
penlabels(0,1,2); labels(0'); |
| 20524 |
endchar; |
| 20525 |
|
| 20526 |
iff known chars.math_follows_not: |
| 20527 |
bskchar "Not follows sign"; |
| 20528 |
beginchar(chars.math_follows_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x2281"; |
| 20529 |
adjust_fit(0,0); |
| 20530 |
pickup tiny.nib; |
| 20531 |
numeric tim[]; oblu:=2oblu; |
| 20532 |
path p[]; |
| 20533 |
y0=y0'-.5o=.5[y1,y2]=math_axis; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20534 |
top y1=vround((math_axis#+.5x_height#)*hppp); x1-.5rule_thickness=u; x2=x1; |
| 20535 |
pos0(rule_thickness,90); |
| 20536 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20537 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20538 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20539 |
z3=bsktouch(p1,down,p2,up); |
| 20540 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20541 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20542 |
top rt z4=(w-2u,h); top lft z5=(2u,-d); |
| 20543 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 20544 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 20545 |
p3:=z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l; |
| 20546 |
p4:=z0r{left}..{z1-z0'}z1l..{z0'-z1}z1r; |
| 20547 |
p5:=z5r---z4rr..{z5-z4}z4l; |
| 20548 |
p6:=z4l---z5ll..{z4-z5}z5r; |
| 20549 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 20550 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 20551 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 20552 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 20553 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 20554 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 20555 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 20556 |
..subpath(rundy(p6,tim4),infinity) of p6 |
| 20557 |
..subpath(0,rundy(p5,tim6).zpet) of p5 |
| 20558 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20559 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 20560 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 20561 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 20562 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 20563 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 20564 |
..subpath(rundy(p6,(tim12,.5f_obl)),rundy(p6,(tim14,.5f_obl)).zpet) of p6 |
| 20565 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 20566 |
penlabels(0,1,2,3,4,5); labels(0',4rr,5ll); |
| 20567 |
endchar; |
| 20568 |
|
| 20569 |
iff known chars.math_follows_eq: |
| 20570 |
bskchar "Follows or equals to sign"; |
| 20571 |
beginchar(chars.math_follows_eq,12u#,v_center(x_height#+3u#)); uni "0x2AB0"; |
| 20572 |
adjust_fit(0,0); |
| 20573 |
pickup tiny.nib; |
| 20574 |
numeric tim[]; oblu:=2oblu; |
| 20575 |
path p[]; |
| 20576 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; x3=x1; x4=x0; |
| 20577 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20578 |
pos0(rule_thickness,90); |
| 20579 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20580 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20581 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20582 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20583 |
z5=bsktouch(p1,down,p2,up); |
| 20584 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20585 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20586 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20587 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20588 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20589 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20590 |
filldraw z3rr..z3l---z4ll..z4r---cycle; |
| 20591 |
penlabels(0,1,2,3,4); labels(0'); |
| 20592 |
endchar; |
| 20593 |
|
| 20594 |
iff known chars.math_follows_neq: |
| 20595 |
bskchar "Follows or not equals to sign"; |
| 20596 |
beginchar(chars.math_follows_neq,12u#,v_center(x_height#+3u#)); uni "0x2AB2"; |
| 20597 |
adjust_fit(0,0); |
| 20598 |
pickup tiny.nib; |
| 20599 |
numeric tim[]; oblu:=2oblu; |
| 20600 |
path p[]; |
| 20601 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; x3=x1; x4=x0; |
| 20602 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20603 |
pos0(rule_thickness,90); |
| 20604 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20605 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20606 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20607 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20608 |
z10=bsktouch(p1,down,p2,up); |
| 20609 |
tim1=xpart(p1 intersectiontimes (z10--(x10,h))); |
| 20610 |
tim2=xpart(p2 intersectiontimes (z10--(x10,-d))); |
| 20611 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20612 |
.5[x5,x6]=.5[x3,x4]; .5[y5,y6]=y3; x6-x5=.75(y6-y5)=3u; |
| 20613 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 20614 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20615 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 20616 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 20617 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 20618 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 20619 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20620 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20621 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20622 |
penlabels(0,1,2,3,4); labels(0'); |
| 20623 |
endchar; |
| 20624 |
|
| 20625 |
iff known chars.math_follows_neq_vert: |
| 20626 |
bskchar "Follows or not equals to sign with vertical stroke"; |
| 20627 |
beginchar(chars.math_follows_neq_vert,12u#,v_center(x_height#+3u#)); uni "non"; %"0x2AB2.vert"; |
| 20628 |
adjust_fit(0,0); |
| 20629 |
pickup tiny.nib; |
| 20630 |
numeric tim[]; oblu:=2oblu; |
| 20631 |
path p[]; |
| 20632 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; x3=x1; x4=x0; |
| 20633 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20634 |
pos0(rule_thickness,90); |
| 20635 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20636 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20637 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20638 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20639 |
z10=bsktouch(p1,down,p2,up); |
| 20640 |
tim1=xpart(p1 intersectiontimes (z10--(x10,h))); |
| 20641 |
tim2=xpart(p2 intersectiontimes (z10--(x10,-d))); |
| 20642 |
y3l=y4l=-d; bskpoints(3,4,hair,hair); |
| 20643 |
x5=x6=.5[x3,x4]; .5[y5,y6]=y3; .75(y6-y5)=3u; |
| 20644 |
pos5(rule_thickness,0); pos6(rule_thickness,0); |
| 20645 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20646 |
y6'r=y6'l=y4r; z6'r=whatever[z6r,z5r]; z6'l=whatever[z6l,z5l]; |
| 20647 |
y5'r=y5'l=y4l; z5'r=whatever[z6r,z5r]; z5'l=whatever[z6l,z5l]; |
| 20648 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20649 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20650 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20651 |
oblu:=f_obl; |
| 20652 |
filldraw z3rr..z3l---obl(5'l,3l,5l)---z5l..z5rr---obl(5'r,5r,4l)---z4ll..z4r--- |
| 20653 |
obl(6'r,4r,6r)---z6r..z6ll---obl(6'l,6l,3r)---cycle; |
| 20654 |
penlabels(0,1,2,3,4); labels(0'); |
| 20655 |
endchar; |
| 20656 |
|
| 20657 |
iff known chars.math_follows_eq_double: |
| 20658 |
bskchar "Follows and double equals to sign"; |
| 20659 |
beginchar(chars.math_follows_eq_double,12u#,v_center(1.45x_height#+3u#)); uni "0x2AB4"; |
| 20660 |
adjust_fit(0,0); |
| 20661 |
pickup tiny.nib; |
| 20662 |
numeric tim[]; oblu:=2oblu; |
| 20663 |
path p[]; |
| 20664 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u+.225x_height; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20665 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20666 |
pos0(rule_thickness,90); |
| 20667 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20668 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20669 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20670 |
z9=bsktouch(p1,down,p2,up); |
| 20671 |
tim1=xpart(p1 intersectiontimes (z9--(x9,h))); |
| 20672 |
tim2=xpart(p2 intersectiontimes (z9--(x9,-d))); |
| 20673 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20674 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20675 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20676 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20677 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 20678 |
x3=x5=x1; x4=x6=x0; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 20679 |
filldraw bskrule(3,4,hair,0); |
| 20680 |
filldraw bskrule(6,5,hair,0); |
| 20681 |
penlabels(0,1,2,3,4,5,6); labels(0',4ll,5ll); |
| 20682 |
endchar; |
| 20683 |
|
| 20684 |
iff known chars.math_follows_not_eq_double: |
| 20685 |
bskchar "Follows and not double equals to sign"; |
| 20686 |
beginchar(chars.math_follows_not_eq_double,12u#,v_center(1.45x_height#+3u#)); uni "0x2AB6"; |
| 20687 |
adjust_fit(0,0); |
| 20688 |
pickup tiny.nib; |
| 20689 |
numeric tim[]; oblu:=2oblu; |
| 20690 |
path p[]; |
| 20691 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u+.225x_height; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20692 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20693 |
pos0(rule_thickness,90); |
| 20694 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20695 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20696 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20697 |
z9=bsktouch(p1,down,p2,up); |
| 20698 |
tim1=xpart(p1 intersectiontimes (z9--(x9,h))); |
| 20699 |
tim2=xpart(p2 intersectiontimes (z9--(x9,-d))); |
| 20700 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20701 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20702 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20703 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 20704 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 20705 |
x3=x5=x1; x4=x6=x0; y5l=y6l=-d; y3=y4=y5+.45x_height; |
| 20706 |
top y7=y2l-rule_thickness; x8=x2+2u; .5[x8,x7]=.5w; .5[y8,y7]=.5[y3,y5]; |
| 20707 |
pos7(rule_thickness,angle(z8-z7)+90); pos8(rule_thickness,angle(z8-z7)+90); |
| 20708 |
bskpoints(3,4,hair,0); bskpoints(6,5,hair,0); |
| 20709 |
bskpoints(7,8,rule_thickness,rule_thickness); |
| 20710 |
z3'=whatever[z7l,z8l]=whatever[z3r,z4r]; |
| 20711 |
z4'=whatever[z7r,z8r]=whatever[z3r,z4r]; |
| 20712 |
z5'=whatever[z7r,z8r]=whatever[z3l,z4l]; |
| 20713 |
z6'=whatever[z7r,z8r]=whatever[z5r,z6r]; |
| 20714 |
z7'=whatever[z7r,z8r]=whatever[z5l,z6l]; |
| 20715 |
z8'=whatever[z7l,z8l]=whatever[z5l,z6l]; |
| 20716 |
z9'=whatever[z7l,z8l]=whatever[z5r,z6r]; |
| 20717 |
z10'=whatever[z7l,z8l]=whatever[z3l,z4l]; |
| 20718 |
oblu:=f_obl; oblu.more:=2f_obl; |
| 20719 |
if y7rr<y3r: y7rr:=y7r; x7rr:=x7r; fi |
| 20720 |
if y8ll>y5l: y8ll:=y8l; x8ll:=x8l; fi |
| 20721 |
filldraw z3rr---obl(3',3r,7l)---z7l..z7rr---tobl(4',7rr,4r).more---z4r |
| 20722 |
..z4ll---obl(5',4l,6')---obl(6',5',6rr).more---z6rr..z6l |
| 20723 |
---obl(7',6l,8r)---z8r..z8ll---tobl(8',8ll,5ll).more---z5ll |
| 20724 |
..z5r---obl(9',5r,10')---obl(10',9',3l).more---z3l..cycle; |
| 20725 |
penlabels(0,1,2,3,4,5,6,7,8); labels(0',4ll,5ll,7rr,8ll,3',4',5',6',7',8',9',10'); |
| 20726 |
endchar; |
| 20727 |
|
| 20728 |
iff known chars.math_follows_sim: |
| 20729 |
bskchar "Follows or similar to sign"; |
| 20730 |
beginchar(chars.math_follows_sim,12u#,v_center(1.5x_height#+2rule_thickness#)); uni "0x227F"; |
| 20731 |
adjust_fit(0,0); |
| 20732 |
pickup tiny.nib; |
| 20733 |
numeric tim[], spread; oblu:=2oblu; |
| 20734 |
path p[]; |
| 20735 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.25x_height+rule_thickness; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20736 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20737 |
pos0(rule_thickness,90); |
| 20738 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20739 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20740 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20741 |
z5=bsktouch(p1,down,p2,up); |
| 20742 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20743 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20744 |
bot y3=-d; spread:=.5x_height; |
| 20745 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20746 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20747 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20748 |
vlnka(3,4); |
| 20749 |
penlabels(0,1,2); labels(0'); |
| 20750 |
endchar; |
| 20751 |
|
| 20752 |
iff known chars.math_follows_not_sim: |
| 20753 |
bskchar "Follows and not similar to sign"; |
| 20754 |
beginchar(chars.math_follows_not_sim,12u#,v_center(1.5x_height#+2rule_thickness#)); uni "0x22E9"; |
| 20755 |
adjust_fit(0,0); |
| 20756 |
pickup tiny.nib; |
| 20757 |
numeric tim[], spread; oblu:=2oblu; |
| 20758 |
path p[]; |
| 20759 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.25x_height+rule_thickness; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20760 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20761 |
pos0(rule_thickness,90); |
| 20762 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20763 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20764 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20765 |
z5=bsktouch(p1,down,p2,up); |
| 20766 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20767 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20768 |
bot y3=-d; spread:=.5x_height; |
| 20769 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20770 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20771 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20772 |
vlnka(3,4).nodraw; |
| 20773 |
top y6-bot y7=.7x_height; .5[y6,y7]=.5[y3,y4]; .5[x6,x7]=.5w; x6=x4a; |
| 20774 |
pos6(rule_thickness,angle(z7-z6)+90); pos7(rule_thickness,angle(z7-z6)+90); |
| 20775 |
bskpoints(6,7,rule_thickness,rule_thickness); |
| 20776 |
p3:=subpath(0,4) of _vlnka; |
| 20777 |
p4:=subpath(5,infinity) of _vlnka; |
| 20778 |
p5:=z6l---z7ll..{z6-z7}z7r; |
| 20779 |
p6:=z7r---z6rr..{z7-z6}z6l; |
| 20780 |
(tim3,tim4)=p3 intersectiontimes p5; |
| 20781 |
(tim5,tim6)=p3 intersectiontimes p6; |
| 20782 |
(tim7,tim8)=p4 intersectiontimes p6; |
| 20783 |
(tim9,tim10)=p4 intersectiontimes p5; |
| 20784 |
filldraw subpath(0,rundy(p3,(tim3,2oblu)).zpet) of p3 |
| 20785 |
..subpath(rundy(p5,(tim4,2oblu)),infinity) of p5 |
| 20786 |
..subpath(0,rundy(p6,tim6).zpet) of p6 |
| 20787 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20788 |
..subpath(0,rundy(p4,(tim7,2oblu)).zpet) of p4 |
| 20789 |
..subpath(rundy(p6,(tim8,2oblu)),infinity) of p6 |
| 20790 |
..subpath(0,rundy(p5,tim10).zpet) of p5 |
| 20791 |
..subpath(rundy(p4,tim9),infinity) of p4..cycle; |
| 20792 |
penlabels(0,1,2,6,7); labels(0'); |
| 20793 |
endchar; |
| 20794 |
|
| 20795 |
iff known chars.math_follows_approx: |
| 20796 |
bskchar "Follows or approximately equal to sign"; |
| 20797 |
beginchar(chars.math_follows_approx,12u#,v_center(1.8x_height#+2rule_thickness#)); uni "0x2AB8"; |
| 20798 |
adjust_fit(0,0); |
| 20799 |
pickup tiny.nib; |
| 20800 |
numeric tim[], spread; oblu:=2oblu; |
| 20801 |
path p[]; |
| 20802 |
y0=y0'-.5o=.5[y1,y2]=math_axis+.4x_height+rule_thickness; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20803 |
top y1=h; x1-.5rule_thickness=u; x2=x1; |
| 20804 |
pos0(rule_thickness,90); |
| 20805 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20806 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20807 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20808 |
z5=bsktouch(p1,down,p2,up); |
| 20809 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20810 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20811 |
bot y3=-d; spread:=.4x_height; y6-y3=spread; |
| 20812 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20813 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20814 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20815 |
vlnka(3,4); vlnka(6,7); |
| 20816 |
penlabels(0,1,2); labels(0'); |
| 20817 |
endchar; |
| 20818 |
|
| 20819 |
iff known chars.math_follows_not_approx: |
| 20820 |
bskchar "Follows and not approximately equal to sign"; |
| 20821 |
beginchar(chars.math_follows_not_approx,12u#,v_center(1.8x_height#+2rule_thickness#)); uni "0x2ABA"; |
| 20822 |
italcorr h#*slant; |
| 20823 |
adjust_fit(0,0); |
| 20824 |
numeric spread; |
| 20825 |
pickup tiny.nib; |
| 20826 |
path p[]; numeric tim[]; |
| 20827 |
oblu:=2oblu; |
| 20828 |
spread:=.4x_height; |
| 20829 |
bot y1=-d; y3-y1=spread; |
| 20830 |
top y5-bot y6=x_height; .5[y5,y6]=y3; .5[x5,x6]=.5w; z5=z6+whatever*dir60; |
| 20831 |
y7=y7'-.5o=.5[y8,y9]=math_axis+.4x_height+rule_thickness; rt x7=w-1.5u; x7'=2/3[x7,x8]; |
| 20832 |
top y8=h; x8-.5rule_thickness=u; x9=x8; |
| 20833 |
pos7(rule_thickness,90); |
| 20834 |
pos8(rule_thickness,angle(z8-z7')+90); pos9(rule_thickness,angle(z9-z7')+90); |
| 20835 |
pos5(rule_thickness,angle(z6-z5)+90); pos6(rule_thickness,angle(z6-z5)+90); |
| 20836 |
bskpoints(5,6,rule_thickness,rule_thickness); |
| 20837 |
vlnka(1,2).nodraw; |
| 20838 |
p0:=subpath(0,4) of _vlnka; |
| 20839 |
p1:=subpath(5,infinity) of _vlnka; |
| 20840 |
vlnka(3,4).nodraw; |
| 20841 |
p2:=subpath(0,4) of _vlnka; |
| 20842 |
p3:=subpath(5,infinity) of _vlnka; |
| 20843 |
p4:=z5l---z6ll..{z5-z6}z6r; |
| 20844 |
p5:=z6r---z5rr..{z6-z5}z5l; |
| 20845 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 20846 |
(tim2,tim3)=p0 intersectiontimes p5; |
| 20847 |
(tim4,tim5)=p1 intersectiontimes p5; |
| 20848 |
(tim6,tim7)=p1 intersectiontimes p4; |
| 20849 |
(tim8,tim9)=p2 intersectiontimes p4; |
| 20850 |
(tim10,tim11)=p2 intersectiontimes p5; |
| 20851 |
(tim12,tim13)=p3 intersectiontimes p5; |
| 20852 |
(tim14,tim15)=p3 intersectiontimes p4; |
| 20853 |
p7:=z8r{z7'-z8}..{right}z7l; |
| 20854 |
p8:=z7r{left}..{z9-z7'}z9l; |
| 20855 |
z12=bsktouch(p7,down,p8,up); |
| 20856 |
tim16=xpart(p7 intersectiontimes (z12--(x12,h))); |
| 20857 |
tim17=xpart(p8 intersectiontimes (z12--(x12,-d))); |
| 20858 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 20859 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 20860 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 20861 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 20862 |
..subpath(0,rundy(p1,tim6).zpet) of p1 |
| 20863 |
..subpath(rundy(p5,(tim5,f_obl)),rundy(p5,(tim11,f_obl)).zpet) of p5 |
| 20864 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 20865 |
..subpath(0,rundy(p3,tim12).zpet) of p3 |
| 20866 |
..subpath(rundy(p5,tim13),infinity) of p5 |
| 20867 |
..subpath(0,rundy(p4,tim15).zpet) of p4 |
| 20868 |
..subpath(rundy(p3,tim14),infinity) of p3 |
| 20869 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 20870 |
..subpath(rundy(p4,(tim9,f_obl)),rundy(p4,(tim7,f_obl)).zpet) of p4 |
| 20871 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 20872 |
filldraw z9r+.5hair*unitvector(z7'-z9){z7'-z9}..{right}z7l..z7r{left}..{z8-z7'}z8l |
| 20873 |
..{z7'-z8}z8r..subpath (0,rundy(p7,tim16).zpet) of p7 |
| 20874 |
..subpath(rundy(p8,tim17),infinity) of p8..cycle; |
| 20875 |
penlabels(5,6,7,8,9); labels(7'); |
| 20876 |
endchar; |
| 20877 |
|
| 20878 |
iff known chars.math_follows_eq_not: |
| 20879 |
bskchar "Not follows or equals to sign"; |
| 20880 |
beginchar(chars.math_follows_eq_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "non"; |
| 20881 |
adjust_fit(0,0); |
| 20882 |
pickup tiny.nib; |
| 20883 |
numeric tim[]; oblu:=2oblu; |
| 20884 |
path p[]; |
| 20885 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20886 |
top y1=vround((math_axis#+.5x_height#+1.5u#)*hppp); x1-.5rule_thickness=u; x2=x1; |
| 20887 |
pos0(rule_thickness,90); |
| 20888 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20889 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 20890 |
y6l=y7l=math_axis-.5x_height-1.5u; x6=x0; x7=x1; bskpoints(6,7,hair,hair); |
| 20891 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20892 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20893 |
z3=bsktouch(p1,down,p2,up); |
| 20894 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20895 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20896 |
top rt z4=(w-3u,h); top lft z5=(3u,-d); |
| 20897 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 20898 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 20899 |
p3:=z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l; |
| 20900 |
p4:=z0r{left}..{z1-z0'}z1l..{z0'-z1}z1r; |
| 20901 |
p5:=z5r---z4rr..{z5-z4}z4l; |
| 20902 |
p6:=z4l---z5ll..{z4-z5}z5r; |
| 20903 |
p7:=z6l{right}..z6rr---z7r; |
| 20904 |
p8:=z7r{left}..z7ll---z6l; |
| 20905 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 20906 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 20907 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 20908 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 20909 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 20910 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 20911 |
(tim15,tim16)=p6 intersectiontimes p7; |
| 20912 |
(tim17,tim18)=p6 intersectiontimes p8; |
| 20913 |
(tim19,tim20)=p5 intersectiontimes p8; |
| 20914 |
(tim21,tim22)=p5 intersectiontimes p7; |
| 20915 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 20916 |
..subpath(rundy(p6,tim4),rundy(p6,(tim15,f_obl)).zpet) of p6 |
| 20917 |
..subpath(rundy(p7,(tim16,f_obl)),infinity) of p7 |
| 20918 |
..subpath(0,rundy(p8,tim18).zpet) of p8 |
| 20919 |
..subpath(rundy(p6,tim17),infinity) of p6 |
| 20920 |
..subpath(0,rundy(p5,(tim19,f_obl)).zpet) of p5 |
| 20921 |
..subpath(rundy(p8,(tim20,f_obl)),infinity) of p8 |
| 20922 |
..subpath(0,rundy(p7,tim22).zpet) of p7 |
| 20923 |
..subpath(rundy(p5,tim21),rundy(p5,tim6).zpet) of p5 |
| 20924 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 20925 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 20926 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 20927 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 20928 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 20929 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 20930 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 20931 |
penlabels(0,1,2,3,4,5,6,7); labels(0',4rr,5ll,6rr,7ll); |
| 20932 |
endchar; |
| 20933 |
|
| 20934 |
iff known chars.math_follows_eq_curved: |
| 20935 |
bskchar "Follows or curvy equals to sign"; |
| 20936 |
beginchar(chars.math_follows_eq_curved,12u#,v_center(x_height#+3u#)); uni "0x227D"; |
| 20937 |
adjust_fit(0,0); |
| 20938 |
pickup tiny.nib; |
| 20939 |
numeric tim[]; oblu:=2oblu; |
| 20940 |
path p[]; |
| 20941 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 20942 |
top y1=h; x1-.5rule_thickness=u; x2=x4-u=x1; |
| 20943 |
bot y4=-d; y0-y3=y2-y4; |
| 20944 |
pos0(rule_thickness,90); |
| 20945 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20946 |
pos3(rule_thickness,270); pos4(rule_thickness,angle(z2-z0')+90); |
| 20947 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20948 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20949 |
z5=bsktouch(p1,down,p2,up); |
| 20950 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 20951 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 20952 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 20953 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 20954 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 20955 |
filldraw z4l+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z3l..z3r{left}..{z2-z0'}z4r..cycle; |
| 20956 |
penlabels(0,1,2,3,4); labels(0'); |
| 20957 |
endchar; |
| 20958 |
|
| 20959 |
iff known chars.math_follows_eq_curved_not: |
| 20960 |
bskchar "Not follows or curved equals to sign"; |
| 20961 |
beginchar(chars.math_follows_eq_curved_not,12u#,v_center(.75(body_height#+desc_depth#))); uni "0x22E1"; |
| 20962 |
adjust_fit(0,0); |
| 20963 |
pickup tiny.nib; |
| 20964 |
numeric tim[]; oblu:=2oblu; |
| 20965 |
path p[]; |
| 20966 |
y0=y0'-.5o=.5[y1,y2]=math_axis+1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 20967 |
top y1=vround((math_axis#+.5x_height#+1.5u#)*hppp); x1-.5rule_thickness=u; x2=x1; |
| 20968 |
pos0(rule_thickness,90); |
| 20969 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 20970 |
pos6(rule_thickness,90); pos7(rule_thickness,angle(z2-z0')-90); |
| 20971 |
bot y7=.5x_height-math_axis; y0-y6=y2-y7; x6=x0; x7=x1+u; |
| 20972 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 20973 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 20974 |
z3=bsktouch(p1,down,p2,up); |
| 20975 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 20976 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 20977 |
top rt z4=(w-3u,h); top lft z5=(3u,-d); |
| 20978 |
pos4(rule_thickness,angle(z5-z4)+90); pos5(rule_thickness,angle(z5-z4)+90); |
| 20979 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 20980 |
p3:=z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l; |
| 20981 |
p4:=z0r{left}..{z1-z0'}z1l..{z0'-z1}z1r; |
| 20982 |
p5:=z5r---z4rr..{z5-z4}z4l; |
| 20983 |
p6:=z4l---z5ll..{z4-z5}z5r; |
| 20984 |
p7:=z6r{left}..{z2-z0'}z7r; |
| 20985 |
p8:=z7l+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z6l; |
| 20986 |
(tim3,tim4)=p3 intersectiontimes p6; |
| 20987 |
(tim5,tim6)=p3 intersectiontimes p5; |
| 20988 |
(tim7,tim8)=p4 intersectiontimes p5; |
| 20989 |
(tim9,tim10)=p4 intersectiontimes p6; |
| 20990 |
(tim11,tim12)=p1 intersectiontimes p6; |
| 20991 |
(tim13,tim14)=p2 intersectiontimes p6; |
| 20992 |
(tim15,tim16)=p6 intersectiontimes p7; |
| 20993 |
(tim17,tim18)=p6 intersectiontimes p8; |
| 20994 |
(tim19,tim20)=p5 intersectiontimes p8; |
| 20995 |
(tim21,tim22)=p5 intersectiontimes p7; |
| 20996 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3 |
| 20997 |
..subpath(rundy(p6,tim4),rundy(p6,(tim15,f_obl)).zpet) of p6 |
| 20998 |
..subpath(rundy(p7,(tim16,f_obl)),infinity) of p7 |
| 20999 |
..subpath(0,rundy(p8,tim18).zpet) of p8 |
| 21000 |
..subpath(rundy(p6,tim17),infinity) of p6 |
| 21001 |
..subpath(0,rundy(p5,(tim19,f_obl)).zpet) of p5 |
| 21002 |
..subpath(rundy(p8,(tim20,f_obl)),infinity) of p8 |
| 21003 |
..subpath(0,rundy(p7,tim22).zpet) of p7 |
| 21004 |
..subpath(rundy(p5,tim21),rundy(p5,tim6).zpet) of p5 |
| 21005 |
..subpath(rundy(p3,tim5),infinity) of p3 |
| 21006 |
..subpath(0,rundy(p4,tim7).zpet) of p4 |
| 21007 |
..subpath(rundy(p5,tim8),infinity) of p5 |
| 21008 |
..subpath(0,rundy(p6,tim10).zpet) of p6 |
| 21009 |
..subpath(rundy(p4,tim9),infinity) of p4 |
| 21010 |
..subpath (0,rundy(p1,tim11).zpet) of p1 |
| 21011 |
..subpath(rundy(p2,tim13),infinity) of p2..cycle; |
| 21012 |
penlabels(0,1,2,3,4,5,6,7); labels(0',4rr,5ll,6rr,7ll); |
| 21013 |
endchar; |
| 21014 |
|
| 21015 |
iff known chars.math_eq_follows: |
| 21016 |
bskchar "Equals to or follows sign"; |
| 21017 |
beginchar(chars.math_eq_follows,12u#,v_center(x_height#+3u#)); uni "0x22DF"; |
| 21018 |
adjust_fit(0,0); |
| 21019 |
pickup tiny.nib; |
| 21020 |
numeric tim[]; oblu:=2oblu; |
| 21021 |
path p[]; |
| 21022 |
y0=y0'-.5o=.5[y1,y2]=math_axis-1.5u; rt x0=w-1.5u; x0'=2/3[x0,x1]; x3=x0; |
| 21023 |
bot y2=-d; x1-.5rule_thickness=u; x2=x4-u=x1; |
| 21024 |
top y4=h; y0-y3=y1-y4; |
| 21025 |
pos0(rule_thickness,90); |
| 21026 |
pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 21027 |
pos3(rule_thickness,270); pos4(rule_thickness,angle(z1-z0')+90); |
| 21028 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 21029 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 21030 |
z5=bsktouch(p1,down,p2,up); |
| 21031 |
tim1=xpart(p1 intersectiontimes (z5--(x5,h))); |
| 21032 |
tim2=xpart(p2 intersectiontimes (z5--(x5,-d))); |
| 21033 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 21034 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 21035 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 21036 |
filldraw z4l+.5hair*unitvector(z0'-z1){z0'-z1}..{right}z3l..z3r{left}..{z1-z0'}z4r..cycle; |
| 21037 |
penlabels(0,1,2,3,4); labels(0'); |
| 21038 |
endchar; |
| 21039 |
|
| 21040 |
iff known chars.math_follows_double: |
| 21041 |
bskchar "Double follows sign"; |
| 21042 |
beginchar(chars.math_follows_double,15u#,v_center(x_height#)); uni "0x2ABC"; |
| 21043 |
adjust_fit(0,0); |
| 21044 |
pickup tiny.nib; |
| 21045 |
numeric tim[]; oblu:=2oblu; |
| 21046 |
path p[]; |
| 21047 |
y0=y0'-.5o=.5[y1,y2]=y4=y4'-.5o=.5[y5,y6]=math_axis; rt x0=w-1.5u; x0'=2/3[x0,x1]; |
| 21048 |
top y1=top y5=h; x1-.5rule_thickness=4.5u; x2=x1; |
| 21049 |
rt x4=w-7.5u; x4'=2/3[x4,x5]; x5-.5rule_thickness=u; x6=x5; |
| 21050 |
pos0(rule_thickness,90); pos1(rule_thickness,angle(z1-z0')+90); pos2(rule_thickness,angle(z2-z0')+90); |
| 21051 |
pos4(rule_thickness,90); pos5(rule_thickness,angle(z5-z4')+90); pos6(rule_thickness,angle(z6-z4')+90); |
| 21052 |
p1:=z1r{z0'-z1}..{right}z0l; |
| 21053 |
p2:=z0r{left}..{z2-z0'}z2l; |
| 21054 |
p3:=z5r{z4'-z5}..{right}z4l; |
| 21055 |
p4:=z4r{left}..{z6-z4'}z6l; |
| 21056 |
z3=bsktouch(p1,down,p2,up); |
| 21057 |
z7=bsktouch(p3,down,p4,up); |
| 21058 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 21059 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 21060 |
tim3=xpart(p3 intersectiontimes (z7--(x7,h))); |
| 21061 |
tim4=xpart(p4 intersectiontimes (z7--(x7,-d))); |
| 21062 |
filldraw z2r+.5hair*unitvector(z0'-z2){z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l |
| 21063 |
..{z0'-z1}z1r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 21064 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 21065 |
filldraw z6r+.5hair*unitvector(z4'-z6){z4'-z6}..{right}z4l..z4r{left}..{z5-z4'}z5l |
| 21066 |
..{z4'-z5}z5r..subpath (0,rundy(p3,tim3).zpet) of p3 |
| 21067 |
..subpath(rundy(p4,tim4),infinity) of p4..cycle; |
| 21068 |
penlabels(0,1,2,4,5,6); labels(0',3,4',7); |
| 21069 |
endchar; |
| 21070 |
|
| 21071 |
iff known chars.math_precedes_relation: |
| 21072 |
bskchar "Precedes under relation sign"; |
| 21073 |
beginchar(chars.math_precedes_relation,12u#,v_center(1.3x_height#)); uni "0x22B0"; |
| 21074 |
adjust_fit(0,0); |
| 21075 |
pickup tiny.nib; |
| 21076 |
numeric tim[]; oblu:=2oblu; |
| 21077 |
path p[]; |
| 21078 |
pos0(rule_thickness,90); |
| 21079 |
pos1(rule_thickness,180); pos1'(rule_thickness,-90); |
| 21080 |
pos2(rule_thickness,0); pos2'(rule_thickness,-90); |
| 21081 |
y0=y0'-.5o=.5[y1,y2]=.5[y1',y2']=math_axis; lft x0=1.5u; x0'=.85[x0,x1]; |
| 21082 |
top y1=h-.25x_height; x1+.5rule_thickness=w-u; x2=x1; |
| 21083 |
top y1'l=h; x1'=x2'=x1r-rule_thickness; |
| 21084 |
p1:=z1'l{right}..z1l{z0'-z1}..{left}z0l; |
| 21085 |
p2:=z0r{right}..{z2-z0'}z2r..{left}z2'r; |
| 21086 |
z3=bsktouch(p1,down,p2,up); |
| 21087 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 21088 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 21089 |
filldraw z2'l{right}..z2l{z0'-z2}..{left}z0l..z0r{right}..{z1-z0'}z1r..{left}z1'r |
| 21090 |
..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 21091 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 21092 |
penlabels(0,1,1',2,2'); labels(0',3); |
| 21093 |
endchar; |
| 21094 |
|
| 21095 |
iff known chars.math_follows_relation: |
| 21096 |
bskchar "Follows under relation sign"; |
| 21097 |
beginchar(chars.math_follows_relation,12u#,v_center(1.3x_height#)); uni "0x22B1"; |
| 21098 |
adjust_fit(0,0); |
| 21099 |
pickup tiny.nib; |
| 21100 |
numeric tim[]; oblu:=2oblu; |
| 21101 |
path p[]; |
| 21102 |
pos0(rule_thickness,90); |
| 21103 |
pos1(rule_thickness,180); pos1'(rule_thickness,90); |
| 21104 |
pos2(rule_thickness,0); pos2'(rule_thickness,90); |
| 21105 |
y0=y0'-.5o=.5[y1,y2]=.5[y1',y2']=math_axis; rt x0=w-1.5u; x0'=.85[x0,x1]; |
| 21106 |
top y1=h-.25x_height; x1-.5rule_thickness=u; x2=x1; |
| 21107 |
top y1'r=h; x1'=x2'=x1l+rule_thickness; |
| 21108 |
p1:=z1'r{left}..z1r{z0'-z1}..{right}z0l; |
| 21109 |
p2:=z0r{left}..{z2-z0'}z2l..{right}z2'l; |
| 21110 |
z3=bsktouch(p1,down,p2,up); |
| 21111 |
tim1=xpart(p1 intersectiontimes (z3--(x3,h))); |
| 21112 |
tim2=xpart(p2 intersectiontimes (z3--(x3,-d))); |
| 21113 |
filldraw z2'r{left}..z2r{z0'-z2}..{right}z0l..z0r{left}..{z1-z0'}z1l..{right}z1'l |
| 21114 |
..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 21115 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 21116 |
penlabels(0,1,1',2,2'); labels(0'); |
| 21117 |
endchar; |
| 21118 |
|
| 21119 |
iff known chars.math_angle_left: |
| 21120 |
bskchar "Left angle bracket"; |
| 21121 |
beginchar(chars.math_angle_left,6u#,body_height#,paren_depth#); uni "0x27E8"; |
| 21122 |
adjust_fit(0,0); |
| 21123 |
pickup tiny.nib; |
| 21124 |
numeric theta; oblu:=2oblu; |
| 21125 |
lft x0l=u; y0=math_axis; |
| 21126 |
pos0(rule_thickness,0); x1=x2; .5[y1r,y2r]=y0; |
| 21127 |
y1r=h; x1r=w-x0l; |
| 21128 |
theta:=angle(z1r-z0r); |
| 21129 |
pos1(.85rule_thickness,theta-90); pos2(rule_thickness,theta-45); |
| 21130 |
z0'=z0l+(.85rule_thickness-currentbreadth)*dir(theta-90); |
| 21131 |
z0''=z0l+(rule_thickness-currentbreadth)*dir(theta-90); |
| 21132 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21133 |
y0l'=y0l+o; z0l'=whatever[z0l,z1l]; |
| 21134 |
bskpoints(0,1,hair,hair); |
| 21135 |
filldraw z0l..z0l'---z1ll..z1r---obl(0''',1r,2r)---z2r..z2l---cycle; |
| 21136 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21137 |
endchar; |
| 21138 |
|
| 21139 |
iff known chars.math_angle_left_big: |
| 21140 |
bskchar "\big left angle bracket"; |
| 21141 |
beginchar(chars.math_angle_left_big,6u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 21142 |
adjust_fit(0,0); |
| 21143 |
pickup tiny.nib; |
| 21144 |
numeric theta, breadth; oblu:=2oblu; breadth:=rule_thickness; |
| 21145 |
lft x0l=u; y0=.5[-d,h]; |
| 21146 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21147 |
y1r=h; x1r=w-x0l; |
| 21148 |
theta:=angle(z1r-z0r); |
| 21149 |
pos1(.85breadth,theta-90); pos2(breadth,theta-45); |
| 21150 |
z0'=z0l+(.85breadth-currentbreadth)*dir(theta-90); |
| 21151 |
z0''=z0l+(breadth-currentbreadth)*dir(theta-90); |
| 21152 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21153 |
y0l'=y0l+o; z0l'=whatever[z0l,z1l]; |
| 21154 |
bskpoints(0,1,hair,hair); |
| 21155 |
filldraw z0l..z0l'---z1ll..z1r---obl(0''',1r,2r)---z2r..z2l---cycle; |
| 21156 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21157 |
endchar; |
| 21158 |
|
| 21159 |
iff known chars.math_angle_left_Big: |
| 21160 |
bskchar "\Big left angle bracket"; |
| 21161 |
beginchar(chars.math_angle_left_Big,9u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 21162 |
adjust_fit(0,0); |
| 21163 |
pickup tiny.nib; |
| 21164 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.1rule_thickness; |
| 21165 |
lft x0l=u; y0=.5[-d,h]; |
| 21166 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21167 |
y1r=h; x1r=w-x0l; |
| 21168 |
theta:=angle(z1r-z0r); |
| 21169 |
pos1(.85breadth,theta-90); pos2(breadth,theta-45); |
| 21170 |
z0'=z0l+(.85breadth-currentbreadth)*dir(theta-90); |
| 21171 |
z0''=z0l+(breadth-currentbreadth)*dir(theta-90); |
| 21172 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21173 |
y0l'=y0l+o; z0l'=whatever[z0l,z1l]; |
| 21174 |
bskpoints(0,1,hair,hair); |
| 21175 |
filldraw z0l..z0l'---z1ll..z1r---obl(0''',1r,2r)---z2r..z2l---cycle; |
| 21176 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21177 |
endchar; |
| 21178 |
|
| 21179 |
iff known chars.math_angle_left_bigg: |
| 21180 |
bskchar "\bigg left angle bracket"; |
| 21181 |
beginchar(chars.math_angle_left_bigg,12u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 21182 |
adjust_fit(0,0); |
| 21183 |
pickup tiny.nib; |
| 21184 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.25rule_thickness; |
| 21185 |
lft x0l=u; y0=.5[-d,h]; |
| 21186 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21187 |
y1r=h; x1r=w-x0l; |
| 21188 |
theta:=angle(z1r-z0r); |
| 21189 |
pos1(.85breadth,theta-90); pos2(breadth,theta-45); |
| 21190 |
z0'=z0l+(.85breadth-currentbreadth)*dir(theta-90); |
| 21191 |
z0''=z0l+(breadth-currentbreadth)*dir(theta-90); |
| 21192 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21193 |
y0l'=y0l+o; z0l'=whatever[z0l,z1l]; |
| 21194 |
bskpoints(0,1,hair,hair); |
| 21195 |
filldraw z0l..z0l'---z1ll..z1r---obl(0''',1r,2r)---z2r..z2l---cycle; |
| 21196 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21197 |
endchar; |
| 21198 |
|
| 21199 |
iff known chars.math_angle_left_Bigg: |
| 21200 |
bskchar "\Bigg left angle bracket"; |
| 21201 |
beginchar(chars.math_angle_left_Bigg,15u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 21202 |
adjust_fit(0,0); |
| 21203 |
pickup tiny.nib; |
| 21204 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.5rule_thickness; |
| 21205 |
lft x0l=u; y0=.5[-d,h]; |
| 21206 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21207 |
y1r=h; x1r=w-x0l; |
| 21208 |
theta:=angle(z1r-z0r); |
| 21209 |
pos1(.85breadth,theta-90); pos2(breadth,theta-45); |
| 21210 |
z0'=z0l+(.85breadth-currentbreadth)*dir(theta-90); |
| 21211 |
z0''=z0l+(breadth-currentbreadth)*dir(theta-90); |
| 21212 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21213 |
y0l'=y0l+o; z0l'=whatever[z0l,z1l]; |
| 21214 |
bskpoints(0,1,hair,hair); |
| 21215 |
filldraw z0l..z0l'---z1ll..z1r---obl(0''',1r,2r)---z2r..z2l---cycle; |
| 21216 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21217 |
endchar; |
| 21218 |
|
| 21219 |
iff known chars.math_angle_right: |
| 21220 |
bskchar "Right angle bracket"; |
| 21221 |
beginchar(chars.math_angle_right,6u#,body_height#,paren_depth#); uni "0x27E9"; |
| 21222 |
adjust_fit(0,0); |
| 21223 |
pickup tiny.nib; |
| 21224 |
numeric theta; oblu:=2oblu; |
| 21225 |
lft x0r=w-u; y0=math_axis; |
| 21226 |
pos0(rule_thickness,0); x1=x2; .5[y1r,y2r]=y0; |
| 21227 |
y1l=h; x1l=w-x0r; |
| 21228 |
theta:=angle(z1l-z0l); |
| 21229 |
pos1(rule_thickness,theta-90); pos2(.85rule_thickness,theta-135); |
| 21230 |
z0'=z0r+(rule_thickness-currentbreadth)*dir(theta+90); |
| 21231 |
z0''=z0r+(.85rule_thickness-currentbreadth)*dir(theta+45); |
| 21232 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21233 |
y0r'=y0r+o; z0r'=whatever[z0r,z1r]; |
| 21234 |
bskpoints(1,0,hair,hair); |
| 21235 |
filldraw z0r..z0r'---z1rr..z1l---obl(0''',1l,2r)---z2l..z2r---cycle; |
| 21236 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21237 |
endchar; |
| 21238 |
|
| 21239 |
iff known chars.math_angle_right_big: |
| 21240 |
bskchar "\big right angle bracket"; |
| 21241 |
beginchar(chars.math_angle_right_big,6u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 21242 |
adjust_fit(0,0); |
| 21243 |
pickup tiny.nib; |
| 21244 |
numeric theta, breadth; oblu:=2oblu; breadth:=rule_thickness; |
| 21245 |
lft x0r=w-u; y0=.5[-d,h]; |
| 21246 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21247 |
y1l=h; x1l=w-x0r; |
| 21248 |
theta:=angle(z1l-z0l); |
| 21249 |
pos1(breadth,theta-90); pos2(.85breadth,theta-135); |
| 21250 |
z0'=z0r+(breadth-currentbreadth)*dir(theta+90); |
| 21251 |
z0''=z0r+(.85breadth-currentbreadth)*dir(theta+45); |
| 21252 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21253 |
y0r'=y0r+o; z0r'=whatever[z0r,z1r]; |
| 21254 |
bskpoints(1,0,hair,hair); |
| 21255 |
filldraw z0r..z0r'---z1rr..z1l---obl(0''',1l,2r)---z2l..z2r---cycle; |
| 21256 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21257 |
endchar; |
| 21258 |
|
| 21259 |
iff known chars.math_angle_right_Big: |
| 21260 |
bskchar "\Big right angle bracket"; |
| 21261 |
beginchar(chars.math_angle_right_Big,9u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 21262 |
adjust_fit(0,0); |
| 21263 |
pickup tiny.nib; |
| 21264 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.1rule_thickness; |
| 21265 |
lft x0r=w-u; y0=.5[-d,h]; |
| 21266 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21267 |
y1l=h; x1l=w-x0r; |
| 21268 |
theta:=angle(z1l-z0l); |
| 21269 |
pos1(breadth,theta-90); pos2(.85breadth,theta-135); |
| 21270 |
z0'=z0r+(breadth-currentbreadth)*dir(theta+90); |
| 21271 |
z0''=z0r+(.85breadth-currentbreadth)*dir(theta+45); |
| 21272 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21273 |
y0r'=y0r+o; z0r'=whatever[z0r,z1r]; |
| 21274 |
bskpoints(1,0,hair,hair); |
| 21275 |
filldraw z0r..z0r'---z1rr..z1l---obl(0''',1l,2r)---z2l..z2r---cycle; |
| 21276 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21277 |
endchar; |
| 21278 |
|
| 21279 |
iff known chars.math_angle_right_bigg: |
| 21280 |
bskchar "\bigg right angle bracket"; |
| 21281 |
beginchar(chars.math_angle_right_bigg,12u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 21282 |
adjust_fit(0,0); |
| 21283 |
pickup tiny.nib; |
| 21284 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.25rule_thickness; |
| 21285 |
lft x0r=w-u; y0=.5[-d,h]; |
| 21286 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21287 |
y1l=h; x1l=w-x0r; |
| 21288 |
theta:=angle(z1l-z0l); |
| 21289 |
pos1(breadth,theta-90); pos2(.85breadth,theta-135); |
| 21290 |
z0'=z0r+(breadth-currentbreadth)*dir(theta+90); |
| 21291 |
z0''=z0r+(.85breadth-currentbreadth)*dir(theta+45); |
| 21292 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21293 |
y0r'=y0r+o; z0r'=whatever[z0r,z1r]; |
| 21294 |
bskpoints(1,0,hair,hair); |
| 21295 |
filldraw z0r..z0r'---z1rr..z1l---obl(0''',1l,2r)---z2l..z2r---cycle; |
| 21296 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21297 |
endchar; |
| 21298 |
|
| 21299 |
iff known chars.math_angle_right_Bigg: |
| 21300 |
bskchar "\Bigg right angle bracket"; |
| 21301 |
beginchar(chars.math_angle_right_Bigg,15u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 21302 |
adjust_fit(0,0); |
| 21303 |
pickup tiny.nib; |
| 21304 |
numeric theta, breadth; oblu:=2oblu; breadth:=1.5rule_thickness; |
| 21305 |
lft x0r=w-u; y0=.5[-d,h]; |
| 21306 |
pos0(breadth,0); x1=x2; .5[y1r,y2r]=y0; |
| 21307 |
y1l=h; x1l=w-x0r; |
| 21308 |
theta:=angle(z1l-z0l); |
| 21309 |
pos1(breadth,theta-90); pos2(.85breadth,theta-135); |
| 21310 |
z0'=z0r+(breadth-currentbreadth)*dir(theta+90); |
| 21311 |
z0''=z0r+(.85breadth-currentbreadth)*dir(theta+45); |
| 21312 |
z0'''=whatever[z0',z1r]=whatever[z0'',z2r]; |
| 21313 |
y0r'=y0r+o; z0r'=whatever[z0r,z1r]; |
| 21314 |
bskpoints(1,0,hair,hair); |
| 21315 |
filldraw z0r..z0r'---z1rr..z1l---obl(0''',1l,2r)---z2l..z2r---cycle; |
| 21316 |
penlabels(0,1,2); labels(0',0'',0''',1ll,0l'); |
| 21317 |
endchar; |
| 21318 |
|
| 21319 |
iff known chars.math_nabla: |
| 21320 |
bskchar "Nabla operator"; |
| 21321 |
beginchar(chars.math_nabla,13u#,cap_height#,0); uni "0x2207"; |
| 21322 |
adjust_fit(0,0); |
| 21323 |
pickup tiny.nib; |
| 21324 |
numeric alpha, right_stem, left_stem, old_jut; oblu:=2oblu; |
| 21325 |
pickup tiny.nib; |
| 21326 |
old_jut:=cap_jut; |
| 21327 |
rt x1l=w-u; lft x2r=u; top y1l=top y2r=h; |
| 21328 |
x3l=.5w; bot y3l=-d-apex_o; |
| 21329 |
left_stem=cap_hair; |
| 21330 |
right_stem=cap_stem; |
| 21331 |
alpha=diag_ratio(2,left_stem,y3l-y1l,x3l-x1l); |
| 21332 |
pos1(alpha*left_stem,180); pos2(alpha*right_stem,180); |
| 21333 |
pos1'(alpha*left_stem,180); pos2'(alpha*right_stem,180); |
| 21334 |
z1'l=z3l=z2'r; |
| 21335 |
z1''=z1r+(cap_stem-currentbreadth)*unitvector(z3l-z1l); |
| 21336 |
z2''=z2l+(cap_stem-currentbreadth)*unitvector(z3l-z2r); |
| 21337 |
z3'=whatever[z1'r,z1r]=whatever[z2'l,z2l]; y3'l=y3'r=y3'+.25[cap_hair,cap_stem]; |
| 21338 |
filldraw z1l---z2r--z3l--cycle; |
| 21339 |
infill obl(1'',3',2'')---obl(2'',1'',3')---obl(3',2'',1'')---cycle; |
| 21340 |
penlabels(1,1',2,2',3); labels(1'',2'',3'); |
| 21341 |
endchar; |
| 21342 |
|
| 21343 |
iff known chars.math_nabla_small: |
| 21344 |
bskchar "Nabla operator (smaller)"; |
| 21345 |
beginchar(chars.math_nabla_small,12u#,.9cap_height#,0); uni "non"; |
| 21346 |
adjust_fit(0,0); |
| 21347 |
pickup tiny.nib; |
| 21348 |
numeric alpha, right_stem, left_stem, old_jut; oblu:=2oblu; |
| 21349 |
pickup tiny.nib; |
| 21350 |
old_jut:=cap_jut; |
| 21351 |
rt x1l=w-u; lft x2r=u; top y1l=top y2r=h; |
| 21352 |
x3l=.5w; bot y3l=-d-apex_o; |
| 21353 |
left_stem=cap_hair; |
| 21354 |
right_stem=cap_stem; |
| 21355 |
alpha=diag_ratio(2,left_stem,y3l-y1l,x3l-x1l); |
| 21356 |
pos1(alpha*left_stem,180); pos2(alpha*right_stem,180); |
| 21357 |
pos1'(alpha*left_stem,180); pos2'(alpha*right_stem,180); |
| 21358 |
z1'l=z3l=z2'r; |
| 21359 |
z1''=z1r+(cap_stem-currentbreadth)*unitvector(z3l-z1l); |
| 21360 |
z2''=z2l+(cap_stem-currentbreadth)*unitvector(z3l-z2r); |
| 21361 |
z3'=whatever[z1'r,z1r]=whatever[z2'l,z2l]; y3'l=y3'r=y3'+.25[cap_hair,cap_stem]; |
| 21362 |
filldraw z1l---z2r--z3l--cycle; |
| 21363 |
infill obl(1'',3',2'')---obl(2'',1'',3')---obl(3',2'',1'')---cycle; |
| 21364 |
penlabels(1,1',2,2',3); labels(1'',2'',3'); |
| 21365 |
endchar; |
| 21366 |
|
| 21367 |
iff known chars.math_laplace: |
| 21368 |
bskchar "Laplace operator"; |
| 21369 |
beginchar(chars.math_laplace,13u#,cap_height#,0); uni "0x2206"; |
| 21370 |
adjust_fit(0,0); |
| 21371 |
pickup tiny.nib; |
| 21372 |
numeric alpha, right_stem, left_stem, old_jut; oblu:=2oblu; |
| 21373 |
pickup tiny.nib; |
| 21374 |
old_jut:=cap_jut; |
| 21375 |
rt x1l=w-u; lft x2r=u; bot y1l=bot y2r=-d; |
| 21376 |
x3l=.5w; top y3l=h+apex_o; |
| 21377 |
left_stem=cap_hair; |
| 21378 |
right_stem=cap_stem; |
| 21379 |
alpha=diag_ratio(2,left_stem,y3l-y1l,x3l-x1l); |
| 21380 |
pos1(alpha*left_stem,180); pos2(alpha*right_stem,180); |
| 21381 |
pos1'(alpha*left_stem,180); pos2'(alpha*right_stem,180); |
| 21382 |
z1'l=z3l=z2'r; |
| 21383 |
z1''=z1r+(cap_stem-currentbreadth)*unitvector(z3l-z1l); |
| 21384 |
z2''=z2l+(cap_stem-currentbreadth)*unitvector(z3l-z2r); |
| 21385 |
z3'=whatever[z1'r,z1r]=whatever[z2'l,z2l]; y3'l=y3'r=y3'+.25[cap_hair,cap_stem]; |
| 21386 |
filldraw z1l---z2r--z3l--cycle; |
| 21387 |
infill obl(1'',3',2'')---obl(2'',1'',3')---obl(3',2'',1'')---cycle; |
| 21388 |
penlabels(1,1',2,2',3); labels(1'',2'',3'); |
| 21389 |
endchar; |
| 21390 |
|
| 21391 |
iff known chars.math_laplace_small: |
| 21392 |
bskchar "Laplace operator (smaller)"; |
| 21393 |
beginchar(chars.math_laplace_small,12u#,.9cap_height#,0); uni "non"; |
| 21394 |
adjust_fit(0,0); |
| 21395 |
pickup tiny.nib; |
| 21396 |
numeric alpha, right_stem, left_stem, old_jut; oblu:=2oblu; |
| 21397 |
pickup tiny.nib; |
| 21398 |
old_jut:=cap_jut; |
| 21399 |
rt x1l=w-u; lft x2r=u; bot y1l=bot y2r=-d; |
| 21400 |
x3l=.5w; top y3l=h+apex_o; |
| 21401 |
left_stem=cap_hair; |
| 21402 |
right_stem=cap_stem; |
| 21403 |
alpha=diag_ratio(2,left_stem,y3l-y1l,x3l-x1l); |
| 21404 |
pos1(alpha*left_stem,180); pos2(alpha*right_stem,180); |
| 21405 |
pos1'(alpha*left_stem,180); pos2'(alpha*right_stem,180); |
| 21406 |
z1'l=z3l=z2'r; |
| 21407 |
z1''=z1r+(cap_stem-currentbreadth)*unitvector(z3l-z1l); |
| 21408 |
z2''=z2l+(cap_stem-currentbreadth)*unitvector(z3l-z2r); |
| 21409 |
z3'=whatever[z1'r,z1r]=whatever[z2'l,z2l]; y3'l=y3'r=y3'+.25[cap_hair,cap_stem]; |
| 21410 |
filldraw z1l---z2r--z3l--cycle; |
| 21411 |
infill obl(1'',3',2'')---obl(2'',1'',3')---obl(3',2'',1'')---cycle; |
| 21412 |
penlabels(1,1',2,2',3); labels(1'',2'',3'); |
| 21413 |
endchar; |
| 21414 |
|
| 21415 |
iff known chars.math_dalembert: |
| 21416 |
bskchar "D'Alembert operator"; |
| 21417 |
beginchar(chars.math_dalembert,13u#,.9cap_height#,0); uni "0x29E0"; |
| 21418 |
adjust_fit(0,0); |
| 21419 |
pickup tiny.nib; |
| 21420 |
pos1(cap_stem,0); pos2(cap_stem,0); pos3(cap_hair,0); pos4(cap_hair,0); |
| 21421 |
lft x1l=lft x2l=u; rt x3r=rt x4r=w-u; |
| 21422 |
bot y2=bot y3=0; top y1=top y4=h; |
| 21423 |
y1r:=y4l:=y1r-cap_hair+currentbreadth; |
| 21424 |
y2r:=y3l:=y2r+cap_stem-currentbreadth; |
| 21425 |
filldraw obl(1l,4r,2l)---obl(2l,1l,3r)---obl(3r,2l,4r)---obl(4r,3r,1l)---cycle; |
| 21426 |
infill obl(1r,4l,2r)---obl(2r,1r,3l)---obl(3l,2r,4l)---obl(4l,3l,1r)---cycle; |
| 21427 |
penlabels(1,2,3,4); |
| 21428 |
endchar; |
| 21429 |
|
| 21430 |
iff known chars.math_wreath: |
| 21431 |
bskchar "Wreath product"; |
| 21432 |
beginchar(chars.math_wreath,6u#, asc_height#,asc_depth#); uni "0x2240"; |
| 21433 |
adjust_fit(0,0); |
| 21434 |
pickup tiny.nib; |
| 21435 |
x1a.r=x2; x2a.l=x1; .5[y1,y2]=.5[y1a,y2a]=math_axis; |
| 21436 |
y1-y2=12u; |
| 21437 |
rt x2- lft x1= w-2u; |
| 21438 |
rt x2=w-u; y2-y2a=1/4(y2-y1); |
| 21439 |
pos1(hair,90); pos2(hair,90); pos1a(curve,20); pos2a(curve,-20); |
| 21440 |
z2a.s=z2a.r+curve*unitvector(z2-z1); |
| 21441 |
filldraw z1r{z1a-z1}..z1a.r..z2a.r..z2a.s..{z2-z2a.r}z2r.. |
| 21442 |
z2l{z2a-z2}..z2a.l..z1a.l..{z1-z1a.l}z1l..cycle; |
| 21443 |
penlabels(1,1a,2,2a); labels(2a.s); |
| 21444 |
endchar; |
| 21445 |
|
| 21446 |
iff known chars.math_empty_set: |
| 21447 |
bskchar "Empty set"; |
| 21448 |
beginchar(chars.math_empty_set,12u#,asc_height#,0); uni "0x2205"; |
| 21449 |
adjust_fit(0,0); |
| 21450 |
pickup tiny.nib; |
| 21451 |
path p[]; numeric tim[]; oblu:=2.5oblu; |
| 21452 |
pos1(curve,0); pos2(hair,90); pos3(curve,180); pos4(hair,270); |
| 21453 |
lft x1l=u; rt x3l=w-u; y1=y3=.5y4; .5[x2,x4]=.5[x1,x3]; x2-x4=0; bot y2l=-o; top y4r=h; |
| 21454 |
top z5=(x1,-apex_o); bot z6=(x3,h+o); |
| 21455 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 21456 |
z0r=.5[z5r,z6r]; z0l=.5[z5l,z6l]; |
| 21457 |
p0:=z1l{down}..z2l..z3l..z4l..{down}z1l; |
| 21458 |
p1:=z1r{up}..z4r..z3r..z2r..{up}z1r; |
| 21459 |
p2:=z5r--z0r--z6r; |
| 21460 |
p3:=z6l--z0l--z5l; |
| 21461 |
(tim0,tim1-.5)=p0 intersectiontimes subpath(.5,infinity) of p2; |
| 21462 |
(tim2,tim3)=(subpath (0,1) of p3) intersectiontimes p0; |
| 21463 |
(tim4-1,tim5)=(subpath (1,infinity) of p3) intersectiontimes p0; |
| 21464 |
(tim6,tim7)=p2 intersectiontimes p0; |
| 21465 |
filldraw subpath (rundy(p0,tim7),rundy(p0,tim0).zpet) of p0..subpath(rundy(p2,tim1),infinity) of p2{z6-z5} |
| 21466 |
..subpath(0,rundy(p3,(tim2,3/4oblu)).zpet) of p3..subpath(rundy(p0,tim3),infinity) of p0 |
| 21467 |
..subpath(0,rundy(p0,tim5).zpet) of p0..subpath(rundy(p3,tim4),infinity) of p3 |
| 21468 |
..subpath(0,rundy(p2,tim6).zpet) of p2..cycle; |
| 21469 |
numeric tim[]; |
| 21470 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 21471 |
(tim3,tim4)=p1 intersectiontimes subpath(0,1) of p2; |
| 21472 |
infill subpath(rundy(p2,tim4),rundy(p2,tim2).zpet) of p2 |
| 21473 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1..cycle; |
| 21474 |
(tim5,tim6)=p1 intersectiontimes p3; |
| 21475 |
(tim7,tim8-1)=p1 intersectiontimes subpath(1,infinity) of p3; |
| 21476 |
infill subpath(rundy(p3,tim6),rundy(p3,tim8).zpet) of p3..subpath(rundy(p1,tim7),infinity) of p1 |
| 21477 |
..subpath(0,rundy(p1,tim5).zpet) of p1..cycle; |
| 21478 |
penlabels(1,2,3,4,5,6); |
| 21479 |
endchar; |
| 21480 |
|
| 21481 |
iff known chars.math_empty_set_alt: |
| 21482 |
bskchar "Empty set (alternative)"; |
| 21483 |
beginchar(chars.math_empty_set_alt,15u#,asc_height#,0); uni "non"; |
| 21484 |
adjust_fit(0,0); |
| 21485 |
pickup tiny.nib; |
| 21486 |
path p[]; numeric tim[]; oblu:=2.5oblu; |
| 21487 |
pos1(curve,0); pos2(hair,90); pos3(curve,180); pos4(hair,270); |
| 21488 |
lft x1l=u; rt x3l=w-u; y1=y3=.5y4; .5[x2,x4]=.5[x1,x3]; x2-x4=0; bot y2l=-o; top y4r=h; |
| 21489 |
top z5=(x1,-apex_o); bot z6=(x3,h+o); |
| 21490 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 21491 |
z0r=.5[z5r,z6r]; z0l=.5[z5l,z6l]; |
| 21492 |
p0:=z1l{down}..z2l..z3l..z4l..{down}z1l; |
| 21493 |
p1:=z1r{up}..z4r..z3r..z2r..{up}z1r; |
| 21494 |
p2:=z5r--z0r--z6r; |
| 21495 |
p3:=z6l--z0l--z5l; |
| 21496 |
(tim0,tim1-.5)=p0 intersectiontimes subpath(.5,infinity) of p2; |
| 21497 |
(tim2,tim3)=(subpath (0,1) of p3) intersectiontimes p0; |
| 21498 |
(tim4-1,tim5)=(subpath (1,infinity) of p3) intersectiontimes p0; |
| 21499 |
(tim6,tim7)=p2 intersectiontimes p0; |
| 21500 |
filldraw subpath (rundy(p0,tim7),rundy(p0,tim0).zpet) of p0..subpath(rundy(p2,tim1),infinity) of p2{z6-z5} |
| 21501 |
..subpath(0,rundy(p3,(tim2,3/4oblu)).zpet) of p3..subpath(rundy(p0,tim3),infinity) of p0 |
| 21502 |
..subpath(0,rundy(p0,tim5).zpet) of p0..subpath(rundy(p3,tim4),infinity) of p3 |
| 21503 |
..subpath(0,rundy(p2,tim6).zpet) of p2..cycle; |
| 21504 |
numeric tim[]; |
| 21505 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 21506 |
(tim3,tim4)=p1 intersectiontimes subpath(0,1) of p2; |
| 21507 |
infill subpath(rundy(p2,tim4),rundy(p2,tim2).zpet) of p2 |
| 21508 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1..cycle; |
| 21509 |
(tim5,tim6)=p1 intersectiontimes p3; |
| 21510 |
(tim7,tim8-1)=p1 intersectiontimes subpath(1,infinity) of p3; |
| 21511 |
infill subpath(rundy(p3,tim6),rundy(p3,tim8).zpet) of p3..subpath(rundy(p1,tim7),infinity) of p1 |
| 21512 |
..subpath(0,rundy(p1,tim5).zpet) of p1..cycle; |
| 21513 |
penlabels(1,2,3,4,5,6); |
| 21514 |
endchar; |
| 21515 |
|
| 21516 |
iff known chars.math_null_set: |
| 21517 |
bskchar "Null set"; |
| 21518 |
beginarithchar(chars.math_null_set); uni "non"; |
| 21519 |
adjust_fit(0,0); |
| 21520 |
pickup tiny.nib; |
| 21521 |
path p[]; numeric tim[]; oblu:=2.5oblu; |
| 21522 |
pos1(rule_thickness,0); pos2(rule_thickness,90); pos3(rule_thickness,180); pos4(rule_thickness,270); |
| 21523 |
lft x1l=u; rt x3l=w-u; y1=y3=.5y4; .5[x2,x4]=.5[x1,x3]; x2-x4=0; bot y2l=-o; top y4r=h; |
| 21524 |
top z5=(x1,-apex_o); bot z6=(x3,h+o); |
| 21525 |
pos5(rule_thickness,angle(z5-z6)+90); pos6(rule_thickness,angle(z5-z6)+90); |
| 21526 |
z0r=.5[z5r,z6r]; z0l=.5[z5l,z6l]; |
| 21527 |
p0:=z1l{down}..z2l..z3l..z4l..{down}z1l; |
| 21528 |
p1:=z1r{up}..z4r..z3r..z2r..{up}z1r; |
| 21529 |
p2:=z5r--z0r--z6r; |
| 21530 |
p3:=z6l--z0l--z5l; |
| 21531 |
(tim0,tim1-.5)=p0 intersectiontimes subpath(.5,infinity) of p2; |
| 21532 |
(tim2,tim3)=(subpath (0,1) of p3) intersectiontimes p0; |
| 21533 |
(tim4-1,tim5)=(subpath (1,infinity) of p3) intersectiontimes p0; |
| 21534 |
(tim6,tim7)=p2 intersectiontimes p0; |
| 21535 |
filldraw subpath (rundy(p0,tim7),rundy(p0,tim0).zpet) of p0..subpath(rundy(p2,tim1),infinity) of p2{z6-z5} |
| 21536 |
..subpath(0,rundy(p3,(tim2,3/4oblu)).zpet) of p3..subpath(rundy(p0,tim3),infinity) of p0 |
| 21537 |
..subpath(0,rundy(p0,tim5).zpet) of p0..subpath(rundy(p3,tim4),infinity) of p3 |
| 21538 |
..subpath(0,rundy(p2,tim6).zpet) of p2..cycle; |
| 21539 |
numeric tim[]; |
| 21540 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 21541 |
(tim3,tim4)=p1 intersectiontimes subpath(0,1) of p2; |
| 21542 |
infill subpath(rundy(p2,tim4),rundy(p2,tim2).zpet) of p2 |
| 21543 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1..cycle; |
| 21544 |
(tim5,tim6)=p1 intersectiontimes p3; |
| 21545 |
(tim7,tim8-1)=p1 intersectiontimes subpath(1,infinity) of p3; |
| 21546 |
infill subpath(rundy(p3,tim6),rundy(p3,tim8).zpet) of p3..subpath(rundy(p1,tim7),infinity) of p1 |
| 21547 |
..subpath(0,rundy(p1,tim5).zpet) of p1..cycle; |
| 21548 |
penlabels(1,2,3,4,5,6); |
| 21549 |
endchar; |
| 21550 |
|
| 21551 |
iff known chars.arrow_double_right: |
| 21552 |
bskchar "Double rightward arrow"; |
| 21553 |
beginchar(chars.arrow_double_right,15u#,v_center(5u#)); uni "0x21D2"; |
| 21554 |
adjust_fit(0,0); |
| 21555 |
pickup tiny.nib; |
| 21556 |
pos1(rule_thickness,90); |
| 21557 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21558 |
filldraw dvojsipka(0,1,2,3)..cycle; |
| 21559 |
endchar; |
| 21560 |
|
| 21561 |
iff known chars.arrow_double_right_long: |
| 21562 |
bskchar "Long double rightward arrow"; |
| 21563 |
beginchar(chars.arrow_double_right_long,22u#,v_center(5u#)); uni "0x27F9"; |
| 21564 |
adjust_fit(0,0); |
| 21565 |
pickup tiny.nib; |
| 21566 |
pos1(rule_thickness,90); |
| 21567 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21568 |
filldraw dvojsipka(0,1,2,3)..cycle; |
| 21569 |
endchar; |
| 21570 |
|
| 21571 |
iff known chars.arrow_double_right_not: |
| 21572 |
bskchar "Double rightward arrow with negation"; |
| 21573 |
beginchar(chars.arrow_double_right_not,15u#,v_center(7u#)); uni "0x21CF"; |
| 21574 |
adjust_fit(0,0); |
| 21575 |
pickup tiny.nib; |
| 21576 |
path p[]; numeric tim[]; |
| 21577 |
pos1(rule_thickness,90); |
| 21578 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21579 |
.5[x4,x5]=.5[x0c,x1]; .5[y4,y5]=y0; x5-x4=.5(y5-y4); top y5=h; |
| 21580 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 21581 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 21582 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 21583 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 21584 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); |
| 21585 |
p2=z4l--z5ll; |
| 21586 |
p1=z5r---z4rr..{z5-z4}z4l; |
| 21587 |
(tim0,tim1)=bskap3 intersectiontimes p1; |
| 21588 |
(tim2,tim3)=bskap6 intersectiontimes p1; |
| 21589 |
(tim4,tim5)=bskap5 intersectiontimes p1; |
| 21590 |
(tim6,tim7)=bskap5 intersectiontimes p2; |
| 21591 |
(tim8,tim9)=bskap6 intersectiontimes p2; |
| 21592 |
(tim10,tim11)=bskap3 intersectiontimes p2; |
| 21593 |
(tim12,tim13)=bskap4 intersectiontimes p2; |
| 21594 |
(tim14,tim15)=bskap4 intersectiontimes p1; |
| 21595 |
filldraw z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21596 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21597 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21598 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21599 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim4).zpet) of bskap5 |
| 21600 |
..subpath(rundy(p1,tim5),infinity) of p1{z5-z4} |
| 21601 |
..subpath(0,rundy(p2,(tim7,2oblu)).zpet) of p2 |
| 21602 |
..subpath(rundy(bskap5,(tim6,2oblu)),infinity) of bskap5 |
| 21603 |
..subpath(0,rundy(bskap6,tim8).zpet) of bskap6 |
| 21604 |
..subpath(rundy(p2,tim9),rundy(p2,(tim11,2oblu)).zpet) of p2 |
| 21605 |
..subpath(rundy(bskap3,(tim10,2oblu)),infinity) of bskap3 |
| 21606 |
..subpath(0,rundy(bskap4,tim12).zpet) of bskap4 |
| 21607 |
..subpath(rundy(p2,tim13),infinity) of p2 |
| 21608 |
..subpath(0,rundy(p1,(tim15,2oblu)).zpet) of p1 |
| 21609 |
..subpath(rundy(bskap4,(tim14,2oblu)),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21610 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1&cycle; |
| 21611 |
infill subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21612 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim0).zpet) of bskap3 |
| 21613 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 21614 |
..subpath(rundy(bskap6,tim2),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21615 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0..cycle; |
| 21616 |
penlabels(2,3,4,5); labels(4rr,5ll); |
| 21617 |
endchar; |
| 21618 |
|
| 21619 |
iff known chars.arrow_double_right_not_vert: |
| 21620 |
bskchar "Double rightward arrow with vertical negation"; |
| 21621 |
beginchar(chars.arrow_double_right_not_vert,15u#,v_center(7u#)); uni "0x2903"; |
| 21622 |
adjust_fit(0,0); |
| 21623 |
pickup tiny.nib; |
| 21624 |
path p[]; numeric tim[]; |
| 21625 |
pos1(rule_thickness,90); |
| 21626 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21627 |
x4=x5=.5[x0c,x1]; .5[y4,y5]=y0; top y5=h; |
| 21628 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 21629 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 21630 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 21631 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 21632 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); |
| 21633 |
p2=z4l--z5ll; |
| 21634 |
p1=z5r---z4rr..{z5-z4}z4l; |
| 21635 |
(tim0,tim1)=bskap3 intersectiontimes p1; |
| 21636 |
(tim2,tim3)=bskap6 intersectiontimes p1; |
| 21637 |
(tim4,tim5)=bskap5 intersectiontimes p1; |
| 21638 |
(tim6,tim7)=bskap5 intersectiontimes p2; |
| 21639 |
(tim8,tim9)=bskap6 intersectiontimes p2; |
| 21640 |
(tim10,tim11)=bskap3 intersectiontimes p2; |
| 21641 |
(tim12,tim13)=bskap4 intersectiontimes p2; |
| 21642 |
(tim14,tim15)=bskap4 intersectiontimes p1; |
| 21643 |
filldraw z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21644 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21645 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21646 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21647 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim4).zpet) of bskap5 |
| 21648 |
..subpath(rundy(p1,tim5),infinity) of p1{z5-z4} |
| 21649 |
..subpath(0,rundy(p2,tim7).zpet) of p2 |
| 21650 |
..subpath(rundy(bskap5,tim6),infinity) of bskap5 |
| 21651 |
..subpath(0,rundy(bskap6,tim8).zpet) of bskap6 |
| 21652 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 21653 |
..subpath(rundy(bskap3,tim10),infinity) of bskap3 |
| 21654 |
..subpath(0,rundy(bskap4,tim12).zpet) of bskap4 |
| 21655 |
..subpath(rundy(p2,tim13),infinity) of p2 |
| 21656 |
..subpath(0,rundy(p1,tim15).zpet) of p1 |
| 21657 |
..subpath(rundy(bskap4,tim14),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21658 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1&cycle; |
| 21659 |
infill subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21660 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim0).zpet) of bskap3 |
| 21661 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 21662 |
..subpath(rundy(bskap6,tim2),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21663 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0..cycle; |
| 21664 |
penlabels(2,3,4,5); labels(4rr,5ll); |
| 21665 |
endchar; |
| 21666 |
|
| 21667 |
iff known chars.arrow_double_left: |
| 21668 |
bskchar "Double leftward arrow"; |
| 21669 |
beginchar(chars.arrow_double_left,15u#,v_center(5u#)); uni "0x21D0"; |
| 21670 |
adjust_fit(0,0); |
| 21671 |
pickup tiny.nib; |
| 21672 |
pos1(rule_thickness,-90); |
| 21673 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21674 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 21675 |
endchar; |
| 21676 |
|
| 21677 |
iff known chars.arrow_double_left_long: |
| 21678 |
bskchar "Long double leftward arrow"; |
| 21679 |
beginchar(chars.arrow_double_left_long,22u#,v_center(5u#)); uni "0x27F8"; |
| 21680 |
adjust_fit(0,0); |
| 21681 |
pickup tiny.nib; |
| 21682 |
pos1(rule_thickness,-90); |
| 21683 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21684 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 21685 |
endchar; |
| 21686 |
|
| 21687 |
iff known chars.arrow_double_left_not: |
| 21688 |
bskchar "Double leftward arrow with negation"; |
| 21689 |
beginchar(chars.arrow_double_left_not,15u#,v_center(7u#)); uni "0x21CD"; |
| 21690 |
adjust_fit(0,0); |
| 21691 |
pickup tiny.nib; |
| 21692 |
path p[]; numeric tim[]; |
| 21693 |
pos1(rule_thickness,-90); |
| 21694 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21695 |
.5[x4,x5]=.5[x0c,x1]; .5[y4,y5]=y0; x5-x4=.5(y5-y4); top y5=h; |
| 21696 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 21697 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 21698 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 21699 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 21700 |
sipka_points(0,1); dvojsipka_points(0,1,3,2); |
| 21701 |
p1=z4l--z5ll; |
| 21702 |
p2=z5r---z4rr..{z5-z4}z4l; |
| 21703 |
(tim0,tim1)=bskap3 intersectiontimes p1; |
| 21704 |
(tim2,tim3)=bskap6 intersectiontimes p1; |
| 21705 |
(tim4,tim5)=bskap5 intersectiontimes p1; |
| 21706 |
(tim6,tim7)=bskap5 intersectiontimes p2; |
| 21707 |
(tim8,tim9)=bskap6 intersectiontimes p2; |
| 21708 |
(tim10,tim11)=bskap3 intersectiontimes p2; |
| 21709 |
(tim12,tim13)=bskap4 intersectiontimes p2; |
| 21710 |
(tim14,tim15)=bskap4 intersectiontimes p1; |
| 21711 |
filldraw z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21712 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21713 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21714 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21715 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim4).zpet) of bskap5 |
| 21716 |
..subpath(rundy(p1,tim5),infinity) of p1{z5-z4} |
| 21717 |
..subpath(0,rundy(p2,(tim7,2oblu)).zpet) of p2 |
| 21718 |
..subpath(rundy(bskap5,(tim6,2oblu)),infinity) of bskap5 |
| 21719 |
..subpath(0,rundy(bskap6,tim8).zpet) of bskap6 |
| 21720 |
..subpath(rundy(p2,tim9),rundy(p2,(tim11,2oblu)).zpet) of p2 |
| 21721 |
..subpath(rundy(bskap3,(tim10,2oblu)),infinity) of bskap3 |
| 21722 |
..subpath(0,rundy(bskap4,tim12).zpet) of bskap4 |
| 21723 |
..subpath(rundy(p2,tim13),infinity) of p2 |
| 21724 |
..subpath(0,rundy(p1,(tim15,2oblu)).zpet) of p1 |
| 21725 |
..subpath(rundy(bskap4,(tim14,2oblu)),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21726 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1&cycle; |
| 21727 |
infill subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21728 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim0).zpet) of bskap3 |
| 21729 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 21730 |
..subpath(rundy(bskap6,tim2),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21731 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0..cycle; |
| 21732 |
penlabels(2,3,4,5); labels(4rr,5ll); |
| 21733 |
endchar; |
| 21734 |
|
| 21735 |
iff known chars.arrow_double_left_not_vert: |
| 21736 |
bskchar "Double leftward arrow with vertical negation"; |
| 21737 |
beginchar(chars.arrow_double_left_not_vert,15u#,v_center(7u#)); uni "0x2902"; |
| 21738 |
adjust_fit(0,0); |
| 21739 |
pickup tiny.nib; |
| 21740 |
path p[]; numeric tim[]; |
| 21741 |
pos1(rule_thickness,-90); |
| 21742 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21743 |
x4=x5=.5[x0c,x1]; .5[y4,y5]=y0; top y5=h; |
| 21744 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 21745 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 21746 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 21747 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 21748 |
sipka_points(0,1); dvojsipka_points(0,1,3,2); |
| 21749 |
p1=z4l--z5ll; |
| 21750 |
p2=z5r---z4rr..{z5-z4}z4l; |
| 21751 |
(tim0,tim1)=bskap3 intersectiontimes p1; |
| 21752 |
(tim2,tim3)=bskap6 intersectiontimes p1; |
| 21753 |
(tim4,tim5)=bskap5 intersectiontimes p1; |
| 21754 |
(tim6,tim7)=bskap5 intersectiontimes p2; |
| 21755 |
(tim8,tim9)=bskap6 intersectiontimes p2; |
| 21756 |
(tim10,tim11)=bskap3 intersectiontimes p2; |
| 21757 |
(tim12,tim13)=bskap4 intersectiontimes p2; |
| 21758 |
(tim14,tim15)=bskap4 intersectiontimes p1; |
| 21759 |
filldraw z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21760 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21761 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21762 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21763 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim4).zpet) of bskap5 |
| 21764 |
..subpath(rundy(p1,tim5),infinity) of p1{z5-z4} |
| 21765 |
..subpath(0,rundy(p2,tim7).zpet) of p2 |
| 21766 |
..subpath(rundy(bskap5,tim6),infinity) of bskap5 |
| 21767 |
..subpath(0,rundy(bskap6,tim8).zpet) of bskap6 |
| 21768 |
..subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 21769 |
..subpath(rundy(bskap3,tim10),infinity) of bskap3 |
| 21770 |
..subpath(0,rundy(bskap4,tim12).zpet) of bskap4 |
| 21771 |
..subpath(rundy(p2,tim13),infinity) of p2 |
| 21772 |
..subpath(0,rundy(p1,tim15).zpet) of p1 |
| 21773 |
..subpath(rundy(bskap4,tim14),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21774 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1&cycle; |
| 21775 |
infill subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21776 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim0).zpet) of bskap3 |
| 21777 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 21778 |
..subpath(rundy(bskap6,tim2),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21779 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0..cycle; |
| 21780 |
penlabels(2,3,4,5); labels(4rr,5ll); |
| 21781 |
endchar; |
| 21782 |
|
| 21783 |
iff known chars.arrow_double_up: |
| 21784 |
bskchar "Double upward arrow"; |
| 21785 |
beginchar(chars.arrow_double_up,9u#,asc_height#,0); uni "0x21D1"; |
| 21786 |
adjust_fit(0,0); |
| 21787 |
pickup tiny.nib; |
| 21788 |
pos1(rule_thickness,180); |
| 21789 |
x0=x1r=.5w-o=.5[x2,x3]; x3-x2=dbf; |
| 21790 |
top y0=h+apex_o; bot y1=-d; y2=y3=y1; |
| 21791 |
filldraw dvojsipka(0,1,2,3)..cycle; |
| 21792 |
labels(1rr); |
| 21793 |
endchar; |
| 21794 |
|
| 21795 |
iff known chars.arrow_double_down: |
| 21796 |
bskchar "Double downward arrow"; |
| 21797 |
beginchar(chars.arrow_double_down,9u#,asc_height#,0); uni "0x21D3"; |
| 21798 |
adjust_fit(0,0); |
| 21799 |
pickup tiny.nib; |
| 21800 |
pos1(rule_thickness,0); |
| 21801 |
x0=x1r=.5w+o=.5[x2,x3]; x3-x2=dbf; |
| 21802 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 21803 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 21804 |
labels(1rr); |
| 21805 |
endchar; |
| 21806 |
|
| 21807 |
iff known chars.arrow_double_up_down: |
| 21808 |
bskchar "Double up-down arrow"; |
| 21809 |
beginchar(chars.arrow_double_up_down,9u#,asc_height#,0); uni "0x21D5"; |
| 21810 |
adjust_fit(0,0); |
| 21811 |
pickup tiny.nib; |
| 21812 |
numeric oldtim[], tim[], oldat, ooldat; path oldap[]; |
| 21813 |
pos1(rule_thickness,0); pos101(rule_thickness,180); |
| 21814 |
x0=x1r=x100=x101r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 21815 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 21816 |
x102=x2; x103=x3; y102=y103=y0q; bot y100=h+apex_o; top y101=-d; |
| 21817 |
sipka_points(0,1); dvojsipka_points(0,1,3,2); oldat:=bskat; |
| 21818 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 21819 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 21820 |
sipka_points(100,101); dvojsipka_points(100,101,102,103); ooldat:=bskat; |
| 21821 |
tim1=xpart(bskap4 intersectiontimes ((0,x_height)--(x0,x_height))); |
| 21822 |
tim2=xpart(bskap5 intersectiontimes ((w,x_height)--(x0,x_height))); |
| 21823 |
tim3=xpart(oldap4 intersectiontimes ((w,bar_height)--(x0,bar_height))); |
| 21824 |
tim4=xpart(oldap5 intersectiontimes ((0,bar_height)--(x0,bar_height))); |
| 21825 |
tim5=xpart(bskap6 intersectiontimes ((w,bar_height)--(x0,bar_height))); |
| 21826 |
tim6=xpart(bskap3 intersectiontimes ((0,x_height)--(x0,x_height))); |
| 21827 |
tim7=xpart(oldap6 intersectiontimes ((0,bar_height)--(x0,bar_height))); |
| 21828 |
tim8=xpart(oldap3 intersectiontimes ((w,bar_height)--(x0,bar_height))); |
| 21829 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21830 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 21831 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 21832 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 21833 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 21834 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21835 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 21836 |
hide(bskat:=oldat) |
| 21837 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 21838 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 21839 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21840 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21841 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21842 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 21843 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 21844 |
bskat:=ooldat; |
| 21845 |
infill subpath(tim5,rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21846 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 21847 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21848 |
..subpath(rundy(bskap3,bsktim12),tim6) of bskap3 |
| 21849 |
--subpath(tim7,rundy(oldap6,oldtim18).zpet) of oldap6 |
| 21850 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 21851 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 21852 |
..subpath(rundy(oldap3,oldtim12),tim8) of oldap3..cycle; |
| 21853 |
penlabels(2,3,102,103); labels(1rr); |
| 21854 |
endchar; |
| 21855 |
|
| 21856 |
iff known chars.arrow_double_left_right: |
| 21857 |
bskchar "Double left-right arrow"; |
| 21858 |
beginchar(chars.arrow_double_left_right,18u#,v_center(5u#)); uni "0x21D4"; |
| 21859 |
adjust_fit(0,0); |
| 21860 |
pickup tiny.nib; |
| 21861 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[]; |
| 21862 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 21863 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21864 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 21865 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 21866 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 21867 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 21868 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 21869 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 21870 |
ls=.5w-2u; rs=.5w+2u; |
| 21871 |
tim1=xpart(bskap4 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21872 |
tim2=xpart(bskap5 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21873 |
tim3=xpart(oldap4 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21874 |
tim4=xpart(oldap5 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21875 |
tim5=xpart(bskap6 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21876 |
tim6=xpart(bskap3 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21877 |
tim7=xpart(oldap6 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21878 |
tim8=xpart(oldap3 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21879 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21880 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 21881 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 21882 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 21883 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 21884 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21885 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 21886 |
hide(bskat:=oldat) |
| 21887 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 21888 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 21889 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21890 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21891 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21892 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 21893 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 21894 |
bskat:=ooldat; |
| 21895 |
infill subpath(tim5,rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21896 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 21897 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21898 |
..subpath(rundy(bskap3,bsktim12),tim6) of bskap3 |
| 21899 |
--subpath(tim7,rundy(oldap6,oldtim18).zpet) of oldap6 |
| 21900 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 21901 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 21902 |
..subpath(rundy(oldap3,oldtim12),tim8) of oldap3..cycle; |
| 21903 |
penlabels(2,3,102,103); labels(1rr); |
| 21904 |
endchar; |
| 21905 |
|
| 21906 |
iff known chars.arrow_double_left_right_long: |
| 21907 |
bskchar "Long double left-right arrow"; |
| 21908 |
beginchar(chars.arrow_double_left_right_long,25u#,v_center(5u#)); uni "0x27FA"; |
| 21909 |
adjust_fit(0,0); |
| 21910 |
pickup tiny.nib; |
| 21911 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[]; |
| 21912 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 21913 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21914 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 21915 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 21916 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 21917 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 21918 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 21919 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 21920 |
ls=.5w-2u; rs=.5w+2u; |
| 21921 |
tim1=xpart(bskap4 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21922 |
tim2=xpart(bskap5 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21923 |
tim3=xpart(oldap4 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21924 |
tim4=xpart(oldap5 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21925 |
tim5=xpart(bskap6 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21926 |
tim6=xpart(bskap3 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21927 |
tim7=xpart(oldap6 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21928 |
tim8=xpart(oldap3 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21929 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21930 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 21931 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 21932 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 21933 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 21934 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21935 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 21936 |
hide(bskat:=oldat) |
| 21937 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 21938 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 21939 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21940 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21941 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21942 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 21943 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 21944 |
bskat:=ooldat; |
| 21945 |
infill subpath(tim5,rundy(bskap6,bsktim18).zpet) of bskap6 |
| 21946 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 21947 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 21948 |
..subpath(rundy(bskap3,bsktim12),tim6) of bskap3 |
| 21949 |
--subpath(tim7,rundy(oldap6,oldtim18).zpet) of oldap6 |
| 21950 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 21951 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 21952 |
..subpath(rundy(oldap3,oldtim12),tim8) of oldap3..cycle; |
| 21953 |
penlabels(2,3,102,103); labels(1rr); |
| 21954 |
endchar; |
| 21955 |
|
| 21956 |
iff known chars.arrow_left_right_black: |
| 21957 |
bskchar "Black left-right arrow"; |
| 21958 |
beginchar(chars.arrow_left_right_black,18u#,v_center(5u#)); uni "0x2B0C"; |
| 21959 |
adjust_fit(0,0); |
| 21960 |
pickup tiny.nib; |
| 21961 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[]; |
| 21962 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 21963 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 21964 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 21965 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 21966 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 21967 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 21968 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 21969 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 21970 |
ls=.5w-2u; rs=.5w+2u; |
| 21971 |
tim1=xpart(bskap4 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21972 |
tim2=xpart(bskap5 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21973 |
tim3=xpart(oldap4 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21974 |
tim4=xpart(oldap5 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21975 |
tim5=xpart(bskap6 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 21976 |
tim6=xpart(bskap3 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 21977 |
tim7=xpart(oldap6 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 21978 |
tim8=xpart(oldap3 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 21979 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 21980 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 21981 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 21982 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 21983 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 21984 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 21985 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 21986 |
hide(bskat:=oldat) |
| 21987 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 21988 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 21989 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 21990 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 21991 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 21992 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 21993 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 21994 |
penlabels(2,3,102,103); labels(1rr); |
| 21995 |
endchar; |
| 21996 |
|
| 21997 |
iff known chars.arrow_double_left_right_not: |
| 21998 |
bskchar "Double left-right arrow with negation"; |
| 21999 |
beginchar(chars.arrow_double_left_right_not,18u#,v_center(7u#)); uni "0x21CE"; |
| 22000 |
adjust_fit(0,0); |
| 22001 |
pickup tiny.nib; |
| 22002 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[], p[]; |
| 22003 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 22004 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22005 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 22006 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 22007 |
.5[x4,x5]=.5[x0,x1]; .5[y4,y5]=y0; x5-x4=.5(y5-y4); top y5=h; |
| 22008 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 22009 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 22010 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 22011 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 22012 |
p1:=z4l---z5ll..{z4-z5}z5r; |
| 22013 |
p2:=z5r---z4rr..{z5-z4}z4l; |
| 22014 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 22015 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 22016 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 22017 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 22018 |
ls=.5w-2u; rs=.5w+2u; |
| 22019 |
(tim1,tim11)=bskap4 intersectiontimes p1; |
| 22020 |
(tim2,tim12)=bskap5 intersectiontimes p1; |
| 22021 |
(tim3,tim13)=oldap4 intersectiontimes p2; |
| 22022 |
(tim4,tim14)=oldap5 intersectiontimes p2; |
| 22023 |
(tim5,tim15)=bskap6 intersectiontimes p1; |
| 22024 |
(tim6,tim16)=bskap3 intersectiontimes p1; |
| 22025 |
(tim7,tim17)=oldap6 intersectiontimes p2; |
| 22026 |
(tim8,tim18)=oldap3 intersectiontimes p2; |
| 22027 |
filldraw subpath(rundy(bskap4,(tim1,2oblu)),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 22028 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 22029 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 22030 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 22031 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 22032 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 22033 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim2).zpet) of bskap5 |
| 22034 |
..subpath(rundy(p1,tim12),infinity) of p1 |
| 22035 |
..subpath(0,rundy(p2,(tim13,2oblu)).zpet) of p2 |
| 22036 |
hide(bskat:=oldat) |
| 22037 |
..subpath(rundy(oldap4,(tim3,2oblu)),rundy(oldap4,oldtim14).zpet) of oldap4 |
| 22038 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 22039 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 22040 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 22041 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 22042 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 22043 |
..subpath(rundy(oldap5,oldtim16),rundy(oldap5,tim4).zpet) of oldap5 |
| 22044 |
..subpath(rundy(p2,tim14),infinity) of p2 |
| 22045 |
..subpath(0,rundy(p1,(tim11,2oblu)).zpet) of p1..cycle |
| 22046 |
; |
| 22047 |
bskat:=ooldat; |
| 22048 |
infill subpath(rundy(bskap6,(tim5,2oblu)),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 22049 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 22050 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 22051 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim6).zpet) of bskap3 |
| 22052 |
..subpath(rundy(p1,tim16),rundy(p1,(tim15,oblu)).zpet) of p1..cycle; |
| 22053 |
infill subpath(rundy(oldap6,(tim7,2oblu)),rundy(oldap6,oldtim18).zpet) of oldap6 |
| 22054 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 22055 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 22056 |
..subpath(rundy(oldap3,oldtim12),rundy(oldap3,tim8).zpet) of oldap3 |
| 22057 |
..subpath(rundy(p2,tim18),rundy(p2,(tim17,oblu)).zpet) of p2..cycle; |
| 22058 |
penlabels(2,3,4,5,102,103); labels(1rr,4rr,5ll); |
| 22059 |
endchar; |
| 22060 |
|
| 22061 |
iff known chars.arrow_double_left_right_not_vert: |
| 22062 |
bskchar "Double left-right arrow with vertical negation"; |
| 22063 |
beginchar(chars.arrow_double_left_right_not_vert,18u#,v_center(7u#)); uni "0x2904"; |
| 22064 |
adjust_fit(0,0); |
| 22065 |
pickup tiny.nib; |
| 22066 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[], p[]; |
| 22067 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 22068 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22069 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 22070 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 22071 |
x4=x5=.5[x0,x1]; .5[y4,y5]=y0; top y5=h; |
| 22072 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22073 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 22074 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 22075 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 22076 |
p1:=z4l---z5ll..{z4-z5}z5r; |
| 22077 |
p2:=z5r---z4rr..{z5-z4}z4l; |
| 22078 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 22079 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 22080 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 22081 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 22082 |
ls=.5w-2u; rs=.5w+2u; |
| 22083 |
(tim1,tim11)=bskap4 intersectiontimes p1; |
| 22084 |
(tim2,tim12)=bskap5 intersectiontimes p1; |
| 22085 |
(tim3,tim13)=oldap4 intersectiontimes p2; |
| 22086 |
(tim4,tim14)=oldap5 intersectiontimes p2; |
| 22087 |
(tim5,tim15)=bskap6 intersectiontimes p1; |
| 22088 |
(tim6,tim16)=bskap3 intersectiontimes p1; |
| 22089 |
(tim7,tim17)=oldap6 intersectiontimes p2; |
| 22090 |
(tim8,tim18)=oldap3 intersectiontimes p2; |
| 22091 |
filldraw subpath(rundy(bskap4,tim1),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 22092 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 22093 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 22094 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 22095 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 22096 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 22097 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim2).zpet) of bskap5 |
| 22098 |
..subpath(rundy(p1,tim12),infinity) of p1 |
| 22099 |
..subpath(0,rundy(p2,tim13).zpet) of p2 |
| 22100 |
hide(bskat:=oldat) |
| 22101 |
..subpath(rundy(oldap4,tim3),rundy(oldap4,oldtim14).zpet) of oldap4 |
| 22102 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 22103 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 22104 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 22105 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 22106 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 22107 |
..subpath(rundy(oldap5,oldtim16),rundy(oldap5,tim4).zpet) of oldap5 |
| 22108 |
..subpath(rundy(p2,tim14),infinity) of p2 |
| 22109 |
..subpath(0,rundy(p1,tim11).zpet) of p1..cycle |
| 22110 |
; |
| 22111 |
bskat:=ooldat; |
| 22112 |
infill subpath(rundy(bskap6,tim5),rundy(bskap6,bsktim18).zpet) of bskap6 |
| 22113 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 22114 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 22115 |
..subpath(rundy(bskap3,bsktim12),rundy(bskap3,tim6).zpet) of bskap3 |
| 22116 |
..subpath(rundy(p1,tim16),rundy(p1,tim15).zpet) of p1..cycle; |
| 22117 |
infill subpath(rundy(oldap6,tim7),rundy(oldap6,oldtim18).zpet) of oldap6 |
| 22118 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 22119 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 22120 |
..subpath(rundy(oldap3,oldtim12),rundy(oldap3,tim8).zpet) of oldap3 |
| 22121 |
..subpath(rundy(p2,tim18),rundy(p2,tim17).zpet) of p2..cycle; |
| 22122 |
penlabels(2,3,4,5,102,103); labels(1rr,4rr,5ll); |
| 22123 |
endchar; |
| 22124 |
|
| 22125 |
iff known chars.arrow_double_left_right_not_out: |
| 22126 |
bskchar "Double left-right arrow with (outer) negation"; |
| 22127 |
beginchar(chars.arrow_double_left_right_not_out,18u#,v_center(7u#)); uni "non"; |
| 22128 |
adjust_fit(0,0); |
| 22129 |
pickup tiny.nib; |
| 22130 |
numeric oldtim[], tim[], ls, rs, oldat, ooldat; path oldap[], p[]; |
| 22131 |
pos1(rule_thickness,90); pos101(rule_thickness,-90); |
| 22132 |
y0=y1r=y100=y101r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22133 |
lft x0=w-u; rt x1=u; x2=x3=x1; |
| 22134 |
y102=y2; y103=y3; x102=x103=x0q; rt x100=u; lft x101=w-u; |
| 22135 |
.5[x4,x5]=.5[x0,x1]; .5[y4,y5]=y0; x5-x4=.5(y5-y4); top y5=h; |
| 22136 |
pos4(rule_thickness,angle(z4-z5)+90); pos5(rule_thickness,angle(z4-z5)+90); |
| 22137 |
y4'l=y4'r=y1l; z4'l=whatever[z4l,z5l]; z4'r=whatever[z4r,z5r]; |
| 22138 |
y5'l=y5'r=y1r; z5'l=whatever[z4l,z5l]; z5'r=whatever[z4r,z5r]; |
| 22139 |
bskpoints(4,5,rule_thickness,rule_thickness); |
| 22140 |
p1:=z4l---z5ll..{z4-z5}z5r; |
| 22141 |
p2:=z5r---z4rr..{z5-z4}z4l; |
| 22142 |
sipka_points(0,1); dvojsipka_points(0,1,2,3); oldat:=bskat; |
| 22143 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 22144 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 22145 |
sipka_points(100,101); dvojsipka_points(100,101,103,102); ooldat:=bskat; |
| 22146 |
ls=.5w-2u; rs=.5w+2u; |
| 22147 |
(tim1,tim11)=bskap4 intersectiontimes p1; |
| 22148 |
(tim2,tim12)=bskap5 intersectiontimes p1; |
| 22149 |
(tim3,tim13)=oldap4 intersectiontimes p2; |
| 22150 |
(tim4,tim14)=oldap5 intersectiontimes p2; |
| 22151 |
tim5=xpart(bskap6 intersectiontimes ((ls,math_axis)--(ls,h))); |
| 22152 |
tim6=xpart(bskap3 intersectiontimes ((ls,0)--(ls,math_axis))); |
| 22153 |
tim7=xpart(oldap6 intersectiontimes ((rs,0)--(rs,math_axis))); |
| 22154 |
tim8=xpart(oldap3 intersectiontimes ((rs,math_axis)--(rs,h))); |
| 22155 |
filldraw subpath(rundy(bskap4,(tim1,2oblu)),rundy(bskap4,bsktim14).zpet) of bskap4 |
| 22156 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 22157 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 22158 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 22159 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 22160 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 22161 |
..subpath(rundy(bskap5,bsktim16),rundy(bskap5,tim2).zpet) of bskap5 |
| 22162 |
..subpath(rundy(p1,tim12),infinity) of p1 |
| 22163 |
..subpath(0,rundy(p2,(tim13,2oblu)).zpet) of p2 |
| 22164 |
hide(bskat:=oldat) |
| 22165 |
..subpath(rundy(oldap4,(tim3,2oblu)),rundy(oldap4,oldtim14).zpet) of oldap4 |
| 22166 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 22167 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 22168 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 22169 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 22170 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 22171 |
..subpath(rundy(oldap5,oldtim16),rundy(oldap5,tim4).zpet) of oldap5 |
| 22172 |
..subpath(rundy(p2,tim14),infinity) of p2 |
| 22173 |
..subpath(0,rundy(p1,(tim11,2oblu)).zpet) of p1..cycle |
| 22174 |
; |
| 22175 |
bskat:=ooldat; |
| 22176 |
infill subpath(tim5,rundy(bskap6,bsktim18).zpet) of bskap6 |
| 22177 |
..subpath(rundy(bskap0,bsktim17),infinity) of bskap0 |
| 22178 |
..subpath(0,rundy(bskap1,bsktim11).zpet) of bskap1 |
| 22179 |
..subpath(rundy(bskap3,bsktim12),tim6) of bskap3 |
| 22180 |
--subpath(tim7,rundy(oldap6,oldtim18).zpet) of oldap6 |
| 22181 |
..subpath(rundy(oldap0,oldtim17),infinity) of oldap0 |
| 22182 |
..subpath(0,rundy(oldap1,oldtim11).zpet) of oldap1 |
| 22183 |
..subpath(rundy(oldap3,oldtim12),tim8) of oldap3..cycle; |
| 22184 |
penlabels(2,3,4,5,102,103); labels(1rr,4rr,5ll); |
| 22185 |
endchar; |
| 22186 |
|
| 22187 |
iff known chars.arrow_double_up_white_bar: |
| 22188 |
bskchar "Upward white arrow from bar"; |
| 22189 |
beginchar(chars.arrow_double_up_white_bar,9u#,asc_height#,0); uni "0x21EA"; |
| 22190 |
adjust_fit(0,0); |
| 22191 |
pickup tiny.nib; |
| 22192 |
path p; |
| 22193 |
pos1(rule_thickness,180); |
| 22194 |
pos4(rule_thickness,0); pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22195 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22196 |
top y0=h+apex_o; bot y1=math_axis; y2=y3=y1; |
| 22197 |
p:=dvojsipka(0,1,2,3); |
| 22198 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*up; |
| 22199 |
x4=x5=x2; x6=x7=x3; bot y4=bot y6=-d; top y5=top y7=bot y2l-2rule_thickness; |
| 22200 |
y4r:=y6l:=y4r+(rule_thickness-currentbreadth); |
| 22201 |
y5r:=y7l:=y5r-(rule_thickness-currentbreadth); |
| 22202 |
filldraw obl(2r,3l,0q.r)---subpath(5,13) of p---obl(3l,0p.l,2r)---cycle; |
| 22203 |
infill whitehead(0,1,2,3)..(x0q.l,y0a)---obl(2',0q.l,3')---obl(3',2',0p.r)---(x0p.r,y0a)..cycle; |
| 22204 |
filldraw obl(4l,6r,5l)---obl(5l,4l,7r)---obl(7r,5l,6r)---obl(6r,7r,4l)---cycle; |
| 22205 |
infill obl(4r,6l,5r)---obl(5r,4r,7l)---obl(7l,5r,6l)---obl(6l,7l,4r)---cycle; |
| 22206 |
penlabels(4,5,6,7); labels(1rr,2',3'); |
| 22207 |
endchar; |
| 22208 |
|
| 22209 |
iff known chars.arrow_double_up_white_pedestal: |
| 22210 |
bskchar "Upward white arrow on pedestal"; |
| 22211 |
beginchar(chars.arrow_double_up_white_pedestal,9u#,asc_height#,0); uni "0x21EB"; |
| 22212 |
adjust_fit(0,0); |
| 22213 |
pickup tiny.nib; |
| 22214 |
path p; |
| 22215 |
pos1(rule_thickness,180); |
| 22216 |
pos4(rule_thickness,0); pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22217 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22218 |
top y0=h+apex_o; bot y1=3/4[h,-d]; y2=y3=y1; |
| 22219 |
p:=dvojsipka(0,1,2,3); |
| 22220 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*down; |
| 22221 |
lft x4l=lft x5l=u; rt x6r=rt x7r=w-u; bot y4=bot y6=-d; y5r=y7r=y2; |
| 22222 |
y4r:=y6l:=y4r+(rule_thickness-currentbreadth); |
| 22223 |
y5r:=y7l:=y5r-(rule_thickness-currentbreadth); |
| 22224 |
filldraw subpath(5,13) of p---obl(3l,0p.l,7r)---obl(7r,5l,6r)---obl(6r,7r,4l) |
| 22225 |
---obl(4l,6r,5l)---obl(5l,4l,2r)---obl(2r,5l,0q.r)---cycle; |
| 22226 |
infill whitehead(0,1,2,3)..(x0q.l,y0a)---obl(2',0q.l,5r)---obl(5r,2',4r) |
| 22227 |
---obl(4r,5r,6l)---obl(6l,4r,7l)---obl(7l,6l,3')---obl(3',7l,0p.r)---(x0p.r,y0a)..cycle; |
| 22228 |
penlabels(4,5,6,7); labels(1rr,2',3'); |
| 22229 |
endchar; |
| 22230 |
|
| 22231 |
iff known chars.arrow_double_up_white_pedestal_hbar: |
| 22232 |
bskchar "Upward white arrow on pedestal with horizontal bar"; |
| 22233 |
beginchar(chars.arrow_double_up_white_pedestal_hbar,9u#,asc_height#,0); uni "0x21EC"; |
| 22234 |
adjust_fit(0,0); |
| 22235 |
pickup tiny.nib; |
| 22236 |
path p; |
| 22237 |
pos1(rule_thickness,180); |
| 22238 |
pos4(rule_thickness,0); pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22239 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 22240 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22241 |
top y0=h+apex_o; bot y1=3/4[h,-d]; y2=y3=y1; |
| 22242 |
p:=dvojsipka(0,1,2,3); |
| 22243 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*down; |
| 22244 |
lft x4l=lft x5l=u; rt x6r=rt x7r=w-u; bot y4=bot y6=-d; y5r=y7r=y2; |
| 22245 |
x8=x2l; x9=x3r; y8=y9=y0a-rule_thickness; |
| 22246 |
y4r:=y6l:=y4r+(rule_thickness-currentbreadth); |
| 22247 |
y5r:=y7l:=y5r-(rule_thickness-currentbreadth); |
| 22248 |
filldraw subpath(5,13) of p---obl(3l,0p.l,7r)---obl(7r,5l,6r)---obl(6r,7r,4l) |
| 22249 |
---obl(4l,6r,5l)---obl(5l,4l,2r)---obl(2r,5l,0q.r)---cycle; |
| 22250 |
infill whitehead(0,1,2,3)..(x0q.l,y0a)---obl(8r,0q.l,9r)---obl(9r,8r,0p.r)---(x0p.r,y0a)..cycle; |
| 22251 |
infill obl(9l,3',8l)---obl(8l,9l,2')---obl(2',0q.l,5r)---obl(5r,2',4r)---obl(4r,5r,6l) |
| 22252 |
---obl(6l,4r,7l)---obl(7l,6l,3')---obl(3',7l,0p.r)---cycle; |
| 22253 |
penlabels(4,5,6,7,8,9); labels(1rr,2',3'); |
| 22254 |
endchar; |
| 22255 |
|
| 22256 |
iff known chars.arrow_double_up_white_pedestal_vbar: |
| 22257 |
bskchar "Upward white arrow on pedestal with vertical bar"; |
| 22258 |
beginchar(chars.arrow_double_up_white_pedestal_vbar,9u#,asc_height#,0); uni "0x21ED"; |
| 22259 |
adjust_fit(0,0); |
| 22260 |
pickup tiny.nib; |
| 22261 |
path p[]; numeric tim[]; |
| 22262 |
pos1(rule_thickness,180); |
| 22263 |
pos4(rule_thickness,0); pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22264 |
pos8(rule_thickness,0); pos9(rule_thickness,0); |
| 22265 |
x0=x1r=.5w=.5[x2,x3]=x8=x9; x3-x2=dbf; |
| 22266 |
top y0=h+apex_o; bot y1=3/4[h,-d]; y2=y3=y1; |
| 22267 |
p0:=dvojsipka(0,1,2,3); |
| 22268 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*down; |
| 22269 |
lft x4l=lft x5l=u; rt x6r=rt x7r=w-u; bot y4=bot y6=-d; y5r=y7r=y2; |
| 22270 |
y4r:=y6l:=y4r+(rule_thickness-currentbreadth); |
| 22271 |
y5r:=y7l:=y5r-(rule_thickness-currentbreadth); |
| 22272 |
y8=y4r; y9=y0; |
| 22273 |
p1=whitehead(0,1,2,3); |
| 22274 |
p2=z8l+2oblu*up--z9l; |
| 22275 |
p3=z9r--z8r+2oblu*up; |
| 22276 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 22277 |
(tim3,tim4)=p1 intersectiontimes p3; |
| 22278 |
filldraw subpath(5,13) of p0---obl(3l,0p.l,7r)---obl(7r,5l,6r)---obl(6r,7r,4l) |
| 22279 |
---obl(4l,6r,5l)---obl(5l,4l,2r)---obl(2r,5l,0q.r)---cycle; |
| 22280 |
infill subpath(rundy(p1,(tim1,2oblu)),infinity) of p1..(x0q.l,y0a)---obl(2',0q.l,5r) |
| 22281 |
---obl(5r,2',4r)---obl(4r,5r,6l)---obl(8l,4r,9l) |
| 22282 |
---subpath(0,rundy(p2,(tim2,2oblu)).zpet) of p2..cycle; |
| 22283 |
infill subpath(0,rundy(p1,(tim3,2oblu)).zpet) of p1 |
| 22284 |
..subpath(rundy(p3,(tim4,2oblu)),infinity) of p3 |
| 22285 |
---obl(8r,9r,6l)---obl(6l,4r,7l)---obl(7l,6l,3')---obl(3',7l,0p.r)---(x0p.r,y0a)..cycle; |
| 22286 |
penlabels(4,5,6,7,8,9); labels(1rr,2',3'); |
| 22287 |
endchar; |
| 22288 |
|
| 22289 |
iff known chars.arrow_double_up_white_doublehead: |
| 22290 |
bskchar "Upward doublehead white arrow"; |
| 22291 |
beginchar(chars.arrow_double_up_white_doublehead,9u#,asc_height#,0); uni "0x21EE"; |
| 22292 |
adjust_fit(0,0); |
| 22293 |
pickup tiny.nib; |
| 22294 |
path p[]; numeric tim[]; |
| 22295 |
pos1(rule_thickness,180); |
| 22296 |
x0=x1r=.5w-o=.5[x2,x3]; x3-x2=dbf; |
| 22297 |
top y0=h+apex_o-4rule_thickness; bot y1=-d; y2=y3=y1; |
| 22298 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*up; |
| 22299 |
p0:=dvojsipka(0,1,2,3); |
| 22300 |
p1:=subpath(4,14) of p0 shifted (0,4rule_thickness); |
| 22301 |
p2:=whitehead(0,1,2,3); |
| 22302 |
(tim0-6,tim1)=subpath(6,infinity) of p0 intersectiontimes subpath(0,5) of p1; |
| 22303 |
(tim2-9,tim3-6)=subpath(9,infinity) of p0 intersectiontimes subpath(6,infinity) of p1; |
| 22304 |
tim4-6=xpart(subpath(6,infinity) of p0 intersectiontimes (z2'--(x2',h))); |
| 22305 |
tim5-9=xpart(subpath(9,infinity) of p0 intersectiontimes (z3'--(x3',h))); |
| 22306 |
filldraw obl(2r,3l,0q.r)---subpath(5,rundy(p0,tim0).zpet) of p0 |
| 22307 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 22308 |
..subpath(rundy(p0,tim2),13) of p0---obl(3l,0p.l,2r)---cycle; |
| 22309 |
infill p2..(x0q.l,y0a)---obl(2',0q.l,3')---obl(3',2',0p.r)---(x0p.r,y0a)..cycle; |
| 22310 |
infill ((x0p.r,y0a)..p2..(x0q.l,y0a)) shifted (0,4rule_thickness) |
| 22311 |
..subpath(rundy(p0,(tim4,2oblu)),rundy(p0,(tim5,2oblu)).zpet) of p0..cycle; |
| 22312 |
labels(1rr,2',3'); |
| 22313 |
endchar; |
| 22314 |
|
| 22315 |
iff known chars.arrow_double_up_white_doublehead_pedestal: |
| 22316 |
bskchar "Upward doublehead white arrow on pedestal"; |
| 22317 |
beginchar(chars.arrow_double_up_white_doublehead_pedestal,9u#,asc_height#,0); uni "0x21EF"; |
| 22318 |
adjust_fit(0,0); |
| 22319 |
pickup tiny.nib; |
| 22320 |
path p[]; numeric tim[]; |
| 22321 |
pos1(rule_thickness,180); |
| 22322 |
pos4(rule_thickness,0); pos5(rule_thickness,0); pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22323 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22324 |
top y0=h+apex_o-4rule_thickness; bot y1=3/4[h,-d]; y2=y3=y1; |
| 22325 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*down; |
| 22326 |
lft x4l=lft x5l=u; rt x6r=rt x7r=w-u; bot y4=bot y6=-d; y5r=y7r=y2; |
| 22327 |
y4r:=y6l:=y4r+(rule_thickness-currentbreadth); |
| 22328 |
y5r:=y7l:=y5r-(rule_thickness-currentbreadth); |
| 22329 |
p0:=dvojsipka(0,1,2,3); |
| 22330 |
p1:=z2l--(subpath(4,14) of p0 shifted (0,4rule_thickness))--z3l; |
| 22331 |
p2:=whitehead(0,1,2,3); |
| 22332 |
(tim0-6,tim1)=subpath(6,infinity) of p0 intersectiontimes subpath(0,6) of p1; |
| 22333 |
(tim2-9,tim3-7)=subpath(9,infinity) of p0 intersectiontimes subpath(7,infinity) of p1; |
| 22334 |
tim4-6=xpart(subpath(6,infinity) of p0 intersectiontimes (z2'--(x2',h))); |
| 22335 |
tim5-9=xpart(subpath(9,infinity) of p0 intersectiontimes (z3'--(x3',h))); |
| 22336 |
filldraw obl(3l,0p.l,7r)---obl(7r,3l,6r)---obl(6r,7r,4l)---obl(4l,6r,5l) |
| 22337 |
---obl(5l,4l,2r)---obl(2r,5l,0q.r) |
| 22338 |
---subpath(5,rundy(p0,tim0).zpet) of p0 |
| 22339 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 22340 |
..subpath(rundy(p0,tim2),13) of p0---cycle; |
| 22341 |
infill p2..(x0q.l,y0a)---obl(2',0q.l,5r)---obl(5r,2',4r) |
| 22342 |
---obl(4r,5r,6l)---obl(6l,4r,7l)---obl(7l,6l,3')---obl(3',7l,0p.r)---(x0p.r,y0a)..cycle; |
| 22343 |
infill ((x0p.r,y0a)..p2..(x0q.l,y0a)) shifted (0,4rule_thickness) |
| 22344 |
..subpath(rundy(p0,(tim4,2oblu)),rundy(p0,(tim5,2oblu)).zpet) of p0..cycle; |
| 22345 |
labels(1rr,2',3'); penlabels(4,5,6,7); |
| 22346 |
endchar; |
| 22347 |
|
| 22348 |
iff known chars.arrow_double_down_white: |
| 22349 |
bskchar "Downward white arrow"; |
| 22350 |
beginchar(chars.arrow_double_down_white,9u#,asc_height#,0); uni "0x21E9"; |
| 22351 |
adjust_fit(0,0); |
| 22352 |
pickup tiny.nib; |
| 22353 |
path p; |
| 22354 |
pos1(rule_thickness,0); |
| 22355 |
x0=x1r=.5w+o=.5[x2,x3]; x3-x2=dbf; |
| 22356 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 22357 |
p:=dvojsipka(0,1,3,2); |
| 22358 |
z2'-z2r=z3'-z3l=(rule_thickness-currentbreadth)*down; |
| 22359 |
filldraw obl(3r,2l,0q.r)---subpath(5,13) of p---obl(2l,0p.l,3r)---cycle; |
| 22360 |
infill whitehead(0,1,3,2)..(x0q.l,y0a)---obl(3',0q.l,2')---obl(2',3',0p.r)---(x0p.r,y0a)..cycle; |
| 22361 |
labels(1rr,2',3'); |
| 22362 |
endchar; |
| 22363 |
|
| 22364 |
iff known chars.arrow_down_black: |
| 22365 |
bskchar " Downward black arrow"; |
| 22366 |
beginchar(chars.arrow_down_black,9u#,asc_height#,0); uni "0x2B07"; |
| 22367 |
adjust_fit(0,0); |
| 22368 |
pickup tiny.nib; |
| 22369 |
path p; |
| 22370 |
pos1(rule_thickness,0); |
| 22371 |
x0=x1r=.5w+o=.5[x2,x3]; x3-x2=dbf; |
| 22372 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 22373 |
p:=dvojsipka(0,1,3,2); |
| 22374 |
filldraw obl(3r,2l,0q.r)---subpath(5,13) of p---obl(2l,0p.l,3r)---cycle; |
| 22375 |
labels(1rr); |
| 22376 |
endchar; |
| 22377 |
|
| 22378 |
iff known chars.arrow_double_up_down_white: |
| 22379 |
bskchar "Double white up-down arrow"; |
| 22380 |
beginchar(chars.arrow_double_up_down_white,9u#,asc_height#,0); uni "0x21F3"; |
| 22381 |
adjust_fit(0,0); |
| 22382 |
pickup tiny.nib; |
| 22383 |
numeric oldtim[], tim[], oldat, ooldat; path oldap[], p[]; |
| 22384 |
pos1(rule_thickness,0); pos101(rule_thickness,180); |
| 22385 |
x0=x1r=x100=x101r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22386 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 22387 |
x102=x2; x103=x3; y102=y103=y0q; bot y100=h+apex_o; top y101=-d; |
| 22388 |
sipka_points(0,1); dvojsipka_points(0,1,3,2); oldat:=bskat; |
| 22389 |
p0=whitehead(0,1,3,2); |
| 22390 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 22391 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 22392 |
sipka_points(100,101); dvojsipka_points(100,101,102,103); ooldat:=bskat; |
| 22393 |
p1=whitehead(100,101,102,103); |
| 22394 |
tim1=xpart(bskap4 intersectiontimes ((0,x_height)--(x0,x_height))); |
| 22395 |
tim2=xpart(bskap5 intersectiontimes ((w,x_height)--(x0,x_height))); |
| 22396 |
tim3=xpart(oldap4 intersectiontimes ((w,bar_height)--(x0,bar_height))); |
| 22397 |
tim4=xpart(oldap5 intersectiontimes ((0,bar_height)--(x0,bar_height))); |
| 22398 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 22399 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 22400 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 22401 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 22402 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 22403 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 22404 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 22405 |
hide(bskat:=oldat) |
| 22406 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 22407 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 22408 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 22409 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 22410 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 22411 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 22412 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 22413 |
infill p0..(x0q.l,y0a)---(x100p.r,y100a)..p1..(x100q.l,y100a)---(x0p.r,y0a)..cycle; |
| 22414 |
penlabels(2,3,102,103); labels(1rr); |
| 22415 |
endchar; |
| 22416 |
|
| 22417 |
iff known chars.arrow_up_down_black: |
| 22418 |
bskchar "Black up-down arrow"; |
| 22419 |
beginchar(chars.arrow_up_down_black,9u#,asc_height#,0); uni "0x2B0D"; |
| 22420 |
adjust_fit(0,0); |
| 22421 |
pickup tiny.nib; |
| 22422 |
numeric oldtim[], tim[], oldat, ooldat; path oldap[], p[]; |
| 22423 |
pos1(rule_thickness,0); pos101(rule_thickness,180); |
| 22424 |
x0=x1r=x100=x101r=.5w=.5[x2,x3]; x3-x2=dbf; |
| 22425 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 22426 |
x102=x2; x103=x3; y102=y103=y0q; bot y100=h+apex_o; top y101=-d; |
| 22427 |
sipka_points(0,1); dvojsipka_points(0,1,3,2); oldat:=bskat; |
| 22428 |
p0=whitehead(0,1,3,2); |
| 22429 |
for i:=11 upto 18: oldtim[i]:=bsktim[i]; endfor |
| 22430 |
for i:=0 upto 6: oldap[i]:=bskap[i]; endfor; |
| 22431 |
sipka_points(100,101); dvojsipka_points(100,101,102,103); ooldat:=bskat; |
| 22432 |
p1=whitehead(100,101,102,103); |
| 22433 |
tim1=xpart(bskap4 intersectiontimes ((0,x_height)--(x0,x_height))); |
| 22434 |
tim2=xpart(bskap5 intersectiontimes ((w,x_height)--(x0,x_height))); |
| 22435 |
tim3=xpart(oldap4 intersectiontimes ((w,bar_height)--(x0,bar_height))); |
| 22436 |
tim4=xpart(oldap5 intersectiontimes ((0,bar_height)--(x0,bar_height))); |
| 22437 |
filldraw subpath(tim1,rundy(bskap4,bsktim14).zpet) of bskap4 |
| 22438 |
..subpath(rundy(bskap1,bsktim13),infinity) of bskap1 |
| 22439 |
&z100e+(hair*down rotated bskat){dir(bskat+135)}..z100e{dir(bskat-45)} |
| 22440 |
..{dir(bskat-30)}z100{dir(bskat-160)}..{dir(bskat-135)}z100b |
| 22441 |
..{dir(bskat+45)}z100b+(hair*up rotated bskat) |
| 22442 |
&subpath(0,rundy(bskap0,bsktim15).zpet) of bskap0 |
| 22443 |
..subpath(rundy(bskap5,bsktim16),tim2) of bskap5 |
| 22444 |
hide(bskat:=oldat) |
| 22445 |
--subpath(tim3,rundy(oldap4,oldtim14).zpet) of oldap4 |
| 22446 |
..subpath(rundy(oldap1,oldtim13),infinity) of oldap1 |
| 22447 |
&z0e+(hair*down rotated bskat){dir(bskat+135)}..z0e{dir(bskat-45)} |
| 22448 |
..{dir(bskat-30)}z0{dir(bskat-160)}..{dir(bskat-135)}z0b |
| 22449 |
..{dir(bskat+45)}z0b+(hair*up rotated bskat) |
| 22450 |
&subpath(0,rundy(oldap0,oldtim15).zpet) of oldap0 |
| 22451 |
..subpath(rundy(oldap5,oldtim16),tim4) of oldap5--cycle; |
| 22452 |
penlabels(2,3,102,103); labels(1rr); |
| 22453 |
endchar; |
| 22454 |
|
| 22455 |
iff known chars.arrow_double_right_white: |
| 22456 |
bskchar "Rightward white arrow"; |
| 22457 |
beginchar(chars.arrow_double_right_white,15u#,v_center(5u#)); uni "0x21E8"; |
| 22458 |
adjust_fit(0,0); |
| 22459 |
pickup tiny.nib; |
| 22460 |
path p; |
| 22461 |
pos1(rule_thickness,90); |
| 22462 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22463 |
p:=dvojsipka(0,1,2,3); |
| 22464 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*right; |
| 22465 |
filldraw obl(2r,3l,0q.r)---subpath(5,13) of p---obl(3l,0p.l,2r)---cycle; |
| 22466 |
infill whitehead(0,1,2,3)..(x0a,y0q.l)---obl(2',0q.l,3')---obl(3',2',0p.r)---(x0a,y0p.r)..cycle; |
| 22467 |
labels(2',3'); |
| 22468 |
endchar; |
| 22469 |
|
| 22470 |
iff known chars.arrow_right_black: |
| 22471 |
bskchar "Rightward black arrow"; |
| 22472 |
beginchar(chars.arrow_right_black,15u#,v_center(5u#)); uni "0x27A1"; |
| 22473 |
adjust_fit(0,0); |
| 22474 |
pickup tiny.nib; |
| 22475 |
path p; |
| 22476 |
pos1(rule_thickness,90); |
| 22477 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22478 |
p:=dvojsipka(0,1,2,3); |
| 22479 |
filldraw obl(2r,3l,0q.r)---subpath(5,13) of p---obl(3l,0p.l,2r)---cycle; |
| 22480 |
endchar; |
| 22481 |
|
| 22482 |
iff known chars.arrow_double_up_white: |
| 22483 |
bskchar "Upward white arrow"; |
| 22484 |
beginchar(chars.arrow_double_up_white,9u#,asc_height#,0); uni "0x21E7"; |
| 22485 |
adjust_fit(0,0); |
| 22486 |
pickup tiny.nib; |
| 22487 |
path p; |
| 22488 |
pos1(rule_thickness,180); |
| 22489 |
x0=x1r=.5w-o=.5[x2,x3]; x3-x2=dbf; |
| 22490 |
top y0=h+apex_o; bot y1=-d; y2=y3=y1; |
| 22491 |
p:=dvojsipka(0,1,2,3); |
| 22492 |
z2'-z2l=z3'-z3r=(rule_thickness-currentbreadth)*up; |
| 22493 |
filldraw obl(2r,3l,0q.r)---subpath(5,13) of p---obl(3l,0p.l,2r)---cycle; |
| 22494 |
infill whitehead(0,1,2,3)..(x0q.l,y0a)---obl(2',0q.l,3')---obl(3',2',0p.r)---(x0p.r,y0a)..cycle; |
| 22495 |
labels(1rr,2',3'); |
| 22496 |
endchar; |
| 22497 |
|
| 22498 |
iff known chars.arrow_up_black: |
| 22499 |
bskchar "Upward black arrow"; |
| 22500 |
beginchar(chars.arrow_up_black,9u#,asc_height#,0); uni "0x2B06"; |
| 22501 |
adjust_fit(0,0); |
| 22502 |
pickup tiny.nib; |
| 22503 |
path p; |
| 22504 |
pos1(rule_thickness,180); |
| 22505 |
x0=x1r=.5w-o=.5[x2,x3]; x3-x2=dbf; |
| 22506 |
top y0=h+apex_o; bot y1=-d; y2=y3=y1; |
| 22507 |
p:=dvojsipka(0,1,2,3); |
| 22508 |
filldraw obl(2r,3l,0q.r)---subpath(5,13) of p---obl(3l,0p.l,2r)---cycle; |
| 22509 |
endchar; |
| 22510 |
|
| 22511 |
iff known chars.arrow_double_left_white: |
| 22512 |
bskchar "Leftward white arrow"; |
| 22513 |
beginchar(chars.arrow_double_left_white,15u#,v_center(5u#)); uni "0x21E6"; |
| 22514 |
adjust_fit(0,0); |
| 22515 |
pickup tiny.nib; |
| 22516 |
path p; |
| 22517 |
pos1(rule_thickness,-90); |
| 22518 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22519 |
p:=dvojsipka(0,1,3,2); |
| 22520 |
z2'-z2r=z3'-z3l=(rule_thickness-currentbreadth)*left; |
| 22521 |
filldraw obl(3r,2l,0q.r)---subpath(5,13) of p---obl(2l,0p.l,3r)---cycle; |
| 22522 |
infill whitehead(0,1,3,2)..(x0a,y0q.l)---obl(3',0q.l,2')---obl(2',3',0p.r)---(x0a,y0p.r)..cycle; |
| 22523 |
labels(2',3'); |
| 22524 |
endchar; |
| 22525 |
|
| 22526 |
iff known chars.arrow_left_black: |
| 22527 |
bskchar "Leftward black arrow"; |
| 22528 |
beginchar(chars.arrow_left_black,15u#,v_center(5u#)); uni "0x2B05"; |
| 22529 |
adjust_fit(0,0); |
| 22530 |
pickup tiny.nib; |
| 22531 |
path p; |
| 22532 |
pos1(rule_thickness,-90); |
| 22533 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; y2-y3=dbf; |
| 22534 |
p:=dvojsipka(0,1,3,2); |
| 22535 |
filldraw obl(3r,2l,0q.r)---subpath(5,13) of p---obl(2l,0p.l,3r)---cycle; |
| 22536 |
endchar; |
| 22537 |
|
| 22538 |
iff known chars.arrow_double_right_white_round: |
| 22539 |
bskchar "Double rightward white arrow with rounded end"; |
| 22540 |
beginchar(chars.arrow_double_right_white_round,15u#,v_center(5u#)); uni "non"; |
| 22541 |
adjust_fit(0,0); |
| 22542 |
pickup tiny.nib; |
| 22543 |
path p; |
| 22544 |
pos1(rule_thickness,90); pos4(rule_thickness,0); |
| 22545 |
rt x0=w-u; x1=x2=x3=w-x0+.5(y2-y3); y0=y1r=y4=math_axis=.5[y2,y3]; y2-y3=dbf; lft x4l=u; |
| 22546 |
p:=dvojsipka(0,1,2,3); |
| 22547 |
filldraw z4l..subpath(4,14) of p..cycle; |
| 22548 |
infill subpath(0,3) of p..z4r..subpath(15,infinity) of p..cycle; |
| 22549 |
penlabels(4); |
| 22550 |
endchar; |
| 22551 |
|
| 22552 |
iff known chars.arrow_double_left_white_round: |
| 22553 |
bskchar "Double leftward white arrow with rounded end"; |
| 22554 |
beginchar(chars.arrow_double_left_white_round,15u#,v_center(5u#)); uni "non"; |
| 22555 |
adjust_fit(0,0); |
| 22556 |
pickup tiny.nib; |
| 22557 |
path p; |
| 22558 |
pos1(rule_thickness,-90); pos4(rule_thickness,180); |
| 22559 |
lft x0=u; x1=x2=x3=w-x0-.5(y2-y3); y0=y1r=y4=math_axis=.5[y2,y3]; y2-y3=dbf; rt x4l=w-u; |
| 22560 |
p:=dvojsipka(0,1,3,2); |
| 22561 |
filldraw z4l..subpath(4,14) of p..cycle; |
| 22562 |
infill subpath(0,3) of p..z4r..subpath(15,infinity) of p..cycle; |
| 22563 |
penlabels(4); |
| 22564 |
endchar; |
| 22565 |
|
| 22566 |
iff known chars.arrow_double_right_white_bar: |
| 22567 |
bskchar "Double white rightward arrow from bar"; |
| 22568 |
beginchar(chars.arrow_double_right_white_bar,15u#,v_center(7u#)); uni "non"; |
| 22569 |
adjust_fit(0,0); |
| 22570 |
pickup tiny.nib; |
| 22571 |
path p; |
| 22572 |
pos1(rule_thickness,90); pos2'(rule_thickness,90); pos3'(rule_thickness,90); |
| 22573 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22574 |
rt x0=w-u; x1=x2=x3=x4l=x5l=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22575 |
y2'l=y2l; y3'r=y3r; x2'=x3'=x4r; |
| 22576 |
p:=dvojsipka(0,1,2,3); |
| 22577 |
filldraw z4l..z4r---obl(2'r,4r,0q.r)---subpath(5,13) of p---obl(3'l,0p.l,5r)---z5r..z5l---cycle; |
| 22578 |
infill whitehead(0,1,2,3)..(x0a,y0q.l)---obl(2'l,0q.l,3')---obl(3'r,2',0p.r)---(x0a,y0p.r)..cycle; |
| 22579 |
penlabels(2',3',4,5); |
| 22580 |
endchar; |
| 22581 |
|
| 22582 |
iff known chars.arrow_double_right_white_wall: |
| 22583 |
bskchar "Double white rightward arrow from wall"; |
| 22584 |
beginchar(chars.arrow_double_right_white_wall,15u#,v_center(7u#)); uni "0x21F0"; |
| 22585 |
adjust_fit(0,0); |
| 22586 |
pickup tiny.nib; |
| 22587 |
path p; |
| 22588 |
pos1(rule_thickness,90); pos2'(rule_thickness,90); pos3'(rule_thickness,90); |
| 22589 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22590 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 22591 |
rt x0=w-u; x1=x2=x3=x4l=x5l=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22592 |
y2'l=y2l; y3'r=y3r; x2'=x3'=x6r; y6=y4; y7=y5; x6=x7=x4+3rule_thickness; |
| 22593 |
y4r:=y6l:=y4r-(rule_thickness-currentbreadth); x2'l:=x6l; |
| 22594 |
y5r:=y7l:=y5r+(rule_thickness-currentbreadth); x3'r:=x7l; |
| 22595 |
p:=dvojsipka(0,1,2,3); |
| 22596 |
filldraw obl(4l,5l,6r)---obl(6r,4l,2'r)---obl(2'r,6r,0q.r) |
| 22597 |
---subpath(5,13) of p---obl(3'l,0p.l,7r)---obl(7r,3'l,5l)---obl(5l,7r,4l)---cycle; |
| 22598 |
infill whitehead(0,1,2,3)..(x0a,y0q.l)---obl(2'l,0q.l,6l)---obl(6l,2'l,4r) |
| 22599 |
---obl(4r,6l,5r)---obl(5r,4r,7l)---obl(7l,5r,3'r)---obl(3'r,7l,0p.r)---(x0a,y0p.r)..cycle; |
| 22600 |
penlabels(2',3',4,5,6,7); |
| 22601 |
endchar; |
| 22602 |
|
| 22603 |
iff known chars.arrow_double_right_bar: |
| 22604 |
bskchar "Double rightward arrow from bar"; |
| 22605 |
beginchar(chars.arrow_double_right_bar,15u#,v_center(7u#)); uni "0x2907"; |
| 22606 |
adjust_fit(0,0); |
| 22607 |
pickup tiny.nib; |
| 22608 |
path p; |
| 22609 |
pos1(rule_thickness,90); pos2'(rule_thickness,90); pos3'(rule_thickness,90); |
| 22610 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22611 |
rt x0=w-u; x1=x2=x3=x4l=x5l=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22612 |
y2'=y2; y3'=y3; x2'=x3'=x4r; |
| 22613 |
p:=dvojsipka(0,1,2,3); |
| 22614 |
filldraw z4l..z4r---obl(2'r,4r,0q.r)---subpath(5,13) of p---obl(3'l,0p.l,5r)---z5r..z5l---cycle; |
| 22615 |
infill subpath(0,2) of p---obl(2'l,0q.l,3'r)---obl(3'r,2'l,0p.r)---subpath(16,infinity) of p..cycle; |
| 22616 |
penlabels(2',3',4,5); labels(2',3'); |
| 22617 |
endchar; |
| 22618 |
|
| 22619 |
iff known chars.arrow_double_right_bar_long: |
| 22620 |
bskchar "Long double rightward arrow from bar"; |
| 22621 |
beginchar(chars.arrow_double_right_bar_long,22u#,v_center(7u#)); uni "0x27FE"; |
| 22622 |
adjust_fit(0,0); |
| 22623 |
pickup tiny.nib; |
| 22624 |
path p; |
| 22625 |
pos1(rule_thickness,90); pos2'(rule_thickness,90); pos3'(rule_thickness,90); |
| 22626 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22627 |
rt x0=w-u; x1=x2=x3=x4l=x5l=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22628 |
y2'=y2; y3'=y3; x2'=x3'=x4r; |
| 22629 |
p:=dvojsipka(0,1,2,3); |
| 22630 |
filldraw z4l..z4r---obl(2'r,4r,0q.r)---subpath(5,13) of p---obl(3'l,0p.l,5r)---z5r..z5l---cycle; |
| 22631 |
infill subpath(0,2) of p---obl(2'l,0q.l,3'r)---obl(3'r,2'l,0p.r)---subpath(16,infinity) of p..cycle; |
| 22632 |
penlabels(2',3',4,5); labels(2',3'); |
| 22633 |
endchar; |
| 22634 |
|
| 22635 |
iff known chars.arrow_double_left_bar: |
| 22636 |
bskchar "Double leftward arrow from bar"; |
| 22637 |
beginchar(chars.arrow_double_left_bar,15u#,v_center(7u#)); uni "0x2906"; |
| 22638 |
adjust_fit(0,0); |
| 22639 |
pickup tiny.nib; |
| 22640 |
path p; |
| 22641 |
pos1(rule_thickness,-90); pos2'(rule_thickness,-90); pos3'(rule_thickness,-90); |
| 22642 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22643 |
lft x0=u; x1=x2=x3=x4r=x5r=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22644 |
y2'=y2; y3'=y3; x2'=x3'=x4l; |
| 22645 |
p:=dvojsipka(0,1,3,2); |
| 22646 |
filldraw z5r..z5l---obl(3'r,5l,0q.r)---subpath(5,13) of p---obl(2'l,0p.l,4l)---z4l..z4r---cycle; |
| 22647 |
infill subpath(0,2) of p---obl(3'l,0q.l,2'r)---obl(2'r,3'l,0p.r)---subpath(16,infinity) of p..cycle; |
| 22648 |
penlabels(2',3',4,5); |
| 22649 |
endchar; |
| 22650 |
|
| 22651 |
iff known chars.arrow_double_left_bar_long: |
| 22652 |
bskchar "Long double leftward arrow from bar"; |
| 22653 |
beginchar(chars.arrow_double_left_bar_long,22u#,v_center(7u#)); uni "0x27FD"; |
| 22654 |
adjust_fit(0,0); |
| 22655 |
pickup tiny.nib; |
| 22656 |
path p; |
| 22657 |
pos1(rule_thickness,-90); pos2'(rule_thickness,-90); pos3'(rule_thickness,-90); |
| 22658 |
pos4(rule_thickness,0); pos5(rule_thickness,0); |
| 22659 |
lft x0=u; x1=x2=x3=x4r=x5r=w-x0; y0=y1r=math_axis=.5[y2,y3]=.5[y4,y5]; y2-y3=dbf; top y4=h; |
| 22660 |
y2'=y2; y3'=y3; x2'=x3'=x4l; |
| 22661 |
p:=dvojsipka(0,1,3,2); |
| 22662 |
filldraw z5r..z5l---obl(3'r,5l,0q.r)---subpath(5,13) of p---obl(2'l,0p.l,4l)---z4l..z4r---cycle; |
| 22663 |
infill subpath(0,2) of p---obl(3'l,0q.l,2'r)---obl(2'r,3'l,0p.r)---subpath(16,infinity) of p..cycle; |
| 22664 |
penlabels(2',3',4,5); |
| 22665 |
endchar; |
| 22666 |
|
| 22667 |
iff known chars.arrow_triple_right: |
| 22668 |
bskchar "Triple rightward arrow"; |
| 22669 |
beginchar(chars.arrow_triple_right,15u#,v_center(6u#)); uni "0x21DB"; |
| 22670 |
adjust_fit(0,0); |
| 22671 |
pickup tiny.nib; |
| 22672 |
{{ |
| 22673 |
numeric old_arr; old_arr:=arrsize; save arrwidth, arrsize; |
| 22674 |
numeric arrwidth, arrsize; arrsize=1.2arrwidth=if not boldmath: 1.2\\ else: 1.5\\fi old_arr; |
| 22675 |
pos1(rule_thickness,90); |
| 22676 |
rt x0=w-u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; |
| 22677 |
y2-y3=(if not boldmath: 5 else: 3.75 fi)*rule_thickness; |
| 22678 |
filldraw trojsipka(0,1,2,3)..cycle; |
| 22679 |
}}; |
| 22680 |
endchar; |
| 22681 |
|
| 22682 |
iff known chars.arrow_triple_left: |
| 22683 |
bskchar "Triple leftward arrow"; |
| 22684 |
beginchar(chars.arrow_triple_left,15u#,v_center(6u#)); uni "0x21DA"; |
| 22685 |
adjust_fit(0,0); |
| 22686 |
pickup tiny.nib; |
| 22687 |
{{ |
| 22688 |
numeric old_arr; old_arr:=arrsize; save arrwidth, arrsize; |
| 22689 |
numeric arrwidth, arrsize; arrsize=1.2arrwidth=if not boldmath: 1.2\\ else: 1.5\\fi old_arr; |
| 22690 |
pos1(rule_thickness,-90); |
| 22691 |
lft x0=u; x1=x2=x3=w-x0; y0=y1r=math_axis=.5[y2,y3]; |
| 22692 |
y3-y2=(if not boldmath: 5 else: 3.75 fi)*rule_thickness; |
| 22693 |
filldraw trojsipka(0,1,2,3)..cycle; |
| 22694 |
}}; |
| 22695 |
endchar; |
| 22696 |
|
| 22697 |
iff known chars.math_curly_brace_left: |
| 22698 |
bskchar "Left curly brace"; |
| 22699 |
beginchar(chars.math_curly_brace_left,7u#, body_height#,paren_depth#); uni "0x007B"; |
| 22700 |
italcorr body_height#*slant-.25u#; |
| 22701 |
adjust_fit(0,0); |
| 22702 |
pickup tiny.nib; |
| 22703 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22704 |
pos1(hair,80); pos2(.5[stem,hair],135); pos3(bourstem,190); pos4(hair,90); |
| 22705 |
pos5(bourstem,170); pos6(.5[stem,hair],225); pos7(hair,-100); |
| 22706 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22707 |
top y2r=h-hair; x3l=x1-stem; x2r=x3r; |
| 22708 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22709 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22710 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22711 |
z8=bsktouch(p0,down,p1,up); |
| 22712 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22713 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22714 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22715 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22716 |
..cycle; |
| 22717 |
penlabels(1,2,3,4,5,6,7); |
| 22718 |
endchar; |
| 22719 |
|
| 22720 |
iff known chars.math_curly_brace_left_big: |
| 22721 |
bskchar "\big left curly brace"; |
| 22722 |
beginchar(chars.math_curly_brace_left_big,7u#, rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 22723 |
adjust_fit(0,0); |
| 22724 |
pickup tiny.nib; |
| 22725 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22726 |
pos1(hair,80); pos2(.5[stem,hair],135); pos3(bourstem,190); pos4(hair,90); |
| 22727 |
pos5(bourstem,170); pos6(.5[stem,hair],225); pos7(hair,-100); |
| 22728 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22729 |
top y2r=h-hair; x3=2/3(w-u); x2r=x3r; |
| 22730 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22731 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22732 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22733 |
z8=bsktouch(p0,down,p1,up); |
| 22734 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22735 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22736 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22737 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22738 |
..cycle; |
| 22739 |
penlabels(1,2,3,4,5,6,7); |
| 22740 |
endchar; |
| 22741 |
|
| 22742 |
iff known chars.math_curly_brace_left_Big: |
| 22743 |
bskchar "\Big left curly brace"; |
| 22744 |
beginchar(chars.math_curly_brace_left_Big,9u#, rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 22745 |
adjust_fit(0,0); |
| 22746 |
pickup tiny.nib; |
| 22747 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22748 |
pos1(hair,80); pos2(.45[stem,hair],135); pos3(1.05bourstem,190); pos4(.25[hair,stem],90); |
| 22749 |
pos5(1.05bourstem,170); pos6(.45[stem,hair],225); pos7(hair,-100); |
| 22750 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22751 |
top y2r=h-hair; x3=2/3(w-u); x2r=x3r; |
| 22752 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22753 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22754 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22755 |
z8=bsktouch(p0,down,p1,up); |
| 22756 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22757 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22758 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22759 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22760 |
..cycle; |
| 22761 |
penlabels(1,2,3,4,5,6,7); |
| 22762 |
endchar; |
| 22763 |
|
| 22764 |
iff known chars.math_curly_brace_left_bigg: |
| 22765 |
bskchar "\bigg left curly brace"; |
| 22766 |
beginchar(chars.math_curly_brace_left_bigg,10u#, rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 22767 |
adjust_fit(0,0); |
| 22768 |
pickup tiny.nib; |
| 22769 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22770 |
pos1(hair,80); pos2(.4[stem,hair],135); pos3(1.1bourstem,190); pos4(.5[hair,stem],90); |
| 22771 |
pos5(1.1bourstem,170); pos6(.4[stem,hair],225); pos7(hair,-100); |
| 22772 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22773 |
top y2r=h-hair; x3=2/3(w-u); x2r=x3r; |
| 22774 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22775 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22776 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22777 |
z8=bsktouch(p0,down,p1,up); |
| 22778 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22779 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22780 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22781 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22782 |
..cycle; |
| 22783 |
penlabels(1,2,3,4,5,6,7); |
| 22784 |
endchar; |
| 22785 |
|
| 22786 |
iff known chars.math_curly_brace_left_Bigg: |
| 22787 |
bskchar "\Bigg left curly brace"; |
| 22788 |
beginchar(chars.math_curly_brace_left_Bigg,11u#, rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 22789 |
adjust_fit(0,0); |
| 22790 |
pickup tiny.nib; |
| 22791 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22792 |
pos1(hair,80); pos2(stem,135); pos3(1.5bourstem,190); pos4(.75[hair,stem],90); |
| 22793 |
pos5(1.5bourstem,170); pos6(stem,225); pos7(hair,-100); |
| 22794 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22795 |
top y2r=h-hair; x3=2/3(w-u); x2r=x3r; |
| 22796 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22797 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22798 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22799 |
z8=bsktouch(p0,down,p1,up); |
| 22800 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22801 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22802 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22803 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22804 |
..cycle; |
| 22805 |
penlabels(1,2,3,4,5,6,7); |
| 22806 |
endchar; |
| 22807 |
|
| 22808 |
def brace_ext_left:= |
| 22809 |
numeric H, D; H=0; D=6dh; |
| 22810 |
pos1(hair,80); pos2(stem,135); pos3(1.5bourstem,190); pos4(.75[hair,stem],90); |
| 22811 |
pos5(1.5bourstem,170); pos6(stem,225); pos7(hair,-100); |
| 22812 |
y4=.5(H-D)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22813 |
top y2r=H-hair; x3=2/3(w-u); x2r=x3r; |
| 22814 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-D+hair; .5[y7,y4]=y5; |
| 22815 |
p0=z1r{z2r-z1l}..z2r..z3r..{left}z4r; |
| 22816 |
p1=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22817 |
p2=z4l{right}..z5r..z6r..{z7l-z6r}z7r; |
| 22818 |
p3=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22819 |
enddef; |
| 22820 |
|
| 22821 |
iff known chars.math_curly_brace_left_top: |
| 22822 |
bskchar "Extensible left curly brace---top"; |
| 22823 |
beginchar(chars.math_curly_brace_left_top,11.5u#, 0,2.1dh#); uni "non"; |
| 22824 |
adjust_fit(0,0); |
| 22825 |
pickup tiny.nib; |
| 22826 |
path p[]; numeric tim[]; |
| 22827 |
brace_ext_left; |
| 22828 |
tim100=directiontime up of p1; |
| 22829 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (-w,0)))); |
| 22830 |
filldraw subpath (0,tim101) of p0--subpath(tim100,infinity) of p1..cycle; |
| 22831 |
penlabels(1,2,3,4,5,6,7); |
| 22832 |
endchar; |
| 22833 |
|
| 22834 |
iff known chars.math_curly_brace_left_bot: |
| 22835 |
bskchar "Extensible left curly brace---bottom"; |
| 22836 |
beginchar(chars.math_curly_brace_left_bot,11.5u#, 0,2.1dh#); uni "non"; |
| 22837 |
adjust_fit(0,0); |
| 22838 |
pickup tiny.nib; |
| 22839 |
path p[]; numeric tim[]; |
| 22840 |
brace_ext_left; |
| 22841 |
tim100-2=directiontime up of subpath (2,infinity) of p3; |
| 22842 |
tim101=xpart(p2 intersectiontimes (point tim100 of p3 --(point tim100 of p3 shifted (-w,0)))); |
| 22843 |
filldraw (subpath (tim101,infinity) of p2..subpath(0,tim100) of p3--cycle) |
| 22844 |
shifted (0,-ypart(point tim101 of p2)); |
| 22845 |
penlabels(1,2,3,4,5,6,7); |
| 22846 |
endchar; |
| 22847 |
|
| 22848 |
iff known chars.math_curly_brace_left_mid: |
| 22849 |
bskchar "Extensible left curly brace---middle"; |
| 22850 |
beginchar(chars.math_curly_brace_left_mid,11.5u#, 0,1.8dh#); uni "non"; |
| 22851 |
adjust_fit(0,0); |
| 22852 |
pickup tiny.nib; |
| 22853 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22854 |
brace_ext_left; |
| 22855 |
z8=bsktouch(p1,down,p3,up); |
| 22856 |
tim0=xpart(p1 intersectiontimes (z8--(x8,y3))); |
| 22857 |
tim1=xpart(p3 intersectiontimes (z8--(x8,y5))); |
| 22858 |
tim100=directiontime up of p1; |
| 22859 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (-w,0)))); |
| 22860 |
tim102-2=directiontime up of subpath (2,infinity) of p3; |
| 22861 |
tim103=xpart(p2 intersectiontimes (point tim102 of p3 --(point tim102 of p3 shifted (-w,0)))); |
| 22862 |
filldraw (subpath(tim101, infinity) of p0..subpath(0,tim103) of p2 |
| 22863 |
--subpath(tim102,rundy(p3,tim1).zpet) of p3 |
| 22864 |
..subpath(rundy(p1,tim0),tim100) of p1--cycle) shifted (0,-ypart(point tim101 of p0)); |
| 22865 |
penlabels(1,2,3,4,5,6,7); |
| 22866 |
endchar; |
| 22867 |
|
| 22868 |
iff known chars.math_curly_brace_left_ext: |
| 22869 |
bskchar "Extensible left curly brace---extension module"; |
| 22870 |
beginchar(chars.math_curly_brace_left_ext,11.5u#, 0,.5dh#); uni "non"; |
| 22871 |
adjust_fit(0,0); |
| 22872 |
pickup tiny.nib; |
| 22873 |
path p[]; numeric tim[]; oblu:=1.5curve; |
| 22874 |
brace_ext_left; |
| 22875 |
tim100=directiontime up of p1; |
| 22876 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (-w,0)))); |
| 22877 |
tim0=xpart(point tim100 of p1); tim1=xpart(point tim101 of p0); |
| 22878 |
filldraw (tim0,h)--(tim0,-d)--(tim1,-d)--(tim1,h)--cycle; |
| 22879 |
penlabels(1,2,3,4,5,6,7); |
| 22880 |
endchar; |
| 22881 |
|
| 22882 |
iff known chars.math_curly_brace_white_left: |
| 22883 |
bskchar "Left white curly brace"; |
| 22884 |
beginchar(chars.math_curly_brace_white_left,7u#, body_height#,paren_depth#); uni "0x2983"; |
| 22885 |
adjust_fit(0,0); |
| 22886 |
pickup tiny.nib; |
| 22887 |
path p[]; numeric tim[]; |
| 22888 |
pos1(hair,80); pos2(.5[stem,hair],135); pos3(bourstem,190); pos4(hair,90); |
| 22889 |
pos5(bourstem,170); pos6(.5[stem,hair],225); pos7(hair,-100); |
| 22890 |
y4=.5(h-d)+o; lft x4=u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=y3; |
| 22891 |
top y2r=h-hair; x3l=x1-stem; x2r=x3r; |
| 22892 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22893 |
p0=z4l{right}..z3l..z2l..{z1l-z2r}z1l; |
| 22894 |
p1=z7l{z6r-z7l}..z6l..z5l..{left}z4r; |
| 22895 |
p2=(x1-stem,-d-stem)--(x1-stem,h+stem); |
| 22896 |
(tim0-2,tim2)=subpath(2,infinity) of p0 intersectiontimes p2; |
| 22897 |
(tim1,tim3)=p1 intersectiontimes p2; |
| 22898 |
filldraw z1r{z2r-z1l}..z2r..z3r..{left}z4r..{right}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22899 |
..subpath(0,rundy(p1,tim1).zpet) of p1 |
| 22900 |
..subpath(rundy(p2,tim3),rundy(p2,(tim2,hair)).zpet) of p2 |
| 22901 |
..subpath(rundy(p0,tim0),infinity) of p0..cycle; |
| 22902 |
pos2'(hair,135); pos6'(hair,225); z2'r=z2r; z6'r=z6r; |
| 22903 |
pos3'(hair,190); pos5'(hair,170); z3'r=z3r; z5'r=z5r; |
| 22904 |
p3=z4l{right}..z3'l..z2'l..{z1l-z2r}z1l; |
| 22905 |
p4=z7l{z6r-z7l}..z6'l..z5'l..{left}z4r; |
| 22906 |
z8=bsktouch(p3,down,p4,up); |
| 22907 |
tim4=xpart(p3 intersectiontimes (z8--(x8,h))); |
| 22908 |
tim5=xpart(p4 intersectiontimes (z8--(x8,0))); |
| 22909 |
(tim6,tim7)=p3 intersectiontimes p2; |
| 22910 |
(tim8,tim9)=p4 intersectiontimes p2; |
| 22911 |
infill subpath(rundy(p4,tim8),rundy(p4,tim5).zpet) of p4 |
| 22912 |
..subpath(rundy(p3,tim4),rundy(p3,tim6).zpet) of p3 |
| 22913 |
..reverse subpath(rundy(p2,tim9),rundy(p2,tim7).zpet) of p2..cycle; |
| 22914 |
penlabels(1,2,3,4,5,6,7,8); labels(2'r,3'r,5'r,6'r); |
| 22915 |
endchar; |
| 22916 |
|
| 22917 |
iff known chars.math_curly_brace_right: |
| 22918 |
bskchar "Right curly brace"; |
| 22919 |
beginchar(chars.math_curly_brace_right,7u#, body_height#,paren_depth#); uni "0x007D"; |
| 22920 |
italcorr math_axis#*slant; |
| 22921 |
adjust_fit(0,0); |
| 22922 |
pickup tiny.nib; |
| 22923 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22924 |
pos1(hair,100); pos2(.5[stem,hair],45); pos3(bourstem,-10); pos4(hair,90); |
| 22925 |
pos5(bourstem,10); pos6(.5[stem,hair],-45); pos7(hair,-80); |
| 22926 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 22927 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 22928 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22929 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 22930 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 22931 |
z8=bsktouch(p0,down,p1,up); |
| 22932 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22933 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22934 |
filldraw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22935 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22936 |
..cycle; |
| 22937 |
penlabels(1,2,3,4,5,6,7); |
| 22938 |
endchar; |
| 22939 |
|
| 22940 |
iff known chars.math_curly_brace_right_big: |
| 22941 |
bskchar "\big right curly brace"; |
| 22942 |
beginchar(chars.math_curly_brace_right_big,7u#, rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 22943 |
adjust_fit(0,0); |
| 22944 |
pickup tiny.nib; |
| 22945 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22946 |
pos1(hair,100); pos2(.5[stem,hair],45); pos3(bourstem,-10); pos4(hair,90); |
| 22947 |
pos5(bourstem,10); pos6(.5[stem,hair],-45); pos7(hair,-80); |
| 22948 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 22949 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 22950 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22951 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 22952 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 22953 |
z8=bsktouch(p0,down,p1,up); |
| 22954 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22955 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22956 |
filldraw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22957 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22958 |
..cycle; |
| 22959 |
penlabels(1,2,3,4,5,6,7); |
| 22960 |
endchar; |
| 22961 |
|
| 22962 |
iff known chars.math_curly_brace_right_Big: |
| 22963 |
bskchar "\Big right curly brace"; |
| 22964 |
beginchar(chars.math_curly_brace_right_Big,9u#, rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 22965 |
adjust_fit(0,0); |
| 22966 |
pickup tiny.nib; |
| 22967 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22968 |
pos1(hair,100); pos2(.45[stem,hair],45); pos3(1.05bourstem,-10); pos4(.25[hair,stem],90); |
| 22969 |
pos5(1.05bourstem,10); pos6(.45[stem,hair],-45); pos7(hair,-80); |
| 22970 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 22971 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 22972 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22973 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 22974 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 22975 |
z8=bsktouch(p0,down,p1,up); |
| 22976 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22977 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 22978 |
filldraw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 22979 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 22980 |
..cycle; |
| 22981 |
penlabels(1,2,3,4,5,6,7); |
| 22982 |
endchar; |
| 22983 |
|
| 22984 |
iff known chars.math_curly_brace_right_bigg: |
| 22985 |
bskchar "\bigg right curly brace"; |
| 22986 |
beginchar(chars.math_curly_brace_right_bigg,10u#, rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 22987 |
adjust_fit(0,0); |
| 22988 |
pickup tiny.nib; |
| 22989 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 22990 |
pos1(hair,100); pos2(.4[stem,hair],45); pos3(1.1bourstem,-10); pos4(.5[hair,stem],90); |
| 22991 |
pos5(1.1bourstem,10); pos6(.4[stem,hair],-45); pos7(hair,-80); |
| 22992 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 22993 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 22994 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 22995 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 22996 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 22997 |
z8=bsktouch(p0,down,p1,up); |
| 22998 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 22999 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 23000 |
filldraw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 23001 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 23002 |
..cycle; |
| 23003 |
penlabels(1,2,3,4,5,6,7); |
| 23004 |
endchar; |
| 23005 |
|
| 23006 |
iff known chars.math_curly_brace_right_Bigg: |
| 23007 |
bskchar "\Bigg right curly brace"; |
| 23008 |
beginchar(chars.math_curly_brace_right_Bigg,11u#, rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 23009 |
adjust_fit(0,0); |
| 23010 |
pickup tiny.nib; |
| 23011 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23012 |
pos1(hair,100); pos2(stem,45); pos3(1.5bourstem,-10); pos4(.75[hair,stem],90); |
| 23013 |
pos5(1.5bourstem,10); pos6(stem,-45); pos7(hair,-80); |
| 23014 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 23015 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 23016 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 23017 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 23018 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 23019 |
z8=bsktouch(p0,down,p1,up); |
| 23020 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 23021 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 23022 |
filldraw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 23023 |
..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0 |
| 23024 |
..cycle; |
| 23025 |
penlabels(1,2,3,4,5,6,7); |
| 23026 |
endchar; |
| 23027 |
|
| 23028 |
def brace_ext_right:= |
| 23029 |
numeric H, D; H=0; D=6dh; |
| 23030 |
pos1(hair,100); pos2(stem,45); pos3(1.5bourstem,-10); pos4(.75[hair,stem],90); |
| 23031 |
pos5(1.5bourstem,10); pos6(stem,-45); pos7(hair,-80); |
| 23032 |
y4=.5(H-D)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 23033 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 23034 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-D+hair; .5[y7,y4]=y5; |
| 23035 |
p0=z1r{z2r-z1l}..z2r..z3r..{right}z4r; |
| 23036 |
p1=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 23037 |
p2=z4l{left}..z5r..z6r..{z7l-z6r}z7r; |
| 23038 |
p3=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 23039 |
enddef; |
| 23040 |
|
| 23041 |
iff known chars.math_curly_brace_right_top: |
| 23042 |
bskchar "Extensible right curly brace---top"; |
| 23043 |
beginchar(chars.math_curly_brace_right_top,11.5u#, 0,2.1dh#); uni "non"; |
| 23044 |
adjust_fit(0,0); |
| 23045 |
pickup tiny.nib; |
| 23046 |
path p[]; numeric tim[]; |
| 23047 |
brace_ext_right; |
| 23048 |
tim100=directiontime up of p1; |
| 23049 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (w,0)))); |
| 23050 |
filldraw subpath (0,tim101) of p0--subpath(tim100,infinity) of p1..cycle; |
| 23051 |
penlabels(1,2,3,4,5,6,7); |
| 23052 |
endchar; |
| 23053 |
|
| 23054 |
iff known chars.math_curly_brace_right_bot: |
| 23055 |
bskchar "Extensible right curly brace---bottom"; |
| 23056 |
beginchar(chars.math_curly_brace_right_bot,11.5u#, 0,2.1dh#); uni "non"; |
| 23057 |
adjust_fit(0,0); |
| 23058 |
pickup tiny.nib; |
| 23059 |
path p[]; numeric tim[]; |
| 23060 |
brace_ext_right; |
| 23061 |
tim100-2=directiontime up of subpath (2,infinity) of p3; |
| 23062 |
tim101=xpart(p2 intersectiontimes (point tim100 of p3 --(point tim100 of p3 shifted (w,0)))); |
| 23063 |
filldraw (subpath (tim101,infinity) of p2..subpath(0,tim100) of p3--cycle) |
| 23064 |
shifted (0,-ypart(point tim101 of p2)); |
| 23065 |
penlabels(1,2,3,4,5,6,7); |
| 23066 |
endchar; |
| 23067 |
|
| 23068 |
iff known chars.math_curly_brace_right_mid: |
| 23069 |
bskchar "Extensible right curly brace---middle"; |
| 23070 |
beginchar(chars.math_curly_brace_right_mid,11.5u#, 0,1.8dh#); uni "non"; |
| 23071 |
adjust_fit(0,0); |
| 23072 |
pickup tiny.nib; |
| 23073 |
path p[]; numeric tim[], oblu; oblu:=1.5curve; |
| 23074 |
brace_ext_right; |
| 23075 |
z8=bsktouch(p1,down,p3,up); |
| 23076 |
tim0=xpart(p1 intersectiontimes (z8--(x8,y3))); |
| 23077 |
tim1=xpart(p3 intersectiontimes (z8--(x8,y5))); |
| 23078 |
tim100=directiontime up of p1; |
| 23079 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (w,0)))); |
| 23080 |
tim102-2=directiontime up of subpath (2,infinity) of p3; |
| 23081 |
tim103=xpart(p2 intersectiontimes (point tim102 of p3 --(point tim102 of p3 shifted (w,0)))); |
| 23082 |
filldraw (subpath(tim101, infinity) of p0..subpath(0,tim103) of p2 |
| 23083 |
--subpath(tim102,rundy(p3,tim1).zpet) of p3 |
| 23084 |
..subpath(rundy(p1,tim0),tim100) of p1--cycle) shifted (0,-ypart(point tim101 of p0)); |
| 23085 |
penlabels(1,2,3,4,5,6,7); |
| 23086 |
endchar; |
| 23087 |
|
| 23088 |
iff known chars.math_curly_brace_right_ext: |
| 23089 |
bskchar "Extensible right curly brace---extension module"; |
| 23090 |
beginchar(chars.math_curly_brace_right_ext,11.5u#, 0,.5dh#); uni "non"; |
| 23091 |
adjust_fit(0,0); |
| 23092 |
pickup tiny.nib; |
| 23093 |
path p[]; numeric tim[]; |
| 23094 |
brace_ext_right; |
| 23095 |
tim100=directiontime up of p1; |
| 23096 |
tim101=xpart(p0 intersectiontimes (point tim100 of p1 --(point tim100 of p1 shifted (w,0)))); |
| 23097 |
tim0=xpart(point tim100 of p1); tim1=xpart(point tim101 of p0); |
| 23098 |
filldraw (tim0,h)--(tim0,-d)--(tim1,-d)--(tim1,h)--cycle; |
| 23099 |
penlabels(1,2,3,4,5,6,7); |
| 23100 |
endchar; |
| 23101 |
|
| 23102 |
iff known chars.math_curly_brace_white_right: |
| 23103 |
bskchar "Right white curly brace"; |
| 23104 |
beginchar(chars.math_curly_brace_white_right,7u#, body_height#,paren_depth#); uni "0x2984"; |
| 23105 |
adjust_fit(0,0); |
| 23106 |
pickup tiny.nib; |
| 23107 |
path p[]; numeric tim[]; |
| 23108 |
pos1(hair,100); pos2(.5[stem,hair],45); pos3(bourstem,-10); pos4(hair,90); |
| 23109 |
pos5(bourstem,10); pos6(.5[stem,hair],-45); pos7(hair,-80); |
| 23110 |
y4=.5(h-d)-o; rt x4=w-u; lft x1r=u; top y1r=y2r; .5[y4,y1]=y3; |
| 23111 |
top y2r=h-hair; x3l=x1+stem; x2r=x3r; |
| 23112 |
x5=x3; x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=y5; |
| 23113 |
p0=z4l{left}..z3l..z2l..{z1l-z2r}z1l; |
| 23114 |
p1=z7l{z6r-z7l}..z6l..z5l..{right}z4r; |
| 23115 |
p2=(x1+stem,-d-stem)--(x1+stem,h+stem); |
| 23116 |
(tim0-2,tim2)=subpath(2,infinity) of p0 intersectiontimes p2; |
| 23117 |
(tim1,tim3)=p1 intersectiontimes p2; |
| 23118 |
draw z1r{z2r-z1l}..z2r..z3r..{right}z4r..{left}z4l..z5r..z6r..{z7l-z6r}z7r |
| 23119 |
..subpath(0,rundy(p1,tim1).zpet) of p1 |
| 23120 |
..subpath(rundy(p2,tim3),rundy(p2,tim2).zpet) of p2 |
| 23121 |
..subpath(rundy(p0,tim0),infinity) of p0 |
| 23122 |
..cycle; |
| 23123 |
pos2'(hair,45); pos6'(hair,-45); z2'r=z2r; z6'r=z6r; |
| 23124 |
pos3'(hair,-10); pos5'(hair,10); z3'r=z3r; z5'r=z5r; |
| 23125 |
p3=z4l{left}..z3'l..z2'l..{z1l-z2r}z1l; |
| 23126 |
p4=z7l{z6r-z7l}..z6'l..z5'l..{right}z4r; |
| 23127 |
z8=bsktouch(p3,down,p4,up); |
| 23128 |
tim4=xpart(p3 intersectiontimes (z8--(x8,h))); |
| 23129 |
tim5=xpart(p4 intersectiontimes (z8--(x8,0))); |
| 23130 |
(tim6,tim7)=p3 intersectiontimes p2; |
| 23131 |
(tim8,tim9)=p4 intersectiontimes p2; |
| 23132 |
infill subpath(rundy(p4,tim8),rundy(p4,tim5).zpet) of p4 |
| 23133 |
..subpath(rundy(p3,tim4),rundy(p3,tim6).zpet) of p3 |
| 23134 |
..reverse subpath(rundy(p2,tim9),rundy(p2,tim7).zpet) of p2..cycle; |
| 23135 |
penlabels(1,2,3,4,5,6,7,8); labels(2'r,3'r,5'r,6'r); |
| 23136 |
endchar; |
| 23137 |
|
| 23138 |
iff known chars.math_curly_brace_quill_left: |
| 23139 |
bskchar "Left curly brace with quill"; |
| 23140 |
beginchar(chars.math_curly_brace_quill_left,6u#, body_height#,paren_depth#); uni "non"; |
| 23141 |
adjust_fit(0,0); |
| 23142 |
pickup tiny.nib; |
| 23143 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23144 |
pos1(hair,80); pos2(.5[stem,hair],135); pos3(bourstem,180); pos3'(bourstem,180); |
| 23145 |
pos4(hair,90); pos5(bourstem,180); pos5'(bourstem,180); |
| 23146 |
pos6(.5[stem,hair],225); pos7(hair,-100); |
| 23147 |
y4=.5(h-d)+o; rt x4=w-u; rt x1r=w-u; top y1r=y2r; .5[y4,y1]=.5[y3,y3']; |
| 23148 |
y3-y3'=y5'-y5=.5(y1-y4); |
| 23149 |
top y2r=h-hair; x3l=x2l-.75stem; x2=x1-u; x3=x3'=x5=x5'; |
| 23150 |
x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=.5[y5,y5']; |
| 23151 |
y3r:=y3r+o; y5r:=y5r-o; |
| 23152 |
p0=z1r{z2r-z1l}..z2r{left}..z3r---z3'r..{right}z4r; |
| 23153 |
p1=z4l{left}..z5'r---z5r..z6r{right}..{z7l-z6r}z7r; |
| 23154 |
z8=bsktouch(p0,down,p1,up); |
| 23155 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 23156 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 23157 |
filldraw z7l{z6r-z7l}..z6l..z5l---z5'l..{right}z4l..z4r{left}..z3'l---z3l..z2l..{z1l-z2r}z1l |
| 23158 |
..subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p1,tim1),infinity) of p1 |
| 23159 |
..cycle; |
| 23160 |
penlabels(1,2,3,3',4,5,5',6,7); |
| 23161 |
endchar; |
| 23162 |
|
| 23163 |
iff known chars.math_curly_brace_quill_right: |
| 23164 |
bskchar "Right curly brace with quill"; |
| 23165 |
beginchar(chars.math_curly_brace_quill_right,6u#, body_height#,paren_depth#); uni "non"; |
| 23166 |
adjust_fit(0,0); |
| 23167 |
pickup tiny.nib; |
| 23168 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23169 |
pos1(hair,80); pos2(.5[stem,hair],45); pos3(bourstem,0); pos3'(bourstem,0); |
| 23170 |
pos4(hair,90); pos5(bourstem,0); pos5'(bourstem,0); |
| 23171 |
pos6(.5[stem,hair],315); pos7(hair,-100); |
| 23172 |
y4=.5(h-d)+o; lft x4=u; lft x1r=u; top y1r=y2r; .5[y4,y1]=.5[y3,y3']; |
| 23173 |
y3-y3'=y5'-y5=.5(y1-y4); |
| 23174 |
top y2r=h-hair; x3l=x2l+.75stem; x2=x1+u; x3=x3'=x5=x5'; |
| 23175 |
x2=x6; x1=x7; y7-y6=y2-y1; bot y6l=-d+hair; .5[y7,y4]=.5[y5,y5']; |
| 23176 |
y3r:=y3r+o; y5r:=y5r-o; |
| 23177 |
p0=z1r{z2r-z1l}..z2r{right}..z3r---z3'r..{left}z4r; |
| 23178 |
p1=z4l{right}..z5'r---z5r..z6r{left}..{z7l-z6r}z7r; |
| 23179 |
z8=bsktouch(p0,down,p1,up); |
| 23180 |
tim0=xpart(p0 intersectiontimes (z8--(x8,y3))); |
| 23181 |
tim1=xpart(p1 intersectiontimes (z8--(x8,y5))); |
| 23182 |
filldraw z7l{z6r-z7l}..z6l..z5l---z5'l..{left}z4l..z4r{right}..z3'l---z3l..z2l..{z1l-z2r}z1l |
| 23183 |
..subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p1,tim1),infinity) of p1 |
| 23184 |
..cycle; |
| 23185 |
penlabels(1,2,3,3',4,5,5',6,7); |
| 23186 |
endchar; |
| 23187 |
|
| 23188 |
iff known chars.sign_paragraph: |
| 23189 |
bskchar "Paragraph sign"; |
| 23190 |
beginchar(chars.sign_paragraph,11u#,cap_height#,0); uni "0x00B6"; |
| 23191 |
adjust_fit(0,cap_serif_fit#); |
| 23192 |
pickup tiny.nib; |
| 23193 |
oblu:=2oblu; |
| 23194 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23195 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23196 |
pos5(.75ser_height,90); pos6(cap_hair,90); pos7(cap_curve,180); |
| 23197 |
pos8(cap_hair,270); pos9(.8ser_height,270); |
| 23198 |
bot y1=bot y3=0; top y2=top y4=top y6r=h; |
| 23199 |
rt x1r= rt x2r= w-2u; x3=x4=x2-3rule_thickness; |
| 23200 |
x5=x9=x3l; y8r=y9r; y8=bar_height; lft x7r=u; y7=.5[y8,y6]; x8=x6; |
| 23201 |
x6=.5[x7l,x3l]; z4'l=z4r; y2l:=y4'r; y5r=y4r-serif_o; |
| 23202 |
cap_serifs_tr(2r); cap_serifs_br(1r); cap_serifs_bl(3l); |
| 23203 |
filldraw z1l---z1r.a..z1r.c{left}..z1r.b---z2r.b..{right}z2r.c..z2r.a{left} |
| 23204 |
...z6r{left}..z7r..z8r--- |
| 23205 |
if not testdpi:tobl(9r,8r,3l) else:z9r fi ---z3l.b..{left}z3l.c..z3l.a---z3r |
| 23206 |
---obl(4'r,3r,2l)..z2l+oblu*down---cycle; |
| 23207 |
penlabels(1,2,3,4,4',5,6,7,8,9); |
| 23208 |
endchar; |
| 23209 |
|
| 23210 |
iff known chars.sign_paragraph_empty: |
| 23211 |
bskchar "Paragraph sign (alternative)"; |
| 23212 |
beginchar(chars.sign_paragraph_empty,11u#,cap_height#,0); uni "non"; |
| 23213 |
adjust_fit(0,cap_serif_fit#); |
| 23214 |
pickup tiny.nib; |
| 23215 |
oblu:=2oblu; |
| 23216 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23217 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23218 |
pos5(.75ser_height,90); pos6(cap_hair,90); pos7(cap_curve,180); |
| 23219 |
pos8(cap_hair,270); pos9(.8ser_height,270); |
| 23220 |
bot y1=bot y3=0; top y2=top y4=top y6r=h; |
| 23221 |
rt x1r= rt x2r= w-2u; x3=x4=x2-3rule_thickness; |
| 23222 |
x5=x9=x3l; y8r=y9r; y8=bar_height; lft x7r=u; y7=.5[y8,y6]; x8=x6; |
| 23223 |
x6=.5[x7l,x3l]; z4'l=z4r; y2l:=y4'r; y5r=y4r-serif_o; |
| 23224 |
cap_serifs_tr(2r); cap_serifs_br(1r); cap_serifs_bl(3l); |
| 23225 |
filldraw z1l---z1r.a..z1r.c{left}..z1r.b---z2r.b..{right}z2r.c..z2r.a{left} |
| 23226 |
...z6r{left}..z7r..z8r--- |
| 23227 |
if not testdpi:obl(9r,8r,3l) else:z9r fi ---z3l.b..{left}z3l.c..z3l.a---z3r |
| 23228 |
---obl(4'r,3r,2l)..z2l+oblu*down---cycle; |
| 23229 |
infill z9l{down}..{left}z8l..z7l..{right}z6l..{down}z5l..cycle; |
| 23230 |
penlabels(1,2,3,4,4',5,6,7,8,9); |
| 23231 |
endchar; |
| 23232 |
|
| 23233 |
iff known chars.sign_paragraph_reversed: |
| 23234 |
bskchar "Reversed paragraph sign"; |
| 23235 |
beginchar(chars.sign_paragraph_reversed,11u#,cap_height#,0); uni "0x204B"; |
| 23236 |
adjust_fit(cap_serif_fit#,0); |
| 23237 |
pickup tiny.nib; |
| 23238 |
oblu:=2oblu; |
| 23239 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23240 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23241 |
pos5(.75ser_height,90); pos6(cap_hair,270); pos7(cap_curve,180); |
| 23242 |
pos8(cap_hair,90); pos9(.8ser_height,90); |
| 23243 |
bot y1=bot y3=0; top y2=top y4=top y6l=h; |
| 23244 |
lft x1l= lft x2l=2u; x3=x4=x2+3rule_thickness; |
| 23245 |
x5=x9=x3r; y8l=y9l; y8=bar_height; rt x7l=w-u; y7=.5[y8,y6]; x8=x6; |
| 23246 |
x6=.5[x7r,x3r]; z4'l=z4l; y2r:=y4'r; y5r=y4r-serif_o; |
| 23247 |
cap_serifs_tl(2l); cap_serifs_bl(1l); cap_serifs_br(3r); |
| 23248 |
filldraw z1r---z1l.a..z1l.c{right}..z1l.b---z2l.b..{left}z2l.c |
| 23249 |
..z2l.a{right}...{right}z6l..z7l..z8l--- |
| 23250 |
if not testdpi:obl(9l,8l,3r) else: z9l fi |
| 23251 |
---z3r.b..{right}z3r.c..z3r.a---z3l---obl(4'l,3l,2r) |
| 23252 |
..z2r+oblu*down---cycle; |
| 23253 |
penlabels(1,2,3,4,4',5,6,7,8,9); |
| 23254 |
endchar; |
| 23255 |
|
| 23256 |
iff known chars.sign_paragraph_reversed_empty: |
| 23257 |
bskchar "Reversed paragraph sign (alternative)"; |
| 23258 |
beginchar(chars.sign_paragraph_reversed_empty,11u#,cap_height#,0); uni "non"; |
| 23259 |
adjust_fit(cap_serif_fit#,0); |
| 23260 |
pickup tiny.nib; |
| 23261 |
oblu:=2oblu; |
| 23262 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23263 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23264 |
pos5(.75ser_height,270); pos6(cap_hair,270); pos7(cap_curve,180); |
| 23265 |
pos8(cap_hair,90); pos9(.8ser_height,90); |
| 23266 |
bot y1=bot y3=0; top y2=top y4=top y6l=h; |
| 23267 |
lft x1l= lft x2l=2u; x3=x4=x2+3rule_thickness; |
| 23268 |
x5=x9=x3r; y8l=y9l; y8=bar_height; rt x7l=w-u; y7=.5[y8,y6]; x8=x6; |
| 23269 |
x6=.5[x7r,x3r]; z4'l=z4l; y2r:=y4'r; y5l=y4l-serif_o; |
| 23270 |
cap_serifs_tl(2l); cap_serifs_bl(1l); cap_serifs_br(3r); |
| 23271 |
filldraw z1r---z1l.a..z1l.c{right}..z1l.b---z2l.b..{left}z2l.c |
| 23272 |
..z2l.a{right}...{right}z6l..z7l..z8l--- |
| 23273 |
if not testdpi:obl(9l,8l,3r) else: z9l fi |
| 23274 |
---z3r.b..{right}z3r.c..z3r.a---z3l---obl(4'l,3l,2r) |
| 23275 |
..z2r+oblu*down---cycle; |
| 23276 |
infill z9r{down}..{right}z8r..z7r..{left}z6r..{down}z5r..cycle; |
| 23277 |
penlabels(1,2,3,4,4',5,6,7,8,9); |
| 23278 |
endchar; |
| 23279 |
|
| 23280 |
iff known chars.sign_paragraph_bullet_left: |
| 23281 |
bskchar "Leftwards paragraph bullet"; |
| 23282 |
beginchar(chars.sign_paragraph_bullet_left,11u#,x_height#,0); uni "0x204C"; |
| 23283 |
adjust_fit(0,0); |
| 23284 |
pickup tiny.nib; |
| 23285 |
oblu:=2oblu; |
| 23286 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23287 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23288 |
pos5(.75ser_height,90); pos6(cap_hair,90); pos7(cap_curve,180); |
| 23289 |
pos8(cap_hair,270); |
| 23290 |
bot y1=bot y3=bot y8r=0; top y2=top y4=top y6r=h; |
| 23291 |
rt x1r= rt x2r= w-2.5u; x3=x4=x2-3rule_thickness; |
| 23292 |
lft x7r=u; y7=.5[y8,y6]; x8=x6; |
| 23293 |
x6=.5[x7l,x4l]; z4'l=z4r; y2l:=y4'r; y5r=y4r-serif_o; |
| 23294 |
cap_serifs_tr(2r); cap_serifs_br(1r); |
| 23295 |
filldraw z1l---z1r.a..z1r.c{left}..z1r.b---z2r.b..{right}z2r.c..z2r.a{left} |
| 23296 |
...z6r{left}..z7r..z8r---cycle; |
| 23297 |
infill z4r+oblu*down..z2l+oblu*down---z1l+oblu*up..z3r+oblu*up---cycle; |
| 23298 |
penlabels(1,2,3,4,4',5,6,7,8); |
| 23299 |
endchar; |
| 23300 |
|
| 23301 |
iff known chars.sign_paragraph_bullet_right: |
| 23302 |
bskchar "Rightward paragraph bullet"; |
| 23303 |
beginchar(chars.sign_paragraph_bullet_right,11u#,x_height#,0); uni "0x204D"; |
| 23304 |
adjust_fit(0,0); |
| 23305 |
pickup tiny.nib; |
| 23306 |
oblu:=2oblu; |
| 23307 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23308 |
pos3(rule_thickness,0); pos4(rule_thickness,0); pos4'(rule_thickness,270); |
| 23309 |
pos5(.75ser_height,90); pos6(cap_hair,270); pos7(cap_curve,180); |
| 23310 |
pos8(cap_hair,90); |
| 23311 |
bot y1=bot y3=bot y8l=0; top y2=top y4=top y6l=h; |
| 23312 |
lft x1l= lft x2l=2.5u; x3=x4=x2+3rule_thickness; |
| 23313 |
x5=x3r; rt x7l=w-u; y7=.5[y8,y6]; x8=x6; |
| 23314 |
x6=.5[x7r,x3r]; z4'l=z4l; y2r:=y4'r; y5r=y4r-serif_o; |
| 23315 |
cap_serifs_tl(2l); cap_serifs_bl(1l); cap_serifs_br(3r); |
| 23316 |
filldraw z1r---z1l.a..z1l.c{right}..z1l.b---z2l.b..{left}z2l.c |
| 23317 |
..z2l.a{right}...{right}z6l..z7l..z8l---cycle; |
| 23318 |
infill z4l+oblu*down..z2r+oblu*down---z1r+oblu*up..z3l+oblu*up---cycle; |
| 23319 |
penlabels(1,2,3,4,4',5,6,7,89); |
| 23320 |
endchar; |
| 23321 |
|
| 23322 |
iff known chars.sign_pilcrow: |
| 23323 |
bskchar "Pilcrow sign"; |
| 23324 |
beginchar(chars.sign_pilcrow,8u#,cap_height#,0); uni "non"; |
| 23325 |
adjust_fit(0,cap_serif_fit#); |
| 23326 |
pickup tiny.nib; |
| 23327 |
oblu:=2oblu; |
| 23328 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23329 |
pos3(cap_hair,90); pos4(cap_curve,180); |
| 23330 |
pos5(cap_hair,270); pos6(.8ser_height,270); |
| 23331 |
bot y1=0; top y2=top y3r=h; |
| 23332 |
rt x1r= rt x2r= w-2u; |
| 23333 |
x6=x1l; y5r=y6r; y5=bar_height; lft x4r=u; y4=.5[y5,y3]; x5=x3; |
| 23334 |
x3=.5[x4l,x1l]; |
| 23335 |
cap_serifs_tr(2r); cap_serifs_br(1r); cap_serifs_bl(1l); |
| 23336 |
filldraw z1l---z1r.a..z1r.c{left}..z1r.b---z2r.b..{right}z2r.c..z2r.a{left} |
| 23337 |
...z3r{left}..z4r..z5r---obl(6r,5r,1l)---z1l.b..{left}z1l.c..z1l.a---cycle; |
| 23338 |
penlabels(1,2,3,4,5,6); |
| 23339 |
endchar; |
| 23340 |
|
| 23341 |
iff known chars.sign_pilcrow_empty: |
| 23342 |
bskchar "Pilcrow sign (alternative)"; |
| 23343 |
beginchar(chars.sign_pilcrow_empty,8u#,cap_height#,0); uni "non"; |
| 23344 |
adjust_fit(0,cap_serif_fit#); |
| 23345 |
pickup tiny.nib; |
| 23346 |
oblu:=2oblu; |
| 23347 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 23348 |
pos3(cap_hair,90); pos4(cap_curve,180); |
| 23349 |
pos5(cap_hair,270); pos6(.8ser_height,270); |
| 23350 |
bot y1=0; top y2=top y3r=h; |
| 23351 |
rt x1r= rt x2r= w-2u; |
| 23352 |
x6=x1l; y5r=y6r; y5=bar_height; lft x4r=u; y4=.5[y5,y3]; x5=x3; |
| 23353 |
x3=.5[x4l,x1l]; y2l:=y2l-.75ser_height; |
| 23354 |
cap_serifs_tr(2r); cap_serifs_br(1r); cap_serifs_bl(1l); |
| 23355 |
filldraw z1l---z1r.a..z1r.c{left}..z1r.b---z2r.b..{right}z2r.c..z2r.a{left} |
| 23356 |
...z3r{left}..z4r..z5r---obl(6r,5r,1l)---z1l.b..{left}z1l.c..z1l.a---cycle; |
| 23357 |
infill z6l{down}..{left}z5l..z4l..{right}z3l..{down}z2l..cycle; |
| 23358 |
penlabels(1,2,3,4,5,6); |
| 23359 |
endchar; |
| 23360 |
|
| 23361 |
iff known chars.sign_diamond_suit: |
| 23362 |
bskchar "Diamond suit"; |
| 23363 |
beginchar(chars.sign_diamond_suit,13u#, asc_height#,0); uni "0x2662"; |
| 23364 |
adjust_fit(0,0); |
| 23365 |
pickup tiny.nib; |
| 23366 |
string tx; path p[]; numeric tim[]; |
| 23367 |
pos1(rule_thickness,-90); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,180); |
| 23368 |
x1=x3=.5w; lft x2l=u; x4l=w-x2l; top y1l=h+apex_o; bot y3l=-d-apex_o; .5[y1,y3]=y2=y4; z0=(x1,y2); |
| 23369 |
for i=1 upto 4: |
| 23370 |
z[i+100]=.5[z[i],z[i mod 4 +1]]+.5u*unitvector(z0-.5[z[i],z[i mod 4 +1]]); |
| 23371 |
tx:="pos"&decimal (100+i)&"(rule_thickness,"&decimal (90*i-135)&")";scantokens tx; |
| 23372 |
endfor; |
| 23373 |
filldraw lft z1l..z101l..top z2l&top z2l{left}..bot z2l&bot z2l..z102l..lft z3l&lft z3l{down}..rt z3l& |
| 23374 |
rt z3l..z103l..bot z4l&bot z4l{right}..top z4l&top z4l..z104l..rt z1l&rt z1l{up}..lft z1l&cycle; |
| 23375 |
p1=lft z1r..z101r..top z2r; |
| 23376 |
p2=bot z2r..z102r..lft z3r; |
| 23377 |
p3=rt z3r..z103r..bot z4r; |
| 23378 |
p4=top z4r..z104r..rt z1r; |
| 23379 |
tim0=xpart(p1 intersectiontimes ((0,y1r-2oblu)--(w,y1r-2oblu))); |
| 23380 |
tim1=xpart(p1 intersectiontimes ((x2r+oblu,0)--(x2r+oblu,h))); |
| 23381 |
tim2=xpart(p2 intersectiontimes ((x2r+oblu,0)--(x2r+oblu,h))); |
| 23382 |
tim3=xpart(p2 intersectiontimes ((0,y3r+2oblu)--(w,y3r+2oblu))); |
| 23383 |
tim4=xpart(p3 intersectiontimes ((0,y3r+2oblu)--(w,y3r+2oblu))); |
| 23384 |
tim5=xpart(p3 intersectiontimes ((x4r-oblu,0)--(x4r-oblu,h))); |
| 23385 |
tim6=xpart(p4 intersectiontimes ((x4r-oblu,0)--(x4r-oblu,h))); |
| 23386 |
tim7=xpart(p4 intersectiontimes ((0,y1r-2oblu)--(w,y1r-2oblu))); |
| 23387 |
infill subpath(tim0,tim1) of p1..subpath(tim2,tim3) of p2 |
| 23388 |
..subpath(tim4,tim5) of p3..subpath(tim6,tim7) of p4..cycle; |
| 23389 |
penlabels(0,1,2,3,4,101,102,103,104); |
| 23390 |
endchar; |
| 23391 |
|
| 23392 |
iff known chars.sign_diamond_suit_black: |
| 23393 |
bskchar "Black diamond suit"; |
| 23394 |
beginchar(chars.sign_diamond_suit_black,13u#, asc_height#,0); uni "0x2666"; |
| 23395 |
adjust_fit(0,0); |
| 23396 |
pickup tiny.nib; |
| 23397 |
string tx; path p[]; numeric tim[]; |
| 23398 |
pos1(rule_thickness,-90); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,180); |
| 23399 |
x1=x3=.5w; lft x2l=u; x4l=w-x2l; top y1l=h+apex_o; bot y3l=-d-apex_o; .5[y1,y3]=y2=y4; z0=(x1,y2); |
| 23400 |
for i=1 upto 4: |
| 23401 |
z[i+100]=.5[z[i],z[i mod 4 +1]]+.5u*unitvector(z0-.5[z[i],z[i mod 4 +1]]); |
| 23402 |
tx:="pos"&decimal (100+i)&"(rule_thickness,"&decimal (90*i-135)&")";scantokens tx; |
| 23403 |
endfor; |
| 23404 |
filldraw lft z1l..z101l..top z2l&top z2l{left}..bot z2l&bot z2l..z102l..lft z3l&lft z3l{down}..rt z3l& |
| 23405 |
rt z3l..z103l..bot z4l&bot z4l{right}..top z4l&top z4l..z104l..rt z1l&rt z1l{up}..lft z1l&cycle; |
| 23406 |
penlabels(0,1,2,3,4,101,102,103,104); |
| 23407 |
endchar; |
| 23408 |
|
| 23409 |
iff known chars.sign_heart_suit: |
| 23410 |
bskchar "Heart suit"; |
| 23411 |
beginchar(chars.sign_heart_suit,13u#, asc_height#,0); uni "0x2661"; |
| 23412 |
adjust_fit(0,0); |
| 23413 |
pickup tiny.nib; |
| 23414 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23415 |
pos1(rule_thickness,0); pos2(rule_thickness,270); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 23416 |
pos5(rule_thickness,180); pos6(rule_thickness,270); |
| 23417 |
x1=x4+o=.5w=.5[x6,x2]=.5[x5,x3]; y4l=-d; |
| 23418 |
lft x3l=u; y3=y5=x_height; top y2l=top y6l=h; |
| 23419 |
x1-x2=(x2-x3); y1l=.5[x_height,h]; |
| 23420 |
p1=z1l..z2l..z3l..{down}z4l; |
| 23421 |
p2=z4r{up}..z5l..z6l..z1r; |
| 23422 |
p3=z1l+tiny*left..z2r..z3r..{down}z4; |
| 23423 |
p4=z4{up}..z5r..z6r..z1r+tiny*right; |
| 23424 |
tim1=xpart(p1 intersectiontimes ((x1,y1+oblu)--(0,y1+oblu))); |
| 23425 |
tim2=xpart(p2 intersectiontimes ((x1,y1+oblu)--(x6,y1+oblu))); |
| 23426 |
filldraw subpath (tim1,infinity) of p1..subpath(0,tim2) of p2..cycle; |
| 23427 |
oblu:=2oblu; |
| 23428 |
tim3=xpart(p3 intersectiontimes ((w,y4+oblu)--(0,y4+oblu))); |
| 23429 |
tim4=xpart(p4 intersectiontimes ((w,y4+oblu)--(0,y4+oblu))); |
| 23430 |
infill subpath(0,tim3) of p3..subpath(tim4,infinity) of p4..cycle; |
| 23431 |
penlabels(1,2,3,4,5,6); |
| 23432 |
endchar; |
| 23433 |
|
| 23434 |
iff known chars.sign_heart_suit_black: |
| 23435 |
bskchar "Black heart suit"; |
| 23436 |
beginchar(chars.sign_heart_suit_black,13u#, asc_height#,0); uni "0x2665"; |
| 23437 |
adjust_fit(0,0); |
| 23438 |
pickup tiny.nib; |
| 23439 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23440 |
pos1(rule_thickness,0); pos2(rule_thickness,270); pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 23441 |
pos5(rule_thickness,180); pos6(rule_thickness,270); |
| 23442 |
x1=x4+o=.5w=.5[x6,x2]=.5[x5,x3]; y4l=-d; |
| 23443 |
lft x3l=u; y3=y5=x_height; top y2l=top y6l=h; |
| 23444 |
x1-x2=(x2-x3); y1l=.5[x_height,h]; |
| 23445 |
p1=z1l..z2l..z3l..{down}z4l; |
| 23446 |
p2=z4r{up}..z5l..z6l..z1r; |
| 23447 |
p3=z1l+tiny*left..z2r..z3r..{down}z4; |
| 23448 |
p4=z4{up}..z5r..z6r..z1r+tiny*right; |
| 23449 |
tim1=xpart(p1 intersectiontimes ((x1,y1+oblu)--(0,y1+oblu))); |
| 23450 |
tim2=xpart(p2 intersectiontimes ((x1,y1+oblu)--(x6,y1+oblu))); |
| 23451 |
filldraw subpath (tim1,infinity) of p1..subpath(0,tim2) of p2..cycle; |
| 23452 |
penlabels(1,2,3,4,5,6); |
| 23453 |
endchar; |
| 23454 |
|
| 23455 |
iff known chars.sign_spade_suit: |
| 23456 |
bskchar "Spade suit"; |
| 23457 |
beginchar(chars.sign_spade_suit,13u#, asc_height#,0); uni "0x2660"; |
| 23458 |
adjust_fit(0,0); |
| 23459 |
pickup tiny.nib; |
| 23460 |
path p[]; numeric tim[]; oblu:=4oblu; |
| 23461 |
pos1(rule_thickness,0); pos4(rule_thickness,0); |
| 23462 |
pos7(cap_curve,0); |
| 23463 |
x1=x4=x7=.5w=.5[x6,x2]=.5[x5,x3]; y4=h; |
| 23464 |
lft x3=u; y3=y5=bar_height; bot y2=bot y6=curve; |
| 23465 |
x1-x2=(x2-x3); y1=h-.25[x_height,h]; |
| 23466 |
y7=-hair; |
| 23467 |
p1=z1l..z2..z3..{up}z4l; |
| 23468 |
p2=z4r{down}..z5..z6..z1r; |
| 23469 |
p3=z7l--z1l; |
| 23470 |
p4=z1r--z7r; |
| 23471 |
tim1=xpart(p1 intersectiontimes ((x1-.5(stem-currentbreadth),0)--(x1-.5(stem-currentbreadth),h))); |
| 23472 |
tim2=xpart(p2 intersectiontimes ((x1+.5(stem-currentbreadth),0)--(x1+.5(stem-currentbreadth),y5))); |
| 23473 |
z100=(0,ypart(point tim1 of p1)); |
| 23474 |
tim3=xpart(p3 intersectiontimes (z100--(w,y100))); |
| 23475 |
tim4=xpart(p4 intersectiontimes (z100--(w,y100))); |
| 23476 |
filldraw subpath(0,rundy(p3,tim3).zpet) of p3..subpath (rundy(p1,tim1),infinity) of p1 |
| 23477 |
..subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p4,tim4),infinity) of p4..cycle; |
| 23478 |
penlabels(1,4,7); labels(2,3,5,6); |
| 23479 |
endchar; |
| 23480 |
|
| 23481 |
iff known chars.sign_spade_suit_white: |
| 23482 |
bskchar "White spade suit"; |
| 23483 |
beginchar(chars.sign_spade_suit_white,13u#, asc_height#,0); uni "0x2664"; |
| 23484 |
adjust_fit(0,0); |
| 23485 |
pickup tiny.nib; |
| 23486 |
path p[]; numeric tim[], shift; oblu:=4oblu; shift:=rule_thickness-currentbreadth; |
| 23487 |
pos1(rule_thickness,0); pos4(rule_thickness,0); |
| 23488 |
pos7(cap_curve,0); |
| 23489 |
x1=x4=x7=.5w=.5[x6r,x2r]=.5[x5r,x3r]; y4=h; |
| 23490 |
lft x3r=u; y3r=y5r=bar_height; bot y2r=bot y6r=curve; |
| 23491 |
x1-x2r=(x2r-x3r); y1=h-.25[x_height,h]; |
| 23492 |
y7=-hair; |
| 23493 |
p1=z1l..z2r..z3r..{up}z4l; |
| 23494 |
p2=z4r{down}..z5r..z6r..z1r; |
| 23495 |
p3=z7l--z1l; |
| 23496 |
p4=z1r--z7r; |
| 23497 |
tim1=xpart(p1 intersectiontimes ((x1-.5(stem-currentbreadth),0)--(x1-.5(stem-currentbreadth),h))); |
| 23498 |
tim2=xpart(p2 intersectiontimes ((x1+.5(stem-currentbreadth),0)--(x1+.5(stem-currentbreadth),y5r))); |
| 23499 |
z100=(0,ypart(point tim1 of p1)); |
| 23500 |
tim3=xpart(p3 intersectiontimes (z100--(w,y100))); |
| 23501 |
tim4=xpart(p4 intersectiontimes (z100--(w,y100))); |
| 23502 |
p5=subpath(0,rundy(p3,tim3).zpet) of p3..subpath (rundy(p1,tim1),infinity) of p1; |
| 23503 |
p6=subpath(0,rundy(p2,tim2).zpet) of p2..subpath(rundy(p4,tim4),infinity) of p4; |
| 23504 |
pos2(rule_thickness,angle(direction 1 of p1)+90); pos3(rule_thickness,angle(direction 2 of p1)+90); |
| 23505 |
pos5(rule_thickness,angle(direction 1 of p2)+90); pos6(rule_thickness,angle(direction 2 of p2)+90); |
| 23506 |
y4'l=y4'r=y4; x4'l-x4l=x4r-x4'r=shift; |
| 23507 |
p7=z1l..z2l..z3l..{up}z4'l; |
| 23508 |
p8=z4'r{down}..z5l..z6l..z1r; |
| 23509 |
z8=bsktouch(subpath(1,infinity) of p7,right,p8,left); |
| 23510 |
tim7=xpart(p7 intersectiontimes (z8--(0,y8))); |
| 23511 |
tim8=xpart(p8 intersectiontimes (z8--(w,y8))); |
| 23512 |
filldraw p5..p6..cycle; |
| 23513 |
infill subpath(0,rundy(p7,(tim7,2f_obl)).zpet) of p7..subpath(rundy(p8,(tim8,2f_obl)),infinity) of p8..cycle; |
| 23514 |
penlabels(1,2,3,4,5,6,7); |
| 23515 |
endchar; |
| 23516 |
|
| 23517 |
iff known chars.sign_club_suit: |
| 23518 |
bskchar "Club suit"; |
| 23519 |
beginchar(chars.sign_club_suit,13u#, asc_height#,0); uni "0x2663"; |
| 23520 |
adjust_fit(0,0); |
| 23521 |
pickup tiny.nib; |
| 23522 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 23523 |
pos5(rule_thickness,0); pos5'(cap_curve,0); |
| 23524 |
top z1=(.5w,h); lft x2=u; rt x3=w-u; y2=y3=bar_height; |
| 23525 |
.5[x4,x6]=x1=x5=x5'; y4=y6=curve; y5=.45[y2,y4]; z4=whatever[(x2,0),z3]; y5'=-hair; |
| 23526 |
z7=.5[z1,z3]+.5(y5-y4)*unitvector((z1-z3)rotated 90); |
| 23527 |
z8=.5[z1,z2]+.5(y5-y4)*unitvector((z1-z2)rotated -90); |
| 23528 |
y7'=.5[y7,y1]; x7'=1/3[x7,x3]; |
| 23529 |
y8'=.5[y8,y1]; x8'=1/3[x8,x2]; |
| 23530 |
p0=z2{down}..z4..z5..z6..{up}z3.. {z2-z7}.5[z3,z7]..z7..z7'..{left}z1 |
| 23531 |
..z8'..z8..{z8-z3}.5[z8,z2]..{down}z2; |
| 23532 |
p1=z5l--z5'l; p2=z5'r--z5r; |
| 23533 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 23534 |
(tim2,tim3)=p2 intersectiontimes p0; |
| 23535 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p1,tim1),infinity) of p1 |
| 23536 |
..subpath(0,rundy(p0,tim2).zpet) of p2..subpath(rundy(p0,tim3),infinity) of p0 |
| 23537 |
&cycle; |
| 23538 |
labels(1,2,3,4,6,7,7',8,8'); penlabels(5,5'); |
| 23539 |
endchar; |
| 23540 |
|
| 23541 |
iff known chars.sign_club_suit_white: |
| 23542 |
bskchar "White club suit"; |
| 23543 |
beginchar(chars.sign_club_suit_white,13u#, asc_height#,0); uni "0x2667"; |
| 23544 |
adjust_fit(0,0); |
| 23545 |
pickup tiny.nib; |
| 23546 |
save spd; vardef spd(expr tim, pp):= shift*unitvector((direction tim of pp) rotated 90) enddef; |
| 23547 |
path p[]; numeric tim[], shift; oblu:=2oblu; shift:=rule_thickness-currentbreadth; |
| 23548 |
pos5(rule_thickness,0); pos5'(cap_curve,0); |
| 23549 |
top z1=(.5w,h); lft x2=u; rt x3=w-u; y2=y3=bar_height; |
| 23550 |
.5[x4,x6]=x1=x5=x5'; y4=y6=curve; y5=.45[y2,y4]; z4=whatever[(x2,0),z3]; y5'=-hair; |
| 23551 |
z7=.5[z1,z3]+.5(y5-y4)*unitvector((z1-z3)rotated 90); |
| 23552 |
z8=.5[z1,z2]+.5(y5-y4)*unitvector((z1-z2)rotated -90); |
| 23553 |
y7'=.5[y7,y1]; x7'=1/3[x7,x3]; |
| 23554 |
y8'=.5[y8,y1]; x8'=1/3[x8,x2]; |
| 23555 |
p0=z2{down}..z4..z5..z6..{up}z3.. {z2-z7}.5[z3,z7]..z7..z7'..{left}z1 |
| 23556 |
..z8'..z8..{z8-z3}.5[z8,z2]..{down}z2; |
| 23557 |
p1=z5l--z5'l; p2=z5'r--z5r; |
| 23558 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 23559 |
(tim2,tim3)=p2 intersectiontimes p0; |
| 23560 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p1,tim1),infinity) of p1 |
| 23561 |
..subpath(0,rundy(p0,tim2).zpet) of p2..subpath(rundy(p0,tim3),infinity) of p0 |
| 23562 |
&cycle; |
| 23563 |
infill z2+shift*right{down}..z4+spd(1,p0)..z5+spd(2,p0)..z6+spd(3,p0)..z3+shift*left{up}..{z2-z7}.5[z3,z7]+spd(5,p0)..z7+spd(6,p0)..z7'+spd(7,p0)..{left}z1+shift*down..z8'+spd(9,p0)..z8+spd(10,p0)..{z8-z3}.5[z8,z2]+spd(11,p0)..cycle; |
| 23564 |
labels(1,2,3,4,6,7,7',8,8'); penlabels(5,5'); |
| 23565 |
endchar; |
| 23566 |
|
| 23567 |
iff known chars.math_section: |
| 23568 |
bskchar "Section sign"; |
| 23569 |
beginchar(chars.math_section,8u#,asc_height#, .5asc_height#-.75bar_height#-.5cap_hair#-.5o#); uni "0x00A7"; |
| 23570 |
adjust_fit(0,0); |
| 23571 |
pickup tiny.nib; |
| 23572 |
numeric exc; exc=(w-u)/(h-.5bar_height); |
| 23573 |
path p[]; numeric tim[]; oblu:=2.5oblu; |
| 23574 |
pos2(cap_hair,90); pos3(cap_curve,angle((w-u,h-.5bar_height))+180); pos4(cap_hair,90); |
| 23575 |
pos12(cap_hair,90); pos13(cap_curve,angle((w-u,h-.5bar_height))+180); pos14(cap_hair,90); |
| 23576 |
pos5(cap_stem,180); pos6(cap_stem,180); |
| 23577 |
pos15(cap_stem,180); pos16(cap_stem,180); |
| 23578 |
z2-z12=z3-z13=z4-z14=z5-z15=z6-z16=z2r-z3; |
| 23579 |
y5=.5[y2l,y3]+.5like_cap_hair; x3-x5l=.5(y2l-y3l)*exc; |
| 23580 |
y6=.5[y4r,y3]-.5like_cap_hair; rt x6l=w-u; |
| 23581 |
x2=x3=x4=.5w; top y2r=h+o; y4l=.5bar_height; |
| 23582 |
y3=.5[y2r,y4r]+.5cap_hair; |
| 23583 |
pos1(cap_hair,0); x1r=w-x5r; y1=y5-.5cap_hair; |
| 23584 |
pos7(cap_hair,0); x7l=w-x6l; y7=y16+.5cap_hair; |
| 23585 |
p0=z1r{up}..z2r{left}..z5r..z3r..z6r..{left}z4r; |
| 23586 |
p1=z4l{right}..z6l..z3l..z5l..{right}z2l..{down}z1l; |
| 23587 |
p2=z12r{left}..z15r..z13r..z16r..{left}z14r..{up}z7r; |
| 23588 |
p3=z7l{dir-80}..z14l{right}..z16l..z13l..z15l..{right}z12l; |
| 23589 |
tim1=xpart(p0 intersectiontimes ((.5w,y2-.5cap_hair)--(w,y2-.5cap_hair))); |
| 23590 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 23591 |
tim4=xpart(p3 intersectiontimes ((.5w,y14+cap_hair)--(0,y14+cap_hair))); |
| 23592 |
(tim5,tim6)=p3 intersectiontimes p1; |
| 23593 |
(tim7,tim8)=p0 intersectiontimes p3; |
| 23594 |
(tim9,tim10)=p0 intersectiontimes subpath(0,3.5) of p3; |
| 23595 |
filldraw z1r--(x1r-.5o,h+o){dir-100}..subpath(tim1,rundy(p0,tim2).zpet) of p0 |
| 23596 |
..subpath(rundy(p2,tim3),infinity) of p2..z7l--(x7l+o,bot y14l){dir80} |
| 23597 |
..subpath(tim4,rundy(p3,tim5).zpet) of p3 |
| 23598 |
..subpath(rundy(p1,tim6),infinity) of p1..cycle; |
| 23599 |
oblu:=f_obl; |
| 23600 |
infill subpath(rundy(p0,tim7),rundy(p0,tim9).zpet) of p0 |
| 23601 |
..subpath(rundy(p3,tim10),rundy(p3,tim8).zpet) of p3..cycle; |
| 23602 |
penlabels(0,1,2,3,4,5,6,7,12,13,14,15,16); |
| 23603 |
endchar; |
| 23604 |
|
| 23605 |
iff known chars.math_accent_hat_wide: |
| 23606 |
bskchar "Wide hat accent"; |
| 23607 |
beginchar(chars.math_accent_hat_wide,9u#,.5[asc_height#,body_height#],0); uni "non"; |
| 23608 |
adjust_fit(0,0); |
| 23609 |
pickup tiny.nib; |
| 23610 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23611 |
pos1(hair,-10); pos2(.1[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23612 |
z2'=z2+.25tiny*left; |
| 23613 |
filldraw z3l---obl(2r,3l,1r)---z1r..z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23614 |
penlabels(1,2,2',3); |
| 23615 |
endchar; |
| 23616 |
|
| 23617 |
iff known chars.math_accent_hat_wider: |
| 23618 |
bskchar "Wider hat accent"; |
| 23619 |
beginchar(chars.math_accent_hat_wider,17u#,body_height#,0); uni "non"; |
| 23620 |
adjust_fit(0,0); |
| 23621 |
pickup tiny.nib; |
| 23622 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23623 |
pos1(hair,-10); pos2(.1[stem,hair],270); pos2'(1.75stem,0); pos3(hair,0); |
| 23624 |
z2'=z2+.25tiny*left; |
| 23625 |
filldraw z3l---obl(2r,3l,1r)---z1r..z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23626 |
penlabels(1,2,2',3); |
| 23627 |
endchar; |
| 23628 |
|
| 23629 |
iff known chars.math_accent_hat_widest: |
| 23630 |
bskchar "Widest hat accent"; |
| 23631 |
beginchar(chars.math_accent_hat_widest,25u#,body_height#,0); uni "non"; |
| 23632 |
adjust_fit(0,0); |
| 23633 |
pickup tiny.nib; |
| 23634 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23635 |
pos1(hair,-10); pos2(.1[stem,hair],270); pos2'(1.75stem,0); pos3(hair,0); |
| 23636 |
z2'=z2+.25tiny*left; |
| 23637 |
filldraw z3l---obl(2r,3l,1r)---z1r..z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23638 |
penlabels(1,2,2',3); |
| 23639 |
endchar; |
| 23640 |
|
| 23641 |
iff known chars.math_accent_hat_wide_widest: |
| 23642 |
bskchar "Wide than widest hat accent"; |
| 23643 |
beginchar(chars.math_accent_hat_wide_widest,33u#,body_height#,0); uni "non"; |
| 23644 |
adjust_fit(0,0); |
| 23645 |
pickup tiny.nib; |
| 23646 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23647 |
pos1(hair,-10); pos2(.1[stem,hair],270); pos2'(1.75stem,0); pos3(hair,0); |
| 23648 |
z2'=z2+.25tiny*left; |
| 23649 |
filldraw z3l---obl(2r,3l,1r)---z1r..z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23650 |
penlabels(1,2,2',3); |
| 23651 |
endchar; |
| 23652 |
|
| 23653 |
iff known chars.math_accent_hat_very_wide: |
| 23654 |
bskchar "Very wide hat accent"; |
| 23655 |
beginchar(chars.math_accent_hat_very_wide,41u#,body_height#,0); uni "non"; |
| 23656 |
adjust_fit(0,0); |
| 23657 |
pickup tiny.nib; |
| 23658 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23659 |
pos1(hair,-10); pos2(.1[stem,hair],270); pos2'(1.75stem,0); pos3(hair,0); |
| 23660 |
z2'=z2+.25tiny*left; |
| 23661 |
filldraw z3l---obl(2r,3l,1r)---z1r..z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23662 |
penlabels(1,2,2',3); |
| 23663 |
endchar; |
| 23664 |
|
| 23665 |
iff known chars.math_accent_triangle_wide: |
| 23666 |
bskchar "Wide triangle accent"; |
| 23667 |
beginchar(chars.math_accent_triangle_wide,9u#,body_height#,0); uni "non"; |
| 23668 |
adjust_fit(0,0); |
| 23669 |
pickup tiny.nib; |
| 23670 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23671 |
pos1(hair,-10); pos2(.5[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23672 |
z2'=z2+.25tiny*left; |
| 23673 |
y1'=y3'=y1+hair-currentbreadth; |
| 23674 |
z1'=whatever[z1r,z2r]; z3'=whatever[z2r,z3l]; |
| 23675 |
filldraw z3l--z1r...z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23676 |
oblu.more:=1/5(x3'-x1'); |
| 23677 |
infill obl(3',1',2r).more---obl(2r,3',1')---obl(1',2r,3').more---cycle; |
| 23678 |
penlabels(1,2,2',3); labels(1',3'); |
| 23679 |
endchar; |
| 23680 |
|
| 23681 |
iff known chars.math_accent_triangle_wider: |
| 23682 |
bskchar "Wider triangle accent"; |
| 23683 |
beginchar(chars.math_accent_triangle_wider,17u#,body_height#,0); uni "non"; |
| 23684 |
adjust_fit(0,0); |
| 23685 |
pickup tiny.nib; |
| 23686 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23687 |
pos1(hair,-10); pos2(.5[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23688 |
z2'=z2+.25tiny*left; |
| 23689 |
y1'=y3'=y1+hair-currentbreadth; |
| 23690 |
z1'=whatever[z1r,z2r]; z3'=whatever[z2r,z3l]; |
| 23691 |
filldraw z3l--z1r...z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23692 |
oblu.more:=1/5(x3'-x1'); |
| 23693 |
infill obl(3',1',2r).more---obl(2r,3',1')---obl(1',2r,3').more---cycle; |
| 23694 |
penlabels(1,2,2',3); labels(1',3'); |
| 23695 |
endchar; |
| 23696 |
|
| 23697 |
iff known chars.math_accent_triangle_widest: |
| 23698 |
bskchar "Widest triangle accent"; |
| 23699 |
beginchar(chars.math_accent_triangle_widest,25u#,body_height#,0); uni "non"; |
| 23700 |
adjust_fit(0,0); |
| 23701 |
pickup tiny.nib; |
| 23702 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23703 |
pos1(hair,-10); pos2(.5[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23704 |
z2'=z2+.25tiny*left; |
| 23705 |
y1'=y3'=y1+hair-currentbreadth; |
| 23706 |
z1'=whatever[z1r,z2r]; z3'=whatever[z2r,z3l]; |
| 23707 |
filldraw z3l--z1r...z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23708 |
oblu.more:=1/5(x3'-x1'); |
| 23709 |
infill obl(3',1',2r).more---obl(2r,3',1')---obl(1',2r,3').more---cycle; |
| 23710 |
penlabels(1,2,2',3); labels(1',3'); |
| 23711 |
endchar; |
| 23712 |
|
| 23713 |
iff known chars.math_accent_triangle_wide_widest: |
| 23714 |
bskchar "Wide than widest triangle accent"; |
| 23715 |
beginchar(chars.math_accent_triangle_wide_widest,33u#,body_height#,0); uni "non"; |
| 23716 |
adjust_fit(0,0); |
| 23717 |
pickup tiny.nib; |
| 23718 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23719 |
pos1(hair,-10); pos2(.5[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23720 |
z2'=z2+.25tiny*left; |
| 23721 |
y1'=y3'=y1+hair-currentbreadth; |
| 23722 |
z1'=whatever[z1r,z2r]; z3'=whatever[z2r,z3l]; |
| 23723 |
filldraw z3l--z1r...z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23724 |
oblu.more:=1/5(x3'-x1'); |
| 23725 |
infill obl(3',1',2r).more---obl(2r,3',1')---obl(1',2r,3').more---cycle; |
| 23726 |
penlabels(1,2,2',3); labels(1',3'); |
| 23727 |
endchar; |
| 23728 |
|
| 23729 |
iff known chars.math_accent_triangle_very_wide: |
| 23730 |
bskchar "Very wide triangle accent"; |
| 23731 |
beginchar(chars.math_accent_triangle_very_wide,41u#,body_height#,0); uni "non"; |
| 23732 |
adjust_fit(0,0); |
| 23733 |
pickup tiny.nib; |
| 23734 |
y1=y3; top y2l=h; top y1l=1/2[x_height,top y2]; lft x1=0; rt x3=w; x2=.5[x1,x3]; |
| 23735 |
pos1(hair,-10); pos2(.5[stem,hair],270); pos2'(stem,0); pos3(hair,0); |
| 23736 |
z2'=z2+.25tiny*left; |
| 23737 |
y1'=y3'=y1+hair-currentbreadth; |
| 23738 |
z1'=whatever[z1r,z2r]; z3'=whatever[z2r,z3l]; |
| 23739 |
filldraw z3l--z1r...z1---z2'l..z2l..z2'r---z3r--cycle; |
| 23740 |
oblu.more:=1/5(x3'-x1'); |
| 23741 |
infill obl(3',1',2r).more---obl(2r,3',1')---obl(1',2r,3').more---cycle; |
| 23742 |
penlabels(1,2,2',3); labels(1',3'); |
| 23743 |
endchar; |
| 23744 |
|
| 23745 |
iff known chars.math_accent_tilde_wide: |
| 23746 |
bskchar "Wide tilde accent"; |
| 23747 |
beginchar(chars.math_accent_tilde_wide,9u#,.5[asc_height#,body_height#],0); uni "non"; |
| 23748 |
adjust_fit(0,0); |
| 23749 |
pickup tiny.nib; |
| 23750 |
lft x0=0; y0=.6[x_height,h]; |
| 23751 |
tilde(0,1); |
| 23752 |
endchar; |
| 23753 |
|
| 23754 |
iff known chars.math_accent_tilde_wider: |
| 23755 |
bskchar "Wider tilde accent"; |
| 23756 |
beginchar(chars.math_accent_tilde_wider,17u#,body_height#,0); uni "non"; |
| 23757 |
adjust_fit(0,0); |
| 23758 |
pickup tiny.nib; |
| 23759 |
lft x0=0; y0=.6[x_height,h]; |
| 23760 |
tilde(0,1); |
| 23761 |
endchar; |
| 23762 |
|
| 23763 |
iff known chars.math_accent_tilde_widest: |
| 23764 |
bskchar "Widest tilde accent"; |
| 23765 |
beginchar(chars.math_accent_tilde_widest,25u#,body_height#,0); uni "non"; |
| 23766 |
adjust_fit(0,0); |
| 23767 |
pickup tiny.nib; |
| 23768 |
lft x0=0; y0=.6[x_height,h]; |
| 23769 |
tilde(0,1); |
| 23770 |
endchar; |
| 23771 |
|
| 23772 |
iff known chars.math_accent_tilde_wide_widest: |
| 23773 |
bskchar "Wide than widest tilde accent"; |
| 23774 |
beginchar(chars.math_accent_tilde_wide_widest,33u#,body_height#,0); uni "non"; |
| 23775 |
adjust_fit(0,0); |
| 23776 |
pickup tiny.nib; |
| 23777 |
lft x0=0; y0=.6[x_height,h]; |
| 23778 |
tilde(0,1); |
| 23779 |
endchar; |
| 23780 |
|
| 23781 |
iff known chars.math_accent_tilde_very_wide: |
| 23782 |
bskchar "Very wide tilde accent"; |
| 23783 |
beginchar(chars.math_accent_tilde_very_wide,41u#,body_height#,0); uni "non"; |
| 23784 |
adjust_fit(0,0); |
| 23785 |
pickup tiny.nib; |
| 23786 |
lft x0=0; y0=.6[x_height,h]; |
| 23787 |
tilde(0,1); |
| 23788 |
endchar; |
| 23789 |
|
| 23790 |
iff known chars.math_parent_left_big: |
| 23791 |
bskchar "\big left parenthesis"; |
| 23792 |
beginchar(chars.math_parent_left_big,6u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 23793 |
adjust_fit(0,0); |
| 23794 |
pickup tiny.nib; |
| 23795 |
pos2(bourstem,0); |
| 23796 |
rt x1r=w-u; rt x3r=w-u; lft x2l=u; |
| 23797 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23798 |
pos1(.5[stem,hair], angle((x1r,y1l)-z2)-90); pos3(.5[stem,hair],angle((x3r,y3l)-z2)+90); |
| 23799 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23800 |
penlabels(1,2,3); |
| 23801 |
endchar; |
| 23802 |
|
| 23803 |
iff known chars.math_parent_left_Big: |
| 23804 |
bskchar "\Big left parenthesis"; |
| 23805 |
beginchar(chars.math_parent_left_Big,7u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23806 |
adjust_fit(0,0); |
| 23807 |
pickup tiny.nib; |
| 23808 |
pos2(1.05bourstem,0); |
| 23809 |
rt x1r=w-u; rt x3r=w-u; lft x2l=u; |
| 23810 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23811 |
pos1(.45[stem,hair], angle((x1r,y1l)-z2)-90); pos3(.45[stem,hair],angle((x3r,y3l)-z2)+90); |
| 23812 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23813 |
penlabels(1,2,3); |
| 23814 |
endchar; |
| 23815 |
|
| 23816 |
iff known chars.math_parent_left_bigg: |
| 23817 |
bskchar "\bigg left parenthesis"; |
| 23818 |
beginchar(chars.math_parent_left_bigg,9u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 23819 |
adjust_fit(0,0); |
| 23820 |
pickup tiny.nib; |
| 23821 |
pos2(1.1bourstem,0); |
| 23822 |
rt x1r=w-u; rt x3r=w-u; lft x2l=u; |
| 23823 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23824 |
pos1(.4[stem,hair], angle((x1r,y1l)-z2)-90); pos3(.4[stem,hair],angle((x3r,y3l)-z2)+90); |
| 23825 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23826 |
penlabels(1,2,3); |
| 23827 |
endchar; |
| 23828 |
|
| 23829 |
iff known chars.math_parent_left_Bigg: |
| 23830 |
bskchar "\Bigg left parenthesis"; |
| 23831 |
beginchar(chars.math_parent_left_Bigg,10u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 23832 |
adjust_fit(0,0); |
| 23833 |
pickup tiny.nib; |
| 23834 |
pos2(1.5bourstem,0); |
| 23835 |
rt x1r=w-u; rt x3r=w-u; lft x2l=u; |
| 23836 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23837 |
pos1(stem, angle((x1r,y1l)-z2)-90); pos3(stem,angle((x3r,y3l)-z2)+90); |
| 23838 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23839 |
penlabels(1,2,3); |
| 23840 |
endchar; |
| 23841 |
|
| 23842 |
iff known chars.math_parent_left_top: |
| 23843 |
bskchar "Extensible left parenthesis---top"; |
| 23844 |
beginchar(chars.math_parent_left_top,10.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23845 |
adjust_fit(0,0); |
| 23846 |
pickup tiny.nib; |
| 23847 |
pos2(1.5bourstem,0); |
| 23848 |
rt x1r=w-u; lft x2l=u; |
| 23849 |
bot y2=-d; top y1l=h+apex_o; |
| 23850 |
pos1(stem, angle((x1r,y1l)-z2)-90); |
| 23851 |
filldraw z2r{up}..z1r&z1r{up}..z1l&z1l..{down}z2l--cycle; |
| 23852 |
penlabels(1,2); |
| 23853 |
endchar; |
| 23854 |
|
| 23855 |
iff known chars.math_parent_left_bot: |
| 23856 |
bskchar "Extensible left parenthesis---bot"; |
| 23857 |
beginchar(chars.math_parent_left_bot,10.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23858 |
adjust_fit(0,0); |
| 23859 |
pickup tiny.nib; |
| 23860 |
pos2(1.5bourstem,0); |
| 23861 |
rt x1r=w-u; lft x2l=u; |
| 23862 |
top y2=h; bot y1l=-d-apex_o; |
| 23863 |
pos1(stem,angle((x1r,y1l)-z2)+90); |
| 23864 |
filldraw z1r..{up}z2r--z2l{down}..z1l&z1l..{up}z1r&cycle; |
| 23865 |
penlabels(1,2); |
| 23866 |
endchar; |
| 23867 |
|
| 23868 |
iff known chars.math_parent_left_mid: |
| 23869 |
bskchar "Extensible left parenthesis---mid"; |
| 23870 |
beginchar(chars.math_parent_left_mid,10.5u#,0,dh#); uni "non"; |
| 23871 |
adjust_fit(0,0); |
| 23872 |
pickup tiny.nib; |
| 23873 |
pos1(1.5bourstem,0); pos2(1.5bourstem,0); |
| 23874 |
lft x1l=lft x2l=u; |
| 23875 |
top y1=h; bot y2=-d; |
| 23876 |
filldraw z1l--z2l--z2r--z1r--cycle; |
| 23877 |
penlabels(1,2); |
| 23878 |
endchar; |
| 23879 |
|
| 23880 |
iff known chars.math_parent_right_big: |
| 23881 |
bskchar "\big right parenthesis"; |
| 23882 |
beginchar(chars.math_parent_right_big,6u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 23883 |
adjust_fit(0,0); |
| 23884 |
pickup tiny.nib; |
| 23885 |
pos2(bourstem,180); |
| 23886 |
lft x1r=u; lft x3r=u; rt x2l=w-u; |
| 23887 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23888 |
pos1(.5[stem,hair], angle((x1r,y1l)-z2)+90); pos3(.5[stem,hair],angle((x3r,y3l)-z2)-90); |
| 23889 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23890 |
penlabels(1,2,3); |
| 23891 |
endchar; |
| 23892 |
|
| 23893 |
iff known chars.math_parent_right_Big: |
| 23894 |
bskchar "\Big right parenthesis"; |
| 23895 |
beginchar(chars.math_parent_right_Big,7u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23896 |
adjust_fit(0,0); |
| 23897 |
pickup tiny.nib; |
| 23898 |
pos2(1.05bourstem,180); |
| 23899 |
lft x1r=u; lft x3r=u; rt x2l=w-u; |
| 23900 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23901 |
pos1(.45[stem,hair], angle((x1r,y1l)-z2)+90); pos3(.45[stem,hair],angle((x3r,y3l)-z2)-90); |
| 23902 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23903 |
penlabels(1,2,3); |
| 23904 |
endchar; |
| 23905 |
|
| 23906 |
iff known chars.math_parent_right_bigg: |
| 23907 |
bskchar "\bigg right parenthesis"; |
| 23908 |
beginchar(chars.math_parent_right_bigg,9u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 23909 |
adjust_fit(0,0); |
| 23910 |
pickup tiny.nib; |
| 23911 |
pos2(1.1bourstem,180); |
| 23912 |
lft x1r=u; lft x3r=u; rt x2l=w-u; |
| 23913 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23914 |
pos1(.4[stem,hair], angle((x1r,y1l)-z2)+90); pos3(.4[stem,hair],angle((x3r,y3l)-z2)-90); |
| 23915 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23916 |
penlabels(1,2,3); |
| 23917 |
endchar; |
| 23918 |
|
| 23919 |
iff known chars.math_parent_right_Bigg: |
| 23920 |
bskchar "\Bigg right parenthesis"; |
| 23921 |
beginchar(chars.math_parent_right_Bigg,10u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 23922 |
adjust_fit(0,0); |
| 23923 |
pickup tiny.nib; |
| 23924 |
pos2(1.5bourstem,180); |
| 23925 |
lft x1r=u; lft x3r=u; rt x2l=w-u; |
| 23926 |
y2=.5[y1l,y3l]; top y1l=h+apex_o; bot y3l=-d-apex_o; |
| 23927 |
pos1(stem, angle((x1r,y1l)-z2)+90); pos3(stem,angle((x3r,y3l)-z2)-90); |
| 23928 |
filldraw z3r..z2r{up}..z1r&z1r{up}..z1l&z1l..z2l{down}..z3l&z3l..{up}z3r&cycle; |
| 23929 |
penlabels(1,2,3); |
| 23930 |
endchar; |
| 23931 |
|
| 23932 |
iff known chars.math_parent_right_top: |
| 23933 |
bskchar "Extensible right parenthesis---top"; |
| 23934 |
beginchar(chars.math_parent_right_top,10.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23935 |
adjust_fit(0,0); |
| 23936 |
pickup tiny.nib; |
| 23937 |
pos2(1.5bourstem,180); |
| 23938 |
lft x1r=u; rt x2l=w-u; |
| 23939 |
bot y2=-d; top y1l=h+apex_o; |
| 23940 |
pos1(stem, angle((x1r,y1l)-z2)+90); |
| 23941 |
filldraw z2r{up}..z1r&z1r{up}..z1l&z1l..{down}z2l--cycle; |
| 23942 |
penlabels(1,2,3); |
| 23943 |
endchar; |
| 23944 |
|
| 23945 |
iff known chars.math_parent_right_bot: |
| 23946 |
bskchar "Extensible right parenthesis---bot"; |
| 23947 |
beginchar(chars.math_parent_right_bot,10.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 23948 |
adjust_fit(0,0); |
| 23949 |
pickup tiny.nib; |
| 23950 |
pos2(1.5bourstem,180); |
| 23951 |
lft x1r=u; rt x2l=w-u; |
| 23952 |
top y2=h; bot y1l=-d-apex_o; |
| 23953 |
pos1(stem, angle((x1r,y1l)-z2)-90); |
| 23954 |
filldraw z1r..{up}z2r--z2l{down}..z1l&z1l..{up}z1r&cycle; |
| 23955 |
penlabels(1,2); |
| 23956 |
endchar; |
| 23957 |
|
| 23958 |
iff known chars.math_parent_right_mid: |
| 23959 |
bskchar "Extensible right parenthesis---mid"; |
| 23960 |
beginchar(chars.math_parent_right_mid,10.5u#,0,dh#); uni "non"; |
| 23961 |
adjust_fit(0,0); |
| 23962 |
pickup tiny.nib; |
| 23963 |
pos1(1.5bourstem,0); pos2(1.5bourstem,0); |
| 23964 |
rt x1r=rt x2r=w-u; |
| 23965 |
top y1=h; bot y2=-d; |
| 23966 |
filldraw z1l--z2l--z2r--z1r--cycle; |
| 23967 |
penlabels(1,2); |
| 23968 |
endchar; |
| 23969 |
|
| 23970 |
{{ save arrwidth, arrsize; numeric arrwidth, arrsize; |
| 23971 |
arrwidth=arrsize/1.2=4u; |
| 23972 |
iff known chars.arrow_double_ext_top: |
| 23973 |
bskchar "Extensible double vertical arrow--top"; |
| 23974 |
beginchar(chars.arrow_double_ext_top,10u#,0,dh#); uni "non"; |
| 23975 |
adjust_fit(0,0); |
| 23976 |
pickup tiny.nib; |
| 23977 |
pos1(rule_thickness,180); |
| 23978 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=4rule_thickness; |
| 23979 |
top y0=h+apex_o; bot y1=-d; y2=y3=y1; |
| 23980 |
filldraw dvojsipka(0,1,2,3)..cycle; |
| 23981 |
labels(1rr); |
| 23982 |
endchar; |
| 23983 |
|
| 23984 |
iff known chars.arrow_double_ext_bot: |
| 23985 |
bskchar "Extensible double vertical arrow---bot"; |
| 23986 |
beginchar(chars.arrow_double_ext_bot,10u#,0,dh#); uni "non"; |
| 23987 |
adjust_fit(0,0); |
| 23988 |
pickup tiny.nib; |
| 23989 |
pos1(rule_thickness,0); |
| 23990 |
x0=x1r=.5w=.5[x2,x3]; x3-x2=4rule_thickness; |
| 23991 |
top y0=-d-apex_o; bot y1=h; y2=y3=y1; |
| 23992 |
filldraw dvojsipka(0,1,3,2)..cycle; |
| 23993 |
labels(1rr); |
| 23994 |
endchar; |
| 23995 |
|
| 23996 |
iff known chars.arrow_ext_top: |
| 23997 |
bskchar "Extensible vertical arrow---top"; |
| 23998 |
beginchar(chars.arrow_ext_top,10u#,0,dh#); uni "non"; |
| 23999 |
adjust_fit(0,0); |
| 24000 |
pickup tiny.nib; |
| 24001 |
pos1(rule_thickness,0); |
| 24002 |
x0=x1=.5w; |
| 24003 |
top y0=h+apex_o; bot y1=-d; |
| 24004 |
filldraw sipka_ext(0,1)---z1r..z1l---cycle; |
| 24005 |
endchar; |
| 24006 |
|
| 24007 |
iff known chars.arrow_ext_bot: |
| 24008 |
bskchar "Extensible vertical arrow---bot"; |
| 24009 |
beginchar(chars.arrow_ext_bot,10u#,0,dh#); uni "non"; |
| 24010 |
adjust_fit(0,0); |
| 24011 |
pickup tiny.nib; |
| 24012 |
pos1(rule_thickness,0); |
| 24013 |
x0=x1=.5w; |
| 24014 |
top y0=-d-apex_o; bot y1=h; |
| 24015 |
filldraw sipka_ext(0,1)---z1l..z1r---cycle; |
| 24016 |
endchar; |
| 24017 |
}}; |
| 24018 |
|
| 24019 |
iff known chars.arrow_ext_mid: |
| 24020 |
bskchar "Extensible vertical arrow---middle"; |
| 24021 |
beginchar(chars.arrow_ext_mid,10u#,0,dh#); uni "non"; |
| 24022 |
adjust_fit(0,0); |
| 24023 |
pickup tiny.nib; |
| 24024 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 24025 |
x1=x2=.5w; |
| 24026 |
top y1=h; bot y2=-d; |
| 24027 |
filldraw z1r..z1l---z2l..z2r---cycle; |
| 24028 |
endchar; |
| 24029 |
|
| 24030 |
iff known chars.arrow_double_ext_mid: |
| 24031 |
bskchar "Extensible double vertical arrow---middle"; |
| 24032 |
beginchar(chars.arrow_double_ext_mid,10u#,0,dh#); uni "non"; |
| 24033 |
adjust_fit(0,0); |
| 24034 |
pickup tiny.nib; |
| 24035 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 24036 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 24037 |
x1=x2; x3=x4; .5[x1,x3]=.5w; |
| 24038 |
x3-x2=4rule_thickness; |
| 24039 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 24040 |
filldraw z1r..z1l---z2l..z2r---cycle; |
| 24041 |
filldraw z3r..z3l---z4l..z4r---cycle; |
| 24042 |
endchar; |
| 24043 |
|
| 24044 |
iff known chars.math_vertical_ext: |
| 24045 |
bskchar "Extensible vertical line"; |
| 24046 |
beginchar(chars.math_vertical_ext,6u#,0,dh#); uni "non"; |
| 24047 |
adjust_fit(0,0); |
| 24048 |
pickup tiny.nib; |
| 24049 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 24050 |
x1=x2=.5w; |
| 24051 |
top y1=h; bot y2=-d; |
| 24052 |
filldraw z1r..z1l---z2l..z2r---cycle; |
| 24053 |
endchar; |
| 24054 |
|
| 24055 |
iff known chars.math_double_vertical_ext: |
| 24056 |
bskchar "Extensible double vertical line"; |
| 24057 |
beginchar(chars.math_double_vertical_ext,10u#,0,dh#); uni "non"; |
| 24058 |
adjust_fit(0,0); |
| 24059 |
pickup tiny.nib; |
| 24060 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 24061 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 24062 |
x1=x2; x3=x4; .5[x1,x3]=.5w; |
| 24063 |
x3-x2=4rule_thickness; |
| 24064 |
top y1=top y3=h; bot y2=bot y4=-d; |
| 24065 |
filldraw z1r..z1l---z2l..z2r---cycle; |
| 24066 |
filldraw z3r..z3l---z4l..z4r---cycle; |
| 24067 |
endchar; |
| 24068 |
|
| 24069 |
iff known chars.math_slash_big: |
| 24070 |
bskchar "\big slash"; |
| 24071 |
beginchar(chars.math_slash_big,10u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 24072 |
adjust_fit(0,0); |
| 24073 |
pickup rule.nib; |
| 24074 |
numeric breadth; breadth:=rule_thickness; |
| 24075 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 24076 |
pickup tiny.nib; |
| 24077 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24078 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24079 |
penlabels(1,2); |
| 24080 |
endchar; |
| 24081 |
|
| 24082 |
iff known chars.math_slash_Big: |
| 24083 |
bskchar "\Big slash"; |
| 24084 |
beginchar(chars.math_slash_Big,13u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24085 |
adjust_fit(0,0); |
| 24086 |
pickup rule.nib; |
| 24087 |
numeric breadth; breadth:=1.1rule_thickness; |
| 24088 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 24089 |
pickup tiny.nib; |
| 24090 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24091 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24092 |
penlabels(1,2); |
| 24093 |
endchar; |
| 24094 |
|
| 24095 |
iff known chars.math_slash_bigg: |
| 24096 |
bskchar "\bigg slash"; |
| 24097 |
beginchar(chars.math_slash_bigg,17u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 24098 |
adjust_fit(0,0); |
| 24099 |
pickup rule.nib; |
| 24100 |
numeric breadth; breadth:=1.25rule_thickness; |
| 24101 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 24102 |
pickup tiny.nib; |
| 24103 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24104 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24105 |
penlabels(1,2); |
| 24106 |
endchar; |
| 24107 |
|
| 24108 |
iff known chars.math_slash_Bigg: |
| 24109 |
bskchar "\Bigg slash"; |
| 24110 |
beginchar(chars.math_slash_Bigg,21u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 24111 |
adjust_fit(0,0); |
| 24112 |
pickup rule.nib; |
| 24113 |
numeric breadth; breadth:=1.5rule_thickness; |
| 24114 |
top rt z1=(w-u,h); bot lft z2=(u,-d); |
| 24115 |
pickup tiny.nib; |
| 24116 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24117 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24118 |
penlabels(1,2); |
| 24119 |
endchar; |
| 24120 |
|
| 24121 |
iff known chars.math_backslash_big: |
| 24122 |
bskchar "\big slash"; |
| 24123 |
beginchar(chars.math_backslash_big,10u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 24124 |
adjust_fit(0,0); |
| 24125 |
pickup rule.nib; |
| 24126 |
numeric breadth; breadth:=rule_thickness; |
| 24127 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 24128 |
pickup tiny.nib; |
| 24129 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24130 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24131 |
penlabels(1,2); |
| 24132 |
endchar; |
| 24133 |
|
| 24134 |
iff known chars.math_backslash_Big: |
| 24135 |
bskchar "\Big slash"; |
| 24136 |
beginchar(chars.math_backslash_Big,13u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24137 |
adjust_fit(0,0); |
| 24138 |
pickup rule.nib; |
| 24139 |
numeric breadth; breadth:=1.1rule_thickness; |
| 24140 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 24141 |
pickup tiny.nib; |
| 24142 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24143 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24144 |
penlabels(1,2); |
| 24145 |
endchar; |
| 24146 |
|
| 24147 |
iff known chars.math_backslash_bigg: |
| 24148 |
bskchar "\bigg slash"; |
| 24149 |
beginchar(chars.math_backslash_bigg,17u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 24150 |
adjust_fit(0,0); |
| 24151 |
pickup rule.nib; |
| 24152 |
numeric breadth; breadth:=1.25rule_thickness; |
| 24153 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 24154 |
pickup tiny.nib; |
| 24155 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24156 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24157 |
penlabels(1,2); |
| 24158 |
endchar; |
| 24159 |
|
| 24160 |
iff known chars.math_backslash_Bigg: |
| 24161 |
bskchar "\Bigg slash"; |
| 24162 |
beginchar(chars.math_backslash_Bigg,21u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 24163 |
adjust_fit(0,0); |
| 24164 |
pickup rule.nib; |
| 24165 |
numeric breadth; breadth:=1.5rule_thickness; |
| 24166 |
top lft z1=(u,h); bot rt z2=(w-u,-d); |
| 24167 |
pickup tiny.nib; |
| 24168 |
pos1(breadth,angle(z2-z1)+90); pos2(breadth,angle(z2-z1)+90); |
| 24169 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 24170 |
penlabels(1,2); |
| 24171 |
endchar; |
| 24172 |
|
| 24173 |
iff known chars.math_bracket_left_big: |
| 24174 |
bskchar "\big left bracket"; |
| 24175 |
beginchar(chars.math_bracket_left_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 24176 |
adjust_fit(0,0); |
| 24177 |
pickup tiny.nib; |
| 24178 |
numeric breadth; breadth:=hair; |
| 24179 |
pos1(breadth,90); pos4(breadth,270); |
| 24180 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u; |
| 24181 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24182 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24183 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*left |
| 24184 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 24185 |
penlabels(1,2,3,4); |
| 24186 |
endchar; |
| 24187 |
|
| 24188 |
iff known chars.math_bracket_left_Big: |
| 24189 |
bskchar "\Big left bracket"; |
| 24190 |
beginchar(chars.math_bracket_left_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24191 |
adjust_fit(0,0); |
| 24192 |
pickup tiny.nib; |
| 24193 |
numeric breadth; breadth:=.25[hair,stem]; |
| 24194 |
pos1(breadth,90); pos4(breadth,270); |
| 24195 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u-.25breadth; |
| 24196 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24197 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24198 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*left |
| 24199 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 24200 |
penlabels(1,2,3,4); |
| 24201 |
endchar; |
| 24202 |
|
| 24203 |
iff known chars.math_bracket_left_bigg: |
| 24204 |
bskchar "\bigg left bracket"; |
| 24205 |
beginchar(chars.math_bracket_left_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 24206 |
adjust_fit(0,0); |
| 24207 |
pickup tiny.nib; |
| 24208 |
numeric breadth; breadth:=.5[hair,stem]; |
| 24209 |
pos1(breadth,90); pos4(breadth,270); |
| 24210 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u-.25breadth; |
| 24211 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24212 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24213 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*left |
| 24214 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 24215 |
penlabels(1,2,3,4); |
| 24216 |
endchar; |
| 24217 |
|
| 24218 |
iff known chars.math_bracket_left_Bigg: |
| 24219 |
bskchar "\Bigg left bracket"; |
| 24220 |
beginchar(chars.math_bracket_left_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 24221 |
adjust_fit(0,0); |
| 24222 |
pickup tiny.nib; |
| 24223 |
numeric breadth; breadth:=.75[hair,stem]; |
| 24224 |
pos1(breadth,90); pos4(breadth,270); |
| 24225 |
lft x2r=1.75u; x3r=x2r; rt x4r=rt x1r=w-.5u-.25breadth; |
| 24226 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24227 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24228 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*left |
| 24229 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 24230 |
penlabels(1,2,3,4); |
| 24231 |
endchar; |
| 24232 |
|
| 24233 |
iff known chars.math_bracket_left_top: |
| 24234 |
bskchar "Extensible left bracket---top"; |
| 24235 |
beginchar(chars.math_bracket_left_top,7.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24236 |
adjust_fit(0,0); |
| 24237 |
pickup tiny.nib; |
| 24238 |
numeric breadth; breadth:=stem; |
| 24239 |
pos1(breadth,90); |
| 24240 |
lft x2r=1.75u; x3r=x2r; rt x1r=w-.5u-.25breadth; |
| 24241 |
top y2r=top y1r=h; bot y3r=-d; |
| 24242 |
rt z2l=(x2r+.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 24243 |
filldraw z1r---obl(2r,1r,3r)---z3r--z3l---obl(2l,3l,1l)---z1l+breadth*left..cycle; |
| 24244 |
penlabels(1,2,3); |
| 24245 |
endchar; |
| 24246 |
|
| 24247 |
iff known chars.math_bracket_left_bot: |
| 24248 |
bskchar "Extensible left bracket---bottom"; |
| 24249 |
beginchar(chars.math_bracket_left_bot,7.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24250 |
adjust_fit(0,0); |
| 24251 |
pickup tiny.nib; |
| 24252 |
numeric breadth; breadth:=.75[hair,stem]; |
| 24253 |
pos3(breadth,270); |
| 24254 |
lft x1r=1.75u; x2r=x1r; rt x3r=w-.5u-.25breadth; |
| 24255 |
top y1r=h; bot y2r=bot y3r=-d; |
| 24256 |
rt z1l=(x1r+.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 24257 |
filldraw z3r---obl(2r,3r,1r)---z1r--z1l---obl(2l,1l,3l)---z3l+breadth*left..cycle; |
| 24258 |
penlabels(1,2,3); |
| 24259 |
endchar; |
| 24260 |
|
| 24261 |
iff known chars.math_bracket_left_mid: |
| 24262 |
bskchar "Extensible left bracket---mid"; |
| 24263 |
beginchar(chars.math_bracket_left_mid,7.5u#,0,dh#); uni "non"; |
| 24264 |
adjust_fit(0,0); |
| 24265 |
pickup tiny.nib; |
| 24266 |
pos1(rt stem,0); pos2(rt stem,0); |
| 24267 |
lft x1l=lft x2l=1.75u; |
| 24268 |
top y1=h; bot y2=-d; |
| 24269 |
filldraw z1r---z2r..z2l---z1l..cycle; |
| 24270 |
penlabels(1,2,3); |
| 24271 |
endchar; |
| 24272 |
|
| 24273 |
iff known chars.math_bracket_right_big: |
| 24274 |
bskchar "\big right bracket"; |
| 24275 |
beginchar(chars.math_bracket_right_big,5.5u#,rule_thickness#,2dh#-rule_thickness#); uni "non"; |
| 24276 |
adjust_fit(0,0); |
| 24277 |
pickup tiny.nib; |
| 24278 |
numeric breadth; breadth=hair; |
| 24279 |
pos1(breadth,90); pos4(breadth,270); |
| 24280 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u; |
| 24281 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24282 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24283 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*right |
| 24284 |
---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 24285 |
penlabels(1,2,3,4); |
| 24286 |
endchar; |
| 24287 |
|
| 24288 |
iff known chars.math_bracket_right_Big: |
| 24289 |
bskchar "\Big right bracket"; |
| 24290 |
beginchar(chars.math_bracket_right_Big,6u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24291 |
adjust_fit(0,0); |
| 24292 |
pickup tiny.nib; |
| 24293 |
numeric breadth; breadth=.25[hair,stem]; |
| 24294 |
pos1(breadth,90); pos4(breadth,270); |
| 24295 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u+.25breadth; |
| 24296 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24297 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24298 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*right---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 24299 |
penlabels(1,2,3,4); |
| 24300 |
endchar; |
| 24301 |
|
| 24302 |
iff known chars.math_bracket_right_bigg: |
| 24303 |
bskchar "\bigg right bracket"; |
| 24304 |
beginchar(chars.math_bracket_right_bigg,6.5u#,rule_thickness#,4dh#-rule_thickness#); uni "non"; |
| 24305 |
adjust_fit(0,0); |
| 24306 |
pickup tiny.nib; |
| 24307 |
numeric breadth; breadth=.5[hair,stem]; |
| 24308 |
pos1(breadth,90); pos4(breadth,270); |
| 24309 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u+.25breadth; |
| 24310 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24311 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24312 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*right---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 24313 |
penlabels(1,2,3,4); |
| 24314 |
endchar; |
| 24315 |
|
| 24316 |
iff known chars.math_bracket_right_Bigg: |
| 24317 |
bskchar "\Bigg right bracket"; |
| 24318 |
beginchar(chars.math_bracket_right_Bigg,7u#,rule_thickness#,5dh#-rule_thickness#); uni "non"; |
| 24319 |
adjust_fit(0,0); |
| 24320 |
pickup tiny.nib; |
| 24321 |
numeric breadth; breadth=.75[hair,stem]; |
| 24322 |
pos1(breadth,90); pos4(breadth,270); |
| 24323 |
rt x2r=w-1.75u; x3r=x2r; lft x4r=lft x1r=.5u+.25breadth; |
| 24324 |
top y2r=top y1r=h; bot y3r=bot y4r=-d; |
| 24325 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y4l); |
| 24326 |
filldraw z1r---obl(2r,1r,3r)---obl(3r,2r,4r)---z4r..z4l+breadth*right---obl(3l,4l,2l)---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 24327 |
penlabels(1,2,3,4); |
| 24328 |
endchar; |
| 24329 |
|
| 24330 |
iff known chars.math_bracket_right_top: |
| 24331 |
bskchar "Extensible right bracket---top"; |
| 24332 |
beginchar(chars.math_bracket_right_top,7.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24333 |
adjust_fit(0,0); |
| 24334 |
pickup tiny.nib; |
| 24335 |
numeric breadth; breadth:=stem; |
| 24336 |
pos1(breadth,90); |
| 24337 |
rt x2r=w-1.75u; x3r=x2r; lft x1r=.5u+.25breadth; |
| 24338 |
top y2r=top y1r=h; bot y3r=-d; |
| 24339 |
lft z2l=(x2r-.5[stem,breadth],y1l); z3l=(x2l,y3r); |
| 24340 |
filldraw z1r---obl(2r,1r,3r)---z3r--z3l---obl(2l,3l,1l)---z1l+breadth*right..cycle; |
| 24341 |
penlabels(1,2,3); |
| 24342 |
endchar; |
| 24343 |
|
| 24344 |
iff known chars.math_bracket_right_bot: |
| 24345 |
bskchar "Extensible right bracket---bottom"; |
| 24346 |
beginchar(chars.math_bracket_right_bot,7.5u#,rule_thickness#,3dh#-rule_thickness#); uni "non"; |
| 24347 |
adjust_fit(0,0); |
| 24348 |
pickup tiny.nib; |
| 24349 |
numeric breadth; breadth:=stem; |
| 24350 |
pos3(breadth,270); |
| 24351 |
rt x1r=w-1.75u; x2r=x1r; lft x3r=.5u; |
| 24352 |
top y1r=h; bot y2r=bot y3r=-d; |
| 24353 |
lft z1l=(x1r-.5[stem,breadth],y1r); z2l=(x1l,y3l); |
| 24354 |
filldraw z3r---obl(2r,3r,1r)---z1r--z1l---obl(2l,1l,3l)---z3l+breadth*right..cycle; |
| 24355 |
penlabels(1,2,3); |
| 24356 |
endchar; |
| 24357 |
|
| 24358 |
iff known chars.math_bracket_right_mid: |
| 24359 |
bskchar "Extensible right bracket---mid"; |
| 24360 |
beginchar(chars.math_bracket_right_mid,7.5u#,0,dh#); uni "non"; |
| 24361 |
adjust_fit(0,0); |
| 24362 |
pickup tiny.nib; |
| 24363 |
pos1(rt stem,0); pos2(rt stem,0); |
| 24364 |
rt x1r=rt x2r=w-1.75u; |
| 24365 |
top y1=h; bot y2=-d; |
| 24366 |
filldraw z1r---z2r..z2l---z1l..cycle; |
| 24367 |
penlabels(1,2,3); |
| 24368 |
endchar; |
| 24369 |
|
| 24370 |
iff known chars.text_greek_mu: |
| 24371 |
bskchar "Micro sign (text Greek letter mu)"; |
| 24372 |
beginchar(chars.text_greek_mu,11u#,x_height#,desc_depth#); uni "0x00B5"; |
| 24373 |
adjust_fit(serif_fit#,0); |
| 24374 |
pickup tiny.nib; |
| 24375 |
numeric tim[]; path p[]; oblu:=2oblu; |
| 24376 |
pos1(stem,0); pos2(stem,0); pos2'(stem,0); |
| 24377 |
pos3(stem,0); pos4(hair,90); pos5(stem,70); |
| 24378 |
pos6(hair,0); pos7(hair,90); pos8(hair,180); pos9(stem,180); |
| 24379 |
pos10(stem,0); pos11(stem,0); pos12(hair,90); pos13(.5[stem,hair],90); |
| 24380 |
lft x1l=lft x2l=1.5u; top y1=h; y2=0; y2'=bar_height; x2'=x1; |
| 24381 |
x3l=x2; y3=-d+1.5curve; bot y4l=-d; x4-x3r=y3-y4; y5l=y4; x5-x4=stem; |
| 24382 |
drop_serif(1,jut); x1b:=.5[x1a,x1l]; |
| 24383 |
rt x10r=w-2u; y6=y8=bar_height; bot y7l=-o; x7=.5w; |
| 24384 |
x6=x2; top y9=h; x9=x10; |
| 24385 |
z8r=z10l; x11=x10; y11=curve; rt x13=w-.5u; bot y12l=bot bot y13l=-o; x12=.5[x13,x10]; |
| 24386 |
bskpoints(9,10,hair,hair); |
| 24387 |
p0=z1r..{x1l-x1r,-.25serif_drop}z1.a&z1.a{z1b-z1a}..z1.b..z2'l |
| 24388 |
---z2l..z3l..{right}z4l..z5l..z5r..z4r{left}..z3r..z2r---z1r; |
| 24389 |
p1=z12l{right}..z13l..z13r..{left}z12r..z11r---z9l..{down}z9rr---z10l..z7r..{up}z6r; |
| 24390 |
p2=z6l{down}..z7l..{up}z8l; |
| 24391 |
p3=z10l{down}..z11l..{right}z12l; |
| 24392 |
z14=bsktouch(subpath(5,infinity) of p0,right,p2,left); |
| 24393 |
tim0-5=xpart(subpath(5,infinity) of p0 intersectiontimes (z14--(0,y14))); |
| 24394 |
tim1=xpart(p2 intersectiontimes (z14--(x7,y14))); |
| 24395 |
z0=bsktouch(p2,right,p3,left); |
| 24396 |
tim2=xpart(p2 intersectiontimes (z0--(.5w,y0))); |
| 24397 |
tim3=xpart(p3 intersectiontimes (z0--(w,y0))); |
| 24398 |
(tim4,tim5-5)=p1 intersectiontimes subpath(5,infinity) of p0; |
| 24399 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 24400 |
..subpath(rundy(p2,tim1),rundy(p2,tim2).zpet) of p2 |
| 24401 |
..subpath(rundy(p3,tim3),infinity) of p3 |
| 24402 |
..subpath(0,rundy(p1,tim4).zpet) of p1 |
| 24403 |
..subpath(rundy(p0,tim5),infinity) of p0..cycle; |
| 24404 |
penlabels(1,2,2',3,4,5,6,7,8,9,10,11,12,13); labels(0,9rr); |
| 24405 |
endchar; |
| 24406 |
|
| 24407 |
iff known chars.math_Re: |
| 24408 |
bskchar "The real part sign"; |
| 24409 |
beginchar(chars.math_Re,13.5u#,cap_height#,0); uni "0x211C"; |
| 24410 |
adjust_fit(0,0); |
| 24411 |
pickup tiny.nib; |
| 24412 |
numeric tim[]; path p[]; oblu:=2oblu; |
| 24413 |
pos1(cap_hair,90); pos2(cap_hair,90); pos3(cap_hair,120); |
| 24414 |
pos4(cap_hair,-90); pos5(cap_hair,-90); |
| 24415 |
pos7(cap_stem,0); pos8(cap_stem,0); |
| 24416 |
pos9(cap_hair,90); pos10(cap_hair,180); |
| 24417 |
pos11(cap_hair,180); pos12(cap_hair,135); pos12'(.5[cap_hair,stem],135); |
| 24418 |
pos13(cap_hair,-90); pos14(cap_hair,180); |
| 24419 |
pos15(cap_stem,0); pos16(cap_stem,0); |
| 24420 |
pos17(cap_hair,90); pos18(hair,150); |
| 24421 |
y1=y2+o=.5[x_height,bar_height]; |
| 24422 |
x1=5u; x3l=w-2.25u; y3=y1+stem; |
| 24423 |
top y4l=h; x4=2/3[x1,x2]; x5=x1-o; z5=z4+whatever*dir(210); |
| 24424 |
z2=z3+whatever*dir30; |
| 24425 |
x7r=x8r=x1; y8=y5; y7=.5bar_height; |
| 24426 |
top y9r=h+o; x9=.5[x8,u]; x11=.5[x10,x9]; z11=whatever[z4,z5]; |
| 24427 |
lft x10l=u; y10=y8; x12=x11+o; y12=y1; |
| 24428 |
bot y13r=-o; x13=.5[x12,x9]; lft x14r=u; y14=cap_curve; |
| 24429 |
x15+o=x16=x2; y15=y2l; y16=.75y7; rt x18l=w-u; y18=.75y7; bot y17l=-o; z17=z18+whatever*dir(45); |
| 24430 |
lft x12'r=u; z12'l=z12l+whatever*dir(225); z12''=z12'+.2stem*dir(90); |
| 24431 |
p0=z1l--z2l---z3l..z4l---z5l; |
| 24432 |
pos6(cap_stem,angle(direction 2.5 of p0)+90); |
| 24433 |
z6l=point 2.5 of p0; |
| 24434 |
p1=z7r---z8r..z9r---z10r&z10r..z11r..{dir225}z12r..z12''..z12'r..z12'l..z12l{dir45}..z11l |
| 24435 |
..z10l+o*unitvector(z11l-z10l)..z10l+o*unitvector(z9l-z10l)---z9l..z8l---z7l..{left}z13l |
| 24436 |
--z14l--z14r--z13r{right}..{up}z7r; |
| 24437 |
p2=z16l{z16-z15}..{right}z17l..{dir70}z18l--z18r{dir-110}..z17r{left}..z16r---(x15r,h); |
| 24438 |
p3=z5r---z4r..z6r..z3r---z2r--z1r; |
| 24439 |
(tim0,tim1)=p2 intersectiontimes p0; |
| 24440 |
(tim2-1,tim3)=subpath(1,infinity) of p0 intersectiontimes p1; |
| 24441 |
filldraw z7r---obl(1l,7r,15l)---obl(15l,1l,16l) |
| 24442 |
---subpath(0,rundy(p2,tim0).zpet) of p2 |
| 24443 |
..subpath(rundy(p0,tim1),rundy(p0,tim2).zpet) of p0 |
| 24444 |
..subpath(rundy(p1,tim3),infinity) of p1..cycle; |
| 24445 |
infill subpath(rundy(p3,0),rundy(p3,length p3).zpet) of p3 |
| 24446 |
..subpath(rundy(z1r--z5r,0),rundy(z1r--z5r,1).zpet) of (z1r--z5r) |
| 24447 |
..cycle; |
| 24448 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,12',13,14,15,16,17,18); labels(12''); |
| 24449 |
endchar; |
| 24450 |
|
| 24451 |
iff known chars.math_Im: |
| 24452 |
bskchar "The imaginary part sign"; |
| 24453 |
beginchar(chars.math_Im,11u#,cap_height#,0); uni "0x2111"; |
| 24454 |
adjust_fit(0,0); |
| 24455 |
pickup tiny.nib; |
| 24456 |
pos1(cap_hair,-30); pos2(cap_hair,240); pos2'(.5[cap_hair,cap_stem],-90); |
| 24457 |
pos3(cap_curve,0); pos4(cap_stem,-30); pos5(cap_hair,-90); |
| 24458 |
pos6(cap_curve,50); pos7(cap_hair,90); pos8(cap_hair,90); |
| 24459 |
pos9(cap_hair,135); pos10(.5[cap_hair,cap_stem],240); |
| 24460 |
lft x1l=u; .5[x2,x3]=.5w; rt x3r=w-2u; bot y2'r=-o; x2'=.5w; |
| 24461 |
y1=.25bar_height; y2r=.25bar_height; y3=.35x_height; y4l=bot y5r=x_height; |
| 24462 |
x4r=.65w; x5l=w-1.5u; top y7r=h+o; |
| 24463 |
2(x4l-x6)=y7-y6r=if h-x_height<2cap_curve: .45\\fi stem; |
| 24464 |
z8=z5+sqrt2*cap_curve*dir85; x7=x2+.5stem; lft x9l=1.25u; y9r=y6r; |
| 24465 |
y10l=.5[y6l,y5l]; x10=.35[x7,x9]; z10'=z10+.2stem*up+.2(stem-currentbreadth)*left; |
| 24466 |
filldraw z1l{dir60}..z2l..z2'l..z3l..z4l..{dir-20}z5l..z5r{dir160} |
| 24467 |
..z4r..{down}z3r..z2'r..z2r..{dir240}z1r..cycle; |
| 24468 |
filldraw z10r..z9r..z7r..z6r..{dir40}z8r..z8l{dir220}..z6l |
| 24469 |
..z7l..z9l..z10'..z10l&z10l..{left}cycle; |
| 24470 |
penlabels(1,2,2',3,4,5,6,7,8,9,10); labels(10'); |
| 24471 |
endchar; |
| 24472 |
|
| 24473 |
iff known chars.math_aleph: |
| 24474 |
bskchar "The Hebrew letter aleph"; |
| 24475 |
beginchar(chars.math_aleph,12u#,asc_height#,0); uni "0x2135"; |
| 24476 |
adjust_fit(0,0); |
| 24477 |
pickup tiny.nib; |
| 24478 |
numeric theta, tim[]; path p[]; oblu:=2.2oblu; |
| 24479 |
pos1(1.25curve,50); pos2(1.25curve,50); |
| 24480 |
top y1r=h+apex_o; bot y2l=0; |
| 24481 |
lft x1l=u; rt x2r=w-u; |
| 24482 |
theta=angle(z1-z2)-90; |
| 24483 |
pos3(like_stem,theta); pos4(like_stem,theta); |
| 24484 |
pos5(curve,50); pos6(curve,50); pos7(like_stem,theta); |
| 24485 |
pos8(1.25curve,30); pos9(hair,-90); pos10(like_stem,-10); pos11(like_hair,theta-90); |
| 24486 |
pos12(stem-o,-90); pos13(like_hair,theta-90); pos14(.85like_stem,theta-90); |
| 24487 |
.5[x3,x4]=x4-x3=.5w; z3=whatever[z1,z2]+stem*down; z4=whatever[z1,z2]+stem*up; |
| 24488 |
top y5r=h; rt x6r=w-u; z5=z6+whatever*dir(theta+90); bot y6l=x_height; |
| 24489 |
z7=.5[z5,z6]; |
| 24490 |
y8=.25bar_height; lft x9l=2u; bot y9r=0; x8l=x3r; lft x12l=u; bot y12r=y9r; |
| 24491 |
lft x10l=u; z10=whatever[z7l,(.5w,x_height)]; |
| 24492 |
z11=.5[.5[z7l,z10],z3]; |
| 24493 |
z12'=z12+.2stem*right+.2(stem-currentbreadth)*dir45; |
| 24494 |
.75[z11,z13]=.5[z3,z4]; z14=z7; |
| 24495 |
p0=z1r{left}..z1l..z3l---z4l..{down}z2l..{up}z2r..z4r---z3r..{up}z1r; |
| 24496 |
p1=z5r{left}..z5l..z7l..{down}z6l..{up}z6r..z7r..{up}z5r; |
| 24497 |
p2=z11l{z10-z11}..{down}z10l..z8l..{left}z9l..z12'{up}..z12l |
| 24498 |
..z12r..{right}z9r..z8r..{up}z10r..{z11-z10}z11r; |
| 24499 |
p3=reverse (z13l{dir theta}..{dir theta}z14l--z14r{dir (theta+180)}..{dir (theta+180)}z13r); |
| 24500 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 24501 |
(tim2,tim3-1)=p0 intersectiontimes subpath(1,infinity) of p2; |
| 24502 |
(tim4,tim5)=p0 intersectiontimes p3; |
| 24503 |
(tim6,tim7-1)=p0 intersectiontimes subpath(1,infinity) of p3; |
| 24504 |
(tim8,tim9)=p3 intersectiontimes p1; |
| 24505 |
(tim10-2,tim11)=subpath(2,infinity) of p3 intersectiontimes p1; |
| 24506 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 24507 |
..subpath(rundy(p2,tim1),rundy(p2,tim3).zpet) of p2 |
| 24508 |
..subpath(rundy(p0,tim2),rundy(p0,tim4).zpet) of p0 |
| 24509 |
..subpath(rundy(p3,tim5),rundy(p3,tim8).zpet) of p3 |
| 24510 |
..subpath(rundy(p1,tim9),infinity) of p1 |
| 24511 |
..subpath(0,rundy(p1,(tim11,1.5hair)).zpet) of p1 |
| 24512 |
..subpath(rundy(p3,(tim10,1.5hair)),rundy(p3,tim7).zpet) of p3 |
| 24513 |
..subpath(rundy(p0,tim6),infinity) of p0 |
| 24514 |
..cycle; |
| 24515 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); |
| 24516 |
endchar; |
| 24517 |
|
| 24518 |
iff known chars.math_beth: |
| 24519 |
bskchar "The Hebrew letter beth"; |
| 24520 |
beginchar(chars.math_beth,12u#,asc_height#,0); uni "0x2136"; |
| 24521 |
adjust_fit(0,0); |
| 24522 |
pickup tiny.nib; |
| 24523 |
path p[]; numeric tim[]; |
| 24524 |
oblu:=2oblu; |
| 24525 |
pos1(like_stem,90); pos2(like_stem,90); pos3(hair,0); penpos4(hair,0); |
| 24526 |
pos5(like_stem,90); penpos6(hair,30); |
| 24527 |
bot y1l=bot y2l=bot y3=-d; lft x1=u; rt x2=w-u; |
| 24528 |
x1r:=x1r+curve; x2l:=x2l-.75curve; x3r=x2l-stem; x4l=x3; |
| 24529 |
y5r=h-.5stem; x5=x1r+.5u; y4=y5l+o; y4r:=y5r+o; z5'=(x6r,y5l); |
| 24530 |
lft x6l=1.5u; top y6r=h+o; |
| 24531 |
p0:=z1l{dir80}..z1r...{dir10}z2r; |
| 24532 |
p1:=z2r..z2l{left}...{dir190}z1l; |
| 24533 |
p2:=z6r{dir-80}..z5r{right}..{right}z4r+o*left..z4r+o*down{down}..{down}z3r; |
| 24534 |
p3:=z3l{up}..{up}z4l+oblu*down..z4l+oblu*left{left}..z5l{left}..z5'..{dir90}z6l; |
| 24535 |
(tim0,tim1)=p0 intersectiontimes p3; |
| 24536 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 24537 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 24538 |
..subpath(rundy(p3,tim1),infinity) of p3 |
| 24539 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 24540 |
..subpath(rundy(p0,tim2),infinity) of p0..p1..cycle; |
| 24541 |
penlabels(1,2,3,4,5,6); labels(5'); |
| 24542 |
endchar; |
| 24543 |
|
| 24544 |
iff known chars.math_gimel: |
| 24545 |
bskchar "The Hebrew letter gimel"; |
| 24546 |
beginchar(chars.math_gimel,9u#,asc_height#,0); uni "0x2137"; |
| 24547 |
adjust_fit(0,0); |
| 24548 |
pickup tiny.nib; |
| 24549 |
path p[]; numeric tim[]; |
| 24550 |
oblu:=2oblu; |
| 24551 |
pos0(like_stem,160); pos1(like_stem,90); pos2(like_stem,90); pos3(.5[hair,stem],0); |
| 24552 |
penpos4(hair,0); pos5(like_stem,90); penpos6(hair,30); |
| 24553 |
bot y1l=bot y2l=-d; lft x1=u; rt x2=w-u; y3=.5x_height; |
| 24554 |
x1r:=x1r+curve; x2l:=x2l-.75curve; x3l=x2l-stem; x4l=x3r; |
| 24555 |
y5r=h-.5stem; x5=x1r+.5u; y4=y5l; y4r:=y5r-o; z5'=(x6r,y5l); |
| 24556 |
lft x6l=1.5u; top y6r=h+o; y0r=y3; rt x0l=w-u; |
| 24557 |
p0:=z2l..z3l{up}..{up}z4l+oblu*down..z4l+oblu*left{left}..z5l{left}..z5'..{dir90}z6l |
| 24558 |
..z6r{dir-80}..z5r{right}..{right}z4r+o*left..z4r+o*down{down}..{down}z3r |
| 24559 |
..{right}z2r{down}..z2l; |
| 24560 |
p1:=z1l{dir80}..z1r..{up}z0r; |
| 24561 |
p2:=z0l{down}..{dir190}z1l; |
| 24562 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 24563 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 24564 |
filldraw subpath(rundy(p0,tim0),infinity) of p0 |
| 24565 |
..subpath(0,rundy(p0,tim2).zpet) of p0 |
| 24566 |
..subpath(rundy(p2,tim3),infinity) of p2 |
| 24567 |
..subpath(0,rundy(p1,tim1).zpet) of p1 |
| 24568 |
..cycle; |
| 24569 |
penlabels(0,1,2,3,4,5,6); labels(5'); |
| 24570 |
endchar; |
| 24571 |
|
| 24572 |
iff known chars.math_dalet: |
| 24573 |
bskchar "The Hebrew letter dalet"; |
| 24574 |
beginchar(chars.math_dalet,10.5u#,asc_height#,0); uni "0x2138"; |
| 24575 |
adjust_fit(0,0); |
| 24576 |
pickup tiny.nib; |
| 24577 |
oblu:=2oblu; |
| 24578 |
pos1(like_stem,0); pos2(.5[hair,stem],0); |
| 24579 |
penpos3(hair,0); pos4(like_stem,90); penpos5(hair,30); |
| 24580 |
bot y1l=-d; rt x1r=w-1.5u; y2=.5x_height; |
| 24581 |
lft x2l=x1l; x3l=x2r; |
| 24582 |
y4r=h-.5stem; x4=u+curve; y3=y4l; y3'=y4r+o; x3'=x3r+.5u; z4'=(x5r,y4l); |
| 24583 |
lft x5l=u; top y5r=h+o; |
| 24584 |
filldraw z1l..z2l{up}..{up}z3l+oblu*down..z3l+oblu*left{left}..z4l{left}..z4'..{dir90}z5l |
| 24585 |
..z5r{dir-80}..z4r{right}..{right}z3'+o*left..z3'+o*down{down}..z3r+o*down{down} |
| 24586 |
..{down}z2r..{down}z1r..{up}cycle; |
| 24587 |
penlabels(1,2,3,4,5); labels(3',4'); |
| 24588 |
endchar; |
| 24589 |
|
| 24590 |
iff known chars.sign_dolar: |
| 24591 |
bskchar "The dollar sign"; |
| 24592 |
beginchar(chars.sign_dolar,9u#, asc_height#, 0); uni "0x0024"; |
| 24593 |
adjust_fit(0,0); |
| 24594 |
pickup tiny.nib; |
| 24595 |
numeric exc; exc=(w-u)/h; |
| 24596 |
path p[]; numeric tim[]; |
| 24597 |
pos2(hair,90); pos3(.9curve,angle((w-u,h))+180); pos4(hair,90); |
| 24598 |
pos5(stem,180); pos6(stem,180); pos8(hair,0); pos9(hair,0); |
| 24599 |
y5=.5[y2l,y3]+.5hair; x3-x5=.8(y2l-y3l)*exc; |
| 24600 |
y6=.5[y4r,y3]-.5hair; rt x6l=w-u; |
| 24601 |
x2=x3=x4=.5w; top y2r=h-hair; bot y4l=hair; |
| 24602 |
y3=.5[y2l,y4r]+.5hair; |
| 24603 |
x8=x9=x3; top y8=h+o; bot y9=-o; |
| 24604 |
bskpoints(8,9,.5hair,.5hair); |
| 24605 |
pos1(hair,0); x1r=w-x5r; y1=y5-.5hair; |
| 24606 |
pos7(hair,0); x7l=w-x6l; y7=y6+.5hair; |
| 24607 |
p0=z1r{up}..z2r{left}..z5r..z3r..z6r..{left}z4r..{up}z7r; |
| 24608 |
p1=z7l{dir-80}..z4l{right}..z6l..z3l..z5l..{right}z2l..{down}z1l; |
| 24609 |
p2=(x8l,y3)--(x8l,y6); p9=p2 shifted (z8r-z8l); |
| 24610 |
p3=(x9l,y6)--z9l; p10=p3 shifted (z8r-z8l); |
| 24611 |
p4=z9r--(x9r,y6); |
| 24612 |
p5=(x9r,y6)--(x9r,y5); p7=p5 shifted (z8l-z8r); |
| 24613 |
p6=(x8r,y5)--z8r; p8=p6 shifted (z8l-z8r); |
| 24614 |
tim1=xpart(p0 intersectiontimes ((.5w,y2-.5hair)--(w,y2-.5hair))); |
| 24615 |
tim2=xpart(p1 intersectiontimes ((.5w,y4+hair)--(0,y4+hair))); |
| 24616 |
tim3=xpart(p0 intersectiontimes ((x8r,y3)--z8r)); |
| 24617 |
tim4=xpart(p0 intersectiontimes ((x8l,y3)--z8l)); |
| 24618 |
(tim5,tim6)=p0 intersectiontimes p2; |
| 24619 |
(tim7,tim8)=p0 intersectiontimes p3; |
| 24620 |
tim9=xpart(p1 intersectiontimes p3); |
| 24621 |
tim10=xpart(p1 intersectiontimes p4); |
| 24622 |
(tim11,tim12)=p1 intersectiontimes p5; |
| 24623 |
(tim13,tim14)=p1 intersectiontimes p6; |
| 24624 |
(tim15,tim16)=p1 intersectiontimes p8; |
| 24625 |
(tim17,tim18)=p1 intersectiontimes p7; |
| 24626 |
(tim19,tim20)=p0 intersectiontimes p10; |
| 24627 |
(tim21,tim22)=p0 intersectiontimes p9; |
| 24628 |
filldraw z1r--(x1r-.5o,y2-.5hair){dir-100}..subpath(tim1,rundy(p0,tim3).zpet) of p0 |
| 24629 |
..{up}z8rr..z8l---(x8l,y8rr) |
| 24630 |
..subpath(rundy(p0,tim4),rundy(p0,tim5).zpet) of p0 |
| 24631 |
..subpath(rundy(p2,(tim6,curve)), infinity) of p2 |
| 24632 |
--subpath(0,rundy(p3,(tim8,if bold_face:.5\\fi curve)).zpet) of p3 |
| 24633 |
..subpath(rundy(p0,(tim7,curve)),infinity) of p0 |
| 24634 |
..z7l--(x7l+o,y4+hair){dir80} |
| 24635 |
..subpath(tim2, rundy(p1,tim9).zpet) of p1 |
| 24636 |
..{down}z9ll..z9r---(x9r,y9ll) |
| 24637 |
..subpath(rundy(p1,tim10),rundy(p1,tim11).zpet) of p1 |
| 24638 |
..subpath(rundy(p5,(tim12,curve)),infinity) of p5 |
| 24639 |
..subpath(0,rundy(p6,(tim14,if bold_face:.5\\fi curve)).zpet) of p6 |
| 24640 |
..subpath(rundy(p1,(tim13,curve)),infinity) of p1..cycle; |
| 24641 |
oblu:=2.5f_obl; |
| 24642 |
infill subpath(rundy(p1,tim15).zpet,rundy(p1,tim17)) of p1.. |
| 24643 |
subpath(rundy(p7,tim18),infinity) of p7 |
| 24644 |
--subpath(0,rundy(p8,tim16).zpet) of p8..cycle; |
| 24645 |
if bold_face: oblu:=f_obl; fi |
| 24646 |
infill subpath(rundy(p0,tim19).zpet,rundy(p0,tim21)) of p0.. |
| 24647 |
subpath(rundy(p9,tim20),infinity) of p9 |
| 24648 |
--subpath(0,rundy(p10,tim22)) of p10..cycle; |
| 24649 |
penlabels(0,1,2,3,4,5,6,7,8,9); labels(8rr,9ll); |
| 24650 |
endchar; |
| 24651 |
|
| 24652 |
iff known chars.sign_dolar_old: |
| 24653 |
bskchar "The old-style dollar sign"; |
| 24654 |
beginchar(chars.sign_dolar_old,11u#, asc_height#, 0); uni "non"; %"0x0024.alt"; |
| 24655 |
adjust_fit(0,0); |
| 24656 |
pickup tiny.nib; |
| 24657 |
numeric exc; exc=(w-u)/h; |
| 24658 |
path p[]; numeric tim[]; |
| 24659 |
pos2(hair,90); pos3(.9curve,angle((w-u,h))+180); pos4(hair,90); |
| 24660 |
pos5(stem,180); pos6(stem,180); |
| 24661 |
pos8(hair,0); pos9(hair,0); pos10(hair,0); pos11(hair,0); |
| 24662 |
y5=.5[y2l,y3]+.5hair; x3-x5=.8(y2l-y3l)*exc; |
| 24663 |
y6=.5[y4r,y3]-.5hair; rt x6l=w-u; |
| 24664 |
x2=x3=x4=.5w; top y2r=h-hair; bot y4l=hair; |
| 24665 |
y3=.5[y2l,y4r]+.5hair; |
| 24666 |
x8=x9; x10=x11; .5[x8,x10]=x3; x8-x10=2u; top y8=top y10=h+o; bot y9=bot y11=-o; |
| 24667 |
bskpoints(8,9,.5hair,.5hair); bskpoints(10,11,.5hair,.5hair); |
| 24668 |
pos1(hair,0); x1r=w-x5r; y1=y5-.5hair; |
| 24669 |
pos7(hair,0); x7l=w-x6l; y7=y6+.5hair; |
| 24670 |
p0=z1r{up}..z2r{left}..z5r..z3r..z6r..{left}z4r..{up}z7r; |
| 24671 |
p1=z7l{dir-80}..z4l{right}..z6l..z3l..z5l..{right}z2l..{down}z1l; |
| 24672 |
p2=(x8l,y3)--(x8l,y6); p9=p2 shifted (z8r-z8l); |
| 24673 |
p3=(x9l,y6)--z9l; p10=p3 shifted (z8r-z8l); |
| 24674 |
p4=z9r--(x9r,y6); |
| 24675 |
p5=(x9r,y6)--(x9r,y5); p7=p5 shifted (z8l-z8r); |
| 24676 |
p6=(x8r,y5)--z8r; p8=p6 shifted (z8l-z8r); |
| 24677 |
p12=(x10l,y3)--(x10l,y6); p14=p2 shifted (z10r-z10l); |
| 24678 |
p13=(x11l,y6)--z11l; p15=p13 shifted (z10r-z10l); |
| 24679 |
p16=(x11r,y6)--(x11r,y5); p18=p16 shifted (z10l-z10r); |
| 24680 |
p17=(x10r,y5)--z10r; p19=p17 shifted (z10l-z10r); |
| 24681 |
tim1=xpart(p0 intersectiontimes ((.5w,y2-.5hair)--(w,y2-.5hair))); |
| 24682 |
tim2=xpart(p1 intersectiontimes ((.5w,y4+hair)--(0,y4+hair))); |
| 24683 |
tim3=xpart(p0 intersectiontimes ((x8r,y3)--z8r)); |
| 24684 |
tim4=xpart(p0 intersectiontimes ((x8l,y3)--z8l)); |
| 24685 |
(tim5,tim6)=p0 intersectiontimes p2; |
| 24686 |
(tim7,tim8)=p0 intersectiontimes p3; |
| 24687 |
tim9=xpart(p1 intersectiontimes p3); |
| 24688 |
tim10=xpart(p1 intersectiontimes p4); |
| 24689 |
(tim11,tim12)=p1 intersectiontimes p5; |
| 24690 |
(tim13,tim14)=p1 intersectiontimes p6; |
| 24691 |
(tim15,tim16)=p1 intersectiontimes p8; |
| 24692 |
(tim17,tim18)=p1 intersectiontimes p7; |
| 24693 |
(tim19,tim20)=p0 intersectiontimes p10; |
| 24694 |
(tim21,tim22)=p0 intersectiontimes p9; |
| 24695 |
tim23=xpart(p0 intersectiontimes ((x10r,y3)--z10r)); |
| 24696 |
tim24=xpart(p0 intersectiontimes ((x10l,y3)--z10l)); |
| 24697 |
(tim25,tim26)=p0 intersectiontimes p12; |
| 24698 |
(tim27,tim28)=p0 intersectiontimes p13; |
| 24699 |
tim29=xpart(p1 intersectiontimes ((x11l,y3)--z11l)); |
| 24700 |
tim30=xpart(p1 intersectiontimes p15); |
| 24701 |
(tim31,tim32)=p1 intersectiontimes p19; |
| 24702 |
(tim33,tim34)=p1 intersectiontimes p18; |
| 24703 |
(tim35,tim36)=p1 intersectiontimes p17; |
| 24704 |
(tim37,tim38)=p1 intersectiontimes p16; |
| 24705 |
(tim39,tim40)=p0 intersectiontimes p15; |
| 24706 |
(tim41,tim42)=p0 intersectiontimes p16; |
| 24707 |
filldraw z1r--(x1r-.5o,y2-.5hair){dir-100}..subpath(tim1,rundy(p0,tim3).zpet) of p0 |
| 24708 |
..{up}z8rr..z8l---(x8l,y8rr) |
| 24709 |
..subpath(rundy(p0,tim4),rundy(p0,tim23).zpet) of p0 |
| 24710 |
..{up}z10rr..z10l---(x10l,y10rr) |
| 24711 |
..subpath(rundy(p0,tim24),rundy(p0,tim25).zpet) of p0 |
| 24712 |
..subpath(rundy(p12,(tim26,curve)), infinity) of p12 |
| 24713 |
--subpath(0,rundy(p13,(tim28,if bold_face:.5\\fi curve)).zpet) of p13 |
| 24714 |
..subpath(rundy(p0,(tim27,curve)),infinity) of p0 |
| 24715 |
..z7l--(x7l+o,y4+hair){dir80} |
| 24716 |
..subpath(tim2,rundy(p1,tim29).zpet) of p1 |
| 24717 |
..{down}z11ll..z11r---(x11r,y11ll) |
| 24718 |
..subpath(rundy(p1,tim30),rundy(p1,tim9).zpet) of p1 |
| 24719 |
..{down}z9ll..z9r---(x9r,y9ll) |
| 24720 |
..subpath(rundy(p1,tim10),rundy(p1,tim11).zpet) of p1 |
| 24721 |
..subpath(rundy(p5,(tim12,curve)),infinity) of p5 |
| 24722 |
..subpath(0,rundy(p6,(tim14,if bold_face:.5\\fi curve)).zpet) of p6 |
| 24723 |
..subpath(rundy(p1,(tim13,curve)),infinity) of p1..cycle; |
| 24724 |
oblu:=2.5f_obl; |
| 24725 |
infill subpath(rundy(p1,tim31).zpet,rundy(p1,tim33)) of p1 |
| 24726 |
..subpath(rundy(p18,tim34),infinity) of p18 |
| 24727 |
--subpath(0,rundy(p19,tim32).zpet) of p19..cycle; |
| 24728 |
infill subpath(rundy(p7,tim18),infinity) of p7 |
| 24729 |
--subpath(0,rundy(p8,tim16).zpet) of p8 |
| 24730 |
.. .5[point tim15 of p1,point tim35 of p1] |
| 24731 |
..(reverse subpath(0,rundy(p17,tim36).zpet) of p17) |
| 24732 |
..(reverse subpath(rundy(p16,tim38),infinity) of p16) |
| 24733 |
.. .5[point tim37 of p1,point tim17 of p1] |
| 24734 |
..cycle; |
| 24735 |
if bold_face: oblu:=f_obl; fi |
| 24736 |
infill subpath(rundy(p0,tim19).zpet,rundy(p0,tim21)) of p0.. |
| 24737 |
subpath(rundy(p9,tim20),infinity) of p9 |
| 24738 |
--subpath(0,rundy(p10,tim22)) of p10..cycle; |
| 24739 |
infill subpath(rundy(p2,tim6),infinity) of p2 |
| 24740 |
--subpath(0,rundy(p3,tim8).zpet) of p3 |
| 24741 |
.. .5[point tim7 of p0,point tim39 of p0] |
| 24742 |
..(reverse subpath(0,rundy(p15,tim40).zpet) of p15) |
| 24743 |
..(subpath(0,rundy(p16,tim42).zpet) of p16) |
| 24744 |
.. .5[point tim5 of p0,point tim41 of p0] |
| 24745 |
..cycle; |
| 24746 |
penlabels(0,1,2,3,4,5,6,7,8,9,10,11); labels(8rr,9ll); |
| 24747 |
endchar; |
| 24748 |
|
| 24749 |
iff known chars.sign_pound: |
| 24750 |
bskchar "Pound sign"; |
| 24751 |
beginchar(chars.sign_pound,11.5u#,asc_height#,0); uni "0x00A3"; |
| 24752 |
italcorr asc_height#*slant-u#; |
| 24753 |
adjust_fit(serif_fit#,0); |
| 24754 |
pickup tiny.nib; |
| 24755 |
oblu:=2oblu; |
| 24756 |
pos1(cap_stem,0); pos2(cap_stem,0); pos3(cap_hair,-90); |
| 24757 |
pos4(cap_hair,-90); pos5(stem,30); |
| 24758 |
pos6(bar,90); pos7(bar,90); pos8(bar,90); pos9(bar,90); |
| 24759 |
x1=x2=3u; y2=.5bar_height; .5[y1,y2]=.5h; |
| 24760 |
bot y4r=0; x4=.5u; x5r=w-1.5u; |
| 24761 |
top y3l=h+o; y5r=y3-1.5like_stem; x3=.5[x1,x5]; |
| 24762 |
z5'=z5+.25stem*unitvector(z5-z3); |
| 24763 |
y6=y7=y8=y9=2/3[bar_height,x_height]; |
| 24764 |
x1-x6=.5(x9-x1); x7=x1l; x8=x1r; lft x6=if monospace: 0 else: .5u fi; |
| 24765 |
bot y10r=0; rt x10r=w-u; z11r=(x2r,y4r); |
| 24766 |
bskpoints(6,9,bar,bar); |
| 24767 |
{{ save beak; numeric beak; beak=.5bar_height; |
| 24768 |
filldraw arm_bot_r_points(11r,10)..z2r---obl(8l,2r,9l) |
| 24769 |
---z9ll..z9r---obl(8r,9r,1r)---z1r ..{right}z3r |
| 24770 |
..z5l..z5'..z5r{up}..z3l{left}..z1l |
| 24771 |
---tobl(7r,1l,6rr)---z6rr..z6l---obl(7l,6l,2l) |
| 24772 |
---z2l..{left}z4l..z4r---cycle; |
| 24773 |
}}; |
| 24774 |
penlabels(1,2,3,4,5,6,7,8,9); labels(5',6rr,9ll); |
| 24775 |
endchar; |
| 24776 |
|
| 24777 |
iff known chars.sign_lira: |
| 24778 |
bskchar "Lira sign"; |
| 24779 |
beginchar(chars.sign_lira,11.5u#,asc_height#,0); uni "0x20A4"; |
| 24780 |
adjust_fit(serif_fit#,0); |
| 24781 |
pickup tiny.nib; |
| 24782 |
oblu:=2oblu; |
| 24783 |
pos1(cap_stem,0); pos2(cap_stem,0); pos3(cap_hair,-90); |
| 24784 |
pos4(cap_hair,-90); pos5(stem,30); |
| 24785 |
pos6(bar,90); pos7(bar,90); pos8(bar,90); pos9(bar,90); |
| 24786 |
pos12(bar,90); pos13(bar,90); pos14(bar,90); pos15(bar,90); |
| 24787 |
x1=x2=3u; y2=.5bar_height; .5[y1,y2]=.5h; |
| 24788 |
bot y4r=0; x4=.5u; x5r=w-1.5u; |
| 24789 |
top y3l=h+o; y5r=y3-1.5like_stem; x3=.5[x1,x5]; |
| 24790 |
z5'=z5+.25stem*unitvector(z5-z3); |
| 24791 |
y6=y7=y8=y9; y12=y13=y14=y15; y6l-y12r=max(4hair,.3x_height); top y9r=x_height; |
| 24792 |
x1-x6=.5(x9-x1); x7=x13=x1l; x8=x14=x1r; lft x6=lft x12=if monospace: 0 else: .5u fi; x15=x9; |
| 24793 |
bot y10r=0; rt x10r=w-u; z11r=(x2r,y4r); |
| 24794 |
bskpoints(6,9,bar,bar); bskpoints(12,15,bar,bar); |
| 24795 |
{{ save beak; numeric beak; beak=.5bar_height; |
| 24796 |
filldraw arm_bot_r_points(11r,10)..z2r---obl(14l,2r,15l)---z15ll..z15r---obl(14r,15r,8l)---obl(8l,2r,9l) |
| 24797 |
---z9ll..z9r---obl(8r,9r,1r)---z1r ..{right}z3r |
| 24798 |
..z5l..z5'..z5r{up}..z3l{left}..z1l |
| 24799 |
---obl(7r,1l,6r)---z6rr..z6l---obl(7l,6l,2l) |
| 24800 |
---obl(13r,7l,12r)---z12r..z12l---obl(13l,12l,2l) |
| 24801 |
---z2l..{left}z4l..z4r---cycle; |
| 24802 |
}}; |
| 24803 |
penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); labels(5',6rr,12rr,9ll,15ll); |
| 24804 |
endchar; |
| 24805 |
|
| 24806 |
iff known chars.sign_compound_word: |
| 24807 |
bskchar "Compound word mark"; |
| 24808 |
beginchar(chars.sign_compound_word,0,x_height#,0); uni "non"; |
| 24809 |
charwd:=0; |
| 24810 |
endchar; |
| 24811 |
|
| 24812 |
iff known chars.sign_compound_word_capital: |
| 24813 |
bskchar "Capital compound word mark"; |
| 24814 |
beginchar(chars.sign_compound_word_capital,0,cap_height#,0); uni "non"; |
| 24815 |
charwd:=0; |
| 24816 |
endchar; |
| 24817 |
|
| 24818 |
iff known chars.sign_compound_word_asc: |
| 24819 |
bskchar "Ascender height compound word mark"; |
| 24820 |
beginchar(chars.sign_compound_word_asc,0,asc_height#,0); uni "non"; |
| 24821 |
charwd:=0; |
| 24822 |
endchar; |
| 24823 |
|
| 24824 |
iff known chars.sign_degree: |
| 24825 |
bskchar "Degree sign"; |
| 24826 |
beginchar(chars.sign_degree,6u#,asc_height#,0); uni "0x00B0"; |
| 24827 |
adjust_fit(0,0); |
| 24828 |
pickup tiny.nib; |
| 24829 |
pos1a(hair,0); pos1b(hair,90); |
| 24830 |
pos1c(hair,180); pos1d(hair,270); |
| 24831 |
z0=(.5w,h-2u)=.5[z1a,z1c]=.5[z1b,z1d]; |
| 24832 |
x1b=x1d; y1a=y1c; y1d-y1b=(x1c-x1a); x1a.l=x1; lft x1=u; |
| 24833 |
filldraw z1a.l{down}..z1b.l..z1c.l..z1d.l..cycle; |
| 24834 |
infill z1a.r{down}..z1b.r..z1c.r..z1d.r..cycle; |
| 24835 |
penlabels(1a,1b,1c,1d); labels(0); |
| 24836 |
endchar; |
| 24837 |
|
| 24838 |
iff known chars.sign_space: |
| 24839 |
bskchar "Space"; |
| 24840 |
beginchar(chars.sign_space,5u#,x_height#,0); uni "0x0020"; |
| 24841 |
endchar; |
| 24842 |
|
| 24843 |
iff known chars.sign_space_nb: |
| 24844 |
bskchar "Non-breaking space"; |
| 24845 |
beginchar(chars.sign_space_nb,5u#,x_height#,0); uni "0x00A0"; |
| 24846 |
endchar; |
| 24847 |
|
| 24848 |
iff known chars.sign_reference: |
| 24849 |
bskchar "Reference mark sign"; |
| 24850 |
beginchar(chars.sign_reference,13u#,cap_height#,0); uni "0x203B"; |
| 24851 |
adjust_fit(0,0); |
| 24852 |
pickup tiny.nib; |
| 24853 |
oblu:=2oblu; |
| 24854 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 24855 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 24856 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 24857 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 24858 |
z0=.5[z1,z2]; |
| 24859 |
bskpoints(1,2,hair,hair); bskpoints(4,3,.5hair,.5hair); |
| 24860 |
z5=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 24861 |
z6=whatever[z4r,z3r]=whatever[z1l,z2l]; |
| 24862 |
z7=whatever[z4r,z3r]=whatever[z1r,z2r]; |
| 24863 |
z8=whatever[z4l,z3l]=whatever[z1r,z2r]; |
| 24864 |
for i=0 upto 3: z[10+i]=z0+(.25w,0) rotated (i*90); endfor; |
| 24865 |
filldraw z1l---obl(5,1l,4l)---z4l..z4rr---obl(6,4r,2l)---z2ll..z2r--- |
| 24866 |
obl(7,2r,3r)---z3r..z3ll---obl(8,3l,1r)---z1rr..cycle; |
| 24867 |
dot(10); dot(11); dot(12); dot(13); |
| 24868 |
penlabels(1,2,3,4); labels(5,6,7,8); |
| 24869 |
endchar; |
| 24870 |
|
| 24871 |
charscription(14u,cap_height,0)( |
| 24872 |
path p[]; |
| 24873 |
pos1(cap_curve,0); pos2(cap_hair,90); pos3(cap_curve,180); pos4(cap_hair,270); |
| 24874 |
pos5(cap_hair,0); pos6(cap_hair,180); |
| 24875 |
pos5'(cap_hair,0); pos6'(cap_hair,180); |
| 24876 |
lft x1l=u; x3l=w-x1l; y1=y3=x_height; |
| 24877 |
.5[x2,x4]=.5[x1,x3]; x2-x4=.5u; bot y2l=-o; top y4l=h+o; |
| 24878 |
.5[x5,x6]=x2; y5=y6=.5bar_height; x6-x5=.4(x3r-x1r); |
| 24879 |
z5'-z5=z6'-z6=o*down; |
| 24880 |
x7r=x6r; x7l=x5r; bot y7l=bot y7r=0; |
| 24881 |
bot y8r=bot y9r=0; rt x8l=w-u; lft x9l=u; |
| 24882 |
{{ numeric oldbeak; oldbeak:=beak; save beak; numeric beak; beak:=.65oldbeak; |
| 24883 |
p0=arm_bot_r_points(7r,8).alt; z10=(x6l,y8d); |
| 24884 |
p1=arm_bot_l_points(7l,9).alt; z11=(x5l,y9d); |
| 24885 |
}}; |
| 24886 |
p2:=z5'l..z1l..z4l..z3l..z6'l; |
| 24887 |
filldraw subpath(rundy(p2,0),rundy(p2,infinity).zpet) of p2 |
| 24888 |
..{down}z10+oblu*up--obl(10,6l,8d)---z8d...z8c..z8l.o |
| 24889 |
&z8l.o{up}..z8l---z8r--z8b...z8a---z7r--z6r..z3r..z4r |
| 24890 |
..z1r..z5r--z7l---z9a...z9b--z9r---z9l..{down}z9l.o |
| 24891 |
&z9l.o..z9c...z9d---obl(11,9d,5l)--z11+oblu*up{up} |
| 24892 |
..cycle; |
| 24893 |
penlabels(1,2,3,4,5,5',6,6',7,10,11); |
| 24894 |
); |
| 24895 |
|
| 24896 |
iff known chars.sign_Ohm: |
| 24897 |
bskchar "Ohm sign (modified greek letter Omega)"; |
| 24898 |
beginchar(chars.sign_Ohm,14u#,cap_height#,0); uni "0x2126"; |
| 24899 |
adjust_fit(0,0); |
| 24900 |
pickup tiny.nib; |
| 24901 |
usechar; |
| 24902 |
endchar; |
| 24903 |
|
| 24904 |
iff known chars.sign_Mho: |
| 24905 |
bskchar "Mho sign (rotated Ohm sign)"; |
| 24906 |
beginchar(chars.sign_Mho,14u#,cap_height#,0); uni "0x2127"; |
| 24907 |
adjust_fit(0,0); |
| 24908 |
pickup tiny.nib; |
| 24909 |
usechar rotatedaround((.5[x1,x3],.5h),180); |
| 24910 |
endchar; |
| 24911 |
|
| 24912 |
iff known chars.sign_info: |
| 24913 |
bskchar "Info sign"; |
| 24914 |
beginchar(chars.sign_info,8u#,asc_height#,0); uni "0x2139"; |
| 24915 |
adjust_fit(0,0); |
| 24916 |
pickup tiny.nib; |
| 24917 |
pos1(3u,0); pos2(3u,0); |
| 24918 |
x1=x2=rt x3=.5w; bot y1=0; y2=x_height; |
| 24919 |
top y3+1.5u=h; |
| 24920 |
serif_bot(1); drop_serif(2)(1.5u).alt; |
| 24921 |
filldraw z2r..{(x1a-x1r,-.25serif_drop)}z2a&z2a |
| 24922 |
---obl(2b,2a,1a)---z1a..z1b{left}..{right}z1c |
| 24923 |
..z1+ser_boule*up.. z1d{right}..{left}z1e..{up}z1f--cycle; |
| 24924 |
filldraw fullcircle scaled 3u shifted z3; |
| 24925 |
penlabels(1,2,3); |
| 24926 |
endchar; |
| 24927 |
|
| 24928 |
iff known chars.sign_currency: |
| 24929 |
bskchar "Currency sign"; |
| 24930 |
beginchar(chars.sign_currency,10u#,x_height#,0); uni "0x00A4"; |
| 24931 |
adjust_fit(0,0); |
| 24932 |
pickup tiny.nib; |
| 24933 |
path p[]; numeric tim[]; |
| 24934 |
.5[x2,x6]=.5w; x2-x6=y8-y4; y2=y0=.5h; top y8=h; x0=x8; |
| 24935 |
circle_points(hair); |
| 24936 |
p0:=draw_circle.l; |
| 24937 |
forsuffixes i=1,3,5,7: |
| 24938 |
z[i+10]=z.i; pos[i+10](hair,angle(z[i]-z0)+90); |
| 24939 |
z[i+11]=z.i+3hair*unitvector(z[i]-z0); pos[i+11](hair,angle(z[i]-z0)+90); |
| 24940 |
p[i]=z[i+10].r--z[i+11].r; |
| 24941 |
p[i+1]=z[i+11].l--z[i+10].l; |
| 24942 |
endfor; |
| 24943 |
filldraw forsuffixes i=1,3,5,7: |
| 24944 |
subpath(i-1,rundy(p0,i).zpet) of p0..subpath(rundy(p[i],0),infinity) of p[i] |
| 24945 |
..subpath(0,rundy(p[i+1],1).zpet) of p[i+1] .. subpath(rundy(p0,i),i+1) of p0.. |
| 24946 |
endfor |
| 24947 |
cycle; |
| 24948 |
infill draw_circle.r; |
| 24949 |
penlabels(0,11,12,13,14,15,16,17,18); |
| 24950 |
endchar; |
| 24951 |
|
| 24952 |
iff known chars.sign_diameter: |
| 24953 |
bskchar "Diameter sign"; |
| 24954 |
beginchar(chars.sign_diameter,14u#,asc_height#,0); uni "0x2300"; |
| 24955 |
adjust_fit(0,0); |
| 24956 |
pickup tiny.nib; |
| 24957 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 24958 |
pos1(hair,0); pos2(hair,90); pos3(hair,180); pos4(hair,270); |
| 24959 |
lft x1l=u; rt x3l=w-u; y1=y3=.5y4; .5[x2,x4]=.5[x1,x3]; x2-x4=0; y4-y2=x3-x1; .5[y4,y2]=.5h; |
| 24960 |
top z5=(x1,-apex_o); bot z6=(x3,h+o); |
| 24961 |
pos5(hair,angle(z5-z6)+90); pos6(hair,angle(z5-z6)+90); |
| 24962 |
z0r=.5[z5r,z6r]; z0l=.5[z5l,z6l]; |
| 24963 |
p0:=z1l{down}..z2l..z3l..z4l..{down}z1l; |
| 24964 |
p1:=z1r{up}..z4r..z3r..z2r..{up}z1r; |
| 24965 |
p2:=z5r--z0r--z6r; |
| 24966 |
p3:=z6l--z0l--z5l; |
| 24967 |
(tim0,tim1-.5)=p0 intersectiontimes subpath(.5,infinity) of p2; |
| 24968 |
(tim2,tim3)=(subpath (0,1) of p3) intersectiontimes p0; |
| 24969 |
(tim4-1,tim5)=(subpath (1,infinity) of p3) intersectiontimes p0; |
| 24970 |
(tim6,tim7)=p2 intersectiontimes p0; |
| 24971 |
filldraw subpath (rundy(p0,tim7),rundy(p0,tim0).zpet) of p0..subpath(rundy(p2,tim1),infinity) of p2{z6-z5} |
| 24972 |
..subpath(0,rundy(p3,tim2).zpet) of p3..subpath(rundy(p0,tim3),infinity) of p0 |
| 24973 |
..subpath(0,rundy(p0,tim5).zpet) of p0..subpath(rundy(p3,tim4),infinity) of p3 |
| 24974 |
..subpath(0,rundy(p2,tim6).zpet) of p2..cycle; |
| 24975 |
numeric tim[]; |
| 24976 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 24977 |
(tim3,tim4)=p1 intersectiontimes subpath(0,1) of p2; |
| 24978 |
infill subpath(rundy(p2,tim4),rundy(p2,tim2).zpet) of p2 |
| 24979 |
..subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1..cycle; |
| 24980 |
(tim5,tim6)=p1 intersectiontimes p3; |
| 24981 |
(tim7,tim8-1)=p1 intersectiontimes subpath(1,infinity) of p3; |
| 24982 |
infill subpath(rundy(p3,tim6),rundy(p3,tim8).zpet) of p3..subpath(rundy(p1,tim7),infinity) of p1 |
| 24983 |
..subpath(0,rundy(p1,tim5).zpet) of p1..cycle; |
| 24984 |
penlabels(1,2,3,4,5,6); |
| 24985 |
endchar; |
| 24986 |
|
| 24987 |
iff known chars.sign_slash_asterisk: |
| 24988 |
bskchar "Slash and asterisk"; |
| 24989 |
beginchar(chars.sign_slash_asterisk,10u#,body_height#,0); uni "non"; |
| 24990 |
adjust_fit(0,0); |
| 24991 |
pickup tiny.nib; |
| 24992 |
numeric size, ast, vast; |
| 24993 |
path p; |
| 24994 |
ast=3/4stem; vast=.55stem; |
| 24995 |
pos1(ast,0); x1=x0=w-3.25u; |
| 24996 |
size=1/4h; if (size+.5ast)*cosd(30) > (lft w)-u-x0: |
| 24997 |
size:= (lft w-u-x0)/cosd(30)-.5ast; fi; |
| 24998 |
y1=y0+size; y0=size; |
| 24999 |
top rt z2=(w-2u,h); bot lft z3=(u,-d); |
| 25000 |
pos2(rule_thickness,angle(z3-z2)+90); pos3(rule_thickness,angle(z3-z2)+90); |
| 25001 |
p:=z0---z1r{dir120}..z1l---z0; |
| 25002 |
p:=subpath (xpart(p intersectiontimes ((x0,y0+vast)--(w,y0+vast))), |
| 25003 |
xpart(p intersectiontimes ((x0,y0+vast)--(0,y0+vast)))) of p; |
| 25004 |
filldraw for i=0, 60, 120, 180, 240, 300: p rotatedaround(z0,i).. endfor cycle; |
| 25005 |
filldraw bskrule(3,2,rule_thickness,rule_thickness); |
| 25006 |
labels(0); penlabels(1,2,3); |
| 25007 |
endchar; |
| 25008 |
|
| 25009 |
iff known chars.sign_divorce: |
| 25010 |
bskchar "Divorce symbol"; |
| 25011 |
beginchar(chars.sign_divorce,15u#,x_height#,0); uni "0x26AE"; |
| 25012 |
adjust_fit(0,0); |
| 25013 |
pickup tiny.nib; |
| 25014 |
numeric size; size=min(5u,h); |
| 25015 |
pos3(stem,0); pos4(2/3stem,0); pos5(stem,0); |
| 25016 |
y1=y2=.5h; x1=u+.5size; x1=w-x2; |
| 25017 |
x3=x4=x5; z4=.5[z1,z2]; y3=h; y5=-d; |
| 25018 |
filldraw z3r..z4r..z5r--z5l..z4l..z3l--cycle; |
| 25019 |
filldraw fullcircle scaled (size) shifted z1; |
| 25020 |
infill fullcircle scaled (size-hair+currentbreadth) shifted z1; |
| 25021 |
filldraw fullcircle scaled (size) shifted z2; |
| 25022 |
infill fullcircle scaled (size-hair+currentbreadth) shifted z2; |
| 25023 |
labels(1,2); penlabels(3,4,5); |
| 25024 |
endchar; |
| 25025 |
|
| 25026 |
iff known chars.sign_marriage: |
| 25027 |
bskchar "Marriage symbol"; |
| 25028 |
beginchar(chars.sign_marriage,10u#,x_height#,0); uni "0x26AD"; |
| 25029 |
adjust_fit(0,0); |
| 25030 |
pickup tiny.nib; |
| 25031 |
numeric size, tim[]; size=min(5u,h); |
| 25032 |
path p[]; |
| 25033 |
pos1(hair,0); pos11(hair,0); |
| 25034 |
x0=u+.5size; x10=w-x0; y0=y10=.5h=y1=y11; x11-x10=x1-x0=.5size; |
| 25035 |
forsuffixes i=2,3,4,5,6,7,8: |
| 25036 |
z[i]=z0+(z1-z0) rotated (45*(i-1)); pos[i](hair,45*(i-1)); endfor |
| 25037 |
forsuffixes i=12,13,14,15,16,17,18: |
| 25038 |
z[i]=z10+(z11-z10) rotated (45*(i-11)); pos[i](hair,45*(i-11)); endfor |
| 25039 |
p1=z1r{up}..z2r..z3r{left}..z4r..z5r{down}..z6r..z7r{right}..z8r..{up}z1r; |
| 25040 |
p2=z15r{down}..z16r..z17r{right}..z18r..{up}z11r..z12r..{left}z13r..z14r..{down}z15r; |
| 25041 |
p3=z1l{up}..z2l..z3l{left}..z4l..z5l{down}..z6l..z7l{right}..z8l..{up}z1l; |
| 25042 |
p4=z15l{down}..z16l..z17l{right}..z18l..{up}z11l..z12l..{left}z13l..z14l..{down}z15l; |
| 25043 |
(tim1,tim2)=p1 intersectiontimes p2; |
| 25044 |
(tim3-2,tim4)=subpath(2,infinity) of p1 intersectiontimes p2; |
| 25045 |
(tim5,tim6)=p3 intersectiontimes p2; |
| 25046 |
(tim7-2,tim8)=subpath(2,infinity) of p3 intersectiontimes p2; |
| 25047 |
(tim9,tim10)=p4 intersectiontimes p1; |
| 25048 |
(tim11-2,tim12)=subpath(2,infinity) of p4 intersectiontimes p1; |
| 25049 |
(tim13,tim14)=p3 intersectiontimes p4; |
| 25050 |
(tim15-2,tim16)=subpath(2,infinity) of p3 intersectiontimes p4; |
| 25051 |
filldraw subpath(rundy(p1,tim1),rundy(p1,tim3).zpet) of p1 |
| 25052 |
..subpath(rundy(p2,tim4),rundy(p2,tim2).zpet) of p2..cycle; |
| 25053 |
infill subpath(0,rundy(p2,tim8).zpet) of p2 |
| 25054 |
..reverse subpath (rundy(p3,tim5),rundy(p3,tim7).zpet) of p3 |
| 25055 |
..subpath(rundy(p2,tim6),infinity) of p2..cycle; |
| 25056 |
infill subpath(0,rundy(p1,tim12).zpet) of p1 |
| 25057 |
..reverse subpath(rundy(p4,tim9),rundy(p4,tim11).zpet) of p4 |
| 25058 |
..subpath(rundy(p1,tim10),infinity) of p1..cycle; |
| 25059 |
infill subpath(0,rundy(p3,tim13).zpet) of p3 |
| 25060 |
..subpath(rundy(p4,tim14),infinity) of p4 |
| 25061 |
..subpath(0,rundy(p4,tim16).zpet) of p4 |
| 25062 |
..subpath(rundy(p3,tim15),infinity) of p3..cycle; |
| 25063 |
penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18); |
| 25064 |
endchar; |
| 25065 |
|
| 25066 |
iff known chars.sign_estimated: |
| 25067 |
bskchar "Estimated sign"; |
| 25068 |
beginchar(chars.sign_estimated,13u#,cap_height#,0); uni "0x212E"; |
| 25069 |
adjust_fit(0,0); |
| 25070 |
pickup tiny.nib; |
| 25071 |
path p[]; numeric tim[], shift, est_height; |
| 25072 |
oblu:=2.5f_obl; est_height:=.5[bar_height,x_height]; |
| 25073 |
penpos1(cap_curve,0); pos2(hair,90); pos3(hair,270); penpos4(cap_curve,180); |
| 25074 |
lft x1l=u; y1=y4=.5h; x2=x3=.5w+hair; bot y2l=-o; top y3l=h+o; |
| 25075 |
rt x0=w-u; y0=.2h; z0'=z0+hair*dir220; x4=w-x1; |
| 25076 |
p0=z0---z0'+o*down..{left}z2l..z1l..{right}z3l..{down}z4l; |
| 25077 |
p1=z4r{up}..z3r{left}..z1r..{right}z2r..z0'; |
| 25078 |
tim1=xpart(p0 intersectiontimes ((.5w,est_height)--(w,est_height))); |
| 25079 |
tim2=xpart(p1 intersectiontimes ((.5w,est_height)--(w,est_height))); |
| 25080 |
shift:=lft xpart(point tim1 of p0)- w+u; |
| 25081 |
x4l:=x4l-shift; x4r:=x4r-shift; |
| 25082 |
p0:=z0---z0'+o*down..{left}z2l..z1l..{right}z3l..{down}z4l; |
| 25083 |
p1:=z4r{up}..z3r{left}..z1r..{right}z2r..z0'if testdpi:+up fi; |
| 25084 |
tim3=xpart(p0 intersectiontimes ((w,est_height)--(x3,est_height))); |
| 25085 |
tim4=xpart(p1 intersectiontimes ((0,est_height)--(x3,est_height))); |
| 25086 |
tim5=xpart(p1 intersectiontimes ((0,est_height)--(x3,est_height))); |
| 25087 |
tim6=xpart(p1 intersectiontimes ((w,est_height+bar-tiny)--(x3,est_height+bar-tiny))); |
| 25088 |
tim7=xpart(p1 intersectiontimes ((0,est_height+bar-tiny)--(x3,est_height+bar-tiny))); |
| 25089 |
p2=point tim3 of p0 -- point tim4 of p1; |
| 25090 |
p3=point tim7 of p1 -- point tim6 of p1; |
| 25091 |
filldraw subpath(0,rundy(p0,(tim3,hair)).zpet) of p0--(subpath(0,rundy(p2,1).zpet) of p2).. |
| 25092 |
subpath(rundy(p1,(tim5,if bold_face: 1.5f_obl else: oblu fi)),infinity) of p1 |
| 25093 |
{z0-z0'-o*down}..cycle; |
| 25094 |
oblu:=1.5f_obl; |
| 25095 |
infill subpath (rundy(p1,tim6),rundy(p1,tim7).zpet) of p1..subpath(rundy(p3,0),rundy(p3,1).zpet) |
| 25096 |
of p3..cycle; |
| 25097 |
penlabels(1,2,3,4); labels(0,0'); |
| 25098 |
endchar; |
| 25099 |
|
| 25100 |
iff known chars.special_two: |
| 25101 |
bskchar "Special two"; |
| 25102 |
beginchar(chars.special_two,12u#,cap_height#,.5desc_depth#); uni "non"; |
| 25103 |
adjust_fit(0,0); |
| 25104 |
pickup tiny.nib; |
| 25105 |
path p[]; |
| 25106 |
pos1(cap_curve,0); pos2(cap_hair,90); pos3(cap_curve,180); pos4(cap_hair,270); |
| 25107 |
pos5(cap_hair,135); pos6(cap_hair,180); |
| 25108 |
pos5'(cap_hair,135); pos6'(cap_hair,180); |
| 25109 |
lft x1l=u-o; rt x3l=w-u+o; y1=y3=x_height; |
| 25110 |
.5[x2,x4]=.5[x1,x3]; x2-x4=.5u; bot y2l=-o; top y4l=h+o; |
| 25111 |
x5=x2; y6=.35bar_height; y5=.75x_height; x6=.25[x4,x1r]; |
| 25112 |
z6'-z6=o*down; z5'-z5=o*dir45; |
| 25113 |
pos7(whatever,0); |
| 25114 |
z7=(x2,0); x7r=x6l; |
| 25115 |
bot y8r=0; rt x8l=w-u; |
| 25116 |
{{ numeric oldbeak; oldbeak:=beak; save beak; numeric beak; beak:=.65oldbeak; |
| 25117 |
p0=arm_bot_r_points(7r,8); y8f:=.5[y8f,y8d]; |
| 25118 |
}}; |
| 25119 |
filldraw z5'l---z5l..z1l{up}..z4l..z3l..{z6-z3}z6'l.. |
| 25120 |
((z8f...z8d...z8c..z8l.o&z8l.o{up}..z8l---z8r--z8b..z8a---z7r) |
| 25121 |
rotatedaround(z7r,30) shifted ((x8r-x7r)*(1-cosd30),-d)) |
| 25122 |
..z6r{z3-z6}..z3r..z4r..z1r{down}..z5r---z5'r--cycle; |
| 25123 |
penlabels(1,2,3,4,5,5',6,6',7); |
| 25124 |
endchar; |
| 25125 |
|
| 25126 |
iff known chars.special_sum: |
| 25127 |
bskchar "Special summation"; |
| 25128 |
beginchar(chars.special_sum,13u#,cap_height#,0); uni "non"; |
| 25129 |
adjust_fit(cap_serif_fit#,0); |
| 25130 |
pickup tiny.nib; |
| 25131 |
path p[]; |
| 25132 |
numeric alpha, top_stem; oblu:=2oblu; |
| 25133 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 25134 |
bot y1=0; top y2=h; |
| 25135 |
lft x1l=lft x2l-o=2u; |
| 25136 |
cap_serifs_bl(1l); cap_serifs_tl(2l); cap_serifs_br(1r); cap_serifs_tr(2r); |
| 25137 |
bot y3r=0; top y4r=h; rt x3r=w-u; x4r=w-2.5u; |
| 25138 |
x5r=.5w; y5=.5[x_height,bar_height]; |
| 25139 |
alpha=diag_ratio(2,cap_stem,y2-y5,x5r-x2r); |
| 25140 |
pos5(alpha*cap_stem,0); pos7(alpha*cap_stem,180); y5=y7; |
| 25141 |
alpha:=diag_ratio(2,cap_hair,y5-y1,x5r-x1r); |
| 25142 |
pos6(alpha*cap_hair,0); z5r=z6r; pos8(alpha*cap_hair,180); y8=y6; |
| 25143 |
p1:=arm_bot_r_points(1r,3).alt; |
| 25144 |
p2:=arm_top_r_points(2r,4); |
| 25145 |
y1'=y1l.b; z1'=z6l+whatever*(z3.f-z6r); |
| 25146 |
z5'=whatever[z2l.b,z5l]=whatever[z6l,z1']; |
| 25147 |
.5[x7,x5]=.5[x8,x6]=x2; |
| 25148 |
z7'=whatever[z2r.b,z8l]=whatever[z7l,z1']; |
| 25149 |
z2'=whatever[z2l.b,z5']=whatever[z7',z2r]; |
| 25150 |
filldraw subpath(0, length(p1)-1) of p1..z3f---obl(5r,3f,2r.b)--- |
| 25151 |
z2r.b..(reverse subpath(0,length(p2)-1) of p2)---z2l.a.. |
| 25152 |
{right}z2l.c..obl(2l.b,2l.c,7r)---obl(7r,2l.b,1l.b)--z1l.b |
| 25153 |
..{left}z1l.c..z1l.a---cycle; |
| 25154 |
infill obl(5',2l.b,1')---obl(1',5',7')---obl(7',1',2r.b)---obl(2',7',5')---cycle; |
| 25155 |
pos9(cap_hair,0); pos10(cap_hair,0); |
| 25156 |
y9=.5[y5,y2']; y10=.5[y5,y1']; |
| 25157 |
z9=z2'+whatever*down; z10=z1'+whatever*up; |
| 25158 |
filldraw bskrule(9,10,.5hair,.5hair); ; |
| 25159 |
penlabels(1,2,5,6,7,8); labels(1',1'',2',5',7'); |
| 25160 |
endchar; |
| 25161 |
|
| 25162 |
iff known chars.special_alpha: |
| 25163 |
bskchar "Special alpha"; |
| 25164 |
beginchar(chars.special_alpha,11u#,x_height#,0); uni "non"; |
| 25165 |
adjust_fit(0,0); |
| 25166 |
pickup tiny.nib; |
| 25167 |
numeric tim[]; path p[]; oblu:=2oblu; |
| 25168 |
pos0(hair,-90); pos1(stem,0); pos2(stem,0); |
| 25169 |
pos3(hair,-90); pos4(curve,180); pos5(hair,90); |
| 25170 |
pos6(hair,0); pos7(hair,90); pos8(stem,180); |
| 25171 |
top y0l=h; x0=w-u; |
| 25172 |
rt x1r=w-1.5u; x2=x1-stem; top y1=h-u; y2=.5bar_height; |
| 25173 |
x3=.5x2; x5=.55x1; bot y3r=-o; top y5r=h+o; |
| 25174 |
lft x4r=u; y4=y6=bar_height; x6=.25[x2,x5]; |
| 25175 |
x7=w-1.75u; bot y7l=-o; lft x8l=w-.5u; y8=.75curve; |
| 25176 |
z8'=z8+.2stem*right+o*up; z8''=z8+.5(stem-currentbreadth)*dir225; |
| 25177 |
p0=z0r{left}..z1r---z2r..z3r..z4r..z5r..z6r..{right}z7r..z8''..{up}z8r; |
| 25178 |
p1=z8r{up}..z8'..z8l..z7l{left}..z6l..z5l..z4l..z3l..z2l---z1l..z0l; |
| 25179 |
(tim0,tim1-5)=p0 intersectiontimes subpath (5,infinity) of p0; |
| 25180 |
(tim2,tim3)=p1 intersectiontimes p0; |
| 25181 |
(tim4-5,tim5-6)=subpath(5,infinity) of p0 intersectiontimes subpath (6,infinity) of p1; |
| 25182 |
(tim6,tim7-7)=subpath(0,6) of p1 intersectiontimes subpath (7,infinity) of p1; |
| 25183 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0..subpath(rundy(p0,tim1),infinity) of p0 |
| 25184 |
..subpath(0,rundy(p1,tim2).zpet) of p1 |
| 25185 |
..subpath(rundy(p0,tim3),rundy(p0,(tim4,y6-y2)).zpet) of p0 |
| 25186 |
..subpath(rundy(p1,(tim5,y6-y2)),infinity) of p1..cycle; |
| 25187 |
infill subpath (rundy(p1,tim6),rundy(p1,tim7).zpet) of p1..cycle; |
| 25188 |
penlabels(0,1,2,3,4,5,6,7,8); labels(8',8''); |
| 25189 |
endchar; |
| 25190 |
|
| 25191 |
iff known chars.special_infinity: |
| 25192 |
bskchar "Special infinity sign"; |
| 25193 |
beginchar(chars.special_infinity,16u#,x_height#,0); uni "non"; |
| 25194 |
adjust_fit(0,0); |
| 25195 |
pickup tiny.nib; |
| 25196 |
path p[]; numeric testem, tlstem, tim[]; oblu:=2oblu; |
| 25197 |
testem=.5[curve, hair]; tlstem=.75[curve,stem]; |
| 25198 |
pos1(testem,90); pos2(tlstem,270); pos3(tlstem,270); pos4(testem,90); |
| 25199 |
pos5(vair,180); pos6(vair,180); |
| 25200 |
lft x6r=u; rt x5l=w-u; |
| 25201 |
bot y3r=bot y1l=-o; top y4r=top y2l=h+o; |
| 25202 |
x3=x4=.27(w-2u)+u; x1=x2=.76(w-2u)+u; |
| 25203 |
y5=y6=.5h; z0=(.5w,.5h); |
| 25204 |
pos7(hair,180); pos8(stem,180); z7=(.35[x4,x6],.9bar_height); y8=y3r; x8=x7; |
| 25205 |
pos9(.5[hair,stem],180); y9=.75[x_height,bar_height]; x9r=x6l; |
| 25206 |
pos10(hair,-90); z10=z9+stem*unitvector(dir-45); |
| 25207 |
p0:=z6{down}..z3..z0..z2..{up}z5; pos0(curve,angle(direction 2 of p0)-90); |
| 25208 |
p1=z6r{down}..z3r..z0r..z2r..z5r{down}; |
| 25209 |
p2=z10l..z9l{up}..z4l{right}..z0{dir-70}..{right}z1l; |
| 25210 |
p3=z5l{up}..z2l..z0l..z3l..{up}z6l; |
| 25211 |
p4=z1r{left}..z0{dir110}..{left}z4r..{down}z9r..z10r; |
| 25212 |
p5=z6l{down}..z3l..z0l..z2l..z5l{down}; |
| 25213 |
|
| 25214 |
z11=bsktouch(p1,right,p2,left); |
| 25215 |
tim1=xpart(p1 intersectiontimes (z11--(x3,y11))); |
| 25216 |
tim2=xpart(p2 intersectiontimes (z11--(x1,y11))); |
| 25217 |
z12=bsktouch(p3,left,p4,right); |
| 25218 |
tim3=xpart(p3 intersectiontimes (z12--(x2,y12))); |
| 25219 |
tim4=xpart(p4 intersectiontimes (z12--(x3,y12))); |
| 25220 |
(tim5,tim6)=p1 intersectiontimes p4; |
| 25221 |
(tim9,tim10)=p2 intersectiontimes p3; |
| 25222 |
|
| 25223 |
tim7=xpart(p1 intersectiontimes (z7r--z8r)); |
| 25224 |
tim8=xpart(p3 intersectiontimes (z7l--z8l)); |
| 25225 |
p6=point tim8 of p3{direction tim8 of p3 rotated -90}..z7l&z7l..z7r& |
| 25226 |
z7r..{direction tim7 of p1 rotated -90}point tim7 of p1; |
| 25227 |
filldraw subpath(rundy(p6,(0,f_obl)),rundy(p6,(infinity,f_obl)).zpet) of p6 |
| 25228 |
..subpath(rundy(p1,tim7),rundy(p1,tim1).zpet) of p1 |
| 25229 |
..subpath(rundy(p2,tim2),infinity) of p2 |
| 25230 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 25231 |
..subpath(rundy(p4,tim4),infinity) of p4 |
| 25232 |
..subpath(0,rundy(p2,tim9).zpet) of p2 |
| 25233 |
..subpath(rundy(p3,tim10),rundy(p3,(tim8,f_obl)).zpet) of p3 |
| 25234 |
..cycle |
| 25235 |
; |
| 25236 |
infill subpath(rundy(p1,tim5),infinity) of p1 |
| 25237 |
..subpath(0,rundy(p4,tim6).zpet) of p4..cycle; |
| 25238 |
penlabels(0,1,2,3,4,5,6,7,8,9,10); |
| 25239 |
endchar; |
| 25240 |
|
| 25241 |
iff known chars.sign_note: |
| 25242 |
bskchar "Note symbol"; |
| 25243 |
beginchar(chars.sign_note,10u#,asc_height#,0); uni "0x266A"; |
| 25244 |
adjust_fit(0,0); |
| 25245 |
pickup tiny.nib; oblu:=2oblu; |
| 25246 |
pos3(hair,0); pos5(hair,0); pos6(hair,90); pos7(hair,45); |
| 25247 |
path p[]; numeric tim[]; |
| 25248 |
rt x1=u; bot y2=-o; .5[y4,y2]=y1=y3; x2=x4=.5[x3r,x1]; y4-y2=2/3(x3-x1); x3r=w-4u; |
| 25249 |
x3=x5+hair; top y5=h; z5r=z6r; |
| 25250 |
rt x7=w-u; y7=.5[bar_height,x_height]; |
| 25251 |
p0:=z4{left}..z1{down}..z2{right}..{up}z3r..{left}z4; |
| 25252 |
p1:=z5l{down}..{down}z3l; |
| 25253 |
p2:=z3r{up}..{up}z6l; |
| 25254 |
p3:=z6l{z3-z4}..{z3-z4}z7l..{z4-z3}z7r..{left}z6r; |
| 25255 |
z0=bsktouch(p0,up,p1,left); |
| 25256 |
tim0=xpart(p0 intersectiontimes (z0--(x0,y3))); |
| 25257 |
tim1=xpart(p1 intersectiontimes (z0--(w,y0))); |
| 25258 |
filldraw subpath(0,3) of p0..subpath(0,rundy(p2,infinity).zpet) of p2..subpath(rundy(p3,0),infinity) of p3..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0..cycle; |
| 25259 |
labels(1,2,4); penlabels(3,5,6,7); |
| 25260 |
endchar; |
| 25261 |
|
| 25262 |
iff known chars.sign_angle_arc: |
| 25263 |
bskchar "Angle arc symbol"; |
| 25264 |
beginchar(chars.sign_angle_arc,12u#,v_center(x_height#)); uni "0x2222"; |
| 25265 |
adjust_fit(0,0); |
| 25266 |
pickup tiny.nib; |
| 25267 |
path p[]; numeric theta, tim[]; |
| 25268 |
pos1(rule_thickness,0); |
| 25269 |
lft x1l=u; y1=math_axis; |
| 25270 |
y2r=x_height; |
| 25271 |
x2r=w-x1l; x2=x3; .5[y2r,y3r]=y1; |
| 25272 |
theta:=angle(z2r-z1r); |
| 25273 |
pos2(rule_thickness,theta-90); pos3(rule_thickness,theta+45); |
| 25274 |
z1'=z1l+(rule_thickness-currentbreadth)*dir(theta-90); |
| 25275 |
z1''=z1l+(rule_thickness-currentbreadth)*dir(theta+45); |
| 25276 |
z1'''=whatever[z1',z2r]=whatever[z1'',z3r]; |
| 25277 |
y1l'=y1l+o; z1l'=whatever[z1l,z2l]; |
| 25278 |
bskpoints(1,2,hair,hair); |
| 25279 |
pos4(rule_thickness,0); x4r=.8[x1,x2]; x6=x5; .5[y5,y6]=y4=y1; |
| 25280 |
z5=(fullcircle scaled (2 abs(z4-z1)) shifted z1) intersectionpoint ((0,h)--(w,h)); |
| 25281 |
pos5(rule_thickness,angle(z5-z1)); pos6(rule_thickness,angle(z6-z1)); |
| 25282 |
p0:=z1l..z1l'---z2ll..{z1'''-z2r}z2r; |
| 25283 |
oblu:=2oblu; p1:=z2r---obl(1''',2r,3r)---z3r; oblu:=f_obl; |
| 25284 |
p2:=z3r{z3r-z1'''}..z3l---z1l; |
| 25285 |
p3:=z5r..{down}z4r..z6r; |
| 25286 |
p4:=z6l..{up}z4l..z5l; |
| 25287 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 25288 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 25289 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 25290 |
(tim6-1,tim7)=subpath(1,infinity) of p1 intersectiontimes p3; |
| 25291 |
(tim8,tim9)=p2 intersectiontimes p3; |
| 25292 |
(tim10,tim11)=p2 intersectiontimes p4; |
| 25293 |
(tim12,tim13)=subpath(0,1) of p1 intersectiontimes p4; |
| 25294 |
(tim14-1,tim15)=subpath(1,infinity) of p1 intersectiontimes p4; |
| 25295 |
filldraw subpath(0,rundy(p0,tim1).zpet) of p0 |
| 25296 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 25297 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 25298 |
..subpath(rundy(p0,tim2),infinity) of p0 |
| 25299 |
..subpath(0,rundy(p1,tim4).zpet) of p1 |
| 25300 |
..subpath(rundy(p3,tim5),rundy(p3,tim7).zpet) of p3 |
| 25301 |
..subpath(rundy(p1,tim6),infinity) of p1 |
| 25302 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 25303 |
..subpath(rundy(p3,tim9),infinity) of p3 |
| 25304 |
..subpath(0,rundy(p4,tim11).zpet) of p4 |
| 25305 |
..subpath(rundy(p2,tim10),infinity) of p2..cycle; |
| 25306 |
infill subpath(rundy(p1,tim12),rundy(p1,tim14).zpet) of p1 |
| 25307 |
..subpath(rundy(p4,tim15),rundy(p4,tim13).zpet) of p4 ..cycle; |
| 25308 |
penlabels(1,2,3,4,5,6); labels(1',1'',1''',2ll,1l'); |
| 25309 |
endchar; |
| 25310 |
|
| 25311 |
iff known chars.sign_numero: |
| 25312 |
bskchar "Numero sign"; |
| 25313 |
beginchar(chars.sign_numero,16u#,cap_height#,0); uni "0x2116"; |
| 25314 |
adjust_fit(cap_serif_fit#,cap_serif_fit#); |
| 25315 |
pickup tiny.nib; oblu:=3oblu; |
| 25316 |
numeric tim[]; path p[]; |
| 25317 |
pos1(cap_hair,0); pos2(cap_hair,0); |
| 25318 |
pos3(cap_hair,0); pos4(cap_hair,0); |
| 25319 |
penpos5(whatever,0); penpos6(whatever,90); |
| 25320 |
pos0(hair,-90); pos0'(stem,250); |
| 25321 |
pos10(hair,-90); pos11(.85curve,180); pos12(hair,90); pos13(.85curve,0); |
| 25322 |
bot y1=.25bar_height; top y2=h; |
| 25323 |
lft x1l=lft x2l=2.5u; |
| 25324 |
bot y3=-apex_o; rt x3r=rt x4r=w-6u; |
| 25325 |
z5r=z2l; z6l=z3l; |
| 25326 |
cap_serifs_tl(2l); |
| 25327 |
bot y0r=-o; x1-x0=y1-y0; x0'r=.5u; y0'-y0=.5(x1-x0); |
| 25328 |
z0''=z0'+.5(stem-currentbreadth)*dir135; |
| 25329 |
z7=z6l+(cap_stem,0) rotated (angle(z5r-z6l)-90); |
| 25330 |
z5l=z7+whatever*(z5r-z6l); z6r=z7+whatever*(z5r-z6l); |
| 25331 |
y2'+o=y5'=y2l.b-cap_hair; x2'=x2r; z5'=whatever[z6l,z5r]; |
| 25332 |
y4'-o=y6'=y6r+2cap_hair; x4'=x4l; z6'=whatever[z6r,z5l]; |
| 25333 |
z8=z5l+(cap_hair,0) rotated (angle(z6l-z5r)); |
| 25334 |
y10-y4=x10-x3; top y10l=h+o; x10=.5[x11,x13]; lft x13l=rt x4r+hair; |
| 25335 |
.5[y10,y12]=y11=y13; y10-y12=(sqrt2)*(x11-x13); |
| 25336 |
x11l=w-u; x12=x10; |
| 25337 |
p0:=z0'l{up}..z0''..z0'r..z0r{right}..z1r---z2'..z5' |
| 25338 |
---z6l..z3r---z4r..z10r{right}..{down}z11r..z12r..{up}z13r..{right}z10r; |
| 25339 |
p1:=z10l{left}..z13l{down}..z12l..z11l{up}..{left}z10l..z4l |
| 25340 |
---z4'..z6'---z8..z5---z2l.a..{right}z2l.c..z2l.b---z1l..{left}z0l..{up}z0'l; |
| 25341 |
z14=bsktouch(subpath(0,1) of p1,left,subpath(8,infinity) of p0,right); |
| 25342 |
tim0=xpart(p0 intersectiontimes (z14--(.5w,y14))); |
| 25343 |
tim1=xpart(p1 intersectiontimes (z14--(x10,y14))); |
| 25344 |
filldraw subpath(rundy(p1,tim1),infinity) of p1 |
| 25345 |
..subpath(0,rundy(p0,tim0).zpet) of p0..cycle; |
| 25346 |
infill z10r{right}..z11r{down}..z12r..{up}z13r..cycle; |
| 25347 |
penlabels(0,0',1,2,3,4,5,6,10,11,12,13); labels(0'',2',4',5',6',7,8,9,14); |
| 25348 |
endchar; |
| 25349 |
|
| 25350 |
iff known chars.sign_leaf: |
| 25351 |
bskchar "Leaf"; |
| 25352 |
beginchar(chars.sign_leaf, 14u#,asc_height#,0); uni "0xEB42"; %Uni form LM |
| 25353 |
adjust_fit(0,0); |
| 25354 |
pickup tiny.nib; |
| 25355 |
path p[]; numeric tim[], theta; theta:=20; |
| 25356 |
lft bot z1r=(1.5u,-apex_o); top z2r=(w-u,h+apex_o); z0=.5[z1,z2]; |
| 25357 |
pos1(hair,angle(z2r-z1r)-90); pos2(hair,angle(z2r-z1r)-90); |
| 25358 |
z3=(w-2.5u,bar_height); z4=z3 reflectedabout(z1,z2); |
| 25359 |
p1:=z1{dir-theta}..z3..{up}z2; pos3(hair,angle(point 1 of p1)-90); |
| 25360 |
p2:=z2{left}..z4..{dir(-90+theta)}z1; pos4(hair,angle(point 1 of p2)-90); |
| 25361 |
p3:=z2l+(hair-currentbreadth)*down{left}..z4r..{dir(-90+theta)}z1l+(hair-currentbreadth)*right; |
| 25362 |
p4:=z1r+(hair-currentbreadth)*up{dir-theta}..z3l..{up}z2r+(hair-currentbreadth)*left; |
| 25363 |
z5=2/3[z2,z1]; z6=1/3[z2,z1]; |
| 25364 |
pos5(hair,angle(z2-z1)-90); pos6(hair,angle(z2-z1)-90); |
| 25365 |
pos5'(hair,angle(z2-z1)-90); pos6'(hair,angle(z2-z1)-90); |
| 25366 |
z5'=z5+(hair-currentbreadth)*unitvector(z0-z5); |
| 25367 |
z6'=z6+(hair-currentbreadth)*unitvector(z0-z6); |
| 25368 |
tim0=xpart(p3 intersectiontimes (z6--z6+5(z4-z0))); z7=point tim0 of p3; |
| 25369 |
tim1=xpart(p4 intersectiontimes (z6--z6+5(z3-z0))); z8=point tim1 of p4; |
| 25370 |
tim2=xpart(p3 intersectiontimes (z5--z5+5(z4-z0))); z9=point tim2 of p3; |
| 25371 |
tim3=xpart(p4 intersectiontimes (z5--z5+5(z3-z0))); z10=point tim3 of p4; |
| 25372 |
z7l=point rundy(p3,(tim0,hair-currentbreadth)) of p3; |
| 25373 |
z8l=point rundy(p4,(tim1,hair-currentbreadth)).zpet of p4; |
| 25374 |
z9l=point rundy(p3,(tim2,hair-currentbreadth)) of p3; |
| 25375 |
z10l=point rundy(p4,(tim3,hair-currentbreadth)).zpet of p4; |
| 25376 |
p5:=z1l---obl(5l,1l,9l)---z9l; |
| 25377 |
p6:=z10l---obl(5r,10l,1r)--z1r; |
| 25378 |
p7:=z7---obl(6l,7,2l)---z2l; |
| 25379 |
p8:=z2r---obl(6r,2r,8)--z8; |
| 25380 |
p9:=z7l---obl(6'l,7l,5'l)---obl(5'l,6'l,9)---z9; |
| 25381 |
p10:=z8l---obl(6'r,8l,5'r)---obl(5'r,6'r,10)---z10; |
| 25382 |
filldraw z1r{dir-theta}..z3r..{up}z2r..z2l{left}..z4l..{dir(-90+theta)}z1l..cycle; |
| 25383 |
infill subpath(rundy(p3,(0,2oblu)),rundy(p3,tim0).zpet) of p3 |
| 25384 |
..subpath(rundy(p7,0),rundy(p7,(infinity,2oblu)).zpet) of p7..cycle; |
| 25385 |
infill subpath(rundy(p4,tim1),rundy(p4,(infinity,2oblu)).zpet) of p4 |
| 25386 |
..subpath(rundy(p8,(0,2oblu)),rundy(p8,infinity).zpet) of p8..cycle; |
| 25387 |
infill subpath(rundy(p3,(tim2,2oblu)),rundy(p3,infinity).zpet) of p3 |
| 25388 |
..subpath(rundy(p5,0),rundy(p5,infinity).zpet) of p5..cycle; |
| 25389 |
infill subpath(rundy(p4,0),rundy(p4,(tim3,2oblu)).zpet) of p4 |
| 25390 |
..subpath(rundy(p6,0),rundy(p6,infinity).zpet) of p6..cycle; |
| 25391 |
infill subpath(rundy(p9,0),rundy(p9,infinity).zpet) of p9 |
| 25392 |
..reverse subpath (rundy(p2,tim0),rundy(p2,tim2).zpet) of p2..cycle; |
| 25393 |
infill subpath(rundy(p10,0),rundy(p10,infinity).zpet) of p10 |
| 25394 |
..subpath (rundy(p1,tim3),rundy(p1,tim1).zpet) of p1..cycle; |
| 25395 |
penlabels(0,1,2,3,4,5,5',6,6',7,8,9,10); |
| 25396 |
endchar; |
| 25397 |
|
| 25398 |
iff known chars.math_multimap: |
| 25399 |
bskchar "Multimap symbol"; |
| 25400 |
beginchar(chars.math_multimap,16u#,v_center(.6x_height#)); uni "0x22B8"; |
| 25401 |
adjust_fit(0,0); |
| 25402 |
pickup tiny.nib; |
| 25403 |
path p[]; oblu:=rule_thickness; |
| 25404 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25405 |
circle_points(rule_thickness); |
| 25406 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25407 |
z10=z6l+rule_thickness*left; lft x9=u; y9=y10; |
| 25408 |
bskpoints(9,10,hair,hair); |
| 25409 |
p0=draw_circle.l; |
| 25410 |
p1=z10l---z9l..z9rr---z10r; |
| 25411 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25412 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25413 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25414 |
infill draw_circle.r; |
| 25415 |
penlabels(9,10); labels(9rr); |
| 25416 |
endchar; |
| 25417 |
|
| 25418 |
iff known chars.math_multimapdot: |
| 25419 |
bskchar "Multimap symbol with dot"; |
| 25420 |
beginchar(chars.math_multimapdot,16u#,v_center(.6x_height#)); uni "non"; |
| 25421 |
adjust_fit(0,0); |
| 25422 |
pickup tiny.nib; |
| 25423 |
path p[]; oblu:=rule_thickness; |
| 25424 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25425 |
circle_points(rule_thickness); |
| 25426 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25427 |
z10=z6l+rule_thickness*left; lft x9=u; y9=y10; |
| 25428 |
bskpoints(9,10,hair,hair); |
| 25429 |
p0=draw_circle.l; |
| 25430 |
p1=z10l---z9l..z9rr---z10r; |
| 25431 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25432 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25433 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25434 |
penlabels(9,10); labels(9rr); |
| 25435 |
endchar; |
| 25436 |
|
| 25437 |
iff known chars.math_multimap_inverted: |
| 25438 |
bskchar "Inverted multimap symbol"; |
| 25439 |
beginchar(chars.math_multimap_inverted,16u#,v_center(.6x_height#)); uni "0x27DC"; |
| 25440 |
adjust_fit(0,0); |
| 25441 |
pickup tiny.nib; |
| 25442 |
path p[]; oblu:=rule_thickness; |
| 25443 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25444 |
circle_points(rule_thickness); |
| 25445 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25446 |
z10=z2l+rule_thickness*right; rt x9=w-u; y9=y10; |
| 25447 |
bskpoints(9,10,hair,hair); |
| 25448 |
p0=draw_circle.l; |
| 25449 |
p1=z10r---z9rr..z9l---z10l; |
| 25450 |
filldraw subpath(0,rundy(p0,2).zpet) of p0 |
| 25451 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25452 |
..subpath(rundy(p0,2),length p0) of p0..cycle; |
| 25453 |
infill draw_circle.r; |
| 25454 |
penlabels(9,10); labels(9rr); |
| 25455 |
endchar; |
| 25456 |
|
| 25457 |
iff known chars.math_multimapdot_inverted: |
| 25458 |
bskchar "Inverted multimap symbol with dot"; |
| 25459 |
beginchar(chars.math_multimapdot_inverted,16u#,v_center(.6x_height#)); uni "non"; |
| 25460 |
adjust_fit(0,0); |
| 25461 |
pickup tiny.nib; |
| 25462 |
path p[]; oblu:=rule_thickness; |
| 25463 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25464 |
circle_points(rule_thickness); |
| 25465 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25466 |
z10=z2l+rule_thickness*right; rt x9=w-u; y9=y10; |
| 25467 |
bskpoints(9,10,hair,hair); |
| 25468 |
p0=draw_circle.l; |
| 25469 |
p1=z10r---z9rr..z9l---z10l; |
| 25470 |
filldraw subpath(0,rundy(p0,2).zpet) of p0 |
| 25471 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25472 |
..subpath(rundy(p0,2),length p0) of p0..cycle; |
| 25473 |
penlabels(9,10); labels(9rr); |
| 25474 |
endchar; |
| 25475 |
|
| 25476 |
iff known chars.math_multimap_both: |
| 25477 |
bskchar "Multimap-both symbol"; |
| 25478 |
beginchar(chars.math_multimap_both,16u#,v_center(.6x_height#)); uni "non"; |
| 25479 |
adjust_fit(0,0); |
| 25480 |
pickup tiny.nib; |
| 25481 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25482 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25483 |
circle_points(rule_thickness); |
| 25484 |
p0=draw_circle.l; |
| 25485 |
p1=draw_circle.r; |
| 25486 |
pol:=z6l; |
| 25487 |
save x,y; |
| 25488 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25489 |
circle_points(rule_thickness); |
| 25490 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25491 |
z10=pol+rule_thickness*left; z9=z2l+rule_thickness*right; |
| 25492 |
p2=draw_circle.l; |
| 25493 |
p3=z10l---z9l; |
| 25494 |
p4=z9r---z10r; |
| 25495 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25496 |
..subpath(rundy(p3,0),rundy(p3,1).zpet) of p3 |
| 25497 |
..subpath(rundy(p2,2),length p2) of p2 |
| 25498 |
..subpath(0,rundy(p2,2).zpet) of p2 |
| 25499 |
..subpath(0,rundy(p4,1).zpet) of p4 |
| 25500 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25501 |
infill p1; |
| 25502 |
infill draw_circle.r; |
| 25503 |
penlabels(9,10); |
| 25504 |
endchar; |
| 25505 |
|
| 25506 |
iff known chars.math_multimapdot_both: |
| 25507 |
bskchar "Multimap-both symbol with dots"; |
| 25508 |
beginchar(chars.math_multimapdot_both,16u#,v_center(.6x_height#)); uni "non"; |
| 25509 |
adjust_fit(0,0); |
| 25510 |
pickup tiny.nib; |
| 25511 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25512 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25513 |
circle_points(rule_thickness); |
| 25514 |
p0=draw_circle.l; |
| 25515 |
pol:=z6l; |
| 25516 |
save x,y; |
| 25517 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25518 |
circle_points(rule_thickness); |
| 25519 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25520 |
z10=pol+rule_thickness*left; z9=z2l+rule_thickness*right; |
| 25521 |
p1=draw_circle.l; |
| 25522 |
p2=z10l---z9l; |
| 25523 |
p3=z9r---z10r; |
| 25524 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25525 |
..subpath(rundy(p2,0),rundy(p2,1).zpet) of p2 |
| 25526 |
..subpath(rundy(p1,2),length p1) of p1 |
| 25527 |
..subpath(0,rundy(p1,2).zpet) of p1 |
| 25528 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 25529 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25530 |
penlabels(9,10); |
| 25531 |
endchar; |
| 25532 |
|
| 25533 |
iff known chars.math_multimapdot_left_both: |
| 25534 |
bskchar "Multimap-both symbol with left dot"; |
| 25535 |
beginchar(chars.math_multimapdot_left_both,16u#,v_center(.6x_height#)); uni "0x22B7"; |
| 25536 |
adjust_fit(0,0); |
| 25537 |
pickup tiny.nib; |
| 25538 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25539 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25540 |
circle_points(rule_thickness); |
| 25541 |
p0=draw_circle.l; |
| 25542 |
p1=draw_circle.r; |
| 25543 |
pol:=z6l; |
| 25544 |
save x,y; |
| 25545 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25546 |
circle_points(rule_thickness); |
| 25547 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25548 |
z10=pol+rule_thickness*left; z9=z2l+rule_thickness*right; |
| 25549 |
p2=draw_circle.l; |
| 25550 |
p3=z10l---z9l; |
| 25551 |
p4=z9r---z10r; |
| 25552 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25553 |
..subpath(rundy(p3,0),rundy(p3,1).zpet) of p3 |
| 25554 |
..subpath(rundy(p2,2),length p2) of p2 |
| 25555 |
..subpath(0,rundy(p2,2).zpet) of p2 |
| 25556 |
..subpath(0,rundy(p4,1).zpet) of p4 |
| 25557 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25558 |
infill p1; |
| 25559 |
penlabels(9,10); |
| 25560 |
endchar; |
| 25561 |
|
| 25562 |
iff known chars.math_multimapdot_right_both: |
| 25563 |
bskchar "Multimap-both symbol with right dot"; |
| 25564 |
beginchar(chars.math_multimapdot_right_both,16u#,v_center(.6x_height#)); uni "0x22B6"; |
| 25565 |
adjust_fit(0,0); |
| 25566 |
pickup tiny.nib; |
| 25567 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25568 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25569 |
circle_points(rule_thickness); |
| 25570 |
p0=draw_circle.l; |
| 25571 |
pol:=z6l; |
| 25572 |
save x,y; |
| 25573 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25574 |
circle_points(rule_thickness); |
| 25575 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25576 |
z10=pol+rule_thickness*left; z9=z2l+rule_thickness*right; |
| 25577 |
p1=draw_circle.l; |
| 25578 |
p2=z10l---z9l; |
| 25579 |
p3=z9r---z10r; |
| 25580 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25581 |
..subpath(rundy(p2,0),rundy(p2,1).zpet) of p2 |
| 25582 |
..subpath(rundy(p1,2),length p1) of p1 |
| 25583 |
..subpath(0,rundy(p1,2).zpet) of p1 |
| 25584 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 25585 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25586 |
infill draw_circle.r; |
| 25587 |
penlabels(9,10); |
| 25588 |
endchar; |
| 25589 |
|
| 25590 |
iff known chars.math_multimap_both_vert: |
| 25591 |
bskchar "Vertical multimap-both symbol"; |
| 25592 |
beginchar(chars.math_multimap_both_vert,10u#,body_height#,paren_depth#); uni "non"; |
| 25593 |
adjust_fit(0,0); |
| 25594 |
pickup tiny.nib; |
| 25595 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25596 |
x8=.5w; y8-y4=x2-x6; top y8=h-.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25597 |
circle_points(rule_thickness); |
| 25598 |
p0=draw_circle.l; |
| 25599 |
p1=draw_circle.r; |
| 25600 |
pol:=z4l; |
| 25601 |
save x,y; |
| 25602 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25603 |
circle_points(rule_thickness); |
| 25604 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25605 |
z10=pol+rule_thickness*down; z9=z8l+rule_thickness*up; |
| 25606 |
p2=draw_circle.l; |
| 25607 |
p3=z10l---z9l; |
| 25608 |
p4=z9r---z10r; |
| 25609 |
filldraw subpath(0,rundy(p0,4).zpet) of p0 |
| 25610 |
..subpath(rundy(p3,0),rundy(p3,1).zpet) of p3 |
| 25611 |
..subpath(rundy(p2,0),rundy(p2,length p2).zpet) of p2 |
| 25612 |
..subpath(0,rundy(p4,1).zpet) of p4 |
| 25613 |
..subpath(rundy(p0,4),length p0) of p0..cycle; |
| 25614 |
infill p1; |
| 25615 |
infill draw_circle.r; |
| 25616 |
penlabels(9,10); |
| 25617 |
endchar; |
| 25618 |
|
| 25619 |
iff known chars.math_multimapdot_both_vert: |
| 25620 |
bskchar "Vertical multimap-both symbol with dots"; |
| 25621 |
beginchar(chars.math_multimapdot_both_vert,10u#,body_height#,paren_depth#); uni "non"; |
| 25622 |
adjust_fit(0,0); |
| 25623 |
pickup tiny.nib; |
| 25624 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25625 |
x8=.5w; y8-y4=x2-x6; top y8=h-.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25626 |
circle_points(rule_thickness); |
| 25627 |
p0=draw_circle.l; |
| 25628 |
pol:=z4l; |
| 25629 |
save x,y; |
| 25630 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25631 |
circle_points(rule_thickness); |
| 25632 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25633 |
z10=pol+rule_thickness*down; z9=z8l+rule_thickness*up; |
| 25634 |
p1=draw_circle.l; |
| 25635 |
p2=z10l---z9l; |
| 25636 |
p3=z9r---z10r; |
| 25637 |
filldraw subpath(0,rundy(p0,4).zpet) of p0 |
| 25638 |
..subpath(rundy(p2,0),rundy(p2,1).zpet) of p2 |
| 25639 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25640 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 25641 |
..subpath(rundy(p0,4),length p0) of p0..cycle; |
| 25642 |
penlabels(9,10); |
| 25643 |
endchar; |
| 25644 |
|
| 25645 |
iff known chars.math_multimapdot_top_both_vert: |
| 25646 |
bskchar "Vertical multimap-both symbol with top dot"; |
| 25647 |
beginchar(chars.math_multimapdot_top_both_vert,10u#,body_height#,paren_depth#); uni "non"; |
| 25648 |
adjust_fit(0,0); |
| 25649 |
pickup tiny.nib; |
| 25650 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25651 |
x8=.5w; y8-y4=x2-x6; top y8=h-.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25652 |
circle_points(rule_thickness); |
| 25653 |
p0=draw_circle.l; |
| 25654 |
pol:=z4l; |
| 25655 |
save x,y; |
| 25656 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25657 |
circle_points(rule_thickness); |
| 25658 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25659 |
z10=pol+rule_thickness*down; z9=z8l+rule_thickness*up; |
| 25660 |
p1=draw_circle.l; |
| 25661 |
p2=z10l---z9l; |
| 25662 |
p3=z9r---z10r; |
| 25663 |
filldraw subpath(0,rundy(p0,4).zpet) of p0 |
| 25664 |
..subpath(rundy(p2,0),rundy(p2,1).zpet) of p2 |
| 25665 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25666 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 25667 |
..subpath(rundy(p0,4),length p0) of p0..cycle; |
| 25668 |
infill draw_circle.r; |
| 25669 |
penlabels(9,10); |
| 25670 |
endchar; |
| 25671 |
|
| 25672 |
iff known chars.math_multimapdot_bot_both_vert: |
| 25673 |
bskchar "Vertical multimap-both symbol with botttom dot"; |
| 25674 |
beginchar(chars.math_multimapdot_bot_both_vert,10u#,body_height#,paren_depth#); uni "non"; |
| 25675 |
adjust_fit(0,0); |
| 25676 |
pickup tiny.nib; |
| 25677 |
path p[]; pair pol; oblu:=rule_thickness; |
| 25678 |
x8=.5w; y8-y4=x2-x6; top y8=h-.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25679 |
circle_points(rule_thickness); |
| 25680 |
p0=draw_circle.l; |
| 25681 |
p1=draw_circle.r; |
| 25682 |
pol:=z4l; |
| 25683 |
save x,y; |
| 25684 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25685 |
circle_points(rule_thickness); |
| 25686 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25687 |
z10=pol+rule_thickness*down; z9=z8l+rule_thickness*up; |
| 25688 |
p2=draw_circle.l; |
| 25689 |
p3=z10l---z9l; |
| 25690 |
p4=z9r---z10r; |
| 25691 |
filldraw subpath(0,rundy(p0,4).zpet) of p0 |
| 25692 |
..subpath(rundy(p3,0),rundy(p3,1).zpet) of p3 |
| 25693 |
..subpath(rundy(p2,0),rundy(p2,length p2).zpet) of p2 |
| 25694 |
..subpath(0,rundy(p4,1).zpet) of p4 |
| 25695 |
..subpath(rundy(p0,4),length p0) of p0..cycle; |
| 25696 |
infill p1; |
| 25697 |
penlabels(9,10); |
| 25698 |
endchar; |
| 25699 |
|
| 25700 |
iff known chars.math_line_vert_circle: |
| 25701 |
bskchar "Vertical line with circle above"; |
| 25702 |
beginchar(chars.math_multimap_both_vert,7u#,body_height#,paren_depth#); uni "0x2AEF"; |
| 25703 |
adjust_fit(0,0); |
| 25704 |
pickup tiny.nib; |
| 25705 |
path p; oblu:=rule_thickness; |
| 25706 |
x8=.5w; y8-y4=x2-x6; top y8=h-.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25707 |
circle_points(rule_thickness); |
| 25708 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25709 |
z10=z4l+rule_thickness*down; bot z9=(x10,-d);; |
| 25710 |
bskpoints(9,10,rule_thickness,rule_thickness); |
| 25711 |
p=draw_circle.l; |
| 25712 |
filldraw subpath(0,rundy(p,4).zpet) of p..z10l---z9l..z9rr---z10r |
| 25713 |
..subpath(rundy(p,4),length p) of p..cycle; |
| 25714 |
infill draw_circle.r; |
| 25715 |
penlabels(9,10); labels(9rr); |
| 25716 |
endchar; |
| 25717 |
|
| 25718 |
iff known chars.math_circle_line_vert: |
| 25719 |
bskchar "Vertical line with circle below"; |
| 25720 |
beginchar(chars.math_circle_line_vert,7u#,body_height#,paren_depth#); uni "0x2AF0"; |
| 25721 |
adjust_fit(0,0); |
| 25722 |
pickup tiny.nib; |
| 25723 |
path p; oblu:=rule_thickness; |
| 25724 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25725 |
circle_points(rule_thickness); |
| 25726 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25727 |
top z10=(x9,h); z9=z8l+rule_thickness*up; |
| 25728 |
bskpoints(9,10,rule_thickness,rule_thickness); |
| 25729 |
p=draw_circle.l; |
| 25730 |
filldraw z10ll---z9l..subpath(rundy(p,0),rundy(p,length p).zpet) of p..z9r---z10r..cycle; |
| 25731 |
infill draw_circle.r; |
| 25732 |
penlabels(9,10); labels(10ll); |
| 25733 |
endchar; |
| 25734 |
|
| 25735 |
iff known chars.math_circle_tack_down: |
| 25736 |
bskchar "Down tack with circle below"; |
| 25737 |
beginchar(chars.math_circle_tack_down,7u#,body_height#,paren_depth#); uni "0x2AF1"; |
| 25738 |
adjust_fit(0,0); |
| 25739 |
pickup tiny.nib; |
| 25740 |
path p; oblu:=rule_thickness; |
| 25741 |
x8=.5w; y8-y4=x2-x6; bot y4=-d+.5rule_thickness; top y8-y2=.3x_height-.5rule_thickness; |
| 25742 |
circle_points(rule_thickness); |
| 25743 |
pos9(rule_thickness,180); pos10(rule_thickness,180); |
| 25744 |
pos11(rule_thickness,90); pos12(rule_thickness,90); |
| 25745 |
x10=x9; y10=y11l; z9=z8l+rule_thickness*up; |
| 25746 |
lft x11=u; rt x12=w-u; top y11r=top y12r=h; |
| 25747 |
bskpoints(11,12,rule_thickness,rule_thickness); |
| 25748 |
p=draw_circle.l; |
| 25749 |
filldraw z12ll---obl(10l,12ll,9l)---z9l |
| 25750 |
..subpath(rundy(p,0),rundy(p,length p).zpet) of p |
| 25751 |
..z9r---obl(10r,9r,11l)---z11l..z11rr---z12r..cycle; |
| 25752 |
infill draw_circle.r; |
| 25753 |
penlabels(9,10,11,12); labels(11rr,12ll); |
| 25754 |
endchar; |
| 25755 |
|
| 25756 |
iff known chars.math_dfourier: |
| 25757 |
bskchar "Dfourier symbol"; |
| 25758 |
beginchar(chars.math_dfourier,13u#,v_center(.6x_height#)); uni "non"; |
| 25759 |
adjust_fit(0,0); |
| 25760 |
pickup tiny.nib; |
| 25761 |
path p[]; oblu:=rule_thickness; |
| 25762 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25763 |
circle_points(rule_thickness); |
| 25764 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25765 |
z10=z2l+rule_thickness*right; x9=.5[x10,x11]; y9=y10; |
| 25766 |
top rt z11=(w-u,h); |
| 25767 |
pos11(rule_thickness,angle(z9-z11)-90); |
| 25768 |
bskpoints(9,11,hair,hair); |
| 25769 |
p0=draw_circle.l; |
| 25770 |
p1=z10r---obl(9r,10r,11r)---z11r..z11ll---obl(9l,11l,10l)---z10l; |
| 25771 |
filldraw subpath(0,rundy(p0,2).zpet) of p0 |
| 25772 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25773 |
..subpath(rundy(p0,2),length p0) of p0..cycle; |
| 25774 |
infill draw_circle.r; |
| 25775 |
penlabels(9,10,11); labels(11ll); |
| 25776 |
endchar; |
| 25777 |
|
| 25778 |
iff known chars.math_dfourier_inverted: |
| 25779 |
bskchar "Inverted dfourier symbol"; |
| 25780 |
beginchar(chars.math_dfourier_inverted,13u#,v_center(.6x_height#)); uni "non"; |
| 25781 |
adjust_fit(0,0); |
| 25782 |
pickup tiny.nib; |
| 25783 |
path p[]; oblu:=rule_thickness; |
| 25784 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25785 |
circle_points(rule_thickness); |
| 25786 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25787 |
z10=z6l+rule_thickness*left; x9=.5[x10,x11]; y9=y10; |
| 25788 |
top lft z11=(u,h); |
| 25789 |
pos11(rule_thickness,angle(z9-z11)+90); |
| 25790 |
bskpoints(9,11,hair,hair); |
| 25791 |
p0=draw_circle.l; |
| 25792 |
p1=z10l---obl(9l,10l,11l)---z11ll..z11r---obl(9r,11r,10r)---z10r; |
| 25793 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25794 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25795 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25796 |
infill draw_circle.r; |
| 25797 |
penlabels(9,10,11); labels(11ll); |
| 25798 |
endchar; |
| 25799 |
|
| 25800 |
iff known chars.math_ztrans: |
| 25801 |
bskchar "Z transformation symbol"; |
| 25802 |
beginchar(chars.math_ztrans,19u#,v_center(.6x_height#)); uni "non"; |
| 25803 |
adjust_fit(0,0); |
| 25804 |
pickup tiny.nib; |
| 25805 |
path p[]; oblu:=rule_thickness; |
| 25806 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25807 |
circle_points(rule_thickness); |
| 25808 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25809 |
z10=z2l+rule_thickness*right; x9=.5[x10,x11]; y9=y10; |
| 25810 |
top rt z11=(w-8u,h); |
| 25811 |
pos11(rule_thickness,angle(z9-z11)-90); |
| 25812 |
bskpoints(9,11,hair,hair); |
| 25813 |
p0=draw_circle.l; |
| 25814 |
p1=z10r---obl(9r,10r,11r)---z11r..z11ll---obl(9l,11l,10l)---z10l; |
| 25815 |
filldraw subpath(0,rundy(p0,2).zpet) of p0 |
| 25816 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25817 |
..subpath(rundy(p0,2),length p0) of p0..cycle; |
| 25818 |
infill draw_circle.r; |
| 25819 |
penlabels(9,10,11); labels(11ll); |
| 25820 |
save x,y; |
| 25821 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25822 |
circle_points(rule_thickness); |
| 25823 |
pos12(rule_thickness,90); pos13(rule_thickness,90); |
| 25824 |
z12=z6l+rule_thickness*left; y12=y13; x13=w-8u; |
| 25825 |
bskpoints(13,12,hair,hair); |
| 25826 |
p2=draw_circle.l; |
| 25827 |
p3=z12l---z13l..z13rr---z12r; |
| 25828 |
filldraw subpath(0,rundy(p2,6).zpet) of p2 |
| 25829 |
..subpath(rundy(p3,0),rundy(p3,infinity).zpet) of p3 |
| 25830 |
..subpath(rundy(p2,6),length p2) of p2..cycle; |
| 25831 |
penlabels(12,13); labels(13rr); |
| 25832 |
endchar; |
| 25833 |
|
| 25834 |
iff known chars.math_ztrans_inv: |
| 25835 |
bskchar "Inverted Z transformation symbol"; |
| 25836 |
beginchar(chars.math_ztrans_inv,19u#,v_center(.6x_height#)); uni "non"; |
| 25837 |
adjust_fit(0,0); |
| 25838 |
pickup tiny.nib; |
| 25839 |
path p[]; oblu:=rule_thickness; |
| 25840 |
rt x2=w-u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25841 |
circle_points(rule_thickness); |
| 25842 |
pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 25843 |
z10=z6l+rule_thickness*left; x9=.5[x10,x11]; y9=y10; |
| 25844 |
top lft z11=(8u,h); |
| 25845 |
pos11(rule_thickness,angle(z9-z11)-90); |
| 25846 |
bskpoints(9,11,hair,hair); |
| 25847 |
p0=draw_circle.l; |
| 25848 |
p1=z10l---obl(9l,10l,11r)---z11r..z11ll---obl(9r,11l,10r)---z10r; |
| 25849 |
filldraw subpath(0,rundy(p0,6).zpet) of p0 |
| 25850 |
..subpath(rundy(p1,0),rundy(p1,length p1).zpet) of p1 |
| 25851 |
..subpath(rundy(p0,6),length p0) of p0..cycle; |
| 25852 |
infill draw_circle.r; |
| 25853 |
penlabels(9,10,11); labels(11ll); |
| 25854 |
save x,y; |
| 25855 |
lft x6=u; y2=math_axis; y8-y4=x2-x6; top y8=h-.5rule_thickness; |
| 25856 |
circle_points(rule_thickness); |
| 25857 |
pos12(rule_thickness,90); pos13(rule_thickness,90); |
| 25858 |
z12=z2l+rule_thickness*right; y12=y13; x13=8u; |
| 25859 |
bskpoints(13,12,hair,hair); |
| 25860 |
p2=draw_circle.l; |
| 25861 |
p3=z12r---z13rr..z13l---z12l; |
| 25862 |
filldraw subpath(0,rundy(p2,2).zpet) of p2 |
| 25863 |
..subpath(rundy(p3,0),rundy(p3,infinity).zpet) of p3 |
| 25864 |
..subpath(rundy(p2,2),length p2) of p2..cycle; |
| 25865 |
penlabels(12,13); labels(13rr); |
| 25866 |
endchar; |
| 25867 |
|
| 25868 |
iff known chars.math_lambda: |
| 25869 |
bskchar "Stylized lambda symbol"; |
| 25870 |
beginchar(chars.math_lambda,13u#,asc_height#,0); uni "non"; |
| 25871 |
adjust_fit(0,0); |
| 25872 |
pickup tiny.nib; oblu.more:=1.5oblu; |
| 25873 |
numeric thr; |
| 25874 |
lft x1=u+.5rule_thickness; x2=w-x1; top y1=h; bot y2=0; |
| 25875 |
x3l=x1l; y3l=y2; y4l=.5[x_height,bar_height]; |
| 25876 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 25877 |
pos1(thr,0); pos2(thr,0); |
| 25878 |
z4l=whatever[z2l,z1l]; |
| 25879 |
thr:=rule_thickness/abs(sind(angle(z3l-z4l))); |
| 25880 |
pos3(thr,0); z4r=whatever[z2l,z1l]=z3r+whatever*(z4l-z3l); |
| 25881 |
filldraw z1l---obl(4l,1l,3l)---z3l..z3r---obl(4r,3r,2l).more---z2l..z2r---z1r..cycle; |
| 25882 |
penlabels(1,2,3,4); |
| 25883 |
endchar; |
| 25884 |
|
| 25885 |
iff known chars.math_lambda_refl: |
| 25886 |
bskchar "Reflected stylized lambda symbol"; |
| 25887 |
beginchar(chars.math_lambda_refl,13u#,asc_height#,0); uni "non"; |
| 25888 |
adjust_fit(0,0); |
| 25889 |
pickup tiny.nib; oblu.more:=1.5oblu; |
| 25890 |
numeric thr; |
| 25891 |
rt x1=w-u-.5rule_thickness; x2=w-x1; top y1=h; bot y2=0; |
| 25892 |
x3l=x1l; y3l=y2; y4l=.5[x_height,bar_height]-.5rule_thickness; |
| 25893 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 25894 |
pos1(thr,0); pos2(thr,0); |
| 25895 |
z4l=whatever[z2r,z1r]; |
| 25896 |
thr:=rule_thickness/abs(sind(angle(z3l-z4l))); |
| 25897 |
pos3(thr,0); z4r=whatever[z2r,z1r]=z3r+whatever*(z4l-z3l); |
| 25898 |
filldraw z1r---obl(4r,1r,3r)---z3r..z3l---obl(4l,3l,2r).more---z2r..z2l---z1l..cycle; |
| 25899 |
penlabels(1,2,3,4); |
| 25900 |
endchar; |
| 25901 |
|
| 25902 |
iff known chars.math_right_angle_nw: |
| 25903 |
bskchar "Northwest right angle symbol"; |
| 25904 |
beginchar(chars.math_right_angle_nw,10u#,asc_height#,0); uni "non"; |
| 25905 |
adjust_fit(0,0); |
| 25906 |
pickup tiny.nib; |
| 25907 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 25908 |
lft x1l=lft x2l=u; rt x3=w-u; |
| 25909 |
top y2=top y3l=h; y2-y1=x3-x2l; y2r:=y2-rule_thickness+currentbreadth; |
| 25910 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25911 |
penlabels(1,2,3); |
| 25912 |
endchar; |
| 25913 |
|
| 25914 |
iff known chars.math_right_angle_nw_dot: |
| 25915 |
bskchar "Northwest right angle symbol with dot"; |
| 25916 |
beginchar(chars.math_right_angle_nw_dot,10u#,asc_height#,0); uni "0x27D4"; |
| 25917 |
adjust_fit(0,0); |
| 25918 |
pickup tiny.nib; |
| 25919 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 25920 |
lft x1l=lft x2l=u; rt x3=w-u; z4=.5[z1,z3]; |
| 25921 |
top y2=top y3l=h; y2-y1=x3-x2l; y2r:=y2-rule_thickness+currentbreadth; |
| 25922 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25923 |
dot(4); |
| 25924 |
penlabels(1,2,3); |
| 25925 |
endchar; |
| 25926 |
|
| 25927 |
iff known chars.math_right_angle_ne: |
| 25928 |
bskchar "Northeast right angle symbol"; |
| 25929 |
beginchar(chars.math_right_angle_ne,10u#,asc_height#,0); uni "non"; |
| 25930 |
adjust_fit(0,0); |
| 25931 |
pickup tiny.nib; |
| 25932 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 25933 |
rt x1r=rt x2r=w-u; lft x3=u; |
| 25934 |
top y2=top y3r=h; y2-y1=x2r-x3; y2l:=y2-rule_thickness+currentbreadth; |
| 25935 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25936 |
penlabels(1,2,3); |
| 25937 |
endchar; |
| 25938 |
|
| 25939 |
iff known chars.math_right_angle_sw: |
| 25940 |
bskchar "Southwest right angle symbol"; |
| 25941 |
beginchar(chars.math_right_angle_sw,10u#,8u#,0); uni "non"; |
| 25942 |
adjust_fit(0,0); |
| 25943 |
pickup tiny.nib; |
| 25944 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); |
| 25945 |
lft x1l=lft x2l=u; rt x3=w-u; |
| 25946 |
bot y2=bot y3l=0; y1-y2=x3-x2l; y2r:=y2+rule_thickness-currentbreadth; |
| 25947 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25948 |
penlabels(1,2,3); |
| 25949 |
endchar; |
| 25950 |
|
| 25951 |
iff known chars.math_right_angle_se: |
| 25952 |
bskchar "Southeast right angle symbol"; |
| 25953 |
beginchar(chars.math_right_angle_se,10u#,8u#,0); uni "non"; |
| 25954 |
adjust_fit(0,0); |
| 25955 |
pickup tiny.nib; |
| 25956 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 25957 |
rt x1r=rt x2r=w-u; lft x3=u; |
| 25958 |
bot y2=bot y3r=0; y1-y2=x2r-x3; y2l:=y2+rule_thickness-currentbreadth; |
| 25959 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25960 |
penlabels(1,2,3); |
| 25961 |
endchar; |
| 25962 |
|
| 25963 |
iff known chars.math_right_angle_se_dot: |
| 25964 |
bskchar "Southeast right angle symbol with dot"; |
| 25965 |
beginchar(chars.math_right_angle_se_dot,10u#,8u#,0); uni "0x27D3"; |
| 25966 |
adjust_fit(0,0); |
| 25967 |
pickup tiny.nib; |
| 25968 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,270); |
| 25969 |
rt x1r=rt x2r=w-u; lft x3=u; z4=.5[z1,z3]; |
| 25970 |
bot y2=bot y3r=0; y1-y2=x2r-x3; y2l:=y2+rule_thickness-currentbreadth; |
| 25971 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3r---obl(2r,3r,1r)---z1r..cycle; |
| 25972 |
dot(4); |
| 25973 |
penlabels(1,2,3); |
| 25974 |
endchar; |
| 25975 |
|
| 25976 |
iff known chars.math_axis_line_short: |
| 25977 |
bskchar "Short axis line"; |
| 25978 |
beginchar(chars.math_axis_line_short,10u#,v_center(x_height#)); uni "non"; |
| 25979 |
adjust_fit(0,0); |
| 25980 |
pickup tiny.nib; |
| 25981 |
pos0(rule_thickness,90); pos1(rule_thickness,90); |
| 25982 |
y0=y1=math_axis; lft x0=1.5u; x1=w-x0; |
| 25983 |
filldraw bskrule(0,1,rule_thickness,rule_thickness); |
| 25984 |
penlabels(0,1); |
| 25985 |
endchar; |
| 25986 |
|
| 25987 |
iff known chars.math_angle: |
| 25988 |
bskchar "Simple angle sign"; |
| 25989 |
beginchar(chars.math_angle,12u#,.8asc_height#,0); uni "0x2220"; |
| 25990 |
adjust_fit(0,0); |
| 25991 |
pickup tiny.nib; oblu.more:=2oblu; |
| 25992 |
numeric thr; |
| 25993 |
rt x1=w-u-.5rule_thickness; x2=w-x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 25994 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 25995 |
pos1(thr,0); pos2(thr,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 25996 |
rt x4=w-u; z3r=whatever[z2r,z1r]; |
| 25997 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 25998 |
filldraw z1r---obl(3r,1r,4r).more---z4rr..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 25999 |
penlabels(1,2,3,4); labels(4rr); |
| 26000 |
endchar; |
| 26001 |
|
| 26002 |
iff known chars.math_angle_arc: |
| 26003 |
bskchar "Simple angle sign with arc"; |
| 26004 |
beginchar(chars.math_angle_arc,12u#,.8asc_height#,0); uni "0x2221"; |
| 26005 |
adjust_fit(0,0); |
| 26006 |
pickup tiny.nib; |
| 26007 |
numeric thr; path p[]; |
| 26008 |
rt x1=w-u-.5rule_thickness; x2=w-x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26009 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 26010 |
pos1(thr,0); pos2(thr,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26011 |
pos5(rule_thickness,0); |
| 26012 |
rt x4=w-u; z3r=whatever[z2r,z1r]; y5=y4r; x5=.5[x3,x4]; |
| 26013 |
z6l-z3r=(z5l-z3r) rotated angle(z1-z2); |
| 26014 |
z6r-z3r=(z5r-z3r) rotated angle(z1-z2); |
| 26015 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 26016 |
p0=z6r{dir(angle(z1-z2)-90)}..{down}z5r; |
| 26017 |
p1=z6l{dir(angle(z1-z2)-90)}..{down}z5l; |
| 26018 |
p2=z1r--z6r; |
| 26019 |
p3=z5r--z4rr; |
| 26020 |
p4=z3r--z6l; |
| 26021 |
p5=z5l--z3r; |
| 26022 |
filldraw subpath(0,rundy(p2,1).zpet) of p2 |
| 26023 |
..subpath(rundy(p0,0),rundy(p0,1).zpet) of p0 |
| 26024 |
..subpath(rundy(p3,0),1) of p3{right} |
| 26025 |
..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 26026 |
infill subpath(rundy(p5,0),rundy(p5,(1,2oblu)).zpet) of p5 |
| 26027 |
..subpath(rundy(p4,(0,2oblu)),rundy(p4,1).zpet) of p4 |
| 26028 |
..subpath(rundy(p1,0),rundy(p1,1).zpet) of p1..cycle; |
| 26029 |
penlabels(1,2,3,4,5,6); labels(4rr); |
| 26030 |
endchar; |
| 26031 |
|
| 26032 |
iff known chars.math_angle_right: |
| 26033 |
bskchar "Simple right-angle sign"; |
| 26034 |
beginchar(chars.math_angle_right,12u#,.8asc_height#,0); uni "0x221F"; |
| 26035 |
adjust_fit(0,0); |
| 26036 |
pickup tiny.nib; oblu.more:=2oblu; |
| 26037 |
numeric thr; |
| 26038 |
lft x1=u+.5rule_thickness; x2=x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26039 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 26040 |
pos1(thr,0); pos2(thr,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26041 |
rt x4=w-u; z3r=whatever[z2r,z1r]; |
| 26042 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 26043 |
filldraw z1r---obl(3r,1r,4r).more---z4rr..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 26044 |
penlabels(1,2,3,4); labels(4rr); |
| 26045 |
endchar; |
| 26046 |
|
| 26047 |
iff known chars.math_angle_right_arc: |
| 26048 |
bskchar "Simple right-angle sign with arc"; |
| 26049 |
beginchar(chars.math_angle_right_arc,12u#,.8asc_height#,0); uni "0x22BE"; |
| 26050 |
adjust_fit(0,0); |
| 26051 |
pickup tiny.nib; |
| 26052 |
path p[]; |
| 26053 |
lft x1=u+.5rule_thickness; x2=x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26054 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26055 |
pos5(rule_thickness,0); |
| 26056 |
rt x4=w-u; z3r=whatever[z2r,z1r]; y5=y4r; x5=.5[x3,x4]; |
| 26057 |
z6l-z3r=(z5l-z3r) rotated angle(z1-z2); |
| 26058 |
z6r-z3r=(z5r-z3r) rotated angle(z1-z2); |
| 26059 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 26060 |
p0=z6r{dir(angle(z1-z2)-90)}..{down}z5r; |
| 26061 |
p1=z6l{dir(angle(z1-z2)-90)}..{down}z5l; |
| 26062 |
p2=z1r--z6r; |
| 26063 |
p3=z5r--z4rr; |
| 26064 |
p4=z3r--z6l; |
| 26065 |
p5=z5l--z3r; |
| 26066 |
filldraw subpath(0,rundy(p2,1).zpet) of p2 |
| 26067 |
..subpath(rundy(p0,0),rundy(p0,1).zpet) of p0 |
| 26068 |
..subpath(rundy(p3,0),1) of p3{right} |
| 26069 |
..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 26070 |
infill subpath(rundy(p5,0),rundy(p5,(1,2oblu)).zpet) of p5 |
| 26071 |
..subpath(rundy(p4,(0,2oblu)),rundy(p4,1).zpet) of p4 |
| 26072 |
..subpath(rundy(p1,0),rundy(p1,1).zpet) of p1..cycle; |
| 26073 |
penlabels(1,2,3,4,5,6); labels(4rr); |
| 26074 |
endchar; |
| 26075 |
|
| 26076 |
iff known chars.math_angle_right_arc_dot: |
| 26077 |
bskchar "Simple right-angle sign with arc and dot inside"; |
| 26078 |
beginchar(chars.math_angle_right_arc_dot,12u#,.8asc_height#,0); uni "0x299D"; |
| 26079 |
adjust_fit(0,0); |
| 26080 |
pickup tiny.nib; |
| 26081 |
path p[]; |
| 26082 |
lft x1=u+.5rule_thickness; x2=x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26083 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26084 |
pos5(rule_thickness,0); |
| 26085 |
rt x4=w-u; z3r=whatever[z2r,z1r]; y5=y4r; x5=2/3[x3,x4]; |
| 26086 |
z6l-z3r=(z5l-z3r) rotated angle(z1-z2); |
| 26087 |
z6r-z3r=(z5r-z3r) rotated angle(z1-z2); |
| 26088 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 26089 |
p0=z6r{dir(angle(z1-z2)-90)}..{down}z5r; |
| 26090 |
p1=z6l{dir(angle(z1-z2)-90)}..{down}z5l; |
| 26091 |
p2=z1r--z6r; |
| 26092 |
p3=z5r--z4rr; |
| 26093 |
p4=z3r--z6l; |
| 26094 |
p5=z5l--z3r; |
| 26095 |
z7=.5[z3r+oblu*dir45, (z3r--z3r+w*dir45) intersectionpoint p1]; |
| 26096 |
filldraw subpath(0,rundy(p2,1).zpet) of p2 |
| 26097 |
..subpath(rundy(p0,0),rundy(p0,1).zpet) of p0 |
| 26098 |
..subpath(rundy(p3,0),1) of p3{right} |
| 26099 |
..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 26100 |
infill subpath(rundy(p5,0),rundy(p5,(1,2oblu)).zpet) of p5 |
| 26101 |
..subpath(rundy(p4,(0,2oblu)),rundy(p4,1).zpet) of p4 |
| 26102 |
..subpath(rundy(p1,0),rundy(p1,1).zpet) of p1..cycle; |
| 26103 |
dot(7); |
| 26104 |
penlabels(1,2,3,4,5,6); labels(4rr); |
| 26105 |
endchar; |
| 26106 |
|
| 26107 |
iff known chars.math_angle_right_square: |
| 26108 |
bskchar "Simple right-angle sign with square"; |
| 26109 |
beginchar(chars.math_angle_right_square,12u#,.8asc_height#,0); uni "0x299C"; |
| 26110 |
adjust_fit(0,0); |
| 26111 |
pickup tiny.nib; |
| 26112 |
lft x1=u+.5rule_thickness; x2=x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26113 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26114 |
pos5(rule_thickness,0); |
| 26115 |
rt x4=w-u; z3r=whatever[z2r,z1r]; y5=y4r; x5=.5[x3,x4]; |
| 26116 |
z6l-z3r=(z5l-z3r) rotated angle(z1-z2); |
| 26117 |
z6r-z3r=(z5r-z3r) rotated angle(z1-z2); |
| 26118 |
z7r=(x5r,y6r); z7l=(x5l,y6l); |
| 26119 |
bskpoints(4,3,rule_thickness,rule_thickness); |
| 26120 |
filldraw z1r---obl(6r,1r,7r)---obl(7r,6r,5r)---obl(5r,7r,4r)---z4rr..z4l |
| 26121 |
---obl(2l,4l,1l)---z1l..cycle; |
| 26122 |
infill obl(6l,3r,7l)---obl(7l,6l,5l)---obl(5l,7l,3r)---obl(3r,5l,6l)---cycle; |
| 26123 |
penlabels(1,2,3,4,5,6,7); labels(4rr); |
| 26124 |
endchar; |
| 26125 |
|
| 26126 |
iff known chars.math_angle_3D: |
| 26127 |
bskchar "Threedimensional angle sign"; |
| 26128 |
beginchar(chars.math_angle_3D,12u#,.8asc_height#,0); uni "0x27C0"; |
| 26129 |
adjust_fit(0,0); |
| 26130 |
pickup tiny.nib; oblu.more:=2oblu; |
| 26131 |
numeric thr; |
| 26132 |
lft x1=u+.5rule_thickness; x2=x1; top y1=h; bot y2=bot y4l=bot y3l=0; |
| 26133 |
thr:=rule_thickness/abs(sind(angle(z2-z1))); |
| 26134 |
pos1(thr,0); pos2(thr,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26135 |
rt x4=w-u; z3r=whatever[z2r,z1r]; |
| 26136 |
x5=x4-.5rule_thickness; y5=y1-.5rule_thickness; y6r=y4r; x6l=x1r; |
| 26137 |
pos5(rule_thickness,angle(z5-z2)-90); |
| 26138 |
z6r=z5r+whatever*(z2-z5); z6l=z5l+whatever*(z2-z5); z6=.5[z6l,z6r]; |
| 26139 |
bskpoints(4,3,rule_thickness,rule_thickness); bskpoints(5,6,rule_thickness,rule_thickness); |
| 26140 |
filldraw z1r---obl(6l,1r,5l).more--z5l..z5rr---obl(6r,5r,4r).more---z4rr..z4l---obl(2l,4l,1l)---z1l..cycle; |
| 26141 |
penlabels(1,2,3,4,5,6); labels(4rr); |
| 26142 |
endchar; |
| 26143 |
|
| 26144 |
iff known chars.math_propto_circ: |
| 26145 |
bskchar "Proportionality sign made from circles"; |
| 26146 |
beginchar(chars.math_propto_circ,1.5x_height#+2u#,x_height#,0); |
| 26147 |
adjust_fit(0,0); |
| 26148 |
pickup tiny.nib; |
| 26149 |
numeric shift, tim[]; path p[]; |
| 26150 |
lft x6=u+.5rule_thickness; y2=y0=.5h; x0=x8; y8-y4=x2-x6; top y8=h; |
| 26151 |
circle_points(rule_thickness); |
| 26152 |
forsuffixes $=8,7,6,5,4: z$ll-z$l=z$rr-z$r=shift*right; endfor; |
| 26153 |
z6ll=z2r; |
| 26154 |
p0=z2l{up}..z1l..{left}z8l..z7l..{down}z6l..z5l..{right}z4l..z3l..{up}z2l; |
| 26155 |
p1=z8ll{left}..z7ll..{down}z2r; |
| 26156 |
p2=z2r{down}..z5ll..{right}z4ll; |
| 26157 |
z9=bsktouch(p0,right,p1,left); z10=bsktouch(p0,right,p2,left); |
| 26158 |
tim0=xpart(p0 intersectiontimes (z9--(x8,y9))); |
| 26159 |
tim1=xpart(p1 intersectiontimes (z9--(x8ll,y9))); |
| 26160 |
tim2=xpart(p0 intersectiontimes (z10--(x8,y10))); |
| 26161 |
tim3=xpart(p2 intersectiontimes (z10--(x8ll,y10))); |
| 26162 |
filldraw subpath(0,rundy(p1,tim1).zpet) of p1 |
| 26163 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 26164 |
..subpath(rundy(p2,tim3),infinity) of p2 |
| 26165 |
..z4rr{left}..z2l{up}..{right}z8rr..cycle; |
| 26166 |
infill draw_circle.r; |
| 26167 |
labels(8ll,8rr,7ll,7rr,6ll,6rr,5ll,5rr,4ll,4rr); |
| 26168 |
endchar; |
| 26169 |
|
| 26170 |
iff known chars.math_sim_inv: |
| 26171 |
bskchar "Inverted similarity sign"; |
| 26172 |
beginchar(chars.math_sim_inv, 14u#, v_center(.5x_height#)); uni "0x223D"; |
| 26173 |
adjust_fit(0,0); |
| 26174 |
pickup tiny.nib; |
| 26175 |
numeric spread; spread:=h+d; |
| 26176 |
vlnka_inv(0,1); |
| 26177 |
endchar; |
| 26178 |
|
| 26179 |
iff known chars.math_sim_inv_eq: |
| 26180 |
bskchar "Inverted similar or equal sign"; |
| 26181 |
beginchar(chars.math_sim_inv_eq, 14u#, v_center(.5x_height#+3u#)); uni "0x22CD"; |
| 26182 |
adjust_fit(0,0); |
| 26183 |
pickup tiny.nib; |
| 26184 |
numeric spread; spread:=(h+d)-3u; |
| 26185 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 26186 |
top y0=h; lft x2=u; rt x3=w-u; y2l=y3l=-d; |
| 26187 |
vlnka_inv(0,1); |
| 26188 |
filldraw bskrule(2,3,hair,hair); |
| 26189 |
endchar; |
| 26190 |
|
| 26191 |
iff known chars.math_sim_inv_eq_double: |
| 26192 |
bskchar "Inverted similar or double equal sign (All equal to)"; |
| 26193 |
beginchar(chars.math_sim_inv_eq_double, 14u#, v_center(.95x_height#+2u#)); uni "0x224C"; |
| 26194 |
adjust_fit(0,0); |
| 26195 |
pickup tiny.nib; |
| 26196 |
numeric spread; spread:=.5x_height; |
| 26197 |
pos2(rule_thickness,90); pos3(rule_thickness,90); |
| 26198 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 26199 |
top y0=h; lft x2=lft x4=u; rt x3=rt x5=w-u; y2l=y3l=-d; y4=y5=y3+.45x_height; |
| 26200 |
vlnka_inv(0,1); |
| 26201 |
filldraw bskrule(2,3,hair,hair); |
| 26202 |
filldraw bskrule(4,5,hair,hair); |
| 26203 |
penlabels(2,3,4,5); |
| 26204 |
endchar; |
| 26205 |
|
| 26206 |
iff known chars.math_division_times: |
| 26207 |
bskchar "Division times sign"; |
| 26208 |
beginarithchar(chars.math_division_times); uni "0x22C7"; |
| 26209 |
pickup tiny.nib; |
| 26210 |
oblu:=1.5oblu; oblu.more:=2f_obl; |
| 26211 |
pos1(rule_thickness,135); pos2(rule_thickness,135); |
| 26212 |
pos3(rule_thickness,45); pos4(rule_thickness,45); |
| 26213 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 26214 |
lft x1r=lft x3l=2u; rt x2l=rt x4r=w-2u; |
| 26215 |
bot y1l=bot y4l=-d+u; top y2r=top y3r=h-u; |
| 26216 |
y5=y6=.5[y13,y14]=math_axis; lft x5=u; rt x6=w-u; |
| 26217 |
x13=x14=.5w; top y13+.25dot_size=y3r; |
| 26218 |
bskpoints(5,6,hair,hair); |
| 26219 |
z7=whatever[z4l,z3l]=whatever[z1l,z2l]; |
| 26220 |
z8=whatever[z1r,z2r]=whatever[z5l,z6l]; |
| 26221 |
z9=whatever[z3l,z4l]=whatever[z5r,z6r]; |
| 26222 |
z10=whatever[z3r,z4r]=whatever[z1r,z2r]; |
| 26223 |
z11=whatever[z2l,z1l]=whatever[z5r,z6r]; |
| 26224 |
z12=whatever[z4r,z3r]=whatever[z5l,z6l]; |
| 26225 |
filldraw z4l---obl(7,4l,1l)---z1l..z1r---obl(8,1r,5l).more---z5l |
| 26226 |
..z5rr---obl(9,5r,3l).more---z3l..z3r---obl(10,3r,2r)---z2r |
| 26227 |
..z2l---obl(11,2l,6r).more---z6r..z6ll---obl(12,6l,4r).more---z4r..cycle; |
| 26228 |
dot(13); dot(14); |
| 26229 |
penlabels(1,2,3,4,5,6); labels(5rr,6ll,7,8,9,10,11,12); |
| 26230 |
endchar; |
| 26231 |
|
| 26232 |
iff known chars.math_sunrise: |
| 26233 |
bskchar "Sunrise symbol"; |
| 26234 |
beginchar(chars.math_sunrise,13u#,.425x_height#+.5rule_thickness#+math_axis#,.225x_height#+.5rule_thickness#-math_axis#); uni "0x224F"; |
| 26235 |
adjust_fit(0,0); |
| 26236 |
pickup tiny.nib; path p[]; |
| 26237 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26238 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26239 |
pos5(rule_thickness,90); pos1'(rule_thickness,180); pos2'(rule_thickness,0); |
| 26240 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; x5=.5[x1,x2]=.5[x1',x2']; |
| 26241 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=.45x_height; |
| 26242 |
top y5r=h+o; y1'=y2'=y1r; x2'-x1'=2(y5-y2'); y2'l:=y1'l:=y2l; |
| 26243 |
bskpoints(1,2,hair,0); |
| 26244 |
p0=z1r--z1'r; |
| 26245 |
p1=z1'r{up}..z5r..{down}z2'r; |
| 26246 |
p2=z2'r--z2r; |
| 26247 |
p3=z2ll--z2'l; |
| 26248 |
p4=z2'l{up}..z5l..{down}z1'l; |
| 26249 |
p5=z1'l--z1l; |
| 26250 |
filldraw subpath(0,rundy(p0,1).zpet) of p0 |
| 26251 |
..subpath(rundy(p1,0),rundy(p1,2).zpet) of p1 |
| 26252 |
..subpath(rundy(p2,0),infinity) of p2{right} |
| 26253 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 26254 |
..subpath(rundy(p4,0),rundy(p4,2).zpet) of p4 |
| 26255 |
..subpath(rundy(p5,0),infinity) of p5..cycle; |
| 26256 |
filldraw bskrule(4,3,hair,0); |
| 26257 |
penlabels(1,1',2,2',3,4,5); |
| 26258 |
endchar; |
| 26259 |
|
| 26260 |
iff known chars.math_equals_bumpy: |
| 26261 |
bskchar "Equals sign with bumpy"; |
| 26262 |
beginchar(chars.math_equals_bumpy,13u#,.65x_height#+.5rule_thickness#+math_axis#,.5x_height#+.5rule_thickness#-math_axis#); uni "0x2AAE"; |
| 26263 |
adjust_fit(0,0); |
| 26264 |
pickup tiny.nib; path p[]; |
| 26265 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26266 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26267 |
pos6(rule_thickness,90); pos7(rule_thickness,90); |
| 26268 |
pos5(rule_thickness,90); pos1'(rule_thickness,180); pos2'(rule_thickness,0); |
| 26269 |
lft x1=lft x6=u; x2+x1=w; x3=x1; x4=x7=x2; x5=.5[x1,x2]=.5[x1',x2']; |
| 26270 |
y1=y2; y3=y4; y6=y7; .5[y1,y6]=y3=math_axis; y1-y3=.45x_height; |
| 26271 |
top y5r=h+o; y1'=y2'=y1r; x2'-x1'=2(y5-y2'); y2'l:=y1'l:=y2l; |
| 26272 |
bskpoints(1,2,hair,0); |
| 26273 |
p0=z1r--z1'r; |
| 26274 |
p1=z1'r{up}..z5r..{down}z2'r; |
| 26275 |
p2=z2'r--z2r; |
| 26276 |
p3=z2ll--z2'l; |
| 26277 |
p4=z2'l{up}..z5l..{down}z1'l; |
| 26278 |
p5=z1'l--z1l; |
| 26279 |
filldraw subpath(0,rundy(p0,1).zpet) of p0 |
| 26280 |
..subpath(rundy(p1,0),rundy(p1,2).zpet) of p1 |
| 26281 |
..subpath(rundy(p2,0),infinity) of p2{right} |
| 26282 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 26283 |
..subpath(rundy(p4,0),rundy(p4,2).zpet) of p4 |
| 26284 |
..subpath(rundy(p5,0),infinity) of p5..cycle; |
| 26285 |
filldraw bskrule(3,4,hair,0); |
| 26286 |
filldraw bskrule(7,6,hair,0); |
| 26287 |
penlabels(1,1',2,2',3,4,5,6,7); |
| 26288 |
endchar; |
| 26289 |
|
| 26290 |
iff known chars.math_over_water: |
| 26291 |
bskchar "Over water symbol"; |
| 26292 |
beginchar(chars.math_over_water,13u#,.225x_height#+.5rule_thickness#+math_axis#,.425x_height#+.5rule_thickness#-math_axis#); uni "non"; |
| 26293 |
adjust_fit(0,0); |
| 26294 |
pickup tiny.nib; path p[]; |
| 26295 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26296 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26297 |
pos5(rule_thickness,270); pos3'(rule_thickness,180); pos4'(rule_thickness,0); |
| 26298 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; x5=.5[x1,x2]=.5[x3',x4']; |
| 26299 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=.45x_height; |
| 26300 |
bot y5r=-d-o; y3'=y4'=y3l; x4'-x3'=2(y3'-y5); |
| 26301 |
y4'l:=y3'l:=y4r; |
| 26302 |
bskpoints(4,3,hair,0); |
| 26303 |
p1=z3ll--z3'r; |
| 26304 |
p2=z3'r{down}..z5r..{up}z4'r; |
| 26305 |
p3=z4'r--z4l; |
| 26306 |
p4=z4r--z4'l; |
| 26307 |
p5=z4'l{down}..z5l..{up}z3'l; |
| 26308 |
p6=z3'l--z3r; |
| 26309 |
filldraw bskrule(1,2,hair,0); |
| 26310 |
filldraw subpath(0,rundy(p1,1).zpet) of p1 |
| 26311 |
..subpath(rundy(p2,0),rundy(p2,2).zpet) of p2 |
| 26312 |
..subpath(rundy(p3,0),infinity) of p3{right} |
| 26313 |
..subpath(0,rundy(p4,1).zpet) of p4 |
| 26314 |
..subpath(rundy(p5,0),rundy(p5,2).zpet) of p5 |
| 26315 |
..subpath(rundy(p6,0),infinity) of p6..cycle; |
| 26316 |
penlabels(1,2,3,3',4,4',5,6); |
| 26317 |
endchar; |
| 26318 |
|
| 26319 |
iff known chars.math_sunrise_water: |
| 26320 |
bskchar "Sunrise over water symbol"; |
| 26321 |
beginchar(chars.math_sunrise_water,13u#,v_center(.85x_height#+rule_thickness#)); uni "0x224E"; |
| 26322 |
adjust_fit(0,0); |
| 26323 |
pickup tiny.nib; path p[]; |
| 26324 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26325 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26326 |
pos5(rule_thickness,90); pos1'(rule_thickness,180); pos2'(rule_thickness,0); |
| 26327 |
pos6(rule_thickness,270); pos3'(rule_thickness,180); pos4'(rule_thickness,0); |
| 26328 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; x5=x6=.5[x1,x2]=.5[x1',x2']=.5[x3',x4']; |
| 26329 |
y1=y2; y3=y4; .5[y1,y3]=math_axis; y1-y3=.45x_height; |
| 26330 |
top y5r=h+o; bot y6r=-d-o; y1'=y2'=y1r; y3'=y4'=y3l; x2'-x1'=x4'-x3'=2(y5-y2'); |
| 26331 |
y2'l:=y1'l:=y2l; y4'l:=y3'l:=y4r; |
| 26332 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 26333 |
p0=z1r--z1'r; |
| 26334 |
p1=z1'r{up}..z5r..{down}z2'r; |
| 26335 |
p2=z2'r--z2r; |
| 26336 |
p3=z2ll--z2'l; |
| 26337 |
p4=z2'l{up}..z5l..{down}z1'l; |
| 26338 |
p5=z1'l--z1l; |
| 26339 |
p6=z3ll--z3'r; |
| 26340 |
p7=z3'r{down}..z6r..{up}z4'r; |
| 26341 |
p8=z4'r--z4l; |
| 26342 |
p9=z4r--z4'l; |
| 26343 |
p10=z4'l{down}..z6l..{up}z3'l; |
| 26344 |
p11=z3'l--z3r; |
| 26345 |
filldraw subpath(0,rundy(p0,1).zpet) of p0 |
| 26346 |
..subpath(rundy(p1,0),rundy(p1,2).zpet) of p1 |
| 26347 |
..subpath(rundy(p2,0),infinity) of p2{right} |
| 26348 |
..subpath(0,rundy(p3,1).zpet) of p3 |
| 26349 |
..subpath(rundy(p4,0),rundy(p4,2).zpet) of p4 |
| 26350 |
..subpath(rundy(p5,0),infinity) of p5..cycle; |
| 26351 |
filldraw subpath(0,rundy(p6,1).zpet) of p6 |
| 26352 |
..subpath(rundy(p7,0),rundy(p7,2).zpet) of p7 |
| 26353 |
..subpath(rundy(p8,0),infinity) of p8{right} |
| 26354 |
..subpath(0,rundy(p9,1).zpet) of p9 |
| 26355 |
..subpath(rundy(p10,0),rundy(p10,2).zpet) of p10 |
| 26356 |
..subpath(rundy(p11,0),infinity) of p11..cycle; |
| 26357 |
penlabels(1,1',2,2',3,3',4,4',5,6); |
| 26358 |
endchar; |
| 26359 |
|
| 26360 |
iff known chars.math_pitchfork: |
| 26361 |
bskchar "Pitchfork symbol"; |
| 26362 |
beginchar(chars.math_pitchfork,11u#,asc_height#,0); uni "0x22D4"; |
| 26363 |
italcorr .8asc_height#*slant-u#; |
| 26364 |
adjust_fit(0,0); |
| 26365 |
pickup tiny.nib; |
| 26366 |
numeric tim[]; path p[]; |
| 26367 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 26368 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 26369 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 26370 |
bot y1=bot y5=bot y6=-d; top y3l=.7h; top y7=h+o; |
| 26371 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=x7=.5w; |
| 26372 |
y2=y4=y3-(x3-x2); |
| 26373 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(6,7,0,hair); |
| 26374 |
p0=z1l---z2l...{right}z3l; |
| 26375 |
p1=z3l{right}...z4l---z5l; |
| 26376 |
p2=z5rr---z4r...{left}z3r; |
| 26377 |
p3=z3r{left}...z2r---z1rr; |
| 26378 |
p4=z6l--z7ll; |
| 26379 |
p5=z7r--z6r; |
| 26380 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 26381 |
(tim2,tim3)=p1 intersectiontimes p5; |
| 26382 |
(tim4,tim5)=p2 intersectiontimes p5; |
| 26383 |
(tim6,tim7)=p3 intersectiontimes p4; |
| 26384 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26385 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 26386 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 26387 |
..subpath(rundy(p1,tim2),infinity) of p1 |
| 26388 |
..subpath(0,rundy(p2,(tim4,2oblu)).zpet) of p2 |
| 26389 |
..subpath(rundy(p5,(tim5,2oblu)),infinity) of p5 |
| 26390 |
..subpath(0,rundy(p4,(tim7,2oblu)).zpet) of p4 |
| 26391 |
..subpath(rundy(p3,(tim6,2oblu)),infinity) of p3..cycle; |
| 26392 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr,7ll); |
| 26393 |
endchar; |
| 26394 |
|
| 26395 |
iff known chars.math_pitchfork_top: |
| 26396 |
bskchar "Pitchfork symbol with top"; |
| 26397 |
beginchar(chars.math_pitchfork_top,11u#,asc_height#,0); uni "0x2ADA"; |
| 26398 |
italcorr .8asc_height#*slant-u#; |
| 26399 |
adjust_fit(0,0); |
| 26400 |
pickup tiny.nib; |
| 26401 |
numeric tim[]; path p[]; |
| 26402 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 26403 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 26404 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 26405 |
pos8(rule_thickness,90); pos9(rule_thickness,90); |
| 26406 |
bot y1=bot y5=bot y6=-d; top y3l=.7h; top y8r=top y9r=h; y7=y8l; |
| 26407 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=x7=.5w; |
| 26408 |
y2=y4=y3-(x3-x2); .5[x8,x9]=x7; x9-x8=1.5(y7-y3); |
| 26409 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(8,9,hair,hair); |
| 26410 |
p0=z1l---z2l...{right}z3l; |
| 26411 |
p1=z3l{right}...z4l---z5l; |
| 26412 |
p2=z5rr---z4r...{left}z3r; |
| 26413 |
p3=z3r{left}...z2r---z1rr; |
| 26414 |
p4=z6l---obl(7l,6l,8l)---z8l..z8rr---z9r; |
| 26415 |
p5=z9ll---obl(7r,9l,6r)---z6r; |
| 26416 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 26417 |
(tim2,tim3)=p1 intersectiontimes p5; |
| 26418 |
(tim4,tim5)=p2 intersectiontimes p5; |
| 26419 |
(tim6,tim7)=p3 intersectiontimes p4; |
| 26420 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26421 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 26422 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 26423 |
..subpath(rundy(p1,tim2),infinity) of p1 |
| 26424 |
..subpath(0,rundy(p2,(tim4,2oblu)).zpet) of p2 |
| 26425 |
..subpath(rundy(p5,(tim5,2oblu)),infinity) of p5 |
| 26426 |
..subpath(0,rundy(p4,(tim7,2oblu)).zpet) of p4 |
| 26427 |
..subpath(rundy(p3,(tim6,2oblu)),infinity) of p3..cycle; |
| 26428 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,7ll,8rr,9ll); |
| 26429 |
endchar; |
| 26430 |
|
| 26431 |
iff known chars.math_intersection_trans: |
| 26432 |
bskchar "Transversal intersection symbol"; |
| 26433 |
beginchar(chars.math_intersection_trans,11u#,asc_height#,.5desc_depth#); uni "0x2ADB"; |
| 26434 |
italcorr .8asc_height#*slant-u#; |
| 26435 |
adjust_fit(0,0); |
| 26436 |
pickup tiny.nib; |
| 26437 |
numeric tim[]; path p[]; |
| 26438 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,-90); |
| 26439 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 26440 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 26441 |
bot y1=bot y5=0; bot y6=-d; top y3l=.7h; top y7=h+o; |
| 26442 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=x7=.5w; |
| 26443 |
y2=y4=y3-(x3-x2); |
| 26444 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(6,7,0,hair); |
| 26445 |
p0=z1l---z2l...{right}z3l; |
| 26446 |
p1=z3l{right}...z4l---z5l; |
| 26447 |
p2=z5rr---z4r...{left}z3r; |
| 26448 |
p3=z3r{left}...z2r---z1rr; |
| 26449 |
p4=z6l--z7ll; |
| 26450 |
p5=z7r--z6r; |
| 26451 |
(tim0,tim1)=p0 intersectiontimes p4; |
| 26452 |
(tim2,tim3)=p1 intersectiontimes p5; |
| 26453 |
(tim4,tim5)=p2 intersectiontimes p5; |
| 26454 |
(tim6,tim7)=p3 intersectiontimes p4; |
| 26455 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26456 |
..subpath(rundy(p4,tim1),infinity) of p4 |
| 26457 |
..subpath(0,rundy(p5,tim3).zpet) of p5 |
| 26458 |
..subpath(rundy(p1,tim2),infinity) of p1 |
| 26459 |
..subpath(0,rundy(p2,(tim4,2oblu)).zpet) of p2 |
| 26460 |
..subpath(rundy(p5,(tim5,2oblu)),infinity) of p5 |
| 26461 |
..subpath(0,rundy(p4,(tim7,2oblu)).zpet) of p4 |
| 26462 |
..subpath(rundy(p3,(tim6,2oblu)),infinity) of p3..cycle; |
| 26463 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr,7ll); |
| 26464 |
endchar; |
| 26465 |
|
| 26466 |
iff known chars.math_iron_cross: |
| 26467 |
bskchar "Iron cross"; |
| 26468 |
beginchar(chars.math_iron_cross,asc_height#+2u#,asc_height#,0); uni "0x2720"; |
| 26469 |
adjust_fit(0,0); |
| 26470 |
pickup tiny.nib; |
| 26471 |
numeric crw, tim[]; crw:=x_height; oblu:=2oblu; |
| 26472 |
path p[]; |
| 26473 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 26474 |
pos1'(crw,0); pos2'(crw,0); |
| 26475 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26476 |
pos3'(crw,90); pos4'(crw,90); |
| 26477 |
x1=x2=x1'=x2'=.5w; x3=x1l; x4=x1r; top y1'=h; bot y2'=-d; |
| 26478 |
y3=y4=y3'=y4'=.5[h,-d]; y1=y3r; y2=y3l; lft x3'=u; rt x4'=w-u; |
| 26479 |
p1=z1'l..z1l---z2l..z2'l; |
| 26480 |
p2=z2'r..z2r---z1r..z1'r; |
| 26481 |
p3=z3'l..z3l---z4l..z4'l; |
| 26482 |
p4=z4'r..z4r---z3r..z3'r; |
| 26483 |
(tim0,tim1)=p1 intersectiontimes p4; |
| 26484 |
(tim2,tim3)=p1 intersectiontimes p3; |
| 26485 |
(tim4,tim5)=p2 intersectiontimes p3; |
| 26486 |
(tim6,tim7)=p2 intersectiontimes p4; |
| 26487 |
filldraw subpath(0,rundy(p1,tim0).zpet) of p1 |
| 26488 |
..subpath(rundy(p4,tim1),infinity) of p4{down} |
| 26489 |
..rt z3'..{down}subpath(0,rundy(p3,tim3).zpet) of p3 |
| 26490 |
..subpath(rundy(p1,tim2),infinity) of p1{right} |
| 26491 |
..top z2'..{right}subpath(0,rundy(p2,tim4).zpet) of p2 |
| 26492 |
..subpath(rundy(p3,tim5),infinity) of p3{up} |
| 26493 |
..lft z4'..{up}subpath(0,rundy(p4,tim7).zpet) of p4 |
| 26494 |
..subpath(rundy(p2,tim6),infinity) of p2{left} |
| 26495 |
..bot z1'..{left}cycle; |
| 26496 |
penlabels(1,1',2,2',3,3',4,4'); |
| 26497 |
endchar; |
| 26498 |
|
| 26499 |
iff known chars.math_bourbaki_C: |
| 26500 |
bskchar "Bourbaki C symbol"; |
| 26501 |
beginchar(chars.math_bourbaki_C,9.5u#, body_height#,0); uni "0x2201"; |
| 26502 |
adjust_fit(0,0); |
| 26503 |
pickup tiny.nib; |
| 26504 |
pos1(bourstem,180); pos2(bourstem,180); pos3(bourstem,270); |
| 26505 |
pos4(bourstem,0); pos5(bourstem,0); pos6(bourstem,90); |
| 26506 |
pos7(bourstem,180); pos8(bourstem,180); |
| 26507 |
rt x1l= rt x2l=rt x7l=rt x8l=w-u; lft x4l=lft x5l=u; |
| 26508 |
x3=x6=.5w; top y3l=h+o; bot y6l=-d-o; |
| 26509 |
y2-y1=y8-y7=bourstem; y4=y2; y5=y7; y3-y2=y7-y6=x2-x3-currentbreadth; |
| 26510 |
y2l:=y4l:=y2l+.35bourstem; y5l:=y7l:=y5l-.35bourstem; |
| 26511 |
if y1-y8<bourstem: numeric posuv; posuv:=.5(bourstem-(y1-y8)); |
| 26512 |
y1:=y1+posuv; y1l:=y1r:=y1; y8:=y8-posuv; y8r:=y8l:=y8; |
| 26513 |
fi |
| 26514 |
bskpoints(1,2,0,rule_thickness); bskpoints(8,7,0,rule_thickness); |
| 26515 |
filldraw z1rr---z2r..z3r..z4r---z5r..z6r..z7r---z8rr..z8l |
| 26516 |
---z7l..z6l..z5l---z4l..z3l..z2l---z1l..cycle; |
| 26517 |
penlabels(1,2,3,4,5,6,7,8); labels(1rr,8rr); |
| 26518 |
endchar; |
| 26519 |
|
| 26520 |
iff known chars.math_bourbaki_T: |
| 26521 |
bskchar "Bourbaki T symbol"; |
| 26522 |
beginchar(chars.math_bourbaki_T,11u#, x_height#,.75desc_depth#); uni "non"; |
| 26523 |
adjust_fit(0,0); |
| 26524 |
pickup tiny.nib; oblu:=2oblu; |
| 26525 |
pos1(bourstem,0); pos2(bourstem,0); |
| 26526 |
pos3(bourstem,90); pos4(bourstem,90); |
| 26527 |
x1=x2=.5w; top y3r=top y4r=h; bot y1=-d; y2=y3l; |
| 26528 |
lft x3=u; rt x4=w-u; |
| 26529 |
bskpoints(3,4,rule_thickness,rule_thickness); |
| 26530 |
filldraw z1r---obl(2r,1r,4l)---z4ll..z4r---z3rr..z3l---obl(2l,3l,1l)---z1l..cycle; |
| 26531 |
penlabels(1,2,3,4); labels(3rr,4ll); |
| 26532 |
endchar; |
| 26533 |
|
| 26534 |
iff known chars.math_vert_slurs: |
| 26535 |
bskchar "Vertical crossings slurs"; |
| 26536 |
beginchar(chars.math_vert_slurs,7u#,asc_height#,desc_depth#); uni "0x226C"; |
| 26537 |
adjust_fit(0,0); |
| 26538 |
pickup tiny.nib; |
| 26539 |
path p[]; numeric tim[]; |
| 26540 |
pos1(.75rule_thickness,0); pos2(rule_thickness,0); pos3(.75rule_thickness,0); |
| 26541 |
pos4(.75rule_thickness,0); pos5(rule_thickness,0); pos6(.75rule_thickness,0); |
| 26542 |
top y1=top y4=h+apex_o; bot y3=bot y6=-d-apex_o; y2=y5=.5[h,-d]; |
| 26543 |
lft x2l=u; rt x5r=w-u; rt x1l=rt x3l=w-2u; lft x4l=lft x6l=2u; |
| 26544 |
p1=z1l..{down}z2l..z3l; |
| 26545 |
p2=z6r..z5r{up}..z4r; |
| 26546 |
p3=z4l..{down}z5l..z6l; |
| 26547 |
p4=z3r..{up}z2r..z1r; |
| 26548 |
z7=bsktouch(p1,left,p2,right); |
| 26549 |
tim1=xpart(p1 intersectiontimes (z7--(w,y7))); |
| 26550 |
tim2=xpart(p2 intersectiontimes (z7--(0,y7))); |
| 26551 |
(tim3,tim4)=p3 intersectiontimes p1; |
| 26552 |
(tim5-1,tim6)=subpath(1,infinity) of p1 intersectiontimes p3; |
| 26553 |
z8=bsktouch(subpath(1,infinity) of p1,left,p2,right); |
| 26554 |
tim7=xpart(p1 intersectiontimes (z8--(w,y8))); |
| 26555 |
tim8=xpart(p2 intersectiontimes (z8--(0,y8))); |
| 26556 |
(tim9,tim10)=p4 intersectiontimes p2; |
| 26557 |
(tim11,tim12-1)=p4 intersectiontimes subpath(1,infinity) of p2; |
| 26558 |
(tim13,tim14)=p4 intersectiontimes p3; |
| 26559 |
(tim15-1,tim16)=subpath(1,infinity) of p4 intersectiontimes p3; |
| 26560 |
filldraw subpath(0,rundy(p1,tim1).zpet) of p1 |
| 26561 |
..subpath(rundy(p2,tim2),infinity) of p2 |
| 26562 |
..subpath(0,rundy(p3,tim3).zpet) of p3 |
| 26563 |
..subpath(rundy(p1,tim4),rundy(p1,tim5).zpet) of p1 |
| 26564 |
..subpath(rundy(p3,tim6),infinity) of p3 |
| 26565 |
..subpath(0,rundy(p2,tim8).zpet) of p2 |
| 26566 |
..subpath(rundy(p1,tim7),infinity) of p1 |
| 26567 |
..subpath(0,rundy(p4,tim9).zpet) of p4 |
| 26568 |
..subpath(rundy(p2,tim10),rundy(p2,tim12).zpet) of p2 |
| 26569 |
..subpath(rundy(p4,tim11),infinity) of p4..cycle; |
| 26570 |
oblu:=2oblu; |
| 26571 |
infill subpath(rundy(p4,tim13),rundy(p4,tim15).zpet) of p4 |
| 26572 |
..subpath(rundy(p3,tim16),rundy(p3,tim14).zpet) of p3..cycle; |
| 26573 |
penlabels(1,2,3,4,5,6); |
| 26574 |
endchar; |
| 26575 |
|
| 26576 |
iff known chars.math_ring_equals: |
| 26577 |
bskchar "Ring in equals sign"; |
| 26578 |
compute_spread(.45x_height#,.55x_height#); |
| 26579 |
beginchar(chars.math_ring_equals,13u#,v_center(spread#+rule_thickness#)); uni "0x2256"; |
| 26580 |
adjust_fit(0,0); |
| 26581 |
pickup tiny.nib; |
| 26582 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 26583 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26584 |
pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26585 |
pos5(rule_thickness,90); pos6(rule_thickness,180); |
| 26586 |
pos7(rule_thickness,270); pos8(rule_thickness,0); |
| 26587 |
lft x1=u; x2+x1=w; x3=x1; x4=x2; |
| 26588 |
y1=y2; y3=y4; .5[y1,y3]=math_axis=y6=y8; top y1r=h; y5=y1; y7=y3; |
| 26589 |
x5=x7=.5w=.5[x6,x8]; y5-y7=x8-x6; |
| 26590 |
bskpoints(1,2,hair,0); bskpoints(4,3,hair,0); |
| 26591 |
p0=z5r{left}..{down}z6r..{right}z7r; |
| 26592 |
p1=z7r{right}..{up}z8r..{left}z5r; |
| 26593 |
p2=z1l--z2ll; |
| 26594 |
p3=z4r--z3r; |
| 26595 |
(tim0,tim1)=p0 intersectiontimes p2; |
| 26596 |
(tim2,tim3)=p0 intersectiontimes p3; |
| 26597 |
(tim4,tim5)=p1 intersectiontimes p3; |
| 26598 |
(tim6,tim7)=p1 intersectiontimes p2; |
| 26599 |
filldraw subpath(0,rundy(p2,tim1).zpet) of p2 |
| 26600 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 26601 |
..subpath(rundy(p3,tim3),infinity) of p3{left} |
| 26602 |
..z3ll---z4l |
| 26603 |
..subpath(0,rundy(p3,tim5).zpet) of p3 |
| 26604 |
..subpath(rundy(p1,tim4),rundy(p1,tim6).zpet) of p1 |
| 26605 |
..subpath(rundy(p2,tim7),infinity) of p2 |
| 26606 |
..z2r---z1r..cycle; |
| 26607 |
infill z5l{left}..z6l{down}..z7l{right}..{up}z8l..cycle; |
| 26608 |
penlabels(1,2,3,4,5,6,7,8); labels(2ll,3ll); |
| 26609 |
endchar; |
| 26610 |
|
| 26611 |
iff known chars.sign_check: |
| 26612 |
bskchar "Check mark"; |
| 26613 |
beginchar(chars.sign_check,12u#,asc_height#,0); uni "0x2713"; |
| 26614 |
adjust_fit(0,0); |
| 26615 |
pickup tiny.nib; |
| 26616 |
path p[]; numeric tim[]; |
| 26617 |
oblu:=2oblu; |
| 26618 |
pos1(bourstem,30); pos2(bourstem,30); pos3(rule_thickness,135); |
| 26619 |
top y1r=bar_height; lft x1l=u; bot y2l=-apex_o; |
| 26620 |
z2-z1=whatever*dir-50; |
| 26621 |
rt x3l=w-u; top y3r=h; |
| 26622 |
z0=whatever[z1,z2]=whatever[z1r,z2l]; |
| 26623 |
p0=z2r..controls (z0+(bourstem-currentbreadth)*dir30)..z1r; |
| 26624 |
p1=z3r..{down}z2l; |
| 26625 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 26626 |
filldraw z1l..controls z0..z2l..z2+o*dir-60..z2r{up}..z3l&z3l..subpath(0,rundy(p1,tim1).zpet) of p1..subpath(rundy(p0,tim0),infinity) of p0..cycle; |
| 26627 |
penlabels(1,2,3,4); labels(0); |
| 26628 |
endchar; |
| 26629 |
|
| 26630 |
iff known chars.math_stylized_F: |
| 26631 |
bskchar "The stylized letter F (msbm)"; |
| 26632 |
beginchar(chars.math_stylized_F,10u#,5.5u#+math_axis#,5.5u#-math_axis#); uni "non"; |
| 26633 |
italcorr (5u#+math_axis#)*slant; |
| 26634 |
adjust_fit(0,0); |
| 26635 |
pickup tiny.nib; |
| 26636 |
pos1(cap_stem,0); pos2(cap_stem,0); |
| 26637 |
pos3(rule_thickness,-90); pos6(rule_thickness,90); |
| 26638 |
bot y1=-d; top y2=h+o; y3l=y2l; rt x3=w-u; |
| 26639 |
lft x1l=u; x2=x1; y2r:=y3r; |
| 26640 |
y6=.52[y1,y2]; y5l=y6l; y5r=y6r; x6=x2r+3/8(x3-x2r); |
| 26641 |
z5l=whatever[z1r,z2r]; z5r=whatever[z1r,z2r]; |
| 26642 |
bskpoints(3,2,0,rule_thickness); |
| 26643 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3rr---obl(2r,3r,5r) |
| 26644 |
---obl(5r,2r,6r)---z6r..z6l---obl(5l,6l,1r)---obl(1r,5l,1l)---cycle; |
| 26645 |
penlabels(1,2,3,4,5,6); labels(3rr); |
| 26646 |
math_fit(0,ic#-3u#); |
| 26647 |
endchar; |
| 26648 |
|
| 26649 |
iff known chars.math_reversed_F: |
| 26650 |
bskchar "The reversed turned letter F (msbm)"; |
| 26651 |
beginchar(chars.math_reversed_F,9u#,asc_height#,0); uni "non"; |
| 26652 |
adjust_fit(0,0); |
| 26653 |
pickup tiny.nib; |
| 26654 |
pos1(rule_thickness,180); pos2(rule_thickness,180); |
| 26655 |
pos3(rule_thickness,90); pos6(rule_thickness,-90); |
| 26656 |
top y1=h+o; bot y2=-d; y3l=y2l; lft x3=u; |
| 26657 |
rt x1l=w-u; x2=x1; y2r:=y3r; |
| 26658 |
y6=.52[y1,y2]; y5l=y6l; y5r=y6r; x6=x2l+3/8(x3-x2r)-cap_stem; |
| 26659 |
z5l=whatever[z1r,z2r]; z5r=whatever[z1r,z2r]; |
| 26660 |
bskpoints(3,2,0,rule_thickness); |
| 26661 |
filldraw z1l---obl(2l,1l,3l)---z3l..z3rr---obl(2r,3r,5r) |
| 26662 |
---obl(5r,2r,6r)---z6r..z6l---obl(5l,6l,1r)---z1r---cycle; |
| 26663 |
penlabels(1,2,3,4,5,6); labels(3rr); |
| 26664 |
endchar; |
| 26665 |
|
| 26666 |
iff known chars.math_inverted_G: |
| 26667 |
bskchar "The inverted letter G (msbm)"; |
| 26668 |
beginchar(chars.math_inverted_G,13u#,cap_height#,0); uni "non"; |
| 26669 |
italcorr cap_height#*slant-2u#; |
| 26670 |
adjust_fit(0,0); |
| 26671 |
pickup tiny.nib; |
| 26672 |
path p[]; numeric tim[]; |
| 26673 |
pos1(rule_thickness,180); pos2(rule_thickness,90); |
| 26674 |
pos3(rule_thickness,0); pos4(rule_thickness,270); |
| 26675 |
rt x1l=w-u+o; lft x3r=u; y1=y3=.5h; x2=x4=.5[x1,x3]; bot y2l=-o; top y4l=h+o; |
| 26676 |
pos6(rule_thickness,90); pos7(rule_thickness,90); lft x6=u; x7-x6=beak; |
| 26677 |
z5=(.5[x6,x7],y3+.2h); |
| 26678 |
y6=y7=y3-.2h+cap_hair; |
| 26679 |
p0:=z1r{down}..z2r..z3r..z4r..{down}cycle; |
| 26680 |
p1:=z1l{down}..z2l..z3l..z4l..{down}cycle; |
| 26681 |
p2:=z6l--z7l; |
| 26682 |
tim0=xpart(p0 intersectiontimes ((x4,y5)--(0,y5))); |
| 26683 |
(tim1,tim2)=p0 intersectiontimes p2; |
| 26684 |
tim3=xpart(p1 intersectiontimes (z7l--(-u,y7l))); |
| 26685 |
tim4=xpart(p1 intersectiontimes ((x4,y5)--(0,y5))); |
| 26686 |
filldraw subpath(rundy(p0,tim0),length p0) of p0 |
| 26687 |
..subpath(0,rundy(p0,tim1).zpet) of p0 |
| 26688 |
..subpath(rundy(p2,tim2),infinity) of p2..z7r---z6r |
| 26689 |
..reverse subpath(0,rundy(p1,tim3).zpet) of p1 |
| 26690 |
..reverse subpath(rundy(p1,tim4),length p1) of p1..cycle |
| 26691 |
; |
| 26692 |
penlabels(1,2,3,4,5,6,7); |
| 26693 |
endchar; |
| 26694 |
|
| 26695 |
iff known chars.math_ampersand_bin: |
| 26696 |
bskchar "Binary ampersand"; |
| 26697 |
beginchar(chars.math_ampersand_bin, 14u#, asc_height#, 0); uni "non"; |
| 26698 |
italcorr x_height#*slant; |
| 26699 |
adjust_fit(0,0); |
| 26700 |
pickup tiny.nib; |
| 26701 |
numeric alpha, tim[]; |
| 26702 |
path p[]; |
| 26703 |
oblu:=2oblu; |
| 26704 |
pos1(rule_thickness,180); pos4(rule_thickness,-90); pos5(rule_thickness,180); |
| 26705 |
rt x1r=w-u-hair; y1=y2; top y4l=h+o; x4-x3'=(y4-y3'); |
| 26706 |
lft x3l=3u+stem; |
| 26707 |
rt x2r=x1r-(y2r+u); y3l=x_height; y2r=.25x_height; |
| 26708 |
alpha=diag_ratio(2,rule_thickness,y3l-y2r,x3l-x2r); |
| 26709 |
pos2(alpha*rule_thickness,0); pos2'(rule_thickness,90); pos3(alpha*rule_thickness,0); pos3'(rule_thickness,0); |
| 26710 |
.5[x3'r,rt x5r-.5 hair]=x4; y5=y3'=.5[x_height,h]; |
| 26711 |
x3'r-x3r=(y3'-y3)*cosd(angle(z3-z2)); |
| 26712 |
bot y2'l=-o; x2'=.5[x2r,x1l]; |
| 26713 |
pos6(rule_thickness,180); pos7(rule_thickness,270); pos8(rule_thickness,-45); pos9(rule_thickness,270); pos10(rule_thickness,-90); |
| 26714 |
lft x6r=u; y6r-y7r=x7-x6; bot y7r=-o; x7=x3; x8=x2; |
| 26715 |
y8=bar_height; top y9l=x_height+o; x9=.5[x8,w-u]+.5hair; |
| 26716 |
rt x10l=w-u; y10l=y9; |
| 26717 |
p0=z1l{z2'+u*right-z1l}..{left}z2'l..z2l---z3l..z3'l..z4l..{down}z5l..{down}z6l; |
| 26718 |
p1=z6l{down}..z7l..z8l..{right}z9l..{right}z10l.. |
| 26719 |
{left}z10r..z9r{left}..z8r..z7r..{up}z6r; |
| 26720 |
p2=z6r{up}..z5r{up}..z4r..z3'r..z3r---z2r..z2'r{right}..{up}z1r; |
| 26721 |
(tim0,tim1-7)=p0 intersectiontimes (subpath (7,infinity) of p1); |
| 26722 |
(tim2,tim3)=p2 intersectiontimes p0; |
| 26723 |
(tim4-3,tim5-5)=(subpath(3,infinity) of p2) intersectiontimes subpath(5,infinity) of p0; |
| 26724 |
(tim6-3,tim7)=(subpath(3,infinity) of p2) intersectiontimes p1; |
| 26725 |
(tim8-6,tim9)=(subpath(6,infinity) of p1) intersectiontimes p2; |
| 26726 |
(tim10,tim11-3)=p2 intersectiontimes subpath (3,infinity) of p2; |
| 26727 |
(tim12,tim13)=p1 intersectiontimes p0; |
| 26728 |
(tim14,tim15-5)=p0 intersectiontimes subpath(5,infinity) of p0; |
| 26729 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26730 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 26731 |
..subpath (0,rundy(p2,tim2).zpet) of p2 |
| 26732 |
..subpath(rundy(p0,tim3),rundy(p0,tim5).zpet) of p0 |
| 26733 |
..subpath(rundy(p2,tim4),rundy(p2,tim6).zpet) of p2 |
| 26734 |
..subpath(rundy(p1,2),rundy(p1,tim8).zpet) of p1 |
| 26735 |
..subpath(rundy(p2,tim9),infinity) of p2..cycle; |
| 26736 |
infill subpath(rundy(p2,tim10),rundy(p2,tim11).zpet) of p2..cycle; |
| 26737 |
infill subpath(0,rundy(p1,tim12).zpet) of p1 |
| 26738 |
..subpath(rundy(p0,tim13),rundy(p0,tim14).zpet) of p0 |
| 26739 |
..subpath(rundy(p0,tim15),infinity) of p0..cycle; |
| 26740 |
penlabels(1,2,2',3,3',4,5,6,7,8,9,10); |
| 26741 |
endchar; |
| 26742 |
|
| 26743 |
iff known chars.math_ampersand_bin_rev: |
| 26744 |
bskchar "Reversed binary ampersand"; |
| 26745 |
beginchar(chars.math_ampersand_bin_rev, 14u#, asc_height#, 0); uni "non"; |
| 26746 |
italcorr x_height#*slant; |
| 26747 |
adjust_fit(0,0); |
| 26748 |
pickup tiny.nib; |
| 26749 |
numeric alpha, tim[]; |
| 26750 |
path p[]; |
| 26751 |
oblu:=2oblu; |
| 26752 |
pos1(rule_thickness,0); pos4(rule_thickness,90); pos5(rule_thickness,0); |
| 26753 |
lft x1r=u+hair; y1=y2; bot y4l=-d-o; x4-x3'=(y4-y3'); |
| 26754 |
rt x3l=w-3u-stem; |
| 26755 |
lft x2r=x1r+(h-y2r+u); y3l=h-x_height; y2r=h-.25x_height; |
| 26756 |
alpha=diag_ratio(2,rule_thickness,y3l-y2r,x3l-x2r); |
| 26757 |
pos2(alpha*rule_thickness,180); pos2'(rule_thickness,-90); pos3(alpha*rule_thickness,180); pos3'(rule_thickness,180); |
| 26758 |
.5[x3'r,lft x5r+.5 hair]=x4; y5=y3'=.5[h-x_height,0]; |
| 26759 |
x3'r-x3r=-(y3'-y3)*cosd(angle(z3-z2)); |
| 26760 |
top y2'l=h+o; x2'=.5[x2r,x1l]; |
| 26761 |
pos6(rule_thickness,0); pos7(rule_thickness,90); pos8(rule_thickness,135); pos9(rule_thickness,90); pos10(rule_thickness,90); |
| 26762 |
rt x6r=w-u; y6r-y7r=x7-x6; top y7r=h+o; x7=x3; x8=x2; |
| 26763 |
y8=h-bar_height; bot y9l=h-x_height-o; x9=.5[x8,u]-.5hair; |
| 26764 |
lft x10l=u; y10l=y9; |
| 26765 |
p0=z1l{z2'+u*left-z1l}..{right}z2'l..z2l---z3l..z3'l..z4l..{up}z5l..{up}z6l; |
| 26766 |
p1=z6l{up}..z7l..z8l..{left}z9l..{left}z10l.. |
| 26767 |
{right}z10r..z9r{right}..z8r..z7r..{down}z6r; |
| 26768 |
p2=z6r{down}..z5r{down}..z4r..z3'r..z3r---z2r..z2'r{left}..{down}z1r; |
| 26769 |
(tim0,tim1-7)=p0 intersectiontimes (subpath (7,infinity) of p1); |
| 26770 |
(tim2,tim3)=p2 intersectiontimes p0; |
| 26771 |
(tim4-3,tim5-5)=(subpath(3,infinity) of p2) intersectiontimes subpath(5,infinity) of p0; |
| 26772 |
(tim6-3,tim7)=(subpath(3,infinity) of p2) intersectiontimes p1; |
| 26773 |
(tim8-6,tim9)=(subpath(6,infinity) of p1) intersectiontimes p2; |
| 26774 |
(tim10,tim11-3)=p2 intersectiontimes subpath (3,infinity) of p2; |
| 26775 |
(tim12,tim13)=p1 intersectiontimes p0; |
| 26776 |
(tim14,tim15-5)=p0 intersectiontimes subpath(5,infinity) of p0; |
| 26777 |
filldraw subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26778 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 26779 |
..subpath (0,rundy(p2,tim2).zpet) of p2 |
| 26780 |
..subpath(rundy(p0,tim3),rundy(p0,tim5).zpet) of p0 |
| 26781 |
..subpath(rundy(p2,tim4),rundy(p2,tim6).zpet) of p2 |
| 26782 |
..subpath(rundy(p1,2),rundy(p1,tim8).zpet) of p1 |
| 26783 |
..subpath(rundy(p2,tim9),infinity) of p2..cycle; |
| 26784 |
infill subpath(rundy(p2,tim10),rundy(p2,tim11).zpet) of p2..cycle; |
| 26785 |
infill subpath(0,rundy(p1,tim12).zpet) of p1 |
| 26786 |
..subpath(rundy(p0,tim13),rundy(p0,tim14).zpet) of p0 |
| 26787 |
..subpath(rundy(p0,tim15),infinity) of p0..cycle; |
| 26788 |
penlabels(1,2,2',3,3',4,5,6,7,8,9,10); |
| 26789 |
endchar; |
| 26790 |
iff known chars.math_Ydown: |
| 26791 |
bskchar "Ydown"; |
| 26792 |
beginchar(chars.math_Ydown,10u#,v_center(x_height#)); uni "non"; |
| 26793 |
adjust_fit(0,0); |
| 26794 |
pickup tiny.nib; |
| 26795 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos0(rule_thickness,0); |
| 26796 |
x1=x2=.5w; bot y1=-d; y2=math_axis; z0=z2; |
| 26797 |
lft x3l=u; rt x4r=w-u; top y3l=top y4r=h-.25rule_thickness; |
| 26798 |
pos3(rule_thickness,angle(z3l-z2l)-90); pos4(rule_thickness,angle(z4r-z2r)-90); |
| 26799 |
z2'=z3r+whatever*(z3l-z2l)=z4l+whatever*(z4r-z2r); |
| 26800 |
bskpoints(3,2,0,hair); bskpoints(4,0,0,hair); |
| 26801 |
filldraw z1r---obl(2r,1r,4r)---z4rr..z4l---obl(2',4l,3r)---z3rr..z3l---obl(2l,3l,1l)---z1l..cycle; |
| 26802 |
penlabels(1,2,3,4); labels(2',3rr,4rr); |
| 26803 |
endchar; |
| 26804 |
|
| 26805 |
iff known chars.math_Yup: |
| 26806 |
bskchar "Yup"; |
| 26807 |
beginchar(chars.math_Yup,10u#,v_center(x_height#)); uni "non"; |
| 26808 |
adjust_fit(0,0); |
| 26809 |
pickup tiny.nib; |
| 26810 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos0(rule_thickness,0); |
| 26811 |
x1=x2=.5w; top y1=h; y2=math_axis; z0=z2; |
| 26812 |
lft x3r=u; rt x4l=w-u; bot y3r=bot y4l=-d+.25rule_thickness; |
| 26813 |
pos3(rule_thickness,angle(z3r-z2l)+90); pos4(rule_thickness,angle(z4l-z2r)+90); |
| 26814 |
z2'=z3r+whatever*(z3l-z2l)=z4l+whatever*(z4r-z2r); |
| 26815 |
bskpoints(3,2,0,hair); bskpoints(4,0,0,hair); |
| 26816 |
filldraw z1r---obl(2r,1r,4r)---z4rr..z4l---obl(2',4l,3r)---z3rr..z3l---obl(2l,3l,1l)---z1l..cycle; |
| 26817 |
penlabels(1,2,3,4); labels(2',3rr,4rr); |
| 26818 |
endchar; |
| 26819 |
|
| 26820 |
iff known chars.math_Yleft: |
| 26821 |
bskchar "Yleft"; |
| 26822 |
beginchar(chars.math_Yleft,10u#,v_center(x_height#)); uni "non"; |
| 26823 |
adjust_fit(0,0); |
| 26824 |
pickup tiny.nib; |
| 26825 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos0(rule_thickness,90); |
| 26826 |
lft x1=u; x2=.5w; y1=y2=math_axis; z0=z2; |
| 26827 |
rt x3l=rt x4r=w-u; bot y3l=-d+.25rule_thickness; top y4r=h-.25rule_thickness; |
| 26828 |
pos3(rule_thickness,angle(z3l-z2l)+90); pos4(rule_thickness,angle(z4r-z2r)+90); |
| 26829 |
z2'=z3r+whatever*(z3l-z2l)=z4l+whatever*(z4r-z2r); |
| 26830 |
bskpoints(3,2,0,hair); bskpoints(4,0,0,hair); |
| 26831 |
filldraw z1r---obl(2r,1r,4r)---z4rr..z4l---obl(2',4l,3r)---z3rr..z3l---obl(2l,3l,1l)---z1l..cycle; |
| 26832 |
penlabels(1,2,3,4); labels(2',3rr,4rr); |
| 26833 |
endchar; |
| 26834 |
|
| 26835 |
iff known chars.math_Yright: |
| 26836 |
bskchar "Yright"; |
| 26837 |
beginchar(chars.math_Yright,10u#,v_center(x_height#)); uni "non"; |
| 26838 |
adjust_fit(0,0); |
| 26839 |
pickup tiny.nib; |
| 26840 |
pos1(rule_thickness,90); pos2(rule_thickness,90); pos0(rule_thickness,90); |
| 26841 |
rt x1=w-u; x2=.5w; y1=y2=math_axis; z0=z2; |
| 26842 |
lft x3l=lft x4r=u; bot y3l=-d+.25rule_thickness; top y4r=h-.25rule_thickness; |
| 26843 |
pos3(rule_thickness,angle(z3l-z2l)-90); pos4(rule_thickness,angle(z4r-z2r)-90); |
| 26844 |
z2'=z3r+whatever*(z3l-z2l)=z4l+whatever*(z4r-z2r); |
| 26845 |
bskpoints(3,2,0,hair); bskpoints(4,0,0,hair); |
| 26846 |
filldraw z1r---obl(2r,1r,4r)---z4rr..z4l---obl(2',4l,3r)---z3rr..z3l---obl(2l,3l,1l)---z1l..cycle; |
| 26847 |
penlabels(1,2,3,4); labels(2',3rr,4rr); |
| 26848 |
endchar; |
| 26849 |
|
| 26850 |
iff known chars.math_baro: |
| 26851 |
bskchar "Vertical bar through circle"; |
| 26852 |
beginarithchar(chars.math_baro); uni "non"; |
| 26853 |
adjust_fit(0,0); |
| 26854 |
pickup tiny.nib; |
| 26855 |
path p[]; numeric tim[]; |
| 26856 |
pos9(rule_thickness,0); pos10(rule_thickness,0); |
| 26857 |
.5[y8,y4]=math_axis; .5[x2,x6]=.5w; x2-x6=y8-y4=w-6u; |
| 26858 |
circle_points(rule_thickness); |
| 26859 |
x9=x10=.5w; .5[y9,y10]=math_axis; top y9=h; |
| 26860 |
bskpoints(9,10,hair,hair); |
| 26861 |
p0:=reverse (draw_circle.l); |
| 26862 |
p1:=reverse (draw_circle.r); |
| 26863 |
p2:=z9rr{up}..z9l---z10ll..z10r---z9rr; |
| 26864 |
(tim0,tim1-1)=subpath(0,1) of p0 intersectiontimes subpath(1,2) of p2; |
| 26865 |
(tim2-3,tim3)=subpath(3,5) of p0 intersectiontimes subpath(0,2) of p2; |
| 26866 |
(tim4-3,tim5-3)=subpath(3,5) of p0 intersectiontimes subpath(3,4) of p2; |
| 26867 |
(tim6-7,tim7-3)=subpath(7,8) of p0 intersectiontimes subpath(3,4) of p2; |
| 26868 |
(tim8,tim9-1)=subpath(0,1) of p1 intersectiontimes subpath(1,2) of p2; |
| 26869 |
(tim10-3,tim11)=subpath(3,5) of p1 intersectiontimes subpath(0,2) of p2; |
| 26870 |
(tim12-3,tim13-3)=subpath(3,5) of p1 intersectiontimes subpath(3,4) of p2; |
| 26871 |
(tim14-7,tim15-3)=subpath(7,8) of p1 intersectiontimes subpath(3,4) of p2; |
| 26872 |
filldraw subpath(0,rundy(p2,tim1).zpet) of p2 |
| 26873 |
..subpath(rundy(p0,tim0),rundy(p0,tim2).zpet) of p0 |
| 26874 |
..subpath(rundy(p2,tim3),rundy(p2,tim5).zpet) of p2 |
| 26875 |
..subpath(rundy(p0,tim4),rundy(p0,8).zpet) of p0 |
| 26876 |
..subpath(rundy(p2,tim7),infinity) of p2..cycle; |
| 26877 |
infill subpath(rundy(p2,tim9),rundy(p2,tim11).zpet) of p2 |
| 26878 |
..subpath(rundy(p1,tim10).zpet,rundy(p1,tim8)) of p1..cycle; |
| 26879 |
infill subpath(rundy(p2,tim15).zpet,rundy(p2,tim13)) of p2 |
| 26880 |
..subpath(rundy(p1,tim12),rundy(p1,tim14).zpet) of p1..cycle; |
| 26881 |
penlabels(9,10); |
| 26882 |
endchar; |
| 26883 |
|
| 26884 |
iff known chars.math_moo: |
| 26885 |
bskchar "Moo"; |
| 26886 |
beginarithchar(chars.math_moo); uni "non"; |
| 26887 |
adjust_fit(0,0); |
| 26888 |
pickup tiny.nib; |
| 26889 |
path p[]; numeric tim[]; oblu:=2oblu; |
| 26890 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(rule_thickness,90); pos4(rule_thickness,90); |
| 26891 |
pos5(rule_thickness,-90); pos6(rule_thickness,180); pos7(rule_thickness,90); pos8(rule_thickness,180); |
| 26892 |
x1=x2=.5[x3,x4]=.5[x6,x8]=.5[x5,x7]=.5w; lft x3=u; |
| 26893 |
top y1=h; 2y2=y3l=y4l=math_axis; bot y5r=bot y7l=-d; x5=.5[x2,x6]; x5-x6=.75(y2-y5); |
| 26894 |
y6=y8=y2; |
| 26895 |
z3'r=(x2l,y3r); z3'l=(x2l,y3l); z4'r=(x2r,y4r); z4'l=(x2r,y4l); |
| 26896 |
p0=z2l{down}..z5l..{up}z6l..z6r{down}..z5r..{up}z2r; |
| 26897 |
p1=z2l{down}..z7l..{up}z8l..z8r{down}..z7r..{up}z2r; |
| 26898 |
z0=bsktouch(subpath(1,infinity) of p0,right,subpath(1,infinity) of p1,left); |
| 26899 |
tim0-1=xpart(subpath(1,infinity) of p0 intersectiontimes (z0--(x5,y0))); |
| 26900 |
tim1=xpart(subpath(0,1) of p1 intersectiontimes (z0--(x5,y0))); |
| 26901 |
filldraw z1l---obl(3'r,1l,3r)---z3r..z3l---obl(3'l,3l,2l) |
| 26902 |
---subpath(0,rundy(p0,tim0).zpet) of p0 |
| 26903 |
..subpath(rundy(p1,tim1),infinity) of p1---obl(4'l,2r,4l)---z4l..z4r |
| 26904 |
---obl(4'r,4r,1r)---z1r..cycle; |
| 26905 |
penlabels(1,2,3,3',4,4',5,6,7,8); labels(0); |
| 26906 |
endchar; |
| 26907 |
|
| 26908 |
iff known chars.math_strict_if: |
| 26909 |
bskchar "Strict if"; |
| 26910 |
beginchar(chars.math_strict_if,10u#,v_center(x_height#)); uni "non"; |
| 26911 |
adjust_fit(0,0); |
| 26912 |
pickup tiny.nib; |
| 26913 |
path p[]; numeric tim[]; oblu:=3oblu; |
| 26914 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26915 |
pos5(rule_thickness,180); pos6(rule_thickness,-90); pos7(rule_thickness,0); pos8(rule_thickness,-90); |
| 26916 |
y1=y2=.5[y6,y8]=.5[y5,y7]=math_axis; |
| 26917 |
lft x1=u; x2=x6=x8=2/3w; rt x5l=rt x7r=w-u; y5=.5[y2,y6]; top y6l=h; |
| 26918 |
p0=z2l{right}..z5l..{left}z6l..z6r{right}..z5r..{left}z2r; |
| 26919 |
p1=z2l{right}..z7l..{left}z8l..z8r{right}..z7r..{left}z2r; |
| 26920 |
bskpoints(1,2,hair,hair); |
| 26921 |
z0=bsktouch(subpath(1,infinity) of p0,down,p1,up); |
| 26922 |
tim0=xpart(subpath(0,1) of p0 intersectiontimes (z0+down--(x0,y7))); |
| 26923 |
tim1-4=xpart(subpath(4,infinity) of p1 intersectiontimes (z0--(x0,y5))); |
| 26924 |
if tim1<4: tim1:=4.75 fi; |
| 26925 |
filldraw z1l---subpath(0,rundy(p1,tim1).zpet) of p1 |
| 26926 |
..subpath(rundy(p0,tim0),infinity) of p0---z1rr..cycle; |
| 26927 |
penlabels(1,2,5,6,7,8); labels(0,1rr); |
| 26928 |
endchar; |
| 26929 |
|
| 26930 |
iff known chars.math_strict_fi: |
| 26931 |
bskchar "Strict fi"; |
| 26932 |
beginchar(chars.math_strict_fi,10u#,v_center(x_height#)); uni "non"; |
| 26933 |
adjust_fit(0,0); |
| 26934 |
pickup tiny.nib; |
| 26935 |
path p[]; numeric tim[]; oblu:=3oblu; |
| 26936 |
pos1(rule_thickness,90); pos2(rule_thickness,90); |
| 26937 |
pos5(rule_thickness,0); pos6(rule_thickness,-90); pos7(rule_thickness,180); pos8(rule_thickness,-90); |
| 26938 |
y1=y2=.5[y6,y8]=.5[y5,y7]=math_axis; |
| 26939 |
rt x1=w-u; x2=x6=x8=1/3w; lft x5l=lft x7r=u; y5=.5[y2,y6]; top y6l=h; |
| 26940 |
p0=z2l{left}..z5l..{right}z6l..z6r{left}..z5r..{right}z2r; |
| 26941 |
p1=z2l{left}..z7l..{right}z8l..z8r{left}..z7r..{right}z2r; |
| 26942 |
bskpoints(1,2,hair,hair); |
| 26943 |
z0=bsktouch(subpath(1,infinity) of p0,down,p1,up); |
| 26944 |
tim0=xpart(subpath(0,1) of p0 intersectiontimes (z0--(x0,y7))); |
| 26945 |
tim1-4=xpart(subpath(4,infinity) of p1 intersectiontimes (z0--(x0,y5))); |
| 26946 |
if tim1<4: tim1:=4.75 fi; |
| 26947 |
filldraw z1l---subpath(0,rundy(p1,tim1).zpet) of p1 |
| 26948 |
..subpath(rundy(p0,tim0),infinity) of p0---z1rr..cycle; |
| 26949 |
penlabels(1,2,5,6,7,8); labels(0,1rr); |
| 26950 |
endchar; |
| 26951 |
|
| 26952 |
iff known chars.math_bracket_bag_simple_left: |
| 26953 |
bskchar "Simple left bag bracket"; |
| 26954 |
beginchar(chars.math_bracket_bag_simple_left,7u#,body_height#,paren_depth#); uni "0x27C5"; |
| 26955 |
adjust_fit(0,0); |
| 26956 |
pickup tiny.nib; |
| 26957 |
pos1(rule_thickness,0); pos2(rule_thickness,-90); pos3(rule_thickness,180); |
| 26958 |
pos4(rule_thickness,180); pos5(rule_thickness,-90); pos6(rule_thickness,-90); |
| 26959 |
lft x1l=u; top y2l=h+o; y1=y3+rule_thickness; y2-y1=x2-x1; .5[x1,x3]=x2; x3=w-2u; |
| 26960 |
y4=.5[math_axis,-d]; x4=x2; x5=w-2u; bot y5r=-d-o; rt x6=w-u; y6r=y5; |
| 26961 |
draw z1l{up}..z2l..z3l---z4l..z5l---z6l..z6r---z5r..z4r---z3r..z2r..{down}z1r..cycle; |
| 26962 |
penlabels(1,2,3,4,5,6); |
| 26963 |
endchar; |
| 26964 |
|
| 26965 |
iff known chars.math_bracket_bag_simple_right: |
| 26966 |
bskchar "Simple right bag bracket"; |
| 26967 |
beginchar(chars.math_bracket_bag_simple_right,7u#,body_height#,paren_depth#); uni "0x27C6"; |
| 26968 |
adjust_fit(0,0); |
| 26969 |
pickup tiny.nib; |
| 26970 |
pos1(rule_thickness,180); pos2(rule_thickness,-90); pos3(rule_thickness,0); |
| 26971 |
pos4(rule_thickness,0); pos5(rule_thickness,-90); pos6(rule_thickness,-90); |
| 26972 |
rt x1l=w-u; top y2l=h+o; y1=y3+rule_thickness; y2-y1=x1-x2; .5[x1,x3]=x2; x3=2u; |
| 26973 |
y4=.5[math_axis,-d]; x4=x2; x5=2u; bot y5r=-d-o; lft x6=u; y6r=y5; |
| 26974 |
draw z1l{up}..z2l..z3l---z4l..z5l---z6l..z6r---z5r..z4r---z3r..z2r..{down}z1r..cycle; |
| 26975 |
penlabels(1,2,3,4,5,6); |
| 26976 |
endchar; |
| 26977 |
|
| 26978 |
iff known chars.math_accumulate_upside: |
| 26979 |
bskchar "Upside-down upwards accumulate symbol"; |
| 26980 |
beginchar(chars.math_accumulate_upside,12u#,asc_height#,.5paren_depth#); uni "non"; |
| 26981 |
adjust_fit(0,0); |
| 26982 |
pickup tiny.nib; |
| 26983 |
numeric tim[]; oblu:=2oblu; |
| 26984 |
path p[]; |
| 26985 |
x0=x1r; x1=x1'-.5o=.5[x2,x3]=.5w; y1'=2/3[y1,y2]; y1=y0+arrsize; |
| 26986 |
rt x2=w-u; y2+.5rule_thickness=h; y3=y2; top y0=-d-apex_o; |
| 26987 |
pos1(rule_thickness,0); |
| 26988 |
pos2(rule_thickness,angle(z2-z1')+90); pos3(rule_thickness,angle(z3-z1')+90); |
| 26989 |
p1:=z2r{z1'-z2}..{down}z1l; |
| 26990 |
p2:=z1r{up}..{z3-z1'}z3l; |
| 26991 |
z4=bsktouch(p1,left,p2,right); |
| 26992 |
tim1=xpart(p1 intersectiontimes (z4--(w,y4))); |
| 26993 |
tim2=xpart(p2 intersectiontimes (z4--(0,y4))); |
| 26994 |
filldraw z3r+.5hair*unitvector(z1'-z3){z1'-z3}..{down}(reverse sipka(0,1)){up}..{z2-z1'}z2l |
| 26995 |
..{z1'-z2}z2r..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 26996 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 26997 |
penlabels(1,2,3); labels(1',4); |
| 26998 |
endchar; |
| 26999 |
|
| 27000 |
iff known chars.math_accumulate: |
| 27001 |
bskchar "Upwards accumulate symbol"; |
| 27002 |
beginchar(chars.math_accumulate,12u#,asc_height#,.5paren_depth#); uni "non"; |
| 27003 |
adjust_fit(0,0); |
| 27004 |
pickup tiny.nib; |
| 27005 |
numeric tim[]; oblu:=2oblu; |
| 27006 |
path p[]; |
| 27007 |
x0=x1; x1=x1'-.5o=.5[x2,x3]=.5w; y1=y0-arrsize; y1'=2/3[y1,y2]; bot y0=h+apex_o; |
| 27008 |
rt x2=w-u; y2-.5rule_thickness=-d; y3=y2; |
| 27009 |
pos1(rule_thickness,0); |
| 27010 |
pos2(rule_thickness,angle(z2-z1')+90); pos3(rule_thickness,angle(z3-z1')+90); |
| 27011 |
p1:=z2l{z1'-z2}..{up}z1l; |
| 27012 |
p2:=z1r{down}..{z3-z1'}z3r; |
| 27013 |
z4=bsktouch(p1,left,p2,right); |
| 27014 |
tim1=xpart(p1 intersectiontimes (z4--(w,y4))); |
| 27015 |
tim2=xpart(p2 intersectiontimes (z4--(0,y4))); |
| 27016 |
filldraw z3l+.5hair*unitvector(z1'-z3){z1'-z3}..{up}(sipka(0,1) shifted (z1l-z0a.r)){down} |
| 27017 |
..{z2-z1'}z2r..{z1'-z2}z2l..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 27018 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 27019 |
penlabels(1,2,3); labels(1',4); |
| 27020 |
endchar; |
| 27021 |
|
| 27022 |
iff known chars.math_accumulate_downwards: |
| 27023 |
bskchar "Downwards accumulate symbol"; |
| 27024 |
beginchar(chars.math_accumulate_downwards,18u#,asc_height#,.5paren_depth#); uni "non"; |
| 27025 |
adjust_fit(0,0); |
| 27026 |
pickup tiny.nib; |
| 27027 |
numeric tim[]; oblu:=2oblu; |
| 27028 |
path p[]; |
| 27029 |
x1=x1'-.5o=.5[x2,x3]=.5w; top y1=h; y1'=2/3[y1,y2]; |
| 27030 |
rt x2=w-4u; y2-.5rule_thickness=-d+.5arrsize; y3=y2; |
| 27031 |
pos1(rule_thickness,0); |
| 27032 |
pos2(rule_thickness,angle(z2-z1')+90); pos3(rule_thickness,angle(z3-z1')+90); |
| 27033 |
z0=z3+arrsize*unitvector(z3-z1'); |
| 27034 |
z5=z2+arrsize*unitvector(z2-z1'); |
| 27035 |
p1:=z2l{z1'-z2}..{up}z1l; |
| 27036 |
p2:=z1r{down}..{z3-z1'}z3r; |
| 27037 |
z4=bsktouch(p1,left,p2,right); |
| 27038 |
tim1=xpart(p1 intersectiontimes (z4--(w,y4))); |
| 27039 |
tim2=xpart(p2 intersectiontimes (z4--(0,y4))); |
| 27040 |
filldraw sipka(0,3){z1'-z3}..{up}z1l..z1r{down} |
| 27041 |
..{z2-z1'}sipka(5,2){z1'-z2}..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 27042 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 27043 |
penlabels(1,2,3); labels(1',4); |
| 27044 |
endchar; |
| 27045 |
|
| 27046 |
iff known chars.math_accumulate_downwards_upside: |
| 27047 |
bskchar "Upside-down downwards accumulate symbol"; |
| 27048 |
beginchar(chars.math_accumulate_downwards_upside,18u#,asc_height#,.5paren_depth#); uni "non"; |
| 27049 |
adjust_fit(0,0); |
| 27050 |
pickup tiny.nib; |
| 27051 |
numeric tim[]; oblu:=2oblu; |
| 27052 |
path p[]; |
| 27053 |
x1=x1'-.5o=.5[x2,x3]=.5w; y1'=2/3[y1,y2]; bot y1=-d; |
| 27054 |
rt x2=w-4u; y2+.5rule_thickness=h-.5arrsize; y3=y2; |
| 27055 |
pos1(rule_thickness,0); |
| 27056 |
pos2(rule_thickness,angle(z2-z1')+90); pos3(rule_thickness,angle(z3-z1')+90); |
| 27057 |
z0=z3+arrsize*unitvector(z3-z1'); |
| 27058 |
z5=z2+arrsize*unitvector(z2-z1'); |
| 27059 |
p1:=z2r{z1'-z2}..{down}z1l; |
| 27060 |
p2:=z1r{up}..{z3-z1'}z3l; |
| 27061 |
z4=bsktouch(p1,left,p2,right); |
| 27062 |
tim1=xpart(p1 intersectiontimes (z4--(w,y4))); |
| 27063 |
tim2=xpart(p2 intersectiontimes (z4--(0,y4))); |
| 27064 |
filldraw (reverse sipka(0,3))..z3r+.5hair*unitvector(z1'-z3){z1'-z3}..{down}z1l..z1r{up} |
| 27065 |
..{z2-z1'}(reverse sipka(5,2)){z1'-z2}..subpath (0,rundy(p1,tim1).zpet) of p1 |
| 27066 |
..subpath(rundy(p2,tim2),infinity) of p2..cycle; |
| 27067 |
penlabels(1,2,3); labels(1',4); |
| 27068 |
endchar; |
| 27069 |
|
| 27070 |
iff known chars.math_hamiltonian_conjugate: |
| 27071 |
bskchar "Hamiltonian conjugate matrix sign"; |
| 27072 |
beginarithchar(chars.math_hamiltonian_conjugate); uni "0x22B9"; |
| 27073 |
adjust_fit(0,0); |
| 27074 |
pickup tiny.nib; |
| 27075 |
x1=x2=x3=x4=.5w=.5[x5,x8]=.5[x6,x7]; lft x5=u; x7-x6=y2-y3; |
| 27076 |
top y1=h; bot y4=-d; .5[y2,y3]=y5=y6=y7=y8=math_axis; bot y2-top y3=3rule_thickness; |
| 27077 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 27078 |
pos3(rule_thickness,0); pos4(rule_thickness,0); |
| 27079 |
pos5(rule_thickness,90); pos6(rule_thickness,90); |
| 27080 |
pos7(rule_thickness,90); pos8(rule_thickness,90); |
| 27081 |
filldraw bskrule(2,1,rule_thickness,rule_thickness); |
| 27082 |
filldraw bskrule(3,4,rule_thickness,rule_thickness); |
| 27083 |
filldraw bskrule(6,5,rule_thickness,rule_thickness); |
| 27084 |
filldraw bskrule(7,8,rule_thickness,rule_thickness); |
| 27085 |
penlabels(1,2,3,4,5,6,7,8); |
| 27086 |
endchar; |
| 27087 |
|
| 27088 |
iff known chars.sign_caret: |
| 27089 |
bskchar "Caret sign"; |
| 27090 |
beginchar(chars.sign_caret,5u#,0,.5desc_depth#); uni "0x2038"; |
| 27091 |
adjust_fit(0,0); |
| 27092 |
pickup tiny.nib; |
| 27093 |
oblu:=2oblu; |
| 27094 |
x0=.5w; top y0=h; bot y1r=-d; |
| 27095 |
{{ save rule_thickness; rule_thickness:=hair; |
| 27096 |
logand(0,1,2); |
| 27097 |
}}; |
| 27098 |
endchar; |
| 27099 |
|
| 27100 |
iff known chars.sign_caret_insertion: |
| 27101 |
bskchar "Caret insertion sign"; |
| 27102 |
beginchar(chars.sign_caret_insertion,6u#,bar_height#,.5desc_depth#); uni "0x2041"; |
| 27103 |
adjust_fit(0,0); |
| 27104 |
pickup tiny.nib; |
| 27105 |
oblu:=2oblu; |
| 27106 |
x0=2.5u; top y0=0; bot y1r=-d; |
| 27107 |
{{ save rule_thickness; rule_thickness:=hair; |
| 27108 |
logand(0,1,2).nodraw; |
| 27109 |
}}; |
| 27110 |
y3=h; z3=whatever[z1l,z0r]; z3l-z3r=z1l-z1r; .5[z3l,z3r]=z3; |
| 27111 |
bskpoints(1,3,hair,hair); |
| 27112 |
z2'=point infinity of _logand; |
| 27113 |
z3'=whatever[point 0 of _logand,z2']=whatever[z3l,z1l]; |
| 27114 |
filldraw z3r---_logand---obl(3',2',3l)---z3ll..cycle; |
| 27115 |
penlabels(3); labels(3ll,3'); |
| 27116 |
endchar; |
| 27117 |
|
| 27118 |
iff known chars.sign_tironian: |
| 27119 |
bskchar "Tironian sign et"; |
| 27120 |
beginchar(chars.sign_tironian,9u#,x_height#,.5desc_depth#); uni "0x204A"; |
| 27121 |
adjust_fit(0,0); |
| 27122 |
pickup tiny.nib; |
| 27123 |
oblu:=2oblu; |
| 27124 |
path p[]; |
| 27125 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 27126 |
pos3(3rule_thickness,90); |
| 27127 |
rt x1r+2u=rt x2r=w-u; bot y1=-d; y2=h; |
| 27128 |
lft x3=u; y3r=y2; y2'=top y3l; z2'=whatever[z2l,z1l]; |
| 27129 |
p0:=z1r---obl(2r,1r,3l){z3-z2}..z3r; |
| 27130 |
p1=z3r---z3l..z3l+2oblu*right---z2'; |
| 27131 |
filldraw subpath(0,rundy(p0,infinity).zpet) of p0 |
| 27132 |
..subpath(rundy(p1,0),rundy(p1,infinity).zpet) of p1..z2'+oblu*down---z1l..cycle; |
| 27133 |
penlabels(1,2,3); labels(2'); |
| 27134 |
endchar; |
| 27135 |
|
| 27136 |
iff known chars.math_projection_z: |
| 27137 |
bskchar "Z projection"; |
| 27138 |
beginchar(chars.math_projection_z,7u#,v_center(asc_height#)); uni "0x2A21"; |
| 27139 |
adjust_fit(0,0); |
| 27140 |
pickup tiny.nib; |
| 27141 |
oblu:=3oblu; |
| 27142 |
pos1(rule_thickness,0); pos2(rule_thickness,0); |
| 27143 |
lft x1l=lft x2l=2u; top y2=h; bot y1=-d; rt x3r=w-u; |
| 27144 |
z3r=z2r+whatever*dir-45; |
| 27145 |
pos3(rule_thickness,angle(z2r-z3r)-90); |
| 27146 |
x3'=x2r; z3'=z3l+whatever*(z2r-z3r); |
| 27147 |
bskpoints(1,2,0,rule_thickness); |
| 27148 |
filldraw z1l---z2l..z2r---z3r..z3l---obl(3',3l,1r)---z1rr..cycle; |
| 27149 |
penlabels(1,2,3); labels(1rr,3'); |
| 27150 |
endchar; |
| 27151 |
|
| 27152 |
iff known chars.math_triangle_operator: |
| 27153 |
bskchar "Triangle for operator triangled operators"; |
| 27154 |
beginchar(chars.math_triangle_operator,17u#,v_center(asc_height#)); uni "non"; |
| 27155 |
adjust_fit(0,0); |
| 27156 |
pickup tiny.nib; |
| 27157 |
x3r=x3l=.5w; lft x1l=u; rt x2l=w-u; bot y1l=bot y2l=-d; top y3r=h; |
| 27158 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27159 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27160 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27161 |
y1'=y2'=y1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27162 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27163 |
infill obl(1',3l,2')---obl(2',1',3l)---obl(3l,2',1')---cycle; |
| 27164 |
penlabels(1,2,3); labels(1',2'); |
| 27165 |
endchar; |
| 27166 |
|
| 27167 |
iff known chars.math_triangle_triangle: |
| 27168 |
bskchar "Triangle with triangle inside"; |
| 27169 |
beginchar(chars.math_triangle_triangle,17u#,v_center(asc_height#)); uni "0x27C1"; |
| 27170 |
adjust_fit(0,0); |
| 27171 |
pickup tiny.nib; |
| 27172 |
x3r=x3l=.5w; lft x1l=u; rt x2l=w-u; bot y1l=bot y2l=-d; top y3r=h; |
| 27173 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27174 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27175 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27176 |
y1'=y2'=y1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27177 |
x6r=x6l=.5w=.5[x4l,x5l]; y4l=y5l; 1/3[y4l,y6r]=1/3[y2l,y3r]; |
| 27178 |
y6r-y4l=.5(y3r-y1l); x5l-x4l=.5(x2l-x1l); |
| 27179 |
z4r-z4l=(rule_thickness-currentbreadth,0) rotated (angle(z6r-z4l)-90); |
| 27180 |
z5r-z5l=(-rule_thickness+currentbreadth,0) rotated (angle(z6r-z5l)-90); |
| 27181 |
z6l=z4r+whatever*(z6r-z4l)=z5r+whatever*(z6r-z5l); |
| 27182 |
y4'=y5'=y4l+rule_thickness-currentbreadth; z4'=whatever[z4r,z6l]; z5'=whatever[z5r,z6l]; |
| 27183 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27184 |
infill obl(1',3l,2')---obl(2',1',3l)---obl(3l,2',1')---cycle; |
| 27185 |
filldraw obl(4l,6r,5l)---obl(5l,4l,6r)---obl(6r,5l,4l)---cycle; |
| 27186 |
infill obl(4',6l,5')---obl(5',4',6l)---obl(6l,5',4')---cycle; |
| 27187 |
penlabels(1,2,3,4,5,6); labels(1',2',4',5'); |
| 27188 |
endchar; |
| 27189 |
|
| 27190 |
iff known chars.math_triangle_plus: |
| 27191 |
bskchar "Triangle-plus operator"; |
| 27192 |
beginchar(chars.math_triangle_plus,17u#,v_center(asc_height#)); uni "0x2A39"; |
| 27193 |
adjust_fit(0,0); |
| 27194 |
pickup tiny.nib; |
| 27195 |
x3r=x3l=.5w; lft x1l=u; rt x2l=w-u; bot y1l=bot y2l=-d; top y3r=h; |
| 27196 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27197 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27198 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27199 |
y1'=y2'=y1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27200 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27201 |
infill obl(1',3l,2')---obl(2',1',3l)---obl(3l,2',1')---cycle; |
| 27202 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 27203 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 27204 |
x6=x7=.5[x4,x5]=.5w; |
| 27205 |
x5-x4=1/3(x2l-x1l); y4=y5=.5[y6,y7]=1/3[y1l,y3r]; y6-y7=x5-x4; |
| 27206 |
bskpoints(4,5,hair,hair); bskpoints(7,6,.5hair,.5hair); |
| 27207 |
z8=whatever[z7l,z6l]=whatever[z4l,z5l]; |
| 27208 |
z9=whatever[z7r,z6r]=whatever[z4l,z5l]; |
| 27209 |
z10=whatever[z7r,z6r]=whatever[z4r,z5r]; |
| 27210 |
z11=whatever[z7l,z6l]=whatever[z4r,z5r]; |
| 27211 |
filldraw z4l---obl(8,4l,7l)---z7l..z7rr---obl(9,7r,5l)---z5ll..z5r--- |
| 27212 |
obl(10,5r,6r)---z6r..z6ll---obl(11,6l,4r)---z4rr..cycle; |
| 27213 |
penlabels(1,2,3,4,5,6,7); labels(1',2',8,9,10,11); |
| 27214 |
endchar; |
| 27215 |
|
| 27216 |
iff known chars.math_triangle_minus: |
| 27217 |
bskchar "Triangle-minus operator"; |
| 27218 |
beginchar(chars.math_triangle_minus,17u#,v_center(asc_height#)); uni "0x2A3A"; |
| 27219 |
adjust_fit(0,0); |
| 27220 |
pickup tiny.nib; |
| 27221 |
x3r=x3l=.5w; lft x1l=u; rt x2l=w-u; bot y1l=bot y2l=-d; top y3r=h; |
| 27222 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27223 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27224 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27225 |
y1'=y2'=y1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27226 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27227 |
infill obl(1',3l,2')---obl(2',1',3l)---obl(3l,2',1')---cycle; |
| 27228 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 27229 |
y4=y5=1/3[y1l,y3r]; .5[x4,x5]=.5w; x5-x4=1/3(x2l-x1l); |
| 27230 |
filldraw bskrule(4,5,hair,hair); |
| 27231 |
penlabels(1,2,3,4,5); labels(1',2'); |
| 27232 |
endchar; |
| 27233 |
|
| 27234 |
iff known chars.math_triangle_times: |
| 27235 |
bskchar "Triangle-times operator"; |
| 27236 |
beginchar(chars.math_triangle_times,17u#,v_center(asc_height#)); uni "0x2A3B"; |
| 27237 |
adjust_fit(0,0); |
| 27238 |
pickup tiny.nib; |
| 27239 |
x3r=x3l=.5w; lft x1l=u; rt x2l=w-u; bot y1l=bot y2l=-d; top y3r=h; |
| 27240 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27241 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27242 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27243 |
y1'=y2'=y1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27244 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27245 |
infill obl(1',3l,2')---obl(2',1',3l)---obl(3l,2',1')---cycle; |
| 27246 |
pos4(rule_thickness,135); pos5(rule_thickness,135); |
| 27247 |
pos6(rule_thickness,45); pos7(rule_thickness,45); |
| 27248 |
.5[x6,x5]=.5w; |
| 27249 |
x4r=x6l; x5l=x7r; x7r-x4l=.25(x2l-x1l); |
| 27250 |
y4l=y7l; y5r=y6r; .5[y5r,y4l]=1/3[y1l,y3r]; y6r-y4l=x5l-x6l; |
| 27251 |
bskpoints(4,5,hair,hair); bskpoints(7,6,.5hair,.5hair); |
| 27252 |
z8=whatever[z7l,z6l]=whatever[z4l,z5l]; |
| 27253 |
z9=whatever[z7r,z6r]=whatever[z4l,z5l]; |
| 27254 |
z10=whatever[z7r,z6r]=whatever[z4r,z5r]; |
| 27255 |
z11=whatever[z7l,z6l]=whatever[z4r,z5r]; |
| 27256 |
oblu:=2.2oblu; |
| 27257 |
filldraw z4l---obl(8,4l,7l)---z7l..z7rr---obl(9,7r,5l)---z5ll..z5r--- |
| 27258 |
obl(10,5r,6r)---z6r..z6ll---obl(11,6l,4r)---z4rr..cycle; |
| 27259 |
penlabels(1,2,3,4,5,6,7); labels(1',2',8,9,10,11); |
| 27260 |
endchar; |
| 27261 |
|
| 27262 |
iff known chars.math_domain_antirestriction: |
| 27263 |
bskchar "Domain antirestriction"; |
| 27264 |
beginchar(chars.math_domain_antirestriction,15u#,v_center(asc_height#)); uni "0x2A64"; |
| 27265 |
adjust_fit(0,0); |
| 27266 |
pickup tiny.nib; oblu.more:=4oblu; |
| 27267 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 27268 |
rt x1r=rt x2r=w-u; lft x3l=u; y3l=y4=y5=math_axis; y1r=h; y2r=-d; |
| 27269 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3l-z1r)-90); |
| 27270 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3l-z2r)-90); |
| 27271 |
z3r=z1l+whatever*(z3l-z1r)=z2l+whatever*(z3l-z2r); |
| 27272 |
x1'=x2'=x1r-rule_thickness+currentbreadth; z1'=whatever[z1l,z3r]; z2'=whatever[z2l,z3r]; |
| 27273 |
x5=x1'; z4r=whatever[z1',z3r]; |
| 27274 |
filldraw obl(1r,3l,2r)---obl(2r,1r,3l)---obl(3l,2r,1r)---cycle; |
| 27275 |
oblu:=2oblu; |
| 27276 |
infill obl(1',4r,5r)---obl(5r,1',4r)---obl(4r,5r,1').more---cycle; |
| 27277 |
infill obl(2',4l,5l)---obl(5l,2',4l)---obl(4l,5l,2').more---cycle; |
| 27278 |
penlabels(1,2,3,4,5); labels(1',2'); |
| 27279 |
endchar; |
| 27280 |
|
| 27281 |
iff known chars.math_range_antirestriction: |
| 27282 |
bskchar "Range antirestriction"; |
| 27283 |
beginchar(chars.math_range_antirestriction,15u#,v_center(asc_height#)); uni "0x2A65"; |
| 27284 |
adjust_fit(0,0); |
| 27285 |
pickup tiny.nib; oblu.more:=4oblu; |
| 27286 |
pos4(rule_thickness,90); pos5(rule_thickness,90); |
| 27287 |
lft x1l=lft x2l=u; rt x3r=w-u; y3r=y4=y5=math_axis; y1l=h; y2l=-d; |
| 27288 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3r-z1l)-90); |
| 27289 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3r-z2l)-90); |
| 27290 |
z3l=z1r+whatever*(z3r-z1l)=z2r+whatever*(z3r-z2l); |
| 27291 |
x1'=x2'=x1l+rule_thickness-currentbreadth; z1'=whatever[z1r,z3l]; z2'=whatever[z2r,z3l]; |
| 27292 |
x5=x1'; z4r=whatever[z1',z3l]; |
| 27293 |
filldraw obl(1l,3r,2l)---obl(2l,1l,3r)---obl(3r,2l,1l)---cycle; |
| 27294 |
oblu:=2oblu; |
| 27295 |
infill obl(1',4r,5r)---obl(5r,1',4r)---obl(4r,5r,1').more---cycle; |
| 27296 |
infill obl(2',4l,5l)---obl(5l,2',4l)---obl(4l,5l,2').more---cycle; |
| 27297 |
penlabels(1,2,3,4,5); labels(1',2'); |
| 27298 |
endchar; |
| 27299 |
|
| 27300 |
iff known chars.math_triangle_left_large_op: |
| 27301 |
bskchar "Large left triangle operator"; |
| 27302 |
beginchar(chars.math_triangle_left_large_op,10u#,v_center(asc_height#)); uni "0x2A1E"; |
| 27303 |
adjust_fit(0,0); |
| 27304 |
pickup tiny.nib; |
| 27305 |
rt x1r=rt x2r=w-u; lft x3l=u; y3l=math_axis; y1r=h; y2r=-d; |
| 27306 |
z1r-z1l=(rule_thickness-currentbreadth,0) rotated (angle(z3l-z1r)-90); |
| 27307 |
z2r-z2l=(-rule_thickness+currentbreadth,0) rotated (angle(z3l-z2r)-90); |
| 27308 |
z3r=z1l+whatever*(z3l-z1r)=z2l+whatever*(z3l-z2r); |
| 27309 |
x1'=x2'=x1r-rule_thickness+currentbreadth; z1'=whatever[z1l,z3r]; z2'=whatever[z2l,z3r]; |
| 27310 |
filldraw obl(1r,3l,2r)---obl(2r,1r,3l)---obl(3l,2r,1r)---cycle; |
| 27311 |
oblu:=2oblu; |
| 27312 |
infill obl(1',3r,2')---obl(2',1',3r)---obl(3r,2',1')---cycle; |
| 27313 |
penlabels(1,2,3); labels(1',2'); |
| 27314 |
endchar; |
| 27315 |
|
| 27316 |
iff known chars.math_nonforking: |
| 27317 |
bskchar "Nonforking sign"; |
| 27318 |
beginchar(chars.math_nonforking,11u#,.8asc_height#,0); uni "0x2ADD"; |
| 27319 |
italcorr .8asc_height#*slant-.5u#; |
| 27320 |
adjust_fit(0,0); |
| 27321 |
pickup tiny.nib; |
| 27322 |
path p[]; numeric tim[]; |
| 27323 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 27324 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 27325 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 27326 |
top y1=top y5=.6h; top y6=h; bot y3l=y7=-d-o; |
| 27327 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=x7=.5w; |
| 27328 |
y2=y4=y3+(x3-x2); |
| 27329 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(6,7,hair,hair); |
| 27330 |
p0=z4r{down}...z3r...z2r---z1rr; |
| 27331 |
p1=z7r--z6rr; |
| 27332 |
p2=z6l--z7l; |
| 27333 |
(tim0,tim1)=p0 intersectiontimes p1; |
| 27334 |
(tim2,tim3)=p0 intersectiontimes p2; |
| 27335 |
filldraw z1l---z2l...z3l...z4l---z5l..z5rr |
| 27336 |
---subpath(0,rundy(p0,tim0).zpet) of p0 |
| 27337 |
..subpath(rundy(p1,tim1),infinity) of p1 |
| 27338 |
..subpath(0,rundy(p2,tim3).zpet) of p2 |
| 27339 |
..subpath(rundy(p0,tim2),infinity) of p0..cycle; |
| 27340 |
penlabels(1,2,3,4,5,6,7); labels(1rr,5rr,6rr); |
| 27341 |
endchar; |
| 27342 |
|
| 27343 |
iff known chars.math_forking: |
| 27344 |
bskchar "Forking sign"; |
| 27345 |
beginchar(chars.math_forking,11u#,.8asc_height#,0); uni "0x2ADC"; |
| 27346 |
italcorr .8asc_height#*slant-.5u#; |
| 27347 |
adjust_fit(0,0); |
| 27348 |
pickup tiny.nib; |
| 27349 |
path p[]; numeric tim[]; |
| 27350 |
pos1(rule_thickness,0); pos2(rule_thickness,0); pos3(.9rule_thickness,90); |
| 27351 |
pos4(rule_thickness,180); pos5(rule_thickness,180); |
| 27352 |
pos6(rule_thickness,0); pos7(rule_thickness,0); |
| 27353 |
top y1=top y5=.6h; top y6=h; bot y3l=y7=-d-o; |
| 27354 |
lft x1l=lft x2l=u; x4l=x5l=w-x1l; x3=x6=x7=.5w; |
| 27355 |
y2=y4=y3+(x3-x2); |
| 27356 |
bot y8=-d; y9=x_height+.5rule_thickness; lft x8=.5u; x9=w-2u; |
| 27357 |
pos8(rule_thickness,angle(z8-z9)+90); pos9(rule_thickness,angle(z8-z9)+90); |
| 27358 |
bskpoints(1,2,hair,hair); bskpoints(5,4,hair,hair); bskpoints(6,7,hair,hair); |
| 27359 |
bskpoints(8,9,rule_thickness,rule_thickness); |
| 27360 |
p0=z1l---z2l...z3l...z4l---z5l..{down}z5rr; |
| 27361 |
p1=z4r{down}...z3r...z2r---z1rr; |
| 27362 |
p2=z7r--z6rr; |
| 27363 |
p3=z6l--z7l; |
| 27364 |
p4=z9ll---z8l; |
| 27365 |
p5=z8rr--z9r; |
| 27366 |
(tim0,tim1)=p1 intersectiontimes p2; |
| 27367 |
(tim2,tim3)=p1 intersectiontimes p3; |
| 27368 |
(tim4,tim5)=p0 intersectiontimes p4; |
| 27369 |
(tim6,tim7)=p0 intersectiontimes p5; |
| 27370 |
(tim8,tim9)=p2 intersectiontimes p5; |
| 27371 |
(tim10,tim11)=p2 intersectiontimes p4; |
| 27372 |
(tim12,tim13)=p3 intersectiontimes p4; |
| 27373 |
(tim14,tim15)=p1 intersectiontimes p4; |
| 27374 |
(tim16,tim17)=p3 intersectiontimes p5; |
| 27375 |
(tim18,tim19)=p1 intersectiontimes p5; |
| 27376 |
filldraw subpath(0,rundy(p0,tim4).zpet) of p0 |
| 27377 |
..subpath(rundy(p4,tim5),infinity) of p4 |
| 27378 |
..subpath(0,rundy(p5,tim7).zpet) of p5 |
| 27379 |
..subpath(rundy(p0,tim6),infinity) of p0 |
| 27380 |
---subpath(0,rundy(p1,tim0).zpet) of p1 |
| 27381 |
..subpath(rundy(p2,tim1),rundy(p2,tim8).zpet) of p2 |
| 27382 |
..subpath(rundy(p5,tim9),infinity) of p5 |
| 27383 |
..subpath(0,rundy(p4,tim11).zpet) of p4 |
| 27384 |
..subpath(rundy(p2,tim10),infinity) of p2 |
| 27385 |
..subpath(0,rundy(p3,tim12).zpet) of p3 |
| 27386 |
..subpath(rundy(p4,tim13),rundy(p4,tim15).zpet) of p4 |
| 27387 |
..subpath(rundy(p1,tim14),infinity) of p1..cycle; |
| 27388 |
infill subpath(rundy(p3,(tim16,2oblu)),rundy(p3,tim3).zpet) of p3 |
| 27389 |
..subpath(rundy(p1,tim2),rundy(p1,tim18).zpet) of p1 |
| 27390 |
..subpath(rundy(p5,tim19),rundy(p5,(tim17,2oblu)).zpet) of p5..cycle; |
| 27391 |
penlabels(1,2,3,4,5,6,7,8,9); labels(1rr,5rr,6rr,8rr,9ll); |
| 27392 |
endchar; |
| 27393 |
|