<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\title{LaTeX Set Deck:  Documentation}
\date{\today}
\author{Gwyn Whieldon}


\documentclass{article}

\usepackage[margin=1.25in, headheight=14pt]{geometry}

\usepackage{setdeck}






\begin{document}

\maketitle

This document describes a package for typesetting Set cards using TikZ in LaTeX.  We use the conventions:

\begin{center}
\begin{tabular}{| c | c | c | c | c |}
\hline
Coordinate &amp; Number &amp; Shading &amp; Color &amp; Shape \\
\hline
1 &amp; 1 &amp; plain &amp; red &amp; diamond \\
2 &amp; 2 &amp; striped &amp; green &amp; oval \\
3 &amp; 3 &amp; solid &amp; purple &amp; squiggle \\
\hline
\end{tabular}
\end{center}

To typeset a basic Set card, we use the commands \verb|\setcard| or \verb|\smallsetcard|, with arguments

\verb|\setcard{&lt;Number&gt;}{&lt;Shading&gt;}{&lt;Color&gt;}{&lt;Shape&gt;}{&lt;Scaling&gt;} |.

\vspace{10pt}

So to typeset, for example, the full-sized card with two striped purple diamonds, we use the command \verb|\setcard{2}{2}{3}{1}{1}|, which produces:
\vspace{10pt}
\begin{center}
\setcard{2}{2}{3}{1}{1}
\end{center}

\vspace{10pt}

For many purposes, this will be too large.  To typeset a more reasonably sized card (let's say, this time, we typeset three solid red squiggles) we might prefer to use \verb|\setcard{3}{3}{1}{3}{0.5}| or \verb|\smallsetcard{3}{3}{1}{3}{0.5}|, which produce (respectively):

\vspace{10pt}
\begin{center}
\setcard{3}{3}{1}{3}{0.5}$\;\;\;\;\;\;\;\;\;\;$\smallsetcard{3}{3}{1}{3}{0.5}
\end{center}

Here is a preview of all cards (produced with \verb|\smallsetcard|) produced by the \verb|setdeck.sty| package:

\vspace{10pt}

\begin{center}
\foreach \shading in {1,2,3}{
\foreach \shape in {1,2,3} {
\smallsetcard{1}{\shading}{1}{\shape}{0.25}\hspace{3pt}\smallsetcard{2}{\shading}{1}{\shape}{0.25}\hspace{3pt}\smallsetcard{3}{\shading}{1}{\shape}{0.25}\hspace{10pt}\smallsetcard{1}{\shading}{2}{\shape}{0.25}\hspace{3pt}\smallsetcard{2}{\shading}{2}{\shape}{0.25}\hspace{3pt}\smallsetcard{3}{\shading}{2}{\shape}{0.25}\hspace{10pt}\smallsetcard{1}{\shading}{3}{\shape}{0.25}\hspace{3pt}\smallsetcard{2}{\shading}{3}{\shape}{0.25}\hspace{3pt}\smallsetcard{3}{\shading}{3}{\shape}{0.25}

\vspace{5pt}

}
\vspace{15pt}
}
\end{center}
				

\end{document}



</pre></body></html>