mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 20:43:28 +02:00
615275f1de
Partially fixes: https://github.com/canismarko/dungeon-sheets/pull/18
68 lines
1.3 KiB
TeX
68 lines
1.3 KiB
TeX
\documentclass[10pt,twocolumn,lettersize]{article}
|
|
|
|
\newlength{\zerosep}
|
|
[% if use_dnd_decorations %]
|
|
\usepackage[layout=true]{dnd}
|
|
\setlength{\zerosep}{0em}
|
|
[% else %]
|
|
\usepackage[margin=1.5cm]{geometry}
|
|
\usepackage[dvipsnames]{color}
|
|
\definecolor{mygrey}{gray}{0.7}
|
|
\setlength{\zerosep}{-1em}
|
|
[% endif %]
|
|
|
|
\title{Features and Magic Items}
|
|
\author{[[ character.name ]]}
|
|
\date{}
|
|
|
|
\begin{document}
|
|
|
|
\maketitle
|
|
|
|
\section*{Subclasses}
|
|
|
|
[% for sc in character.subclasses if sc not in ['', None, 'None', 'none']%]
|
|
|
|
\subsection*{Subclass: [[ sc.name ]]}
|
|
|
|
[[ sc.__doc__|rst_to_latex ]]
|
|
|
|
[% endfor %]
|
|
|
|
\section*{Features}
|
|
|
|
[% for feat in character.features %]
|
|
|
|
\subsection*{[[ feat.name ]]}
|
|
|
|
\noindent
|
|
\textbf{Source:} [[ feat.source ]] \\
|
|
|
|
[% if feat.needs_implementation %] %
|
|
\textbf{**Not included in stats on Character Sheet} %
|
|
[% endif %] %
|
|
|
|
[[ feat.__doc__|rst_to_latex ]]
|
|
|
|
[% endfor %]
|
|
|
|
\section*{Magic Items}
|
|
|
|
[% for mitem in character.magic_items %]
|
|
|
|
\subsection*{[[ mitem.name ]]}
|
|
|
|
\noindent
|
|
\textbf{Requires Attunement:} [[ mitem.requires_attunement ]] \\
|
|
\textbf{Rarity:} [[ mitem.rarity ]] \\
|
|
|
|
[% if mitem.needs_implementation %] %
|
|
\textbf{**Not included in stats on Character Sheet} %
|
|
[% endif %] %
|
|
|
|
[[ mitem.__doc__|rst_to_latex ]]
|
|
|
|
[% endfor %]
|
|
|
|
\end{document}
|