CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/gridpapers


The gridpapers package

Make your own quadrille, graph, hex, etc. paper! Uses the PGF/TikZ package for , which should be part of any modern installation. All colors and spacing are customizable.

There are .tex files in the examples/ directory to help get you started with customization. Each tex file has an almost-empty body, with a \usepackage statement that you can customize. For example, examples/engineer-pad.tex looks like this:

\usepackage[pattern=majmin, colorset=engineer]{gridpapers}

(The ~ in the body forces a non-empty body, or else latex wouldn't generate a PDF).

Note: This package is distinct from a different package with a similar name, graphpaper (on CTAN).


If gridpapers is already provided in your distribution, skip this section. You should be able to install gridpapers from the CTAN via your distribution's utility (e.g. the Live Utility). Alternatively, you can get the package from the source repository on GitHub. If you do not want to do a "full" installation, just copy gridpapers.sty into the same directory as your source.


All the configuration happens via the \usepackage command. The current valid options are:

  • pattern=<name>:

Valid pattern names are: std,stdeight,majmin,dot,hex,tri,iso,lightcone,ruled,doubleruled. Default is std. Patterns come with default page geometry (size and margins; see geometry), and default 'fullness' (whether they fill the page or not; see options fullpage and textarea).

  • colorset=<name>:
Valid color preset names are: std,precocious,brickred,engineer,plumpad. Default is std. A preset determines the majorcolor, minorcolor, and bgcolor all at once. But, you can start from a preset and then override some colors.
  • majorcolor=<color>: Override the preset "major" color. This can be a named color, or using the syntax from xcolor to mix colors together.
  • minorcolor=<color>: Override the preset "minor" color. As above.
  • bgcolor=<color>: Override the preset background color. As above.
  • patternsize=<length>: Override the preset pattern size. The meaning of this length argument is different for each pattern; see PDF documentation for full details..
  • dotsize=<length>: Controls the size of the dots themselves for pattern=dot. Default: .7pt
  • fullpage: Make the pattern fill the whole page.
  • textarea: Make the pattern fill only the text area of the document. At most one of the fullpage or textarea can be specified. If one is specified, it will override the default 'fullness' setting of the pattern.
  • geometry={<geometry spec>}: Page geometry specification, using the syntax of the geometry package. If the geometry package was loaded before gridpapers, this option will be ignored. This specification will override the pattern's default page geometry.

For example, let's say you want to use the tri pattern, which by default fills the page. But you want it to fill just the textarea of an A4 page with 2cm margins, and you want the triangles to be .75cm long. Finally, you like the colors of the engineer set, but want a white background. Then you would write:

  geometry={a4paper, margin=2cm}]{gridpapers}


Some example styles:StandardQuadHexDotsLight conePrecocious EngineerHex Engineer


This package was created by Robert McNees with additional contributions from Leo C. Stein, and is maintained by both. This material is subject to the Project Public License 1.3c, (c) 2017-2021. The hexagon pattern code is due to Philippe Goutet.

Download the contents of this package in one zip archive (230.9k).

gridpapers – Graph paper backgrounds and color schemes

This package provides many preset yet customizable graph paper backgrounds. Some of the preset patterns include standard quadrille or graph pattern, dot grid, hexagons, isometric or triangular grid, squares with 45° “light cone” lines, ruled, and more. Pattern sizes can be controlled via package options. There are several preset color palletes, and colors can be overridden.

The package uses the PGF/TikZ package, and the geometry package to control page size.

Bug trackerhttps://github.com/mcnees/LaTeX-Graph-Paper/issues
Version1.0.2 2021-03-27
LicensesThe Project Public License 1.3
Copyright2021 Robert McNees, Leo C. Stein
MaintainerRobert McNees
Leo Stein
Contained inTeX Live as gridpapers
MiKTeX as gridpapers
See alsographpaper
Guest Book Sitemap Contact Contact Author