% --- 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 some text etex,5)
  "polymargin(3mm)";
a.c=origin;
drawObj(a);
endfig;
end;