| 1 |  |
| 2 | |
| 3 | <img width="200" alt="rpgicons-example" src="https://github.com/jasperhabicht/rpgicons/assets/6378801/81a1d0aa-7a4f-4f83-bbdc-3bc3332023b2" /> |
| 4 | |
| 5 | # The `rpgicons` package |
| 6 | |
| 7 | This package provides a set of high-quality icons for use in notes for tabletop role-playing games. |
| 8 | The icons are meant to be used in the body text, but they can also be used in other contexts such |
| 9 | as graphics or diagrams. The package comes in two variants, one based on the `l3draw` package and one |
| 10 | based on PGF/Ti*k*Z. The `l3draw` variant is loaded by default. The `l3draw` variant does not provide |
| 11 | the same variety of styles as Ti*k*Z does. |
| 12 | |
| 13 | The PGF veriant of the `rpgicons` package provides the icons as Ti*k*Z shapes. Since the commands to |
| 14 | typeset the icons use `tikzpicture` environments, these commands should not be used inside another |
| 15 | `tikzpicture`. However, because the package defines the icons as Ti*k*Z shapes, it is possible to |
| 16 | use the icons in `tikzpicture` environments directly. Apart from that, as of version 1.1.0, the |
| 17 | package provides a way to define custom commands to typeset the icons as boxed material which is |
| 18 | safe to use in a tikzpicture context. As of version 1.3.1, the package provides an additional way |
| 19 | to use the icons as Ti*k*Z pics. As of version 1.7.0, a command for easy typesetting of dice rolls |
| 20 | such as `\roll{2d6 + 3d4 - 1}` is provided by the package. |
| 21 | |
| 22 | The `rpgicons` package is installed by copying the relevant `.sty` file into the working or `texmf` |
| 23 | directory. The package is loaded by calling `\usepackage{rpgicons}` in the preamble of the document. |
| 24 | To load the PGF variant, the package can be loaded with the option `pgf`. The `l3draw` variant is |
| 25 | loaded per default. The PGF or `l3draw` variants can be loaded directly via |
| 26 | `\usepackage{rpgicons-pgf}` or`\usepackage{rpgicons-l3}`. |
| 27 | |
| 28 | --- |
| 29 | |
| 30 | This package including all files is subject to the LPPL 1.3c license. |
| 31 | Copyright 2024–2026 Jasper Habicht (mail(at)jasperhabicht.de). |