Skip to content

Fork of DND-5e-LaTeX-Template with style modifications

License

Notifications You must be signed in to change notification settings

pineapplemachine/TTRPG-LaTeX-Template

 
 

Repository files navigation

TTRPG LaTeX Template

This is a LaTeX template based on DND-5e-LaTeX-Template.

Features

  • Higher-contrast and more print-friendly than DND-5e-LaTeX-Template.
  • TeX Live includes the default fonts.
  • Works with pdfTeX, LuaTeX, and XeTeX.

Preview

Installation

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.

Project install using TEXINPUTS

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

Usage

Please refer to rpgtex/DND-5e-LaTeX-Template for more information about using this package.

Class (recommended)

Load the dndbook class in your preamble:

\documentclass[10pt,twoside,twocolumn,openany,nodeprecatedcode]{dndbook}

\usepackage[english]{babel}
\usepackage[utf8]{inputenc}

\begin{document}
% ...

Package

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}
% ...

Dependencies

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.

Known issues and solutions

Please refer to rpgtex/DND-5e-LaTeX-Template for more information about known issues.

Credits

License

MIT

About

Fork of DND-5e-LaTeX-Template with style modifications

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TeX 97.1%
  • Shell 2.6%
  • Makefile 0.3%