CTAN Comprehensive TeX Archive Network

Directory graphics/pgf/contrib/setdeck

README
Author:  Gwyneth Whieldon
Institution:  Hood College
Contact Email:  whieldon@hood.edu or Gwyn.Whieldon@gmail.com

Package Copyright 2012

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

For a copy of the GNU General Public License, see
<http://www.gnu.org/licenses/>.


This is a style file for drawing cards from a Set Deck using TikZ in
LaTeX.


We use the convention
\setcard{<Number>}{<Shading>}{<Color>}{<Shape>}{<Scaling>}, where
Number  = 1 (1 card),       2 (2 cards), 3 (3 cards)
Shading = 1 (plain),          2 (striped),  3 (solid)
Color =      1 (red),             2 (green),    3 (purple)
Shape =    1 (diamond),   2 (oval),       3 (squiggle)



So for example, to typeset a full-size Set card with two striped red
squiggles, you would use the command \setcard{2}{2}{1}{3}{1}.  To
typeset a half-sized Set card with three plain green ovals, you could
use either the command \setcard{3}{1}{2}{2}{0.5} or
\smallsetcard{3}{1}{2}{2}{0.5}.  The only difference between the two
commands is the thickness of the lines on the cards.

The command \smallsetcard is designed to be used when displaying
anything smaller than a half-sized card.

Download the contents of this package in one zip archive (63.4k).

setdeck – Typeset cards for Set

The package will typeset cards for use in a game of Set.

Packagesetdeck
Version0.1
LicensesGNU General Public License, version 3
Copyright2012 Gwyneth Whieldon
MaintainerGwyneth Whieldon
Contained inTeX Live as setdeck
MiKTeX as setdeck
TopicsPGF TikZ
Games
...
Guest Book Sitemap Contact Contact Author