Directory macros/latex/contrib/cardgame
cardgame – Typeset custom playing cards for printing
The cardgame package allows you to define cards, which have various attributes like image, text, and a bunch of layout features. You can then include those cards as images or, more importantly, generate a document containing all of the cards you defined laid out optimally for printing and cutting. You can optionally create card lists for your game's manual, and you can create multiple copies of cards and automatically print the correct number of back sides.
Installation
The package is supplied in .dtx format and as a pre-extracted .zip file, cardgame.zip. The latter is most convenient for most users: simply unzip this in your local texmf directory. If you want to unpack the .dtx yourself, running tex cardgame.dtx will extract the package whereas latexcardgame.dtx or pdflatex cardgame.dtx will extract itand also typeset the documentation.
The package requires LaTeX3 support as provided in the l3kernel and l3packages bundles. Both of these are available on CTAN as ready-to-install .zip files. Suitable versions are available in MiKTeX 2.9 and TeX Live 2012 (updating the relevant packages online may be necessary). LaTeX3, and so cardgame, requires the ε-TeX extensions: these are available on all modern TeX systems.
Typesetting the documentation requires a number of packages in addition to those needed to use the package. To compile the documentation without error, you will need the following packages:
listingsfloat
Licence
This package is distributed under version 1.3c of the LaTeX Project Public License. See the LICENSE file for more information.
Download the contents of this package in one zip archive (2.1M).
cardgame – Typeset custom playing cards for printing
The cardgame package allows you to define cards, which have various attributes like image, text, and a bunch of layout features. You can then include those cards as images or, more importantly, generate a document containing all of the cards you defined laid out optimally for printing and cutting. You can optionally create card lists for your game's manual, and you can create multiple copies of cards and automatically print the correct number of back sides.
| Package | cardgame |
| Home page | https://codeberg.org/BettaGeorge/cardgame |
| Bug tracker | https://codeberg.org/BettaGeorge/cardgame/issues |
| Version | 1.0 2026-04-19 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Adrian Rettich |
| Maintainer | Adrian Rettich |
| Contained in | TeX Live as cardgame |
| Topics | Games Cards |
| See also | playcards |