the-codex/006/include/coda.tex

33 lines
1.3 KiB
TeX

\chapter{Coda}
\section{What I Learned About \LaTeX{} While Creating This Issue}
\subsection{Easy Ways with \textsf{tikz}}
I included some illustrations of card layouts back on page \pageref{cards}. Since these are just rectangles, I knew I could create them pretty easily using the \textsf{tikz} package. All I needed were the coordinates where the three rectangles would begin and end, and the coordinates of the nodes where I would put the letters.
As it turns out, this was difficult to figure out using my mind alone—there was too much guesswork. I'm a big fan of having the right tools to do a job and then using those tools. I see no point in being a martyr. So I pulled out the best tool I had for this: graph paper and a pencil. No guess work, just straight lines and a bit of counting. I felt like I was in my eighth grade geometry class again, and I actually enjoyed it.
Protip: draw it on paper first.
\setlength{\fboxsep}{0pt}
\setlength{\fboxrule}{0.5pt}
\begin{center}
\fbox{\includegraphics[scale=0.30]{tikz-on-paper}}
\end{center}
%\newpage % Use only to keep the afterword together if we end up with orphans
\section{Afterword}
\begin{multicols}{2}
\begin{small}
\noindent{}First paragraph.
\medskip
\begin{flushright}
\noindent{}Thanks,\\—Ken
\end{flushright}
\end{small}
\end{multicols}