Debian Codegraph @

texmf-dist/doc/latex/setdeck/README

raw
1 Author: Gwyneth Whieldon
2 Institution: Hood College
3 Contact Email: [email protected] or [email protected]
4
5 Package Copyright 2012
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 For a copy of the GNU General Public License, see
18 <http://www.gnu.org/licenses/>.
19
20
21 This is a style file for drawing cards from a Set Deck using TikZ in
22 LaTeX.
23
24
25 We use the convention
26 \setcard{<Number>}{<Shading>}{<Color>}{<Shape>}{<Scaling>}, where
27 Number = 1 (1 card), 2 (2 cards), 3 (3 cards)
28 Shading = 1 (plain), 2 (striped), 3 (solid)
29 Color = 1 (red), 2 (green), 3 (purple)
30 Shape = 1 (diamond), 2 (oval), 3 (squiggle)
31
32
33
34 So for example, to typeset a full-size Set card with two striped red
35 squiggles, you would use the command \setcard{2}{2}{1}{3}{1}. To
36 typeset a half-sized Set card with three plain green ovals, you could
37 use either the command \setcard{3}{1}{2}{2}{0.5} or
38 \smallsetcard{3}{1}{2}{2}{0.5}. The only difference between the two
39 commands is the thickness of the lines on the cards.
40
41 The command \smallsetcard is designed to be used when displaying
42 anything smaller than a half-sized card.