forked from rpgtex/DND-5e-LaTeX-Template
/
example.tex
74 lines (62 loc) · 1.87 KB
/
example.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\documentclass[10pt,twoside,twocolumn]{article}
\usepackage[bg-letter]{dnd} % Options: bg-a4, bg-letter, bg-full, bg-print, bg-none.
\usepackage[ngerman]{babel} % Trennungsregeln und autom. Überschriften in n. dt. RS
\usepackage[utf8]{inputenc}
% Start document
\begin{document}
\fontfamily{ppl}\selectfont % Set text font
% Your content goes here
\section{Main Section}
\lipsum[1] % filler text
\subsection{Fun with boxes}
\subsubsection{Even more fun!}
\begin{commentbox}{Neat Green Box!}
\lipsum[1]
\end{commentbox}
\begin{quotebox}
As you approach this template you get a sense that the blood and tears of many generations went into its making. A warm feeling welcomes you as you type your first words.
\end{quotebox}
\newpage % Acts as columbreak because of twocolumn option; for pagebreak use \clearpage
\begin{dndtable}
\textbf{Table head} & \textbf{Table head} \\
Some value & Some value \\
Some value & Some value \\
Some value & Some value
\end{dndtable}
\begin{paperbox}{Do the Players need direction?}
\lipsum[1]
\end{paperbox}
\begin{monsterbox}{Monster Foo}
\textit{Small metasyntatic variable (golbinoid), neutral evil}\\
\hline
\basics[%
armorclass = 12,
hitpoints = 16 (3d8 + 3),
speed = 50 ft
]
\hline
\stats[
STR = 12 (+1),
DEX = 14 (+2)
]
\hline
\details[%
% If you want to use commas in these sections, enclose the
% description in braces.
% I'm so sorry.
languages = {Common Lisp, Erlang},
]
\hline \\[1mm]
\begin{monsteraction}[Monster-super-powers]
This Monster has some serious superpowers!
\end{monsteraction}
\monstersection{Actions}
\begin{monsteraction}[Generate text]
This one can generate tremendous amounts of text! Though only when it wants to.
\end{monsteraction}
\begin{monsteraction}[More actions]
See, here he goes again! Yet more text.
\end{monsteraction}
\end{monsterbox}
% End document
\end{document}