% ==============================================================================
% LaTeX header

\documentclass[a4paper]{article}
\usepackage{a4wide}
\usepackage{fixltx2e}
\usepackage{fancyhdr}
\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{float}
\usepackage{alltt}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi


% ==============================================================================
% Newer doxygen versions require the "\+" and "\clearemptydoublepage" commands

\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}}


% ==============================================================================
% Font selection

\usepackage[T1]{fontenc}
\usepackage[scaled=.90]{helvet}
\usepackage{times}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
%\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{
  \fontseries{bc}\selectfont
  \color{darkgray}
}
%\renewcommand{\DoxyLabelFont}{
%  \fontseries{bc}\selectfont
%  \color{darkgray}
%}


% ==============================================================================
% Generate TOC

\makeindex
\setcounter{tocdepth}{3}


% ==============================================================================
% Footer

%\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\lfoot{}
\rfoot{$NAME $VERSION}


% ==============================================================================
% Start of body

\begin{document}
%\sffamily  % Use sans serif fonts


% ==============================================================================
% Titlepage

\begin{titlepage}
   \begin{center}
      \large
%      \includegraphics[width=40mm]{Logo.png}
%      \vspace{2cm}
      USENET Newsreader
      \vspace{6cm}

      \rule{\linewidth}{0.5mm}

      \vspace{\baselineskip}
      \vspace{0.4cm}
      \huge
      Documentation for
      \vspace{0.5cm}

      $NAME $VERSION
      \large
      \vspace{\baselineskip}

      \rule{\linewidth}{0.5mm}

      \vspace{2cm}
      Generated $DATE using
         \includegraphics[width=2cm]{Doxygen.png} and \LaTeX\\
   \end{center}
\end{titlepage}


% ==============================================================================
% Start of TOC

\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}


% End of header
