summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-58.mp
blob: fe8ba711fcd6c8587bfc802eb685c979d5f6541a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% --- start of displayed preamble in the book ---
input metaobj
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
newBox.a1(btex Box A1 etex);
newBox.b1(btex Box B1 etex scaled \magstep3);
newBox.c1(btex Box C1 etex scaled \magstep2);
newVBox.v1(a1,b1,c1) "align(center)";
newBox.a2(btex Box A2 etex);
newBox.b2(btex Box B2 etex scaled \magstep3);
newBox.c2(btex Box C2 etex scaled \magstep2);
newVBox.v2(a2,b2,c2) "align(center)";
v1.c=origin;
v2.c-v1.c=(3cm,0);
drawObj(v1,v2);
endfig;
end;