📄 ebigop.mf
字号:
cmchar "Extensible left curly brace---top";beginchar(oct"070",12u#,0,1.5dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos1(min_breadth,0); pos1'(min_breadth,0);pos2(heavy_rule_thickness,0); pos3(heavy_rule_thickness,0);rt x1r=rt x1'r=hround(w-1.5u+.5min_breadth);lft x2l=lft x3l=hround(.5w-.5heavy_rule_thickness);top y1=h-1; y3=-d-eps; y2=.5[y1,y3]; y1-y1'=min_breadth-fine;filldraw z1l{3(x2l-x1l),y2-y1}...z2l---z3l --z3r---z2r...{3(x1r-x2r),y1'-y2}z1'r--z1r--cycle; % strokepenlabels(1,2,3); endchar;cmchar "Extensible left curly brace---bottom";beginchar(oct"072",12u#,0,1.5dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos7(min_breadth,0); pos7'(min_breadth,0);pos5(heavy_rule_thickness,0); pos6(heavy_rule_thickness,0);rt x7r=rt x7'r=hround(w-1.5u+.5min_breadth);lft x5l=lft x6l=hround(.5w-.5heavy_rule_thickness);y5=h+eps; bot y7=1-d; y6=.5[y5,y7]; y7'-y7=min_breadth-fine;filldraw z5l---z6l...{3(x7l-x6l),y7-y6}z7l --z7r--z7'r{3(x6r-x7r),y6-y7'}...z6r---z5r--cycle; % strokepenlabels(5,6,7); endchar;cmchar "Extensible left curly brace---middle";beginchar(oct"074",12u#,0,3dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos4(min_breadth,0); pos4'(min_breadth,0);forsuffixes $=2,3,5,6: pos$(heavy_rule_thickness,0); endforlft x4l=lft x4'l=hround(1.5u-.5min_breadth);x2=x3=x5=x6; lft x2l=hround(.5w-.5heavy_rule_thickness);y2=h+eps; y6=-d-eps; .5[y4,y4']=.5[y2,y6]=.5[y3,y5];y3-y4=(y2-y6)/4; y4-y4'=min_breadth-fine;filldraw z2l---z3l...{3(x4l-x3l),y4-y3}z4l --z4'l{3(x5l-x4l),y5-y4'}...z5l---z6l--z6r---z5r ...{3(x4r-x5r),.5[y4,y4']-y5}.5[z4r,z4'r]{3(x3r-x4r),y3-.5[y4,y4']} ...z3r---z2r--cycle; % strokepenlabels(2,3,4,5,6); endchar;cmchar "Extensible curly brace---extension module";beginchar(oct"076",12u#,0,.5dh#);adjust_fit(2u#,2u#); pickup fine.nib;pos2(heavy_rule_thickness,0); pos3(heavy_rule_thickness,0);lft x2l=lft x3l=hround(.5w-.5heavy_rule_thickness); y2=h+eps; y3=-d-eps;filldraw stroke z2e--z3e; % stempenlabels(2,3); endchar;cmchar "\big right curly brace";beginchar(oct"011",9u#,rule_thickness#,2dh#-rule_thickness#);adjust_fit(.75u#,.75u#); right_curly(hair,stem); endchar;cmchar "\Big right curly brace";beginchar(oct"013",10u#,rule_thickness#,3dh#-rule_thickness#);adjust_fit(u#,u#); right_curly(rule_thickness,.3[stem,bold]); endchar;cmchar "\bigg right curly brace";beginchar(oct"015",11u#,rule_thickness#,4dh#-rule_thickness#);adjust_fit(1.25u#,1.25u#); right_curly(rule_thickness+.2dw,.7[stem,bold]); endchar;cmchar "\Bigg right curly brace";beginchar(oct"017",11.5u#,rule_thickness#,5dh#-rule_thickness#);adjust_fit(1.5u#,1.5u#); right_curly(rule_thickness+.4dw,bold); endchar;cmchar "Extensible right curly brace---top";beginchar(oct"071",12u#,0,1.5dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos1(min_breadth,0); pos1'(min_breadth,0);pos2(heavy_rule_thickness,0); pos3(heavy_rule_thickness,0);lft x1l=lft x1'l=hround(1.5u-.5min_breadth);lft x2l=lft x3l=hround(.5w-.5heavy_rule_thickness);top y1=h-1; y3=-d-eps; y2=.5[y1,y3]; y1-y1'=min_breadth-fine;filldraw z1r{3(x2r-x1r),y2-y1}...z2r---z3r --z3l---z2l...{3(x1l-x2l),y1'-y2}z1'l--z1l--cycle; % strokepenlabels(1,2,3); endchar;cmchar "Extensible right curly brace---bottom";beginchar(oct"073",12u#,0,1.5dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos7(min_breadth,0); pos7'(min_breadth,0);pos5(heavy_rule_thickness,0); pos6(heavy_rule_thickness,0);lft x7l=lft x7'l=hround(1.5u-.5min_breadth);lft x5l=lft x6l=hround(.5w-.5heavy_rule_thickness);y5=h+eps; bot y7=1-d; y6=.5[y5,y7]; y7'-y7=min_breadth-fine;filldraw z5r---z6r...{3(x7r-x6r),y7-y6}z7r --z7l--z7'l{3(x6l-x7l),y6-y7'}...z6l---z5l--cycle; % strokepenlabels(5,6,7); endchar;cmchar "Extensible right curly brace---middle";beginchar(oct"075",12u#,0,3dh#);adjust_fit(2u#,2u#); pickup fine.nib;numeric min_breadth; min_breadth=hround(rule_thickness+.6dw);pos4(min_breadth,0); pos4'(min_breadth,0);forsuffixes $=2,3,5,6: pos$(heavy_rule_thickness,0); endforrt x4r=rt x4'r=hround(w-1.5u+.5min_breadth);x2=x3=x5=x6; lft x2l=hround(.5w-.5heavy_rule_thickness);y2=h+eps; y6=-d-eps; .5[y4,y4']=.5[y2,y6]=.5[y3,y5];y3-y4=(y2-y6)/4; y4-y4'=min_breadth-fine;filldraw z2r---z3r...{3(x4r-x3r),y4-y3}z4r --z4'r{3(x5r-x4r),y5-y4'}...z5r---z6r--z6l---z5l ...{3(x4l-x5l),.5[y4,y4']-y5}.5[z4l,z4'l]{3(x3l-x4l),y3-.5[y4,y4']} ...z3l---z2l--cycle; % strokepenlabels(2,3,4,5,6); endchar;cmchar "Horizontal curly brace tip---down and left";beginchar(oct"172",.75dh#,heavy_rule_thickness#,0);adjust_fit(0,0); pickup fine.nib;numeric min_breadth; min_breadth=vround(rule_thickness+.6dw);pos1(min_breadth,90); pos1'(min_breadth,90);pos2(heavy_rule_thickness,90);bot y2l=0; bot y1l=bot y1'l=vround(y2-4.5u-.5min_breadth);.5[x1,x1']=-eps; x2=w+shrink_fit+eps; x1'-x1=min_breadth-fine;filldraw z1r{x2-x1,3(y2r-y1r)}...{right}z2r --z2l{left}...{x1'-x2,3(y1-y2)}z1'l--z1l--cycle; % strokepenlabels(1,2); endchar;cmchar "Horizontal curly brace tip---down and right";beginchar(oct"173",.75dh#,heavy_rule_thickness#,0);adjust_fit(0,0); pickup fine.nib;numeric min_breadth; min_breadth=vround(rule_thickness+.6dw);pos1(min_breadth,90); pos1'(min_breadth,90);pos2(heavy_rule_thickness,90);bot y2l=0; bot y1l=bot y1'l=vround(y2-4.5u-.5min_breadth);.5[x1,x1']=w+shrink_fit+eps; x2=-eps; x1-x1'=min_breadth-fine;filldraw z1r{x2-x1,3(y2r-y1r)}...{left}z2r --z2l{right}...{x1'-x2,3(y1-y2)}z1'l--z1l--cycle; % strokepenlabels(1,2); endchar;cmchar "Horizontal curly brace tip---up and left";beginchar(oct"174",.75dh#,heavy_rule_thickness#,0);adjust_fit(0,0); pickup fine.nib;numeric min_breadth; min_breadth=vround(rule_thickness+.6dw);pos1(min_breadth,90); pos1'(min_breadth,90);pos2(heavy_rule_thickness,90);bot y2l=0; top y1r=top y1'r=vround(y2+4.5u+.5min_breadth);.5[x1,x1']=-eps; x2=w+shrink_fit+eps; x1'-x1=min_breadth-fine;filldraw z1l{x2-x1,3(y2l-y1l)}...{right}z2l --z2r{left}...{x1'-x2,3(y1-y2)}z1'r--z1r--cycle; % strokepenlabels(1,2); endchar;cmchar "Horizontal curly brace tip---up and right";beginchar(oct"175",.75dh#,heavy_rule_thickness#,0);adjust_fit(0,0); pickup fine.nib;numeric min_breadth; min_breadth=vround(rule_thickness+.6dw);pos1(min_breadth,90); pos1'(min_breadth,90);pos2(heavy_rule_thickness,90);bot y2l=0; top y1r=top y1'r=vround(y2+4.5u+.5min_breadth);.5[x1,x1']=w+shrink_fit+eps; x2=-eps; x1-x1'=min_breadth-fine;filldraw z1l{x2-x1,3(y2l-y1l)}...{left}z2l --z2r{right}...{x1'-x2,3(y1-y2)}z1'r--z1r--cycle; % strokepenlabels(1,2); endchar;cmchar "Leftward arrow";compute_spread(.45x_height#,.55x_height#);beginchar(oct"040",18u#,v_center(spread#+rule_thickness#));adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(bar,0); pos4(bar,0);y0=y1=y2=math_axis; x1+.5rule_thickness=hround(w-u); lft x0=hround u;y3-y0=y0-y4=.36asc_height+eps; x3=x4=x0+3u+eps;pos5(bar,angle(z4-z0)); z5l=z0; pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4r{z9-z4}..z6r;t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p;filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) --z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3r{z9-z3}..z5r) --z3l{z9-z3}..z0 & cycle; % arrowhead and stempenlabels(0,1,2,3,4,5,6,9); endchar;cmchar "Rightward arrow";compute_spread(.45x_height#,.55x_height#);beginchar(oct"041",18u#,v_center(spread#+rule_thickness#));adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(bar,0); pos4(bar,0);y0=y1=y2=math_axis; x1-.5rule_thickness=hround u; rt x0=hround(w-u);y3-y0=y0-y4=.36asc_height+eps; x3=x4=x0-3u-eps;pos5(bar,angle(z4-z0)); z5l=z0; pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4l{z9-z4}..z6r;t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p;filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) --z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3l{z9-z3}..z5r) --z3r{z9-z3}..z0 & cycle; % arrowhead and stempenlabels(0,1,2,3,4,5,6,9); endchar;cmchar "Left-and-right arrow";compute_spread(.45x_height#,.55x_height#);beginchar(oct"044",18u#, v_center(if monospace:.6asc_height#+fi spread#+rule_thickness#));adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(bar,0); pos4(bar,0);y0=y1=y2=math_axis if monospace:+vround.3asc_height fi; lft x0=hround u;if monospace: x1+.5rule_thickness=hround(w-u) else: x1=.5w fi;y3-y0=y0-y4=.36asc_height+eps; x3=x4=x0+3u+eps;pos5(bar,angle(z4-z0)); z5l=z0; pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4r{z9-z4}..z6r;t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p;filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) --z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3r{z9-z3}..z5r) --z3l{z9-z3}..z0 & cycle; % left arrowhead and stempos11(rule_thickness,90); pos12(rule_thickness,90); pos13(bar,0); pos14(bar,0);y10=y11=y12=math_axis if monospace:-vround.3asc_height fi;rt x10=hround(w-u);if monospace: x11-.5rule_thickness=hround u else: x11=.5w fi;y13-y10=y10-y14=.36asc_height+eps; x13=x14=x10-3u-eps;pos15(bar,angle(z14-z10)); z15l=z10; pos16(bar,angle(z13-z10)); z16l=z10;z19=.381966[.5[z13,z14],z10];numeric t; path p; p=z14l{z19-z14}..z16r;t=xpart(p intersectiontimes((0,y12l)--(w,y12l))); x12=xpart point t of p;filldraw z10..{z14-z19}z14r--subpath (0,t) of\\(z14l{z19-z14}..z16r) --z12l---z11l..z11r---z12r--subpath (t,0) of\\(z13l{z19-z13}..z15r) --z13r{z19-z13}..z10 & cycle; % right arrowhead and stempenlabels(0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19); endchar;cmchar "Upward arrow";beginchar(oct"042",9u#,asc_height#,asc_depth#);italcorr .76asc_height#*slant+.5crisp#-u#;adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,0); pos2(rule_thickness,0);pos3(bar,90); pos4(bar,90);lft x1l=hround(.5w-.5rule_thickness); y1-.5rule_thickness=-d;x0=x1=x2; top y0=h; x0-x3=x4-x0=4u+eps;y3=y4=y0-.24asc_height-eps;pos5(bar,angle(z4-z0)); z5l=z0;pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4l{z9-z4}..z6r;t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p;filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) --z2r---z1r..z1l---z2l--subpath (t,0) of\\(z3l{z9-z3}..z5r) --z3r{z9-z3}..z0 & cycle; % arrowhead and stempenlabels(0,1,2,3,4,5,6,9); endchar;cmchar "Downward arrow";beginchar(oct"043",9u#,asc_height#,asc_depth#);adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,0); pos2(rule_thickness,0);pos3(bar,90); pos4(bar,90);lft x1l=hround(.5w-.5rule_thickness); y1+.5rule_thickness=h;x0=x1=x2; bot y0=-d; x0-x3=x4-x0=4u+eps;y3=y4=y0+.24asc_height+eps;pos5(bar,angle(z4-z0)); z5l=z0;pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4r{z9-z4}..z6r;t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p;filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) --z2r---z1r..z1l---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) --z3l{z9-z3}..z0 & cycle; % arrowhead and stempenlabels(0,1,2,3,4,5,6,9); endchar;cmchar "Up-and-down arrow";beginchar(oct"154",9u#,body_height#,paren_depth#);adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,0); pos2(rule_thickness,0);pos3(bar,90); pos4(bar,90);lft x1l=hround(.5w-.5rule_thickness); y1=.5[-d,h];x0=x1=x2; bot y0=-d-o; x0-x3=x4-x0=4u+eps;y3=y4=y0+.24asc_height+eps;pos5(bar,angle(z4-z0)); z5l=z0; pos6(bar,angle(z3-z0)); z6l=z0;z9=.381966[.5[z3,z4],z0];numeric t; path p; p=z4r{z9-z4}..z6r;t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p;filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) --z2r---z1r..z1l---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) --z3l{z9-z3}..z0 & cycle; % lower arrowhead and stempos11(rule_thickness,0); pos12(rule_thickness,0); z11=z1;pos13(bar,90); pos14(bar,90);x10=x11=x12; top y10=h+o; x10-x13=x14-x10=4u+eps;y13=y14=y10-.24asc_height-eps;pos15(bar,angle(z14-z10)); z15l=z10; pos16(bar,angle(z13-z10)); z16l=z10;z19=.381966[.5[z13,z14],z10];numeric t; path p; p=z14l{z19-z14}..z16r;t=xpart(p intersectiontimes((x12r,-d)--(x12r,h))); y12=ypart point t of p;filldraw z10..{z14-z19}z14r--subpath (0,t) of\\(z14l{z19-z14}..z16r) --z12r---z11r..z11l---z12l--subpath (t,0) of\\(z13l{z19-z13}..z15r) --z13r{z19-z13}..z10 & cycle; % upper arrowhead and stempenlabels(0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19); endchar;cmchar "Leftward top half arrow";compute_spread(.45x_height#,.55x_height#);beginchar(oct"030",18u#,v_center(spread#+rule_thickness#));adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(bar,0); pos4(bar,0);y0=y1=y2=math_axis; x1+.5rule_thickness=hround(w-u); lft x0=hround u;y3-y0=y0-y4=.36asc_height+eps; x3=x4=x0+3u+eps;pos5(bar,angle(z4-z0)); z5l=z0; pos6(bar,angle(z3-z0)); z6l=z0;numeric t; path p; p=z4r..{2(x0-x4),y0-y4}z6r;t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p;filldraw z0--(x0,y2l)---z1l..z1r---z2r ..subpath (t,0) of\\(z3r..{2(x0-x3),y0-y3}z5r) --z3l..{2(x0-x3),y0-y3}cycle; % arrowhead and stempenlabels(0,1,2,3,4,5,6); endchar;cmchar "Leftward bottom half arrow";compute_spread(.45x_height#,.55x_height#);beginchar(oct"031",18u#,v_center(spread#+rule_thickness#));adjust_fit(0,0); pickup crisp.nib;pos1(rule_thickness,90); pos2(rule_thickness,90); pos3(bar,0); pos4(bar,0);y0=y1=y2=math_axis; x1+.5rule_thickness=hround(w-u); lft x0=hround u;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -