Skip to content

Make the majmin 4* parameter configurable #28

Description

@drf5n

The hard coded 4* in this line:

\draw[style=majorgrid, shift={(a)}] (0,0) grid [step=4*\GP@patternsize] (b);

...prevents making more metric-compatible grids like 2x, 5x, or 10x.

It might be nice to add a configurable parameter so code like this might work:

\draw[style=majorgrid, shift={(a)}] (0,0) grid [step=\GP@majormultipler*\GP@patternsize]   (b);

with:

\documentclass{article}
\usepackage[letterpaper, total={18cm, 24cm}]{geometry}
\usepackage[pattern=majmin,patternsize=0.1cm,majormultiplier=10]{gridpapers}
\begin{document}
\thispagestyle{empty}
(18x24cm grid calibration size)
\end{document}

....to give a mm/cm sheet, etc..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions