\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{%
  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 Tue Oct 31 2017 01\+:56\+:22 for Pocket\+Sphinx by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Tue Oct 31 2017 01\+:56\+:22 for Pocket\+Sphinx 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 Pocket\+Sphinx \\[1ex]\large 0.\+6 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.8}\\
\vspace*{0.5cm}
{\small Tue Oct 31 2017 01:56:22}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}

%--- Begin generated contents ---
\chapter{Pocket\+Sphinx A\+P\+I Documentation}
\label{index}\input{index}
\chapter{Data Structure Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Data Structure Documentation}
\input{structacmod__s}
\input{structastar__seg__s}
\input{structbestbp__rc__s}
\input{structbin__mdef__s}
\input{structblkarray__list__s}
\input{structbptbl__s}
\input{structbptbl__seg__s}
\input{structcand__sf__t}
\input{structcd__tree__s}
\input{structchan__s}
\input{structciphone__t}
\input{structdag__seg__s}
\input{structdict2pid__t}
\input{structdict__t}
\input{structdictword__t}
\input{structfsg__glist__linklist__t}
\input{structfsg__hist__entry__s}
\input{structfsg__history__s}
\input{structfsg__lextree__s}
\input{structfsg__pnode__ctxt__t}
\input{structfsg__pnode__s}
\input{structfsg__search__s}
\input{structfsg__seg__s}
\input{structgauden__dist__t}
\input{structgauden__t}
\input{structhmm__context__s}
\input{structhmm__context__t}
\input{structhmm__s}
\input{structhmm__t}
\input{structlast__ltrans__t}
\input{structlastphn__cand__s}
\input{structlatlink__list__s}
\input{structmdef__entry__s}
\input{structmdef__t}
\input{structms__mgau__model__t}
\input{structms__mgau__t}
\input{structngram__search__s}
\input{structngram__search__stats__s}
\input{structph__lc__s}
\input{structph__lc__t}
\input{structph__rc__s}
\input{structph__rc__t}
\input{structphone__loop__renorm__s}
\input{structphone__loop__s}
\input{structphone__loop__search__s}
\input{structphone__t}
\input{structps__alignment__entry__s}
\input{structps__alignment__iter__s}
\input{structps__alignment__s}
\input{structps__alignment__vector__s}
\input{structps__astar__s}
\input{structps__decoder__s}
\input{structps__latlink__s}
\input{structps__latnode__s}
\input{structps__latpath__s}
\input{structps__lattice__s}
\input{structps__mgau__s}
\input{structps__mgaufuncs__s}
\input{structps__mllr__s}
\input{structps__search__s}
\input{structps__searchfuncs__s}
\input{structps__seg__s}
\input{structps__segfuncs__s}
\input{structptm__fast__eval__s}
\input{structptm__mgau__s}
\input{structptm__topn__s}
\input{structroot__chan__s}
\input{structs2__semi__mgau__s}
\input{structsenone__t}
\input{structstate__align__search__s}
\input{structtmat__t}
\input{structvqFeature__s}
\input{structxwdssid__t}
\chapter{File Documentation}
\input{fsg__set_8h}
\input{pocketsphinx_8h}
\input{ps__lattice_8h}
\input{ps__mllr_8h}
\input{acmod_8c}
\input{acmod_8h}
\input{bin__mdef_8h}
\input{dict_8h}
\input{dict2pid_8c}
\input{dict2pid_8h}
\input{fsg__lextree_8c}
\input{hmm_8h}
\input{mdef_8h}
\input{ms__gauden_8h}
\input{ms__mgau_8h}
\input{ms__senone_8h}
\input{ngram__search_8c}
\input{ngram__search_8h}
\input{ngram__search__fwdflat_8c}
\input{ngram__search__fwdflat_8h}
\input{ngram__search__fwdtree_8c}
\input{ngram__search__fwdtree_8h}
\input{phone__loop__search_8h}
\input{pocketsphinx__internal_8h}
\input{ps__alignment_8c}
\input{ps__alignment_8h}
\input{ps__lattice_8c}
\input{ps__lattice__internal_8h}
\input{ps__mllr_8c}
\input{ptm__mgau_8h}
\input{s3types_8h}
\input{state__align__search_8c}
\input{state__align__search_8h}
\input{tied__mgau__common_8h}
\input{tmat_8h}
%--- End generated contents ---

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

\end{document}
