\documentclass[twoside]{book}

% 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}

% Font selection
\usepackage[T1]{fontenc}
\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{%
  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 Mar 13 2015 15\+:44\+:18 for R\+A\+P\+I\+C\+A\+M\+\_\+3-\/15-\/2015 by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Mar 13 2015 15\+:44\+:18 for R\+A\+P\+I\+C\+A\+M\+\_\+3-\/15-\/2015 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 R\+A\+P\+I\+C\+A\+M\+\_\+3-\/15-\/2015 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.9.1}\\
\vspace*{0.5cm}
{\small Fri Mar 13 2015 15:44:18}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{Post-\/processing example programs to play with the imv buffer\+:}
\label{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applica26c496b9e92780dd96b036bbfb91740b}
\hypertarget{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applica26c496b9e92780dd96b036bbfb91740b}{}
\input{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applica26c496b9e92780dd96b036bbfb91740b}
\chapter{R\+E\+A\+D\+M\+E}
\label{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applicacd6169d5d6d654f11e2004aaf9db5471}
\hypertarget{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applicacd6169d5d6d654f11e2004aaf9db5471}{}
\input{md___volumes__w_o_r_k__i_n__p_r_o_g_r_e_s_s__r_a_s_p_b_e_r_r_y__p_i_github_userland_host_applicacd6169d5d6d654f11e2004aaf9db5471}
\chapter{Class Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Class Documentation}
\input{struct_c_o_m_m_a_n_d___l_i_s_t}
\input{struct_i_n_l_i_n_e___m_o_t_i_o_n___v_e_c_t_o_r}
\input{struct_m_m_a_l___p_a_r_a_m___c_o_l_o_u_r_f_x___t}
\input{struct_m_m_a_l___p_a_r_a_m___t_h_u_m_b_n_a_i_l___c_o_n_f_i_g___t}
\input{struct_p_a_r_a_m___f_l_o_a_t___r_e_c_t___t}
\input{struct_p_o_r_t___u_s_e_r_d_a_t_a}
\input{struct_r_a_s_p_i_c_a_m___c_a_m_e_r_a___p_a_r_a_m_e_t_e_r_s}
\input{struct_r_a_s_p_i_p_r_e_v_i_e_w___p_a_r_a_m_e_t_e_r_s}
\input{struct_r_a_s_p_i_s_t_i_l_l___s_t_a_t_e}
\input{struct_r_a_s_p_i_s_t_i_l_l_y_u_v___s_t_a_t_e}
\input{struct_r_a_s_p_i_t_e_x___c_a_p_t_u_r_e}
\input{struct_r_a_s_p_i_t_e_x___s_c_e_n_e___o_p_s}
\input{struct_r_a_s_p_i_t_e_x___s_t_a_t_e}
\input{struct_r_a_s_p_i_t_e_x_u_t_i_l___s_h_a_d_e_r___p_r_o_g_r_a_m___t}
\input{struct_r_a_s_p_i_v_i_d___s_t_a_t_e___s}
\input{struct_r_a_s_p_i_v_i_d_y_u_v___s_t_a_t_e___s}
\input{struct_t_e_a_p_o_t___s_t_a_t_e___t}
\input{structtga__colormap__info}
\input{structtga__header}
\input{structtga__image__info}
\input{structwavefront__material__s}
\input{structwavefront__model__loading__s}
\input{structwavefront__model__s}
\input{structxref__t}
\chapter{File Documentation}
\input{_raspi_c_l_i_8c}
\input{_raspi_still_8c}
\input{_raspi_tex_8c}
\input{_raspi_tex_util_8c}
\input{_raspi_vid_8c}
\input{_raspi_vid_y_u_v_8c}
%--- End generated contents ---

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

\end{document}
