Added section about tikz plans to Coda

This commit is contained in:
Kenneth John Odle 2025-02-08 08:55:34 -05:00
parent 04a9f5c71e
commit d9035fd2ef
3 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View File

@ -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);

View File

@ -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}