summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-31.mp
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/examples/lgc2/3-5-31.mp
Initial commit
Diffstat (limited to 'info/examples/lgc2/3-5-31.mp')
-rw-r--r--info/examples/lgc2/3-5-31.mp20
1 files changed, 20 insertions, 0 deletions
diff --git a/info/examples/lgc2/3-5-31.mp b/info/examples/lgc2/3-5-31.mp
new file mode 100644
index 0000000000..ede8bf5c47
--- /dev/null
+++ b/info/examples/lgc2/3-5-31.mp
@@ -0,0 +1,20 @@
+% --- 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=(1.5cm,1cm);
+
+defaultfont:="ptmr8r";
+warningcheck:=0;
+beginfig(1)
+ncarcbox(a)(b) "arcangleA(0)",
+ "linecolor(blue)","linewidth(1pt)",
+ "nodesepA(5mm)","nodesepB(5mm)";
+drawObj(a,b);
+endfig;
+end;