<%block name="documentclass">
\documentclass[a4paper,10pt]{article}
</%block>

<%block name="usePackages">
  ${packages}
</%block>

<%block name="beneathPackages">
</%block>

<%block name="textSettings">
  \renewcommand{\familydefault}{ma1}
  \parindent=0pt
  \raggedright%%
  \parskip=\baselineskip%%

  \renewcommand\thesubsection{\arabic{subsection}.}
  \titlespacing{\subsection}{0pt}{\baselineskip}{-.5\baselineskip}
  \titlespacing{\subsubsection}{0pt}{*0}{-.8\baselineskip}


  %% LISTINGS
  \renewcommand\labelitemi{\textendash}

  %% make itemize more compact (set itemsep and topsep globally to 0)
  \makeatletter
  \def\@listI{\leftmargin\leftmargini%%
    \parsep 0\p@ \@plus0\p@ \@minus\p@
    \topsep 0\p@  \@minus\p@
    \itemsep 0\p@ \@plus0\p@ \@minus\p@}
  \let\@listi\@listI%%
  \def\@listii {\leftmargin\leftmarginii
    \labelwidth\leftmarginii
    \advance\labelwidth-\labelsep
    \topsep    0\p@ \@plus0\p@ \@minus\p@
    \parsep    0\p@   \@plus\p@  \@minus\p@
    \itemsep   \parsep}
  \makeatother
</%block>


<%block name="layoutSettings">
  %% LAYOUT
  \pagestyle{fancy}
  \renewcommand{\headrulewidth}{0pt}
  \renewcommand{\footrulewidth}{0pt}
  \fancyhf{}
  \fancyfoot[R]{\fontsize{8}{9}\selectfont ${pageLabel} \thepage/\pageref{LastPage}}
  \fancyfoot[L]{\fontsize{8}{9}\selectfont ${printedLabel}: \today, \thistime}
</%block>

<%block name="aboveDocument">
</%block>

\begin{document}

% if logo:
  ${logo}
% endif

<%block name="documentTop">
</%block>

${content}

<%block name="documentBottom">
</%block>

\end{document}
