diff options
Diffstat (limited to 'info/examples/lgc2/4-1-7.mp')
-rw-r--r-- | info/examples/lgc2/4-1-7.mp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/info/examples/lgc2/4-1-7.mp b/info/examples/lgc2/4-1-7.mp new file mode 100644 index 0000000000..6a4153d98a --- /dev/null +++ b/info/examples/lgc2/4-1-7.mp @@ -0,0 +1,13 @@ +% --- start of displayed preamble in the book --- +def square=(unitsquare scaled 5mm) enddef; +% --- end of displayed preamble in the book --- +defaultfont:="ptmr8r"; +warningcheck:=0; +beginfig(1) +for i=0 upto 4: + for j=0 upto 4: + draw square shifted (i*6mm,j*6mm); + endfor; +endfor; +endfig; +end; |