Created
July 31, 2023 22:25
-
-
Save howird/1e175c42e295d2b678613daa19e8fd62 to your computer and use it in GitHub Desktop.
4-day journal for A4 paper with dot grid
This file contains 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[a4paper]{article} | |
\usepackage[margin=0pt]{geometry} | |
\usepackage{xcolor} | |
%% https://tex.stackexchange.com/a/162467 | |
\usepackage{background} | |
\usetikzlibrary{decorations.markings,calc} | |
\def\Step{0.5} %% separation between dots | |
\def\Size{0.5pt} %% radius of the dot | |
\def\Toty{59} %% number of dots in each axis | |
\def\Totx{42} | |
\newsavebox{\mybox} | |
\sbox{\mybox}{ | |
\begin{tikzpicture}[remember picture] | |
\foreach \y in {1,2,...,\Toty}{ | |
\foreach \x in {1,2,...,\Totx} | |
\draw[fill=black,opacity=0.7,shift={(\Step*\x cm,\Step*\y cm)}] (0,) circle[radius=\Size]; | |
} | |
\end{tikzpicture} | |
} | |
\backgroundsetup{ | |
scale=1, | |
angle=0, | |
position={current page.center}, | |
contents={ | |
\begin{tikzpicture}[remember picture,overlay] | |
\node at (current page.center) {\usebox\mybox}; | |
\end{tikzpicture} | |
} | |
} | |
\begin{document} | |
\begin{minipage}[t][0.04\textheight]{\textwidth} | |
\end{minipage} | |
\hrulefill | |
\hspace{0.198\textwidth}\vline | |
\begin{minipage}[t][0.22\textheight][c]{0.7\textwidth} | |
\end{minipage} | |
\hrulefill | |
\hspace{0.198\textwidth}\vline | |
\begin{minipage}[t][0.22\textheight][c]{0.7\textwidth} | |
\end{minipage} | |
\hrulefill | |
\hspace{0.198\textwidth}\vline | |
\begin{minipage}[t][0.22\textheight][c]{0.7\textwidth} | |
\end{minipage} | |
\hrulefill | |
\hspace{0.198\textwidth}\vline | |
\begin{minipage}[t][0.22\textheight][c]{0.7\textwidth} | |
\end{minipage} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment