summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-8.mp
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/lgc2/3-5-8.mp')
-rw-r--r--info/examples/lgc2/3-5-8.mp18
1 files changed, 18 insertions, 0 deletions
diff --git a/info/examples/lgc2/3-5-8.mp b/info/examples/lgc2/3-5-8.mp
new file mode 100644
index 0000000000..632c4a15d0
--- /dev/null
+++ b/info/examples/lgc2/3-5-8.mp
@@ -0,0 +1,18 @@
+% --- start of displayed preamble in the book ---
+input metaobj
+% Circles produced as before
+
+% --- end of displayed preamble in the book ---
+
+ newCircle.a(btex start etex);
+ newCircle.b(btex end etex);
+ a.c=origin;
+ b.c-a.c=(3cm,1cm);
+
+defaultfont:="ptmr8r";
+warningcheck:=0;
+beginfig(1)
+drawObj(a,b);
+ncline(a.c)(b.c);
+endfig;
+end;