diff --git a/006/images/tikz-on-paper.jpg b/006/images/tikz-on-paper.jpg new file mode 100644 index 0000000..54d7cc0 Binary files /dev/null and b/006/images/tikz-on-paper.jpg differ diff --git a/006/include/chap02.tex b/006/include/chap02.tex index c04da17..e9079e4 100644 --- a/006/include/chap02.tex +++ b/006/include/chap02.tex @@ -31,6 +31,7 @@ The \textsf{FlashCards} package (and note that it is written in CamelCase) allow The truly nice thing about the \textsf{FlashCards} package is that it automatically sets up the cards for two-sided printing. That is, if the front of your document looks like this: +\label{cards} \begin{center} \begin{tikzpicture}[scale=0.6] \draw (0,0) rectangle (11,4); diff --git a/006/include/coda.tex b/006/include/coda.tex index fd7f8ac..b32f727 100644 --- a/006/include/coda.tex +++ b/006/include/coda.tex @@ -2,6 +2,21 @@ \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}