Graph paper by MetaPost

With MetaPost, we can generate a graph paper (i.e. the square grids) easily. Below is a script on MetaPost that generates a graph paper on an A4 sheet, using 1mm by 1mm minor grid and 10mm by 10mm major grid, with 10mm margin on four sides. All lines are in... [more]