# rpgtex/dnd-5e-latex-template

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rpgtex-dnd-5e-latex-template).**

1,611 stars · 332 forks · TeX · MIT

## Links

- GitHub: https://github.com/rpgtex/DND-5e-LaTeX-Template
- awesome-repositories: https://awesome-repositories.com/repository/rpgtex-dnd-5e-latex-template.md

## Topics

`dnd` `dnd5e` `dungeons-and-dragons` `latex` `latex-template` `rpg` `tex`

## Description

DND-5e-LaTeX-Template is a LaTeX document template and publishing tool designed to typeset tabletop roleplaying game books and supplements. It provides a specialized typesetting environment that formats custom game mechanics, monster statistics, spells, and player options to match the visual layout and official styling of fifth edition fantasy roleplaying rulebooks. 

The project operates through a macro-based styling engine that encapsulates complex visual layouts and official book rules inside reusable semantic commands for authors. It features declarative box styling for sidebars, monster stat blocks, and callout boxes with customizable background colors and decorative borders, alongside font metric integration that loads and scales proprietary-matching font families to professional print publication standards.

Additional capabilities include dynamic multi-column flow layouts that balance text across page breaks automatically, and configuration packages that expose low-level formatting hooks for overriding themes and page geometries.

## Tags

### Game Development

- [Tabletop RPG Homebrew Suites](https://awesome-repositories.com/f/game-development/tabletop-rpg-homebrew-suites.md) — Provides a specialized typesetting package for designing custom game mechanics, monster stats, and spells.
- [Tabletop RPG Manual Generators](https://awesome-repositories.com/f/game-development/rpg-game-templates/tabletop-rpg-manual-generators.md) — Acts as a document generation tool for authors and creators to write professional-grade roleplaying game manuals.
- [Tabletop RPG Publishing Templates](https://awesome-repositories.com/f/game-development/rpg-game-templates/tabletop-rpg-publishing-templates.md) — Enables writing and publishing custom fantasy roleplaying game sourcebooks with a professional layout.
- [Tabletop Rulebook Typesetting Tools](https://awesome-repositories.com/f/game-development/tabletop-rulebook-typesetting-tools.md) — Typesets custom game supplements and sourcebooks matching the visual layout of fifth edition rulebooks. ([source](https://github.com/rpgtex/dnd-5e-latex-template#readme))

### Content Management & Publishing

- [Typesetting Languages](https://awesome-repositories.com/f/content-management-publishing/content-processing-transformation/document-processing-conversion/document-processing/typesetting-languages.md) — Formats custom sourcebooks and supplements using color schemes, fonts, and layouts styled after core RPG books. ([source](https://github.com/rpgtex/dnd-5e-latex-template#readme))
- [LaTeX Typesetting Guides](https://awesome-repositories.com/f/content-management-publishing/latex-typesetting-guides.md) — Creates print-ready documents and rulebooks using professional LaTeX typesetting tools.

### Development Tools & Productivity

- [Tabletop Rulebook Document Classes](https://awesome-repositories.com/f/development-tools-productivity/documentation-generators/document-structure-models/typeset-document-generators/latex-typesetters/tabletop-rulebook-document-classes.md) — Provides a LaTeX document template that formats tabletop roleplaying game books to match official styling.
- [Typesetting Macro Frameworks](https://awesome-repositories.com/f/development-tools-productivity/script-execution-engines/automation-macro-engines/javascript-spreadsheet-macros/document-macro-runtimes/typesetting-macro-frameworks.md) — Encapsulates complex visual layouts and official book styling rules inside reusable semantic typesetting commands.

### Graphics & Multimedia

- [Shaded Text Boxes](https://awesome-repositories.com/f/graphics-multimedia/shaded-text-boxes.md) — Provides stylized sidebars, monster stat blocks, and callout boxes with custom backgrounds and borders.

### User Interface & Experience

- [Automated Page-Break Balancers](https://awesome-repositories.com/f/user-interface-experience/column-layout-configurations/vertical-column-layouts/automated-page-break-balancers.md) — Arranges body text into multi-column grids that balance text flow across page breaks automatically.
- [Dynamic Multi-Column Flow Grids](https://awesome-repositories.com/f/user-interface-experience/column-layout-configurations/vertical-column-layouts/dynamic-multi-column-flow-grids.md) — Arranges body text into multi-column layouts that balance text flow across page breaks automatically.
- [Font Metric Mappers](https://awesome-repositories.com/f/user-interface-experience/font-configurations/font-metric-mappers.md) — Loads and scales proprietary-matching font families to professional print publication standards using metric calculations.
