Creating New Cards (Czar)

This section talks about how to make new cards. It doesn't tell you how to draw the specific images you want on the cards, though. You probably want to use the latex 'picture' environment for that. (Alternatively, if having already looked at some of the existing card style files you think you understand how they use TeX to format themselves, you could give that a shot; this is probably best done by copying one of them and then experimentally changing things a bit at a time.)

(If you want something that looks like memory packets and ingestibles, see those styles for examples of using mechanics-packet.sty, whose internal documentation you should look at.)

How to make a new type of card:

  1. Create your new mycard.sty in LaTeX/Styles/; it should start out like the existing card styles:
    \ProvidesPackage{mycard}
    \RequirePackage{extractable} % if mycard is an extractable
    \RequirePackage[options]{cards}

    Here options must include exactly one of and may optionally include margin dimensions. If you omit the latter, the default margin space of .2cm will be left all around each card; if you supply one dimension, it will be used instead; if you supply two dimensions, they will be used as the horizontal and vertical margins. See existing styles. Use enough margin so that printer slop doesn't make cards overlap each other; we don't recommend using less than the default. (Athena printers have terrible front/back page registration, different for each.)

  2. Define a macro in mycard.sty which:

  3. You're done card-wise. If you want this to be an extractable, see tex-extractable.html (or just possibly list-extractable.html) for those issues.

To use your new style in a .tex file, just put \usepackage{mycard} after the \documentclass{game} in the preamble. To use it in another style file, just \RequirePackage{mycard} there.