rpgtex/DND-5e-LaTeX-Template
LaTeX package to typeset material for the fifth edition of the "world's greatest roleplaying game".
7 Releases
Latest: 6y ago
v0.8.0Latest
✨ Added in 0.8.0
- `\DndSetFonts` allows setting of font family and style throughout the document
- Added Spanish captions
- Added styling for the Table of Contents, using the `titletoc` package
- Added styling for `\part`
- Added colors from the 2018 Basic Rules
- Added `nodeprecatedcode` option to exclude deprecated code from building
- Added `\DndFeatHeader`
📋 Changed in 0.8.0
- Rewrite internals in LaTeX3
- `dndtable` becomes `DndTable`
- `commentbox`, `paperbox`, and `quotebox` become `DndComment`, `DndSidebar`, and `DndReadAloud`
- `\subtitlesection`, `\spellheader`, `\area`, and `\subarea` become `\DndItemHeader`, `\DndSpellHeader`, `\DndArea`, and `\DndSubArea`
- `monsterbox` becomes `DndMonster`
- Separated language files
- Added contour to styling for `\chapter`
v0.7.1
✨ Added in 0.7.1
- Added `DndDropCapLine` command to create drop capital letters at chapter beginnings
- Configured CI to compile example document under pdfTeX, LuaTeX, and XeTeX.
- Japanese translation
📋 Changed in 0.7.1
- Sans serif title font now provided by kp-fonts
- Sans serif body font now provided by gillius
- Overhaul of whitespace and styling
v0.7.0
✨ Added
- Added `bg` package option with `full`, `print`, and `none` as possible values.
- Added boolean `layout` package option to control whether the package formats the document on load.
- Added `nomultitoc` package option to toggle multi-column table of contents.
- Added `dndbook` document class.
- Added low-resolution background file as an option.
- Added Russian localization support.
- Added keycommands to generate text for melee, ranged, and hybrid (melee or ranged) attacks within monsterboxes. Includes localization support for the various phrases used.
- Added commands to generate titled sections for map areas and sub-areas, with associated counters and automatic reference labelling (as `area:<title>`).
- + 1 more
📋 Changed
- Made `monsterbox` text the width of the column and the background spills into margin and column separator.
- Removed excess space before and after `monsterbox`.
- Challenge rating on `monsterbox` now only needs the CR number.
- `monsterbox` renamed `monsterboxbg`. `monsterbox` is now an alias that maps to `monsterboxbg` or `monsterboxnobg`, depending on the value of the `bg` package option.
- Limited set of pre-loaded `tcolorbox` libraries to `breakable`, `skins`, and `xparse`.
- Title formats for sections now explicitly use `\RaggedRight` to avoid poor layout appearance when using justified output.
- Prevents page breaks immediately following section/subsection/subsubsection titles.
- Removed deprecated `dnditemtable`.
- + 2 more
🐛 Fixed
- Display monster elements with hanging indents.
- Allow `\monstersection` before sectioning command(s).
- Removed excess space after `\dice`.
- `monsteraction`: Only add a period to the action name if provided one.
- Set fontlower on all tcolorbox environments.
- Fixed footer scroll and text alignment.
- Added `\xpname` to localization support.
- Added localization to XP number
🗑️ Deprecated
- Deprecated `bg-full`, `bg-none`, and `bg-print` package options. Use `bg` package option instead.
- Deprecated custom `\hline` in stat blocks. Use `\dndline` instead.
v0.6.0
✨ Added
- Added `bg-none` option to disable background image.
- Defined coral-coloured `dnditemtable` environment.
- Added `monsterboxnobg` environment for stat blocks without a background image.
- Defined `\header` command for table headers.
- Defined `\subtitlesection` command to format short object descriptions.
- Customized `\tableofcontents`.
- Added custom centred column type (`Y`) for `dndtable`.
- Defined `\dice` macro to compute average dice roll.
- + 8 more
📋 Changed
- Separate fancyhdr code into separate file.
- Switch layout package from fullpage to geometry.
- `\stat` macro computes modifier automatically.
- Modified `dndtable` to support multiple columns (default: 2).
- Disable "Chapter" prefix for `\chapter`.
- Changed suggested class from `article` to `book`.
- Enabled ragged alignment by default (disable with `justified` package option).
- Separated the footer scroll from the background image.
🐛 Fixed
- `\stats` tables have stable size inside stat block environments.
- Fixed typos in example image.
- Made odd rows transparent in `dndtable`.
- Fixed paragraph and line spacing.
- Remove `breakable` parameter from `paperbox`.
- Allow commas in newtcolorbox titles.
🗑️ Deprecated
- Deprecated `dnditemtable`.
- Deprecated `bg-a4` and `bg-letter` package options.
- Deprecated `lmss` environment.
v0.5.0v0.5Pre-release
✨ Added
- Added print variants of background images (`bg-print` package option).
- Added package option to control letter size background images (`bg-letter`).
- Added A4 size background images (`bg-a4` package option).
📋 Changed
- Licensed under MIT license.
🐛 Fixed
- Fixed footer positioning.
- Fixed spacing inside and around boxes.
- Disabled indentation after boxes.
- Enabled indentation within boxes.
🗑️ Removed
- Removed `monster` environment.
📋 Changed
- Removed dependency on `multicols`; use `twocolumn` option for `book` class instead.
v0.2.0v0.2Pre-release
✨ Added
- Added preview to README.
- Defined `monster` and `monsterbox` environments for formatting monster stat blocks.
- Defined `dndtable` environment for formatting tables.
- Defined `quotebox` environment for formatting dialogue.
- Added old paper style background images.
- Added fancy page footers.
- Defined `paperbox` environment to format sidebars.
📋 Changed
- Reorganized package layout.
- Matched colours against published PDFs.
- Removed numbering from section titles.
- Set `\raggedcolumns` to flush content to top of column.
v0.1.0v0.1Pre-release
✨ Added
- Defined green `commentbox` environment.
- Section and subsection titles.
