summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-5.mp
blob: d90d18947bbc886a19d5cf3e400a1b88e374cc89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
% --- start of displayed preamble in the book ---
input expressg
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
z0=origin;
drawcardbox(0, 3cm, 1cm, 3mm)
           (btex Card text etex);
z1=(1.5cm,-1cm);
drawdiamondbox(1, 2cm, 1cm)
              (btex jewel etex);
z2=(3.5cm,-1.5cm);
drawindexbox(2, 3cm, 2cm, 1cm, 5mm)
            (btex pack etex);
endfig;
end;