1 \documentclass[a4paper,10pt,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{minted} % For code snippets
39 \AtBeginEnvironment{minted}{\singlespacing%
40 \fontsize{7}{7}\selectfont}
41 \definecolor{pink}{rgb}{1.0,0.5,0.5}
42 \definecolor{darkgray}{rgb}{0.1,0.1,0.1}
43 \definecolor{lightgray}{rgb}{0.95,0.95,0.95}
44 \definecolor{gray}{rgb}{0.5,0.5,0.5}
45 \definecolor{darkred}{rgb}{0.75,0,0}
46 \definecolor{darkblue}{rgb}{0,0,0.35}
47 \definecolor{green}{rgb}{0,0.70,0}
48 \definecolor{black}{rgb}{0,0,0}
49 %\lstset{language=Java}
50 %\lstset{backgroundcolor=\color{darkgray}}
51 %\lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
52 %\lstset{keywordstyle=\color{darkred}\bfseries}
53 %\lstset{commentstyle=\color{darkblue}}
54 %\lstset{stringsyle=\color{red}}
55 %\lstset{showstringspaces=false}
56 %\lstset{basicstyle=\small}
58 % keeps text within our margins
61 \newtheorem{theorem}{Theorem}[section]
62 \newtheorem{lemma}[theorem]{Lemma}
63 \theoremstyle{definition}\newtheorem{definition}[theorem]{Definition}
64 \newtheorem{proposition}[theorem]{Proposition}
65 \newtheorem{corollary}[theorem]{Corollary}
66 \newtheorem{example}{Example}
67 \theoremstyle{remark}\newtheorem*{remark}{Remark}
69 \newcommand{\Phid}[0]{\dot{\Phi}}
70 \newcommand{\Phib}[0]{\bar{\Phi}}
72 \newcommand{\de}[0]{\delta}
73 \newcommand{\deb}[0]{\bar{\delta}}
75 \newcommand{\that}[0]{\hat{\theta}}
77 \newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector
78 \newcommand{\divg}[1]{\nabla \cdot #1} % divergence
79 \newcommand{\curl}[1]{\nabla \times #1} % curl
80 \newcommand{\grad}[1]{\nabla #1} %gradient
81 \newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
82 \newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
83 \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
84 \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
86 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
87 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
89 %\usepackage{endfloat}
92 \topmargin -0.6true in
94 \textheight 9.5true in
95 \oddsidemargin 0.25true in
96 \evensidemargin 0.25true in
99 \usepackage{fancyheadings}
101 \addtolength{\headheight}{2.5pt}
102 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
103 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
104 \ifthenelse{\boolean{@twoside}}
106 \rhead[\bfseries \rightmark]{\bfseries \thepage}
107 \lhead[\bfseries \leftmark]{\bfseries \thepage}
108 \addtolength{\headwidth}{\marginparsep}
109 \addtolength{\headwidth}{\marginparwidth}
111 \lhead{\bfseries \leftmark}
112 \rhead{\bfseries \thepage}
116 %---------------------------------------------------------
117 %---------------------------------------------------------
120 \include{meta/Titlepage} % This is who you are
122 \input{meta/Abstract} % This is your thesis abstract
126 %\include{meta/Acknowledgments} % This is who you thank
129 \pagenumbering{roman}
131 %---------------------------------------------------------
132 % Do the table of Contents and lists of figures and tables
133 %---------------------------------------------------------
135 {\small\tableofcontents}
141 \pagenumbering{arabic}
142 %---------------------------------------------------------
143 %---------------------------------------------------------
144 %Include the chapters!
146 \include{chapters/Introduction}
147 \include{chapters/Proposal}
148 \include{chapters/Background}
149 \include{chapters/Progress}
150 \include{chapters/Conclusion}
152 %---------------------------------------------------------
153 \renewcommand{\bibname}{References}
154 \bibliography{references/refs}
155 \bibliographystyle{unsrt}
156 \addcontentsline{toc}{part}{References}
157 %---------------------------------------------------------
161 %\include{appendices/achievements}
162 %\include{proposal/proposal.tex}
163 %\renewcommand\chaptername{Appendix}
165 %\include{appendices/electron_optics}
166 %\include{appendices/electron_gun_circuit}
167 %\include{appendices/tcs_noise}
168 %\include{appendices/data_aquisition}
171 %---------------------------------------------------------