diff options
Diffstat (limited to 'Build/source/utils/asymptote/examples/alignbox.asy')
-rw-r--r-- | Build/source/utils/asymptote/examples/alignbox.asy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/examples/alignbox.asy b/Build/source/utils/asymptote/examples/alignbox.asy new file mode 100644 index 00000000000..8f216c6a10c --- /dev/null +++ b/Build/source/utils/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); +currentpicture.add(new void(frame f, transform t) { + draw(f,point(left,NE,t)--point(right,W,t)); + }); |