summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-1-17.mp
blob: 9e0dc6dbd7e4acce895a72e8c5da36aa239c6422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% --- start of displayed preamble in the book ---

% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
numeric u;
u=1cm;
z0=origin;z1-z0=(2u,0);
z2-z1=z3-z0=(0,u);
draw z0--z1--z2--z3--cycle;
endfig;
end;