From cdefa996f938539143cd59cf8ce0c087cae40326 Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Thu, 9 Nov 2023 18:16:00 -0500 Subject: [PATCH] Added chapter on NAPS2 and tikz pictures --- 004/codex-004.tex | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/004/codex-004.tex b/004/codex-004.tex index 20aea90..285e377 100644 --- a/004/codex-004.tex +++ b/004/codex-004.tex @@ -97,6 +97,16 @@ \usepackage{chemformula} \usepackage{chemfig} +\usepackage{tikz} +\newcommand\kpage[1]{ +\begin{tikzpicture} +\draw (0,0) rectangle (1,1.75); +\node at (0.5,.9) {{\huge #1}}; +\end{tikzpicture} +%\hspace{-3mm} +} + + %%%% Document Information %%%%% \author{Kenneth John Odle} \title{ @@ -284,6 +294,40 @@ Unfortunately, sometimes a best practice is arrived at that for no other reason As I said way back in the first issue, I define a hack as ``an appropriate application of ingenuity''\footnote{See \kref{http://www.catb.org/~esr/jargon/html/meaning-of-hack.html}{http://www.catb.org/~esr/jargon/html/meaning-of-hack.html} for more information.}. These are rare, often false (it only resembles a hack; like the wizard in \textit{The Wizard of Oz}, it's based on smoke and mirrors), and even more often small.\footnote{You can usually identify a false hack by how large it is.} If you find one, enjoy it, preserve, and help to disseminate it. +\chapter{Not Another PDF Scanner} + + +\begin{figure}[h] +\caption{The document as originally drawn} +\centering +\kpage{1}\kpage{2}\kpage{3}\kpage{4}\kpage{5}\ + +\medskip + +\kpage{6}\kpage{7}\kpage{8}\kpage{9}\kpage{10} +\end{figure} + + +\begin{figure}[h] +\caption{The document as originally scanned} +\centering +\kpage{1}\kpage{3}\kpage{5}\kpage{7}\kpage{9}\ + +\medskip + +\kpage{10}\kpage{8}\kpage{6}\kpage{4}\kpage{2} +\end{figure} + + +\begin{figure}[h] +\caption{The document after applying ``Alternate Interleave''} +\centering +\kpage{1}\kpage{2}\kpage{3}\kpage{4}\kpage{5}\ + +\medskip + +\kpage{6}\kpage{7}\kpage{8}\kpage{9}\kpage{10} +\end{figure} \chapter{Chemistry in \LaTeX{}}