blob: 7d049433e4bd4dbd29d96bff41b0af93ed56732c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
% --- 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)
ncbox(a)(b)
"linecolor(blue)","linewidth(1pt)",
"nodesepA(1cm)","nodesepB(1cm)",
"boxsize(1cm)";
ncbox(a)(b)
"linecolor(blue)","linewidth(1pt)",
"nodesepA(1.3cm)","nodesepB(1.1cm)",
"boxsize(1.5cm)","linearc(3mm)";
drawObj(a,b);
endfig;
end;
|