I'm trying to create some custom graph paper for myself. However, I don't want page numbers on it, so I was wondering how to completely remove page numbers. My code is
\documentclass{scrartcl}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\usepackage{lipsum}
\usepackage{background}
\SetBgContents%
{ \begin{tikzpicture}[remember picture, overlay]
\draw [line width=0.3pt,color=gray,step=0.5cm] (current page.south west) grid (current page.north east);
\end{tikzpicture}
}
\SetBgScale{1}
\SetBgAngle{0}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (5,5);
\end{tikzpicture}
\end{document}
(The rectangle is just to have something on the page.)
Thanks!
Edit: I found the solution on my own and posted it as an answer. I am open to better solutions.
\pagestyle{empty}in the preamble? Works for me – Au101 Aug 12 '16 at 20:01