Debian Codegraph @

texmf-dist/doc/latex/magicthegathering/README.md

raw symbols SCIP
1 # magicthegathering — Magic: The Gathering typesetting for LaTeX
2
3 Version 1.1 — 2026-03-21
4
5 ## Description
6
7 The `magicthegathering` package provides LaTeX commands for typesetting
8 *Magic: The Gathering* content:
9
10 1. **Mana symbols** — inline coloured mana icons (`\mana{R}`)
11 2. **Full mana costs** — space-separated symbol lists (`\manacost{1 U U}`)
12 3. **Colour shortcuts** — `\manaW` through `\manaC`
13 4. **Set symbols** — expansion-set icons (`\setsymbol{mh3}`)
14 5. **Card hyperlinks** — clickable Scryfall links (`\card{Lightning Bolt}`)
15 6. **Custom-text card links** — `\cardlink{name}{text}`
16 7. **Sideboard guides** — formatted IN/OUT tables (`matchup` environment)
17 8. **Deck-list import** — read a plain-text file (`\insertdeck{deck.txt}`)
18 9. **Match results** — tournament tables with auto W-L-D records
19
20 ## Quick start
21
22 ```latex
23 \documentclass{article}
24 \usepackage{magicthegathering}
25 \begin{document}
26 \card{Lightning Bolt} costs \manacost{R}.
27 \end{document}
28 ```
29
30 Compile with `lualatex --shell-escape` (for live SVG) or
31 `pdflatex` (with pre-converted PDFs).
32
33 ## Symbol artwork
34
35 Mana and set symbols were last updated in December 2025.
36 Sets released after that date may not yet be included.
37 Updated artwork will ship with future releases.
38
39 ## Documentation
40
41 See `magicthegathering-doc.tex` / `magicthegathering-doc.pdf` for full documentation with
42 live examples.
43
44 ## Requirements
45
46 - TeX Live 2020+ or MiKTeX 21+
47 - Inkscape (only for live SVG rendering)
48
49 ## Licence
50
51 - Package code: LPPL 1.3c or later
52 - SVG artwork: SIL Open Font Licence 1.1 (Mana/Keyrune by Andrew Gioia)
53
54 ## Trademark
55
56 Magic: The Gathering, the mana symbols, the tap symbol, the set symbols,
57 and all associated card names and game elements are trademarks and/or
58 copyrighted materials of Wizards of the Coast LLC and/or its affiliates.
59 All rights in such materials are reserved by Wizards of the Coast.
60 This package is an unofficial fan project and is not produced, endorsed,
61 supported, or affiliated with Wizards of the Coast.
62
63 SVG artwork is from the Mana and Keyrune projects by Andrew Gioia,
64 released under the SIL Open Font Licence 1.1.
65
66 ## Author
67
68 Hypergeomancer