1 \documentclass[a4paper,11pt,titlepage]{report}
5 \parskip 10pt % sets spacing between paragraphs
6 %\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
7 %\parindent 0pt % sets leading space for paragraphs
14 %\usepackage{subfigure}
17 \usepackage{pdflscape} % Needed for landscaping - in pdf viewer
19 \usepackage{amsmath, amsthm,amssymb}
24 \usepackage{anyfontsize}
26 \usepackage[compact]{titlesec}
27 \usepackage[table]{xcolor}
28 %\titlespacing{\chapter}{0pt}{-50pt}{0pt}
29 % spacing glue: how to read {12pt plus 4pt minus 2pt}
30 % 12pt is what we would like the spacing to be
31 % plus 4pt means that TeX can stretch it by at most 4pt
32 % minus 2pt means that TeX can shrink it by at most 2pt
33 %\titlespacing\section{0pt}{0pt plus 0pt minus 14pt}{0pt plus 0pt minus 14pt}
34 %\titleformat{\chapter}
35 %{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{}
37 %\usepackage[usenames,dvipsnames]{color}
38 %\usepackage{listings} % For code snippets
39 \definecolor{pink}{rgb}{1.0,0.5,0.5}
40 \definecolor{darkgray}{rgb}{0.1,0.1,0.1}
41 \definecolor{lightgray}{rgb}{0.95,0.95,0.95}
42 \definecolor{gray}{rgb}{0.5,0.5,0.5}
43 \definecolor{darkred}{rgb}{0.75,0,0}
44 \definecolor{darkblue}{rgb}{0,0,0.35}
45 \definecolor{green}{rgb}{0,0.70,0}
46 \definecolor{black}{rgb}{0,0,0}
47 %\lstset{language=Java}
48 %\lstset{backgroundcolor=\color{darkgray}}
49 %\lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
50 %\lstset{keywordstyle=\color{darkred}\bfseries}
51 %\lstset{commentstyle=\color{darkblue}}
52 %\lstset{stringsyle=\color{red}}
53 %\lstset{showstringspaces=false}
54 %\lstset{basicstyle=\small}
56 % keeps text within our margins
59 \newtheorem{theorem}{Theorem}[section]
60 \newtheorem{lemma}[theorem]{Lemma}
61 \theoremstyle{definition}\newtheorem{definition}[theorem]{Definition}
62 \newtheorem{proposition}[theorem]{Proposition}
63 \newtheorem{corollary}[theorem]{Corollary}
64 \newtheorem{example}{Example}
65 \theoremstyle{remark}\newtheorem*{remark}{Remark}
67 \newcommand{\Phid}[0]{\dot{\Phi}}
68 \newcommand{\Phib}[0]{\bar{\Phi}}
70 \newcommand{\de}[0]{\delta}
71 \newcommand{\deb}[0]{\bar{\delta}}
73 \newcommand{\that}[0]{\hat{\theta}}
75 \newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector
76 \newcommand{\divg}[1]{\nabla \cdot #1} % divergence
77 \newcommand{\curl}[1]{\nabla \times #1} % curl
78 \newcommand{\grad}[1]{\nabla #1} %gradient
79 \newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
80 \newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
81 \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
82 \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
84 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
85 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
87 %\usepackage{endfloat}
90 \topmargin -0.6true in
92 \textheight 9.5true in
93 \oddsidemargin 0.25true in
94 \evensidemargin 0.25true in
97 \usepackage{fancyheadings}
99 \addtolength{\headheight}{2.5pt}
100 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
101 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
102 \ifthenelse{\boolean{@twoside}}
104 \rhead[\bfseries \rightmark]{\bfseries \thepage}
105 \lhead[\bfseries \leftmark]{\bfseries \thepage}
106 \addtolength{\headwidth}{\marginparsep}
107 \addtolength{\headwidth}{\marginparwidth}
109 \lhead{\bfseries \leftmark}
110 \rhead{\bfseries \thepage}
114 %---------------------------------------------------------
115 %---------------------------------------------------------
118 \include{meta/Titlepage} % This is who you are
122 \include{meta/Acknowledgments} % This is who you thank
126 \include{meta/Abstract} % This is your thesis abstract
128 \pagenumbering{roman}
130 %---------------------------------------------------------
131 % Do the table of Contents and lists of figures and tables
132 %---------------------------------------------------------
134 % Do we need these for a fresher guide?
135 {\small\tableofcontents}
141 \pagenumbering{arabic}
142 %---------------------------------------------------------
143 %---------------------------------------------------------
144 %Include the chapters!
146 \include{chapters/Introduction}
147 \include{chapters/Background}
148 \include{chapters/Progress}
149 \include{chapters/Conclusion}
151 %---------------------------------------------------------
152 \renewcommand{\bibname}{References}
153 \bibliography{references/refs}
154 \bibliographystyle{unsrt}
155 \addcontentsline{toc}{part}{References}
156 %---------------------------------------------------------
160 %\include{appendices/achievements}
161 %\include{proposal/proposal.tex}
162 %\renewcommand\chaptername{Appendix}
164 %\include{appendices/electron_optics}
165 %\include{appendices/electron_gun_circuit}
166 %\include{appendices/tcs_noise}
167 %\include{appendices/data_aquisition}
170 %---------------------------------------------------------