Created
March 25, 2021 14:57
-
-
Save dramforever/684c1c4b890cf36b16fd368d41baaef1 to your computer and use it in GitHub Desktop.
zbalermorna papri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\newcommand{\paper}{letterpaper} | |
\newcommand{\maxlines}{20} | |
\usepackage[vmargin=3cm,\paper]{geometry} | |
\usepackage{tikzpagenodes} | |
\usepackage{lipsum} | |
\usepackage{background} | |
\definecolor{notepadrule}{RGB}{100,100,100} | |
\backgroundsetup{ | |
contents={% | |
\begin{tikzpicture} | |
\foreach \fila in {0,...,\maxlines} | |
{ | |
\draw [line width=0.8pt,color=notepadrule] | |
(current page.west|-0,-\fila*30pt) -- ++(\paperwidth,0); | |
\draw [line width=0.8pt,color=notepadrule] | |
(current page.west|-0,-\fila*30pt) ++(0,10pt) -- ++(\paperwidth,0); | |
} | |
\end{tikzpicture} | |
}, | |
scale=1, | |
angle=0, | |
opacity=1 | |
} | |
\begin{document} | |
\thispagestyle{empty} | |
\mbox{} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found this on stackoverflow somewhere and adapted. If only I can find it...