% allows importing of pictures/pdfs
\usepackage{graphicx}

% adds links for figures/references and the coloured box
% Note: coloured boxes don't appear when printing
\usepackage{hyperref}
\hypersetup{pdftitle={Sensor selection and testing for the Renewable Energy Vehicle},pdfauthor={Travis Hydzik},pdfsubject={Final Year Project, 2005}} 

% allows for sub figures a,b,c.. in a single figure
\usepackage{subfigure}

% allows for drop caps
\usepackage{lettrine}

% tries to place figures/tables where they appear in code
%\usepackage{here}

% allows for tables that span multipages
\usepackage{longtable}

\usepackage[paper=a4paper,left=3cm,top=2cm,right=2cm, bottom=2cm]{geometry}

% misc fonts
\usepackage{ae,aecompl,ams}

% customise the three basic lists
%\usepackage{enumitem}

% fancy headers and footers
\usepackage{fancyhdr}
\usepackage{headfoot}

% nicer looking tables
\usepackage{booktabs}

% one and half spacing
\usepackage{setspace}

% adds numbered headings to appendix
\usepackage{appendix}

% adds counter for subsubsection
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

% create a nomenclature
\usepackage{nomencl}

% increase header slightly
\setlength{\headheight}{15pt}

% length of photos
\newlength\lengthWidth
\setlength{\lengthWidth}{0.56\textwidth}

% lengths of charts
\newlength\chartWidth
\setlength{\chartWidth}{0.47\textwidth}

% creates a command for deg C
\newcommand{\degc}{\ensuremath{^\circ}C}

% uses the IEEE bibliography style
\bibliographystyle{IEEEtranBST/IEEEtran}

% modify captions for figures and tables
\usepackage{caption}
\renewcommand{\captionlabelfont}{\bf}
\renewcommand{\captionsize}{\small}
\setlength{\captionmargin}{2cm}

% rename the Biliography heading to References
\renewcommand\bibname{References}

% discourage hyphenation
\hyphenpenalty=5000
\tolerance=1000
