updating the lines to address

https://github.com/How-To-Build-a-Commons/HowToBuildACommonsWorkbooks/issues/13
This commit is contained in:
Kevin Harrington 2025-11-01 18:59:12 -04:00
parent c6b2823225
commit 5843b91020

View file

@ -6,21 +6,19 @@
} }
} }
\newcommand{\verticallines}{% \newcommand{\verticallines}{%
\noindent% \noindent%
\begin{tikzpicture}[remember picture, overlay] \begin{tikzpicture}[remember picture, overlay]
\coordinate (TL) at (current page.north west); \coordinate (TL) at (current page.north west);
\coordinate (BR) at (current page.south east); \coordinate (BR) at (current page.south east);
\pgfmathsetmacro{\spacing}{0.8} % 8mm spacing in cm \pgfmathsetmacro{\spacing}{0.8} % 8mm spacing in cm
\pgfmathsetmacro{\pagewidth}{\paperwidth/1cm} \pgfmathsetmacro{\pagewidth}{8.5*2.54} % 8.5 inches converted to cm
\pgfmathsetmacro{\nlines}{int(\pagewidth/\spacing)} \pgfmathsetmacro{\nlines}{int(\pagewidth/\spacing)}
\foreach \i in {0,1,...,\nlines}{ \foreach \i in {0,1,...,\nlines}{
\draw[gray] ([xshift=\i*\spacing cm]TL) -- ([xshift=\i*\spacing cm]current page.south west); \draw[gray] ([xshift=\i*\spacing cm]TL) -- ([xshift=\i*\spacing cm]current page.south west);
} }
\end{tikzpicture}% \end{tikzpicture}%
} }
\newcommand{\makercheck}{ \newcommand{\makercheck}{
\begin{turn}{90} \begin{turn}{90}