summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-2-4.mp
blob: e2738f4622282c14877bd7fe3c23c5884c11615f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
% --- start of displayed preamble in the book ---
input latexmp;
% --- end of displayed preamble in the book ---
% initlatex
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
for i=1 upto 5:
  label(textext("$i=" & (decimal i) & "$"),(0,10*i));
endfor
endfig;
end;