%
% Standard preamble.  You can ignore all this
%
\documentclass{book}
\title{
\Large{\textbf{STM: A high dynamic range image processing toolkit}}\\
} 
\author{David Beynon}
\date{}
% packages
\usepackage{tocbibind}   % Force bibliography to appear in table of contents.
\usepackage{harvard}     % harvard bib styles
%\usepackage[titles]{tocloft} % allow custom table of contents style.
\usepackage[final]{graphicx}

% set up graphics
\graphicspath{{images/}}
%extra configuration options
% Select bibliography type.
\bibliographystyle{apsr} % harvard
%\bibliographystyle{alpha}
%\bibliographystyle{plain}

\pagenumbering{arabic}
%\pagestyle{plain}
\pagestyle{headings}

% Change the table of contents style so that the chapter names are not bold.
%\renewcommand{\cftchapfont}{}
%\renewcommand{\cftchappagefont}{}

%begin document
\begin{document}
%
% The actual document.
%
\maketitle
\tableofcontents

% Un comment one of these to decide what spacing you want
%\singlespacing
%\onehalfspacing
%\doublespacing

% Override default paragraph settings
\setlength{\parskip}{0.4cm}
\setlength{\parindent}{0.0cm}

%define "bkskip" command - put a vertical gap in the doc.
\newcommand{\bkskip}{\bigskip}

%define "bkimage" command.
%\newcommand{\bkimage}[3]{
%\begin{figure}[hbt]
%\begin{center}
%\includegraphics[#2]{#1}
%\caption{#3}
%\end{center}
%\end{figure}
%}
\newcommand{\bkimage}[3]{
\begin{figure}[hbt]
\begin{center}
\includegraphics[width = #2]{#1}
%\caption{#3}
\end{center}
\end{figure}
}

\nocite{ashikhmin-2002}
\input{01_introduction}
\input{02_getstarted}
\input{03_scripts}
\input{04_modules}
\input{05_coding}

\bibliography{tonemapping}
\end{document}

