--- /dev/null
+\documentclass[a4paper,12pt,titlepage]{report}
+\linespread{1.3}
+\usepackage{setspace}
+\onehalfspacing
+
+%\usepackage{natbib}
+\usepackage{makeidx}
+\usepackage{graphicx}
+\usepackage{caption}
+%\usepackage{subfigure}
+\usepackage{rotating}
+\usepackage{lscape}
+\usepackage{verbatim}
+\usepackage{amsmath, amsthm,amssymb}
+\usepackage{mathrsfs}
+
+\newtheorem{theorem}{Theorem}[section]
+\newtheorem{lemma}[theorem]{Lemma}
+\theoremstyle{definition}\newtheorem{definition}[theorem]{Definition}
+\newtheorem{proposition}[theorem]{Proposition}
+\newtheorem{corollary}[theorem]{Corollary}
+\newtheorem{example}{Example}
+\theoremstyle{remark}\newtheorem*{remark}{Remark}
+
+\newcommand{\Phid}[0]{\dot{\Phi}}
+\newcommand{\Phib}[0]{\bar{\Phi}}
+
+\newcommand{\de}[0]{\delta}
+\newcommand{\deb}[0]{\bar{\delta}}
+
+\newcommand{\that}[0]{\hat{\theta}}
+
+\newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector
+\newcommand{\divg}[1]{\nabla \cdot #1} % divergence
+\newcommand{\curl}[1]{\nabla \times #1} % curl
+\newcommand{\grad}[1]{\nabla #1} %gradient
+\newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
+\newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
+\newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
+\newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
+
+
+%\usepackage{endfloat}
+%\nomarkersintext
+\pagestyle{plain}
+\topmargin -0.6true in
+\textwidth 15true cm
+\textheight 9.5true in
+\oddsidemargin 0.25true in
+\evensidemargin 0.25true in
+\headsep 0.4true in
+
+\usepackage{fancyheadings}
+\pagestyle{fancy}
+\addtolength{\headheight}{2.5pt}
+\renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
+\renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
+\ifthenelse{\boolean{@twoside}}
+{
+ \rhead[\bfseries \rightmark]{\bfseries \thepage}
+ \lhead[\bfseries \leftmark]{\bfseries \thepage}
+ \addtolength{\headwidth}{\marginparsep}
+ \addtolength{\headwidth}{\marginparwidth}
+}{
+ \lhead{\bfseries \leftmark}
+ \rhead{\bfseries \thepage}
+}
+\cfoot{}
+
+%---------------------------------------------------------
+%---------------------------------------------------------
+\begin{document}
+
+\include{titlepage/Titlepage} % This is who you are
+
+\newpage
+
+\include{acknowledgments/Acknowledgments} % This is who you thank
+
+\newpage
+
+\include{abstract/Abstract} % This is your thesis abstract
+
+\pagenumbering{roman}
+\newpage
+%---------------------------------------------------------
+% Do the table of Contents and lists of figures and tables
+%---------------------------------------------------------
+\tableofcontents
+\markboth{}{}
+\newpage
+
+\pagenumbering{arabic}
+%---------------------------------------------------------
+%---------------------------------------------------------
+%Include the chapters!
+
+\include{chapters/Introduction}
+
+\include{chapters/Theory} % This is chapter 1
+
+\include{chapters/Techniques} % This is chapter 2
+
+\include{chapters/Results} % etc.
+
+\include{chapters/Conclusion}
+%\newpage
+%---------------------------------------------------------
+\renewcommand{\bibname}{References}
+\bibliography{references/refs}
+\bibliographystyle{ieeetr}
+\addcontentsline{toc}{part}{References}
+%---------------------------------------------------------
+
+% Appendices
+\appendix
+\include{appendices/electron_optics}
+\include{appendices/electron_gun_circuit}
+%---------------------------------------------------------
+
+\end{document}
+