| 1 |
% Based on the Computer Modern source file bigop.mf by D E Knuth. |
| 2 |
|
| 3 |
% Edited by Ariel Barton to produce better sans serif symbols |
| 4 |
|
| 5 |
% Date: 2013/03/22 |
| 6 |
|
| 7 |
% This file contains pairs of large operators for math extension fonts. |
| 8 |
|
| 9 |
% Each operator has a `{\tt\char`\\textstyle}' form, for math in text, |
| 10 |
% and a `{\tt\char`\\displaystyle}' form, for displayed formulas. |
| 11 |
|
| 12 |
% Character codes \0106--\0141 are generated. |
| 13 |
|
| 14 |
charlist oct"106": oct"107"; % square union signs |
| 15 |
charlist oct"110": oct"111"; % contour integral signs |
| 16 |
charlist oct"112": oct"113"; % circle-dot operators |
| 17 |
charlist oct"114": oct"115"; % circle-plus operators |
| 18 |
charlist oct"116": oct"117"; % circle-times operators |
| 19 |
charlist oct"120": oct"130"; % summation signs |
| 20 |
charlist oct"121": oct"131"; % product signs |
| 21 |
charlist oct"122": oct"132"; % integral signs |
| 22 |
charlist oct"123": oct"133"; % union signs |
| 23 |
charlist oct"124": oct"134"; % intersection signs |
| 24 |
charlist oct"125": oct"135"; % multiset union signs |
| 25 |
charlist oct"126": oct"136"; % lattice infimum signs |
| 26 |
charlist oct"127": oct"137"; % lattice supremum signs |
| 27 |
charlist oct"140": oct"141"; % coproduct signs |
| 28 |
|
| 29 |
cmchar "\textstyle square set union sign"; |
| 30 |
beginchar(oct"106",15u#,0,10/6dh#); |
| 31 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 32 |
lft x1=hround u; x2=x1; x4=x5=w-x1; |
| 33 |
top y1=eps; bot y2=-d; y4=y2; y5=y1; |
| 34 |
draw z1---z2---z4---z5; % stems and bar |
| 35 |
labels(1,2,4,5); endchar; |
| 36 |
|
| 37 |
cmchar "\displaystyle square set union sign"; |
| 38 |
beginchar(oct"107",20u#,0,14/6dh#); padded 1/6dh#; |
| 39 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 40 |
lft x1=hround u; x2=x1; x4=x5=w-x1; |
| 41 |
top y1=eps; bot y2=-d; y4=y2; y5=y1; |
| 42 |
draw z1---z2---z4---z5; % stems and bar |
| 43 |
labels(1,2,4,5); endchar; |
| 44 |
|
| 45 |
cmchar "\textstyle circle-dot operator"; |
| 46 |
beginchar(oct"112",20u#,0,10/6dh#); |
| 47 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 48 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 49 |
circle_points; draw_circle; % circle |
| 50 |
fill fullcircle scaled(bold+4bigdw+eps) shifted(.5[z4,z8]); % dot |
| 51 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 52 |
|
| 53 |
cmchar "\displaystyle circle-dot operator"; |
| 54 |
beginchar(oct"113",27.2u#,0,14/6dh#); padded 1/6dh#; |
| 55 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 56 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 57 |
circle_points; draw_circle; % circle |
| 58 |
fill fullcircle scaled(bold+6bigdw+eps) shifted(.5[z4,z8]); % dot |
| 59 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 60 |
|
| 61 |
cmchar "\textstyle circle-plus operator"; |
| 62 |
beginchar(oct"114",20u#,0,10/6dh#); |
| 63 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 64 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 65 |
circle_points; draw_circle; % circle |
| 66 |
draw z2--z6; draw z4--z8; % plus |
| 67 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 68 |
|
| 69 |
cmchar "\displaystyle circle-plus operator"; |
| 70 |
beginchar(oct"115",27.2u#,0,14/6dh#); padded 1/6dh#; |
| 71 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 72 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 73 |
circle_points; draw_circle; % circle |
| 74 |
draw z2--z6; draw z4--z8; % plus |
| 75 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 76 |
|
| 77 |
cmchar "\textstyle circle-times operator"; |
| 78 |
beginchar(oct"116",20u#,0,10/6dh#); |
| 79 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 80 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 81 |
circle_points; draw_circle; % circle |
| 82 |
draw z1--z5; draw z3--z7; % times |
| 83 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 84 |
|
| 85 |
cmchar "\displaystyle circle-times operator"; |
| 86 |
beginchar(oct"117",27.2u#,0,14/6dh#); padded 1/6dh#; |
| 87 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 88 |
lft x6=hround u; x2=w-x6; top y8=0; bot y4=-d; |
| 89 |
circle_points; draw_circle; % circle |
| 90 |
draw z1--z5; draw z3--z7; % times |
| 91 |
labels(1,2,3,4,5,6,7,8); endchar; |
| 92 |
|
| 93 |
cmchar "\textstyle summation sign"; |
| 94 |
beginchar(oct"120",19u#,0,10/6dh#); |
| 95 |
adjust_fit(0,0); pickup tiny.nib; |
| 96 |
numeric top_arm_thickness, bot_arm_thickness, thick_stem, thin_stem; |
| 97 |
if serifs: |
| 98 |
thick_stem = curve; |
| 99 |
thin_stem = rule_thickness; |
| 100 |
top_arm_thickness=Vround rule_thickness; |
| 101 |
bot_arm_thickness=Vround .9(.5[rule_thickness,curve]); |
| 102 |
else: |
| 103 |
thick_stem = cap_stem+2bigdw; % Sigma is cap_stem |
| 104 |
thin_stem = cap_hair; % Sigma is cap_hair |
| 105 |
top_arm_thickness=Vround thin_stem; |
| 106 |
bot_arm_thickness=Vround thick_stem; |
| 107 |
fi |
| 108 |
lft x1l=hround u; x1l=x2l=x4l; x3l-x1l=4/11(w-2u); |
| 109 |
top y1=0; bot y2=-top_arm_thickness-eps; bot y4=-d; y3=-.5d; |
| 110 |
numeric alpha[]; alpha1=((x3l-x1l)++(y2-y3))/(y2-y3); |
| 111 |
penpos1(alpha1*(thick_stem-tiny),0); |
| 112 |
penpos2(alpha1*(thick_stem-tiny),0); |
| 113 |
penpos3(alpha1*(thick_stem-tiny),0); |
| 114 |
alpha2=diag_ratio(1,thin_stem-tiny,y3-y4,x3r-x4l); |
| 115 |
penpos4(alpha2*(thin_stem-tiny),0); |
| 116 |
z0=whatever[z2l,z3l]=z4l+whatever*(z3r-z4r); |
| 117 |
filldraw z1l--z2l--z0--z4l--z4r--z3r--z2r--z1r--cycle; % diagonals |
| 118 |
pickup crisp.nib; pos5(top_arm_thickness,90); pos6(hair,0); |
| 119 |
top y5r=0; x5=x1; rt x6r=hround(w-u); y6=good.y(y5l-beak)-eps; |
| 120 |
arm(5,6,a,.45,17/11u); % upper arm and beak |
| 121 |
pos7(bot_arm_thickness,-90); pos8(hair,0); |
| 122 |
bot y7r=-d; z7l=whatever[z4,z3]; x7r:=x4; x8=x6; y8=good.y(y7l+beak)+eps; |
| 123 |
arm(7,8,b,.45,17/11u); % lower arm and beak |
| 124 |
penlabels(0,1,2,3,4,5,6,7,8); endchar; |
| 125 |
|
| 126 |
cmchar "\displaystyle summation sign"; |
| 127 |
beginchar(oct"130",26u#,0,14/6dh#); padded 1/6dh#; |
| 128 |
adjust_fit(0,0); pickup tiny.nib; |
| 129 |
numeric top_arm_thickness, bot_arm_thickness, thick_stem, thin_stem; |
| 130 |
if serifs: |
| 131 |
thick_stem=bold+4bigdw; thin_stem=rule_thickness+bigdw; |
| 132 |
top_arm_thickness=Vround .9thin_stem; |
| 133 |
bot_arm_thickness=Vround .9(.5[thin_stem,thick_stem]); |
| 134 |
else: |
| 135 |
thin_stem=cap_hair; |
| 136 |
thick_stem=cap_stem+4bigdw; |
| 137 |
top_arm_thickness = Vround thin_stem; |
| 138 |
bot_arm_thickness = Vround thick_stem; |
| 139 |
fi |
| 140 |
lft x1l=hround u; x1l=x2l=x4l; x3l-x1l=4/11(w-2u); |
| 141 |
top y1=0; bot y2=-top_arm_thickness-eps; bot y4=-d; y3=-.5d; |
| 142 |
numeric alpha[]; alpha1=((x3l-x1l)++(y2-y3))/(y2-y3); |
| 143 |
penpos1(alpha1*(thick_stem-tiny),0); |
| 144 |
penpos2(alpha1*(thick_stem-tiny),0); |
| 145 |
penpos3(alpha1*(thick_stem-tiny),0); |
| 146 |
alpha2=diag_ratio(1,thin_stem-tiny,y3-y4,x3r-x4l); |
| 147 |
penpos4(alpha2*(thin_stem-tiny),0); |
| 148 |
z0=whatever[z2l,z3l]=z4l+whatever*(z3r-z4r); |
| 149 |
filldraw z1l--z2l--z0--z4l--z4r--z3r--z2r--z1r--cycle; % diagonals |
| 150 |
pickup crisp.nib; pos5(top_arm_thickness,90); pos6(hair,0); |
| 151 |
top y5r=0; x5=x1; rt x6r=hround(w-u); y6=good.y(y5l-1.2beak)-eps; |
| 152 |
arm(5,6,a,.45,24/11u); % upper arm and beak |
| 153 |
pos7(bot_arm_thickness,-90); pos8(hair,0); |
| 154 |
bot y7r=-d; z7l=whatever[z4,z3]; x7r:=x4; x8=x6; y8=good.y(y7l+1.2beak)+eps; |
| 155 |
arm(7,8,b,.45,24/11u); % lower arm and beak |
| 156 |
penlabels(0,1,2,3,4,5,6,7,8); endchar; |
| 157 |
|
| 158 |
cmchar "\textstyle product sign"; |
| 159 |
beginchar(oct"121",17u#,0,10/6dh#); |
| 160 |
adjust_fit(0,0); pickup crisp.nib; |
| 161 |
numeric heavy_stem,light_stem; |
| 162 |
heavy_stem=hround(bold+bigdw); light_stem=rule_thickness if hefty: + 0.5bigdw fi; |
| 163 |
pos1(heavy_stem,0);pos2(heavy_stem,0); pos1'(heavy_stem,0);pos2'(heavy_stem,0); |
| 164 |
pos11(light_stem,90); pos12(light_stem,90); pos22(light_stem,90); |
| 165 |
lft x11=hround u; |
| 166 |
x1l-x11=hround I_cap_jut; |
| 167 |
x2l-x12=x22-x2r=hround cap_jut; |
| 168 |
x1=x1'=x2=x2'; |
| 169 |
top y1=0; bot y2=-d; y11r=y1; y12l=y22l=y2; |
| 170 |
y11l-y1'=y2'-y12r=1.2bracket; |
| 171 |
filldraw z1r--z11r--serif_arc(11l,1'l)--reverse serif_arc(12r,2'l) |
| 172 |
--z12l--z22l--serif_arc(22r,2'r)--cycle; % left stem and serifs |
| 173 |
pos3(heavy_stem,0);pos4(heavy_stem,0); pos3'(heavy_stem,0);pos4'(heavy_stem,0); |
| 174 |
pos13(light_stem,90); pos14(light_stem,90); pos24(light_stem,90); |
| 175 |
x3=x3'=x4=x4'=w-x1; x13=w-x11; x14=w-x12; x24=w-x22; |
| 176 |
y3=y13r=y1; y3'=y1'; y4'=y2'; y4=y14l=y24l=y2; |
| 177 |
filldraw z3l--z13r--serif_arc(13l,3'r)--reverse serif_arc(14r,4'r) |
| 178 |
--z14l--z24l--serif_arc(24r,4'l)--cycle; % right stem and serifs |
| 179 |
filldraw stroke z11e--z13e; % bar |
| 180 |
penlabels(1,1',2,2',3,3',4,4',11,12,13,14,22,24); endchar; |
| 181 |
|
| 182 |
cmchar "\displaystyle product sign"; |
| 183 |
beginchar(oct"131",23u#,0,14/6dh#); padded 1/6dh#; |
| 184 |
adjust_fit(0,0); pickup crisp.nib; |
| 185 |
numeric heavy_stem,light_stem; |
| 186 |
heavy_stem=hround(bold+5bigdw); light_stem=Vround(rule_thickness+bigdw); |
| 187 |
pos1(heavy_stem,0);pos2(heavy_stem,0); pos1'(heavy_stem,0);pos2'(heavy_stem,0); |
| 188 |
pos11(light_stem,90); pos12(light_stem,90); pos22(light_stem,90); |
| 189 |
lft x11=hround u; |
| 190 |
x1l-x11=hround 1.6 I_cap_jut; |
| 191 |
x2l-x12=x22-x2r=hround 1.6cap_jut; |
| 192 |
x1=x1'=x2=x2'; |
| 193 |
top y1=0; bot y2=-d; y11r=y1; y12l=y22l=y2; |
| 194 |
y11l-y1'=y2'-y12r=1.8bracket; |
| 195 |
filldraw z1r--z11r--serif_arc(11l,1'l)--reverse serif_arc(12r,2'l) |
| 196 |
--z12l--z22l--serif_arc(22r,2'r)--cycle; % left stem and serifs |
| 197 |
pos3(heavy_stem,0);pos4(heavy_stem,0); pos3'(heavy_stem,0);pos4'(heavy_stem,0); |
| 198 |
pos13(light_stem,90); pos14(light_stem,90); pos24(light_stem,90); |
| 199 |
x3=x3'=x4=x4'=w-x1; x13=w-x11; x14=w-x12; x24=w-x22; |
| 200 |
y3=y13r=y1; y3'=y1'; y4'=y2'; y4=y14l=y24l=y2; |
| 201 |
filldraw z3l--z13r--serif_arc(13l,3'r)--reverse serif_arc(14r,4'r) |
| 202 |
--z14l--z24l--serif_arc(24r,4'l)--cycle; % right stem and serifs |
| 203 |
filldraw stroke z11e--z13e; % bar |
| 204 |
penlabels(1,1',2,2',3,3',4,4',11,12,13,14,22,24); endchar; |
| 205 |
|
| 206 |
cmchar "\textstyle coproduct sign"; |
| 207 |
beginchar(oct"140",17u#,0,10/6dh#); |
| 208 |
adjust_fit(0,0); pickup crisp.nib; |
| 209 |
numeric heavy_stem,light_stem; |
| 210 |
heavy_stem=hround(bold+bigdw); light_stem=rule_thickness if hefty: + 0.5bigdw fi; |
| 211 |
pos1(heavy_stem,0);pos2(heavy_stem,0); pos1'(heavy_stem,0);pos2'(heavy_stem,0); |
| 212 |
pos11(light_stem,-90); pos12(light_stem,-90); pos22(light_stem,-90); |
| 213 |
lft x11=hround u; |
| 214 |
x1l-x11=hround I_cap_jut; |
| 215 |
x2l-x12=x22-x2r=hround cap_jut; |
| 216 |
x1=x1'=x2=x2'; |
| 217 |
bot y1=-d; top y2=0; y11r=y1; y12l=y22l=y2; |
| 218 |
y1'-y11l=y12r-y2'=1.2bracket; |
| 219 |
filldraw z1r--z11r--serif_arc(11l,1'l)--reverse serif_arc(12r,2'l) |
| 220 |
--z12l--z22l--serif_arc(22r,2'r)--cycle; % left stem and serifs |
| 221 |
pos3(heavy_stem,0);pos4(heavy_stem,0); pos3'(heavy_stem,0);pos4'(heavy_stem,0); |
| 222 |
pos13(light_stem,-90); pos14(light_stem,-90); pos24(light_stem,-90); |
| 223 |
x3=x3'=x4=x4'=w-x1; x13=w-x11; x14=w-x12; x24=w-x22; |
| 224 |
y3=y13r=y1; y3'=y1'; y4'=y2'; y4=y14l=y24l=y2; |
| 225 |
filldraw z3l--z13r--serif_arc(13l,3'r)--reverse serif_arc(14r,4'r) |
| 226 |
--z14l--z24l--serif_arc(24r,4'l)--cycle; % right stem and serifs |
| 227 |
filldraw stroke z11e--z13e; % bar |
| 228 |
penlabels(1,1',2,2',3,3',4,4',11,12,13,14,22,24); endchar; |
| 229 |
|
| 230 |
cmchar "\displaystyle coproduct sign"; |
| 231 |
beginchar(oct"141",23u#,0,14/6dh#); padded 1/6dh#; |
| 232 |
adjust_fit(0,0); pickup crisp.nib; |
| 233 |
numeric heavy_stem,light_stem; |
| 234 |
heavy_stem=hround(bold+5bigdw); light_stem=Vround(rule_thickness+bigdw); |
| 235 |
pos1(heavy_stem,0);pos2(heavy_stem,0); pos1'(heavy_stem,0);pos2'(heavy_stem,0); |
| 236 |
pos11(light_stem,-90); pos12(light_stem,-90); pos22(light_stem,-90); |
| 237 |
lft x11=hround u; |
| 238 |
x1l-x11=hround 1.6 I_cap_jut; |
| 239 |
x2l-x12=x22-x2r=hround 1.6cap_jut; |
| 240 |
x1=x1'=x2=x2'; |
| 241 |
bot y1=-d; top y2=0; y11r=y1; y12l=y22l=y2; |
| 242 |
y1'-y11l=y12r-y2'=1.8bracket; |
| 243 |
filldraw z1r--z11r--serif_arc(11l,1'l)--reverse serif_arc(12r,2'l) |
| 244 |
--z12l--z22l--serif_arc(22r,2'r)--cycle; % left stem and serifs |
| 245 |
pos3(heavy_stem,0);pos4(heavy_stem,0); pos3'(heavy_stem,0);pos4'(heavy_stem,0); |
| 246 |
pos13(light_stem,-90); pos14(light_stem,-90); pos24(light_stem,-90); |
| 247 |
x3=x3'=x4=x4'=w-x1; x13=w-x11; x14=w-x12; x24=w-x22; |
| 248 |
y3=y13r=y1; y3'=y1'; y4'=y2'; y4=y14l=y24l=y2; |
| 249 |
filldraw z3l--z13r--serif_arc(13l,3'r)--reverse serif_arc(14r,4'r) |
| 250 |
--z14l--z24l--serif_arc(24r,4'l)--cycle; % right stem and serifs |
| 251 |
filldraw stroke z11e--z13e; % bar |
| 252 |
penlabels(1,1',2,2',3,3',4,4',11,12,13,14,22,24); endchar; |
| 253 |
|
| 254 |
cmchar "\textstyle integral sign"; |
| 255 |
beginchar(oct"122",12u#,0,100/54dh#); |
| 256 |
italcorr 3.5u#; % \TeX\ kerning between upper limit and lower limit |
| 257 |
adjust_fit(0,-ic#); pickup fine.nib; |
| 258 |
if serifs: |
| 259 |
pos2(hair,0); pos8(hair,-180); |
| 260 |
else: |
| 261 |
pos2(vair,0); pos8(vair,-180); |
| 262 |
fi |
| 263 |
pos1(curve,0); pos3(vair,90); pos4(stem,180); |
| 264 |
pos5(curve,180); pos5'(curve,0); z5'=z5; pos6(stem,0); |
| 265 |
pos7(vair,-90); pos9(curve,-180); |
| 266 |
rt x1r=hround(w-u); x9=w-x1; x7=w-x3=3u; |
| 267 |
x5=.5[x4,x6]; x4-x6=1.2u; lft x5r=hround(.5w-.5curve); |
| 268 |
top y3r=0; bot y7r=-d; y9-.5curve=vround(top y7l+.25curve); |
| 269 |
y3-y1=y9-y7; y5=.5[y3,y7]=.5[y4,y6]; y4-y6=.6(y3-y7); |
| 270 |
sansbulb(3,2,1); sansbulb(7,8,9); % bulbs |
| 271 |
filldraw stroke z3e{left}...z4e{(z5e-z4e)xscaled 1.1} |
| 272 |
..tension atleast 1 and atleast .8..{z5-z4}z5e; % upper stem |
| 273 |
filldraw stroke z5'e{z6-z5}..tension atleast.8 and atleast 1 |
| 274 |
..{(z6e-z5'e)xscaled 1.1}z6e...{left}z7e; % lower stem |
| 275 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 276 |
|
| 277 |
cmchar "\displaystyle integral sign"; |
| 278 |
beginchar(oct"132",18u#,0,200/54dh#); |
| 279 |
italcorr 8u#; % \TeX\ kerning between upper limit and lower limit |
| 280 |
adjust_fit(0,-ic#); pickup fine.nib; |
| 281 |
numeric bulb_size, max_size; |
| 282 |
bulb_size=hround(bold+bigdw); max_size=hround(bold+2bigdw); |
| 283 |
pos1(bulb_size,0); pos2(hair,0); pos3(vair,90); pos4(bold,180); |
| 284 |
pos5(max_size,180); pos5'(max_size,0); z5'=z5; pos6(bold,0); |
| 285 |
pos7(vair,-90); pos8(hair,-180); pos9(bulb_size,-180); |
| 286 |
rt x1r=hround(w-u); x9=w-x1; x7=w-x3=3u; |
| 287 |
x5=.5[x4,x6]; x4-x6=4.8u; lft x5r=hround(.5w-.5max_size); |
| 288 |
top y3r=0; bot y7r=-d; |
| 289 |
y9-.5bulb_size=vround(top y7l+.25bulb_size); y3-y1=y9-y7; |
| 290 |
y5=.5[y3,y7]=.5[y4,y6]; y4-y6=.6(y3-y7); |
| 291 |
sansbulb(3,2,1); sansbulb(7,8,9); % bulbs |
| 292 |
filldraw stroke z3e{left}...z4e{(z5e-z4e)xscaled 1.1} |
| 293 |
..tension atleast 1 and atleast .8..{z5-z4}z5e; % upper stem |
| 294 |
filldraw stroke z5'e{z6-z5}..tension atleast.8 and atleast 1 |
| 295 |
..{(z6e-z5'e)xscaled 1.1}z6e...{left}z7e; % lower stem |
| 296 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 297 |
|
| 298 |
cmchar "\textstyle contour integral sign"; |
| 299 |
beginchar(oct"110",12u#,0,100/54dh#); |
| 300 |
italcorr 3.5u#; % \TeX\ kerning between upper limit and lower limit |
| 301 |
adjust_fit(0,-ic#); pickup fine.nib; |
| 302 |
if serifs: |
| 303 |
pos2(hair,0); pos8(hair,-180); |
| 304 |
else: |
| 305 |
pos2(vair,0); pos8(vair,-180); |
| 306 |
fi |
| 307 |
pos1(curve,0); pos3(vair,90); pos4(stem,180); |
| 308 |
pos5(curve,180); pos5'(curve,0); z5'=z5; pos6(stem,0); |
| 309 |
pos7(vair,-90); pos9(curve,-180); |
| 310 |
rt x1r=hround(w-u); x9=w-x1; x7=w-x3=3u; |
| 311 |
x5=.5[x4,x6]; x4-x6=1.2u; lft x5r=hround(.5w-.5curve); |
| 312 |
top y3r=0; bot y7r=-d; y9-.5curve=vround(top y7l+.25curve); |
| 313 |
y3-y1=y9-y7; y5=.5[y3,y7]=.5[y4,y6]; y4-y6=.6(y3-y7); |
| 314 |
sansbulb(3,2,1); sansbulb(7,8,9); % bulbs |
| 315 |
filldraw stroke z3e{left}...z4e{(z5e-z4e)xscaled 1.1} |
| 316 |
..tension atleast 1 and atleast .8..{z5-z4}z5e; % upper stem |
| 317 |
filldraw stroke z5'e{z6-z5}..tension atleast.8 and atleast 1 |
| 318 |
..{(z6e-z5'e)xscaled 1.1}z6e...{left}z7e; % lower stem |
| 319 |
pickup rule.nib; autorounded; |
| 320 |
draw fullcircle scaled .5w shifted z5; % contour |
| 321 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 322 |
|
| 323 |
cmchar "\displaystyle contour integral sign"; |
| 324 |
beginchar(oct"111",18u#,0,200/54dh#); |
| 325 |
italcorr 8u#; % \TeX\ kerning between upper limit and lower limit |
| 326 |
adjust_fit(0,-ic#); pickup fine.nib; |
| 327 |
numeric bulb_size, max_size; |
| 328 |
bulb_size=hround(bold+bigdw); max_size=hround(bold+2bigdw); |
| 329 |
pos1(bulb_size,0); pos2(hair,0); pos3(vair,90); pos4(bold,180); |
| 330 |
pos5(max_size,180); pos5'(max_size,0); z5'=z5; pos6(bold,0); |
| 331 |
pos7(vair,-90); pos8(hair,-180); pos9(bulb_size,-180); |
| 332 |
rt x1r=hround(w-u); x9=w-x1; x7=w-x3=3u; |
| 333 |
x5=.5[x4,x6]; x4-x6=4.8u; lft x5r=hround(.5w-.5max_size); |
| 334 |
top y3r=0; bot y7r=-d; |
| 335 |
y9-.5bulb_size=vround(top y7l+.25bulb_size); y3-y1=y9-y7; |
| 336 |
y5=.5[y3,y7]=.5[y4,y6]; y4-y6=.6(y3-y7); |
| 337 |
sansbulb(3,2,1); sansbulb(7,8,9); % bulbs |
| 338 |
filldraw stroke z3e{left}...z4e{(z5e-z4e)xscaled 1.1} |
| 339 |
..tension atleast 1 and atleast .8..{z5-z4}z5e; % upper stem |
| 340 |
filldraw stroke z5'e{z6-z5}..tension atleast.8 and atleast 1 |
| 341 |
..{(z6e-z5'e)xscaled 1.1}z6e...{left}z7e; % lower stem |
| 342 |
pickup rule.nib; autorounded; |
| 343 |
draw fullcircle scaled .5w shifted z5; % contour |
| 344 |
penlabels(1,2,3,4,5,6,7,8,9); endchar; |
| 345 |
|
| 346 |
cmchar "\textstyle set union sign"; |
| 347 |
beginchar(oct"123",15u#,0,10/6dh#); |
| 348 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 349 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 350 |
top y1=eps; bot y3=-d; y2=y4=2/3[y1,y3]; y5=y1; |
| 351 |
draw z1---z2...z3...z4---z5; % stems and cup |
| 352 |
labels(1,2,3,4,5); endchar; |
| 353 |
|
| 354 |
cmchar "\displaystyle set union sign"; |
| 355 |
beginchar(oct"133",20u#,0,14/6dh#); padded 1/6dh#; |
| 356 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 357 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 358 |
top y1=eps; bot y3=-d; y2=y4=2/3[y1,y3]; y5=y1; |
| 359 |
draw z1---z2...z3...z4---z5; % stems and cup |
| 360 |
labels(1,2,3,4,5); endchar; |
| 361 |
|
| 362 |
cmchar "\textstyle set intersection sign"; |
| 363 |
beginchar(oct"124",15u#,0,10/6dh#); |
| 364 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 365 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 366 |
top y3=0; bot y1=-d-eps; y2=y4=2/3[y1,y3]; y5=y1; |
| 367 |
draw z1---z2...z3...z4---z5; % stems and cap |
| 368 |
labels(1,2,3,4,5); endchar; |
| 369 |
|
| 370 |
cmchar "\displaystyle set intersection sign"; |
| 371 |
beginchar(oct"134",20u#,0,14/6dh#); padded 1/6dh#; |
| 372 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 373 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 374 |
top y3=0; bot y1=-d-eps; y2=y4=2/3[y1,y3]; y5=y1; |
| 375 |
draw z1---z2...z3...z4---z5; % stems and cap |
| 376 |
labels(1,2,3,4,5); endchar; |
| 377 |
|
| 378 |
cmchar "\textstyle multiset union sign"; |
| 379 |
beginchar(oct"125",15u#,0,10/6dh#); |
| 380 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 381 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 382 |
top y1=eps; bot y3=-d; y2=y4=2/3[y1,y3]; y5=y1; |
| 383 |
draw z1---z2...z3...z4---z5; % stems and cup |
| 384 |
y8=y9=.47[y1,y3]; x8=w-x9=x1+2stem+eps; x6=x7=x3; |
| 385 |
.5[y6,y7]=y8; y7-y6=x9-x8; draw z8--z9; draw z6--z7; % enclosed `$+$' |
| 386 |
labels(1,2,3,4,5,6,7,8,9); endchar; |
| 387 |
|
| 388 |
cmchar "\displaystyle multiset union sign"; |
| 389 |
beginchar(oct"135",20u#,0,14/6dh#); padded 1/6dh#; |
| 390 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 391 |
lft x1=hround u; x2=x1; x3=w-x3; x4=x5=w-x1; |
| 392 |
top y1=eps; bot y3=-d; y2=y4=2/3[y1,y3]; y5=y1; |
| 393 |
draw z1---z2...z3...z4---z5; % stems and cup |
| 394 |
y8=y9=.47[y1,y3]; x8=w-x9=x1+2curve+eps; x6=x7=x3; |
| 395 |
.5[y6,y7]=y8; y7-y6=x9-x8; draw z8--z9; draw z6--z7; % enclosed `$+$' |
| 396 |
labels(1,2,3,4,5,6,7,8,9); endchar; |
| 397 |
|
| 398 |
cmchar "\textstyle lattice infimum sign"; |
| 399 |
beginchar(oct"126",15u#,0,10/6dh#); |
| 400 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 401 |
lft x1=hround u-eps; x3=w-x3; x5=w-x1; |
| 402 |
top y3=0; bot y1=-d-eps; y5=y1; |
| 403 |
draw z1--z3--z5; % diagonals |
| 404 |
labels(1,3,5); endchar; |
| 405 |
|
| 406 |
cmchar "\displaystyle lattice infimum sign"; |
| 407 |
beginchar(oct"136",20u#,0,14/6dh#); padded 1/6dh#; |
| 408 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 409 |
lft x1=hround u-eps; x3=w-x3; x5=w-x1; |
| 410 |
top y3=0; bot y1=-d-eps; y5=y1; |
| 411 |
draw z1--z3--z5; % diagonals |
| 412 |
labels(1,3,5); endchar; |
| 413 |
|
| 414 |
cmchar "\textstyle lattice supremum sign"; |
| 415 |
beginchar(oct"127",15u#,0,10/6dh#); |
| 416 |
adjust_fit(0,0); pickup pencircle scaled stem; |
| 417 |
lft x1=hround u-eps; x3=w-x3; x5=w-x1; |
| 418 |
top y1=eps; bot y3=-d; y5=y1; |
| 419 |
draw z1--z3--z5; % diagonals |
| 420 |
labels(1,3,5); endchar; |
| 421 |
|
| 422 |
cmchar "\displaystyle lattice supremum sign"; |
| 423 |
beginchar(oct"137",20u#,0,14/6dh#); padded 1/6dh#; |
| 424 |
adjust_fit(0,0); pickup pencircle scaled curve; |
| 425 |
lft x1=hround u-eps; x3=w-x3; x5=w-x1; |
| 426 |
top y1=eps; bot y3=-d; y5=y1; |
| 427 |
draw z1--z3--z5; % diagonals |
| 428 |
labels(1,3,5); endchar; |