diff options
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/alignbox.asy')
-rw-r--r-- | Master/texmf-dist/doc/asymptote/examples/alignbox.asy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/alignbox.asy b/Master/texmf-dist/doc/asymptote/examples/alignbox.asy new file mode 100644 index 00000000000..67083b1e2e0 --- /dev/null +++ b/Master/texmf-dist/doc/asymptote/examples/alignbox.asy @@ -0,0 +1,9 @@ +real margin=1.5mm; + +object left=align(object("$x^2$",ellipse,margin),W); +add(left); +object right=align(object("$\sin x$",ellipse,margin),4E); +add(right); +add(new void(frame f, transform t) { + draw(f,point(left,NE,t)--point(right,W,t)); + }); |