\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{fixltx2e}
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\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}%
}
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}

% Page & text layout
\usepackage{geometry}
\geometry{%
  letterpaper,%
  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 Apr 17 2015 17\+:57\+:38 for Oasis3-\/\+M\+C\+T by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Apr 17 2015 17\+:57\+:38 for Oasis3-\/\+M\+C\+T 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}%
}


%===== 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 Oasis3-\/\+M\+C\+T }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.8}\\
\vspace*{0.5cm}
{\small Fri Apr 17 2015 17:57:38}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Oasis3-\/\+M\+C\+T Version 3.0\+: April, 2015}
\label{index}\hypertarget{index}{}\input{index}
\chapter{Data Type Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Data Type Documentation}
\input{classmod__oasis}
\input{classmod__oasis__advance}
\input{classmod__oasis__auxiliary__routines}
\input{classmod__oasis__coupler}
\input{classmod__oasis__data}
\input{classmod__oasis__getput__interface}
\input{classmod__oasis__grid}
\input{classmod__oasis__io}
\input{classmod__oasis__ioshr}
\input{classmod__oasis__kinds}
\input{classmod__oasis__map}
\input{classmod__oasis__mem}
\input{classmod__oasis__method}
\input{classmod__oasis__mpi}
\input{classmod__oasis__namcouple}
\input{classmod__oasis__parameters}
\input{classmod__oasis__part}
\input{classmod__oasis__string}
\input{classmod__oasis__sys}
\input{classmod__oasis__timer}
\input{classmod__oasis__var}
\input{classmod__prism}
\input{interfacemod__oasis__getput__interface_1_1oasis__get}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__bcast}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__gatherv}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__gathscatvinit}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__max}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__min}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__recv}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__scatterv}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__send}
\input{interfacemod__oasis__mpi_1_1oasis__mpi__sum}
\input{interfacemod__oasis__getput__interface_1_1oasis__put}
\input{interfacemod__oasis__grid_1_1oasis__write__angle}
\input{interfacemod__oasis__grid_1_1oasis__write__area}
\input{interfacemod__oasis__grid_1_1oasis__write__corner}
\input{interfacemod__oasis__grid_1_1oasis__write__grid}
\input{structmod__oasis__coupler_1_1prism__coupler__type}
\input{structmod__oasis__grid_1_1prism__grid__type}
\input{structmod__oasis__map_1_1prism__mapper__type}
\input{structmod__oasis__part_1_1prism__part__type}
\input{structmod__oasis__coupler_1_1prism__router__type}
\input{structmod__oasis__var_1_1prism__var__type}
\input{structmod__oasis__timer_1_1timer__details}
\chapter{File Documentation}
\input{oasis__os_8h}
\input{mod__oasis_8_f90}
\input{mod__oasis__advance_8_f90}
\input{mod__oasis__auxiliary__routines_8_f90}
\input{mod__oasis__coupler_8_f90}
\input{mod__oasis__data_8_f90}
\input{mod__oasis__getput__interface_8_f90}
\input{mod__oasis__grid_8_f90}
\input{mod__oasis__io_8_f90}
\input{mod__oasis__ioshr_8_f90}
\input{mod__oasis__kinds_8_f90}
\input{mod__oasis__map_8_f90}
\input{mod__oasis__mem_8_f90}
\input{mod__oasis__method_8_f90}
\input{mod__oasis__mpi_8_f90}
\input{mod__oasis__namcouple_8_f90}
\input{mod__oasis__parameters_8_f90}
\input{mod__oasis__part_8_f90}
\input{mod__oasis__string_8_f90}
\input{mod__oasis__sys_8_f90}
\input{mod__oasis__timer_8_f90}
\input{mod__oasis__var_8_f90}
\input{mod__prism_8_f90}
%--- End generated contents ---

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

\end{document}
