\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{%
  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}{3ex plus 2ex minus 2ex}
\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 by Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated 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}%
}

\usepackage{caption}
\captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top}

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

\begin{document}

% Titlepage & ToC
\pagenumbering{alph}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large Sphinx\+Base \\[1ex]\large 0.\+6 }\\
\vspace*{1cm}
{\large Generated by Doxygen 1.8.13}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\pagenumbering{roman}
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}

%--- Begin generated contents ---
\chapter{Deprecated List}
\label{deprecated}
\input{deprecated}
\chapter{Data Structure Index}
\input{annotated}
\chapter{File Index}
\input{files}
\chapter{Data Structure Documentation}
\input{structad__play__t}
\input{structad__rec__t}
\input{structagc__s}
\input{structalist}
\input{unionanytype__s}
\input{structarg__s}
\input{structarg__t}
\input{structaudio__type__s}
\input{structBigint}
\input{structbigram__s}
\input{structbit__encode__s}
\input{structcilist}
\input{structclassdef__s}
\input{structcllist}
\input{structcmd__ln__s}
\input{structcmd__ln__t}
\input{structcmd__ln__val__s}
\input{structcmn__t}
\input{structcomplex}
\input{structcont__ad__t}
\input{structdoublecomplex}
\input{structfe__s}
\input{structfe__warp__conf__t}
\input{structfeat__s}
\input{structfeat__t}
\input{structfsg__arciter__s}
\input{structfsg__link__s}
\input{structfsg__model__s}
\input{structgnode__s}
\input{structhash__entry__s}
\input{structhash__iter__s}
\input{structhash__table__t}
\input{structheap__s}
\input{structheapnode__s}
\input{structhuff__code__s}
\input{structhuff__codeword__s}
\input{structhuff__node__s}
\input{structicilist}
\input{structinlist}
\input{structjsgf__atom__s}
\input{structjsgf__link__s}
\input{structjsgf__rhs__s}
\input{structjsgf__rule__s}
\input{structjsgf__s}
\input{structlineiter__t}
\input{structlistelem__alloc__s}
\input{structlm3g__iter__s}
\input{structlm3g__model__s}
\input{unionlmprob__t}
\input{structlogadd__s}
\input{structlogmath__s}
\input{structmelfb__s}
\input{structmmio__file__s}
\input{unionMultitype}
\input{structNamelist}
\input{structngram__class__s}
\input{structngram__funcs__s}
\input{structngram__class__s_1_1ngram__hash__s}
\input{structngram__iter__s}
\input{structngram__model__arpa__s}
\input{structngram__model__dmp__s}
\input{structngram__model__s}
\input{structngram__model__set__iter__s}
\input{structngram__model__set__s}
\input{structolist}
\input{structoutput__type__s}
\input{structpctr__t}
\input{structptmr__t}
\input{structRIFFHeader}
\input{structsbevent__s}
\input{structsbmsgq__s}
\input{structsbmtx__s}
\input{structsbthread__s}
\input{structsorted__entry__s}
\input{structsorted__list__t}
\input{structsphinx__wave2feat__s}
\input{structspseg__s}
\input{structspseg__t}
\input{structtginfo__s}
\input{structtrans__list__s}
\input{structtrigram__s}
\input{unionU}
\input{structunigram__s}
\input{structVardesc}
\input{structyin__s}
\input{structyy__buffer__state}
\input{structyy__trans__info}
\input{unionyyalloc}
\input{structyyguts__t}
\input{unionYYSTYPE}
\chapter{File Documentation}
\input{ad_8h}
\input{agc_8h}
\input{bio_8h}
\input{bitvec_8h}
\input{case_8h}
\input{ckd__alloc_8h}
\input{cmd__ln_8h}
\input{cmn_8h}
\input{cont__ad_8h}
\input{err_8h}
\input{feat_8h}
\input{filename_8h}
\input{genrand_8h}
\input{glist_8h}
\input{hash__table_8h}
\input{heap_8h}
\input{huff__code_8h}
\input{info_8h}
\input{jsgf_8h}
\input{listelem__alloc_8h}
\input{logmath_8h}
\input{matrix_8h}
\input{mmio_8h}
\input{mulaw_8h}
\input{ngram__model_8h}
\input{pio_8h}
\input{prim__type_8h}
\input{profile_8h}
\input{sbthread_8h}
\input{strfuncs_8h}
\input{unlimit_8h}
\input{yin_8h}
\input{yin_8c}
\input{jsgf_8c}
\input{jsgf__internal_8h}
\input{ngram__model__set_8c}
\input{ngram__model__set_8h}
\input{err_8c}
\input{sbthread_8c}
\input{main__cepview_8c}
\input{sphinx__lm__convert_8c}
\input{sphinx__lm__eval_8c}
%--- End generated contents ---

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

\end{document}
