\documentclass[10pt,twocolumn,lettersize]{article}

[% include 'preamble.tex' %]

\title{Spell Descriptions}
\author{[[ character.name ]]}
\date{}

\begin{document}

\maketitle

[% for spl in character.spells %]

  \section*{[[ spl.name ]]}

  [% if spl.level > 0 %] %
    \textit{[[ spl.magic_school ]] Level [[ spl.level ]]} %
  [% else %] %
    \textit{[[ spl.magic_school ]] Cantrip} %
  [% endif %] %
  [% if spl.ritual and spl.concentration %]%
    (\textit{ritual}, \textit{concentration})%
  [% elif spl.ritual %]%
    (\textit{ritual})%
  [% elif spl.concentration %]%
    (\textit{concentration})%
  [% endif %]%            
             
  %% \noindent
  \begin{description}
    \setlength{\itemsep}{\zerosep}%
    \setlength{\parskip}{0pt}%
    \item [Casting Time:] [[ spl.casting_time ]] \\
    \item [Duration:] [[ spl.duration ]] \\
    \item [Range:] [[ spl.casting_range ]] \\
    \item [Components:] [[ spl.component_string ]]
  \end{description}
  % \vspace{\zerosep}

  [[ spl.__doc__ | rst_to_latex(top_heading_level=1) ]]

[% endfor %]

\end{document}
