Skip to content

LaTeX package to typeset character sheets for the fifth edition of the "world's greatest roleplaying game".

Notifications You must be signed in to change notification settings

matsavage/DND-5e-LaTeX-Character-Sheet-Template

Repository files navigation

DND 5e LaTeX Character Sheet Template

LaTeX template to typeset Dungeons and Dragons 5th edition character sheets.

Test LaTeX Template

Features

  • Character and Spell sheets
  • High degree of customisation available
  • Simplified build with Nix

Usage

Building a character sheet

It is reccomended to look at pre-existing character sheets in the characters directory when using this repository for the first time, each text input area of the character sheet is fillable with functions defined in the template, however it may require some trial and error to have the sheet looking as you intend.

Compliation

Overleaf

This package can be used as-is with Overleaf.

Steps for running on Overleaf:

  • Download latest version of the repo for overleaf from the releases tab
  • Create a new project in Overleaf via a zip upload
  • Change the the engine to LuaLaTeX

You should then be able to compile any of the example characters in the characters/ directory.

Nix

A nix flake is a reproducible way to describe the building process to nix. See https://nixos.org/download.html, on how to install nix. Afterwards running nix build in the repository will result in a successful build.

Flakes and Nix-Commands are still experimental, so they must be enabled as described at https://nixos.wiki/wiki/Flakes#Enable_flakes.

Makefile

The example or specific character sheets can be compiled using the following make commands:

name build                               # Will complile all characters

make build_character CHARACTER=unnamed   # Will complile the example "unnamed" character

make develop                             # Will drop you into a shell with all dependencies installed

GitHub Action

This repository contains a GitHub action which will build all pages in the characters/ directory and upload them as an artifact to the workflow run.

Customisation

There are a large number of character sheet customisation options available in dndtemplate.sty which acts a central location to modify colour and opacity for a number of character sheet elements.

There are some commands in sheet-calculations that were made to auto calculate the modifiers and proficiencies, and auto complete a few inputs.

Dependencies

This package requires LaTeX and (optionally) the DnD 5e LaTeX Template. I reccomend using the instructions provided with this package to set up your environment if not using overleaf, nix or the GitHub action in this repository.

Credits

  • This package was generated from the standard Wizards of the Coast PDF character sheet template

About

LaTeX package to typeset character sheets for the fifth edition of the "world's greatest roleplaying game".

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages