% Latex header for doxygen 1.8.9.1
%\documentclass[twoside]{book}
\documentclass{article}

% Packages required by doxygen
\usepackage{fixltx2e}
\usepackage{calc}
\usepackage{doxygen}
\usepackage[export]{adjustbox} % also loads graphicx
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\usepackage[table]{xcolor}
\usepackage{titling}
\date{\today}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\usepackage{helvet}
\renewcommand\familydefault\sfdefault
%\allsectionsfont{%
%  \fontseries{bc}\selectfont%
%  \color{darkgray}%
%}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2cm,%
  bottom=2cm,%
  left=2cm,%
  right=2cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
%\setlength{\emergencystretch}{15pt}
%\setlength{\parindent}{0cm}book
%\setlength{\parskip}{0.2cm}
\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@parafont%
  }%
}
\renewcommand{\subparagraph}{%
  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@subparafont%
  }%
}
\makeatother
\usepackage{titling}

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated for ZFC9000 by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated for ZFC9000 by Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
%\renewcommand{\chaptermark}[1]{%
%  \markboth{#1}{}%
%}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}

\DeclareUnicodeCharacter{0391}{\ensuremath\Alpha}
\DeclareUnicodeCharacter{0392}{\ensuremath\Beta}
\DeclareUnicodeCharacter{0393}{\ensuremath\Gamma}
\DeclareUnicodeCharacter{0394}{\ensuremath\Delta}
\DeclareUnicodeCharacter{0395}{\ensuremath\Epsilon}
\DeclareUnicodeCharacter{0396}{\ensuremath\Zeta}
\DeclareUnicodeCharacter{0397}{\ensuremath\Eta}
\DeclareUnicodeCharacter{0398}{\ensuremath\Theta}
\DeclareUnicodeCharacter{0399}{\ensuremath\Iota}
\DeclareUnicodeCharacter{039A}{\ensuremath\Kappa}
\DeclareUnicodeCharacter{039B}{\ensuremath\Lambda}
\DeclareUnicodeCharacter{039C}{\ensuremath\Mu}
\DeclareUnicodeCharacter{039D}{\ensuremath\Nu}
\DeclareUnicodeCharacter{039E}{\ensuremath\Xi}
\DeclareUnicodeCharacter{039F}{\ensuremath\Omicron}
\DeclareUnicodeCharacter{03A0}{\ensuremath\Pi}
\DeclareUnicodeCharacter{03A1}{\ensuremath\Rho}
\DeclareUnicodeCharacter{03A3}{\ensuremath\Sigma}
\DeclareUnicodeCharacter{03A4}{\ensuremath\Tau}
\DeclareUnicodeCharacter{03A5}{\ensuremath\Upsilon}
\DeclareUnicodeCharacter{03A6}{\ensuremath\Phi}
\DeclareUnicodeCharacter{03A7}{\ensuremath\Chi}
\DeclareUnicodeCharacter{03A8}{\ensuremath\Psi}
\DeclareUnicodeCharacter{03A9}{\ensuremath\Omega}
\DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}
\DeclareUnicodeCharacter{03B2}{\ensuremath\beta}
\DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}
\DeclareUnicodeCharacter{03B4}{\ensuremath\delta}
\DeclareUnicodeCharacter{03B5}{\ensuremath\varepsilon}
\DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}
\DeclareUnicodeCharacter{03B7}{\ensuremath\eta}
\DeclareUnicodeCharacter{03B8}{\ensuremath\theta}
\DeclareUnicodeCharacter{03B9}{\ensuremath\iota}
\DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}
\DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}
\DeclareUnicodeCharacter{03BC}{\ensuremath\mu}
\DeclareUnicodeCharacter{03BD}{\ensuremath\nu}
\DeclareUnicodeCharacter{03BE}{\ensuremath\xi}
\DeclareUnicodeCharacter{03BF}{\ensuremath\omicron}
\DeclareUnicodeCharacter{03C0}{\ensuremath\pi}
\DeclareUnicodeCharacter{03C1}{\ensuremath\rho}
\DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}
\DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}
\DeclareUnicodeCharacter{03C4}{\ensuremath\tau}
\DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}
\DeclareUnicodeCharacter{03C6}{\ensuremath\varphi}
\DeclareUnicodeCharacter{03C7}{\ensuremath\chi}
\DeclareUnicodeCharacter{03C8}{\ensuremath\psi}
\DeclareUnicodeCharacter{03C9}{\ensuremath\omega}
\DeclareUnicodeCharacter{03D5}{\ensuremath\phi}
\DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}
\DeclareUnicodeCharacter{03F5}{\ensuremath\epsilon}

%\let\oldsubsection\subsection
%\renewcommand\subsection{\clearpage\oldsubsection}

%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false,
             bookmarks=true,
             bookmarksnumbered=true,
             pdfencoding=unicode
            }
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Vilebrush documentation}\\
\vspace*{1cm}
{\large 1.0}\\
\vspace*{0.5cm}
{\small \thedate}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
