This is a LaTeX template based on DND-5e-LaTeX-Template.
- Higher-contrast and more print-friendly than DND-5e-LaTeX-Template.
- TeX Live includes the default fonts.
- Works with pdfTeX, LuaTeX, and XeTeX.
Clone this repository to $TEXMFHOME/tex/latex/
:
git clone https://github.com/rpgtex/DND-5e-LaTeX-Template.git "$(kpsewhich -var-value TEXMFHOME)/tex/latex/dnd"
Please refer to rpgtex/DND-5e-LaTeX-Template for more information about installing this package.
You can also clone a copy of the repository to each LaTeX project. For example, to clone the repository to a lib/
directory in your project:
mkdir lib/
git clone https://github.com/rpgtex/DND-5e-LaTeX-Template.git lib/dnd
LaTeX will not find the template automatically. Set TEXINPUTS
when compiling your project to locate the package:
TEXINPUTS=./lib//: pdflatex project.tex
Please refer to rpgtex/DND-5e-LaTeX-Template for more information about using this package.
Load the dndbook
class in your preamble:
\documentclass[10pt,twoside,twocolumn,openany,nodeprecatedcode]{dndbook}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\begin{document}
% ...
You can also load the dnd
package directly to use it with another class.
Note that the package has only been tested with the book
class.
\documentclass[10pt,twoside,twocolumn,openany]{book}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage[layout=true]{dnd}
\begin{document}
% ...
If you don't have LaTeX installed, it is recommended that you install a complete TeX Live distribution.
Please refer to rpgtex/DND-5e-LaTeX-Template for more information about TeX Live.
Please refer to rpgtex/DND-5e-LaTeX-Template for more information about known issues.
- DND-5e-LaTeX-Template background image from Lost and Taken
MIT