\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{textcomp}
\usepackage[table]{xcolor}

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

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\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

% 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 on Fri Dec 2 2016 11\-:45\-:16 for G\-E\-A\-R by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Dec 2 2016 11\-:45\-:16 for G\-E\-A\-R 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

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


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

\begin{document}

% Titlepage & ToC
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large G\-E\-A\-R \\[1ex]\large 1.\-6.\-1 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.6}\\
\vspace*{0.5cm}
{\small Fri Dec 2 2016 11:45:16}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}

%--- Begin generated contents ---
\chapter{$<$a href=\char`\"{}http\-://ilcsoft.\-desy.\-de/gear\char`\"{}$>$G\-E\-A\-R$<$/a$>$}
\label{index}\input{index}
\chapter{Deprecated List}
\label{deprecated}
\input{deprecated}
\chapter{Namespace Index}
\input{namespaces}
\chapter{Hierarchical Index}
\input{hierarchy}
\chapter{Class Index}
\input{annotated}
\chapter{Namespace Documentation}
\input{namespacegear}
\chapter{Class Documentation}
\input{classgear_1_1BField}
\input{classgear_1_1BoundaryRectangle}
\input{classgear_1_1BoundaryTrapezoid}
\input{classgear_1_1CalorimeterParameters}
\input{classgear_1_1CalorimeterParametersImpl}
\input{classgear_1_1CalorimeterParametersXML}
\input{structgear_1_1Vector3D_1_1Cartesian}
\input{classgear_1_1CartesianCoordinateSystem}
\input{classgear_1_1CGAGearDistanceProperties}
\input{classgear_1_1CGAGearPointProperties}
\input{classgear_1_1CGAGeometryInitializer}
\input{classgear_1_1ConstantBField}
\input{classgear_1_1ConstantBFieldXML}
\input{structgear_1_1Vector3D_1_1Cylindrical}
\input{classgear_1_1Exception}
\input{classgear_1_1FixedDiskLayoutBase}
\input{classgear_1_1FixedPadAngleDiskLayout}
\input{classgear_1_1FixedPadAngleDiskLayoutXML}
\input{classgear_1_1FixedPadSizeDiskLayout}
\input{classgear_1_1FixedPadSizeDiskLayoutXML}
\input{classgear_1_1FTDLayerLayout}
\input{classgear_1_1FTDLayerLayoutImpl}
\input{classgear_1_1FTDParameters}
\input{classgear_1_1FTDParametersImpl}
\input{classgear_1_1FTDParametersXML}
\input{classgear_1_1GEAR}
\input{classgear_1_1GearDistanceProperties}
\input{classgear_1_1GearMaterialProperties}
\input{classgear_1_1GearMaterialPropertiesFactory}
\input{classgear_1_1GearMgr}
\input{classgear_1_1GearMgrImpl}
\input{classgear_1_1GearParameters}
\input{classgear_1_1GearParametersImpl}
\input{classgear_1_1GearParametersXML}
\input{classgear_1_1GearPointProperties}
\input{classgear_1_1GearXML}
\input{classgear_1_1GlobalPadIndex}
\input{classgear_1_1IBoundary}
\input{classgear_1_1ICoordinateSystem}
\input{structgear_1_1SiPlanesLayerLayoutImpl_1_1Layer}
\input{structgear_1_1FTDLayerLayoutImpl_1_1Layer}
\input{structgear_1_1ZPlanarLayerLayoutImpl_1_1Layer}
\input{structgear_1_1LayerLayoutImpl_1_1Layer}
\input{classgear_1_1LayerLayout}
\input{classgear_1_1LayerLayoutImpl}
\input{classgear_1_1MaterialMap}
\input{classgear_1_1MaterialMapFactory}
\input{classgear_1_1MeasurementSurface}
\input{classgear_1_1MeasurementSurfaceStore}
\input{classgear_1_1MeasurementSurfaceStoreFiller}
\input{classgear_1_1MergeXML}
\input{classgear_1_1NotImplementedException}
\input{classgear_1_1TPCModule_1_1NoZPositionException}
\input{classgear_1_1OutsideGeometryException}
\input{classgear_1_1PadRowLayout2D}
\input{classgear_1_1PadRowLayout2DXML}
\input{classgear_1_1ParseException}
\input{classgear_1_1RectangularPadRowLayout}
\input{classgear_1_1RectangularPadRowLayoutXML}
\input{structgear_1_1FixedPadSizeDiskLayout_1_1Row}
\input{classgear_1_1VersatileDiskRowLayout_1_1Row}
\input{structgear_1_1RectangularPadRowLayout_1_1Row}
\input{structgear_1_1SiPlanesLayerLayoutImpl_1_1SensLayer}
\input{structgear_1_1SensorID}
\input{classgear_1_1SimpleMaterial}
\input{classgear_1_1SimpleMaterialImpl}
\input{classgear_1_1SimpleMaterialXML}
\input{classgear_1_1SiPlanesLayerLayout}
\input{classgear_1_1SiPlanesLayerLayoutImpl}
\input{classgear_1_1SiPlanesParameters}
\input{classgear_1_1SiPlanesParametersImpl}
\input{classgear_1_1SiPlanesParametersXML}
\input{structgear_1_1Vector3D_1_1Spherical}
\input{classgear_1_1TiXmlBase_1_1StringToBuffer}
\input{classgear_1_1TGeoGearDistanceProperties}
\input{classgear_1_1TGeoGearPointProperties}
\input{classgear_1_1TGeoGeometryInitializer}
\input{classgear_1_1TGeoMaterialProperties}
\input{classgear_1_1TGeoMaterialPropertiesFactory}
\input{classgear_1_1TiXmlAttribute}
\input{classgear_1_1TiXmlAttributeSet}
\input{classgear_1_1TiXmlBase}
\input{classgear_1_1TiXmlComment}
\input{structgear_1_1TiXmlCursor}
\input{classgear_1_1TiXmlDeclaration}
\input{classgear_1_1TiXmlDocument}
\input{classgear_1_1TiXmlElement}
\input{classgear_1_1TiXmlHandle}
\input{classgear_1_1TiXmlNode}
\input{classgear_1_1TiXmlParsingData}
\input{classgear_1_1TiXmlText}
\input{classgear_1_1TiXmlUnknown}
\input{classgear_1_1Tokenizer}
\input{classgear_1_1TPCModule}
\input{classgear_1_1TPCModuleImpl}
\input{classgear_1_1TPCModuleXML}
\input{classgear_1_1TPCParameters}
\input{classgear_1_1TPCParametersImpl}
\input{classgear_1_1TPCParametersXML}
\input{classgear_1_1TrackerPlanesLayer}
\input{classgear_1_1TrackerPlanesLayerImpl}
\input{classgear_1_1TrackerPlanesLayerLayout}
\input{classgear_1_1TrackerPlanesLayerLayoutImpl}
\input{classgear_1_1TrackerPlanesMaterialLayer}
\input{classgear_1_1TrackerPlanesMaterialLayerImpl}
\input{classgear_1_1TrackerPlanesParameters}
\input{classgear_1_1TrackerPlanesParametersImpl}
\input{classgear_1_1TrackerPlanesParametersXML}
\input{classgear_1_1TrackerPlanesSensitiveLayer}
\input{classgear_1_1TrackerPlanesSensitiveLayerImpl}
\input{classgear_1_1UnknownParameterException}
\input{structgear_1_1Vector2D__T}
\input{classgear_1_1Vector3D}
\input{structgear_1_1Vector3D__T}
\input{classgear_1_1VectorND__T}
\input{classgear_1_1VersatileDiskRowLayout}
\input{classgear_1_1VersatileDiskRowLayoutXML}
\input{classgear_1_1vframe}
\input{classgear_1_1XMLHandler}
\input{classgear_1_1XMLHandlerMgr}
\input{classgear_1_1ZPlanarLayerLayout}
\input{classgear_1_1ZPlanarLayerLayoutImpl}
\input{classgear_1_1ZPlanarParameters}
\input{classgear_1_1ZPlanarParametersImpl}
\input{classgear_1_1ZPlanarParametersXML}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}
