summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-5-56.mp
blob: 315ab4388999a94b7d46289a6d3b746b3dcd59cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% --- start of displayed preamble in the book ---
input metaobj
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
newPolygon.a(btex Box A etex,5)
  "fit(false)","polymargin(5mm)";
newBox.b(btex Box B etex
         scaled \magstep3);
newHRazor.ba(1cm);
newPolygon.c(btex Box C etex
             scaled \magstep2,11)
  "polymargin(3mm)";
newHBox.h(a,b,ba,c)
  "align(center)","hsep(3mm)";
h.c=origin;
drawObj(h);
endfig;
end;