rolfn / eso-pic

LaTeX package to add pic­ture com­mands (or back­grounds) to ev­ery page
Other
4 stars 1 forks source link

Bug in the horizontal lines of the grid displayed by eso-pic #4

Closed quark67 closed 1 year ago

quark67 commented 1 year ago

Here is a code:

\documentclass[12pt,a4paper]{article}

\usepackage{xcolor}
\usepackage[grid, gridunit=mm, gridcolor=orange, subgridcolor=blue!20,gridBG]{eso-pic}
\gridSetup{1mm}{1}{1}{10}{1}

\begin{document}

test 

\end{document}

Whatever I put in \gridSetup, the horizontal lines are always separated by 2 cm, and don't have sub-lines.

image

In vertical, instead of 10, 20, 30, we must read 20, 40, 60. And several horizontal lines are missing:

image
quark67 commented 1 year ago

See here a workaround: https://tex.stackexchange.com/a/443234/132405

rolfn commented 1 year ago

Thank you for the bug report. I added the correction (version 3.0b). In a few days this version will be on CTAN.