Webby DOM stuff
[ipdf/sam.git] / thesis.tex
1 \documentclass[a4paper,10pt,titlepage]{report}
2 \linespread{1.3}
3 \usepackage{setspace}
4 \onehalfspacing 
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
8
9 \usepackage{ulem}
10 %\usepackage{natbib}
11 \usepackage{makeidx}
12 \usepackage{graphicx}
13 \usepackage{caption}
14 %\usepackage{subfigure}
15 \usepackage{rotating}
16 %\usepackage{lscape}
17 \usepackage{pdflscape} % Needed for landscaping - in pdf viewer
18 \usepackage{verbatim}
19 \usepackage{amsmath, amsthm,amssymb}
20 \usepackage{mathrsfs}
21 \usepackage{hyperref}
22 \usepackage{epstopdf}
23 \usepackage{float}
24 \usepackage{anyfontsize}
25 \usepackage{mdframed}
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}{}
36
37 %\usepackage[usenames,dvipsnames]{color}
38 \usepackage{minted} % For code snippets
39 \AtBeginEnvironment{minted}{\singlespacing%
40     \fontsize{8}{8}\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}
57
58 % keeps text within our margins
59 %\sloppy
60
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}
68
69 \newcommand{\Phid}[0]{\dot{\Phi}}
70 \newcommand{\Phib}[0]{\bar{\Phi}}
71
72 \newcommand{\de}[0]{\delta}
73 \newcommand{\deb}[0]{\bar{\delta}}
74
75 \newcommand{\that}[0]{\hat{\theta}}
76
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
85
86 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
87 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
88
89 %\usepackage{endfloat}
90 %\nomarkersintext
91 \pagestyle{plain}
92 \topmargin -0.6true in
93 \textwidth 15true cm
94 \textheight 9.5true in
95 \oddsidemargin 0.25true in
96 \evensidemargin 0.25true in
97 \headsep 0.4true in
98
99 \usepackage{fancyheadings}
100 \pagestyle{fancy}
101 \addtolength{\headheight}{2.5pt}
102 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
103 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
104 \ifthenelse{\boolean{@twoside}}
105 {
106         \rhead[\bfseries \rightmark]{\bfseries \thepage}
107         \lhead[\bfseries \leftmark]{\bfseries \thepage}
108         \addtolength{\headwidth}{\marginparsep}
109         \addtolength{\headwidth}{\marginparwidth}
110 }{
111         \lhead{\bfseries \leftmark}
112         \rhead{\bfseries \thepage}
113 }
114 \cfoot{}
115
116 %---------------------------------------------------------
117 %---------------------------------------------------------
118 \begin{document}
119
120 \include{meta/Titlepage}               % This is who you are
121
122 \input{meta/Abstract}          % This is your thesis abstract
123
124 %\newpage
125
126 %\include{meta/Acknowledgments}   % This is who you thank
127
128
129 \pagenumbering{roman}
130 \newpage
131 %---------------------------------------------------------
132 % Do the table of Contents and lists of figures and tables
133 %---------------------------------------------------------
134 \linespread{0.3}
135 {\small\tableofcontents}
136 \listoffigures
137 \markboth{}{}
138 \linespread{1.5}
139 \newpage
140
141 \pagenumbering{arabic}
142 %---------------------------------------------------------
143 %---------------------------------------------------------
144 %Include the chapters!
145
146 \include{chapters/Introduction}
147 \include{chapters/Proposal}
148 \include{chapters/Background}
149 \include{chapters/Progress}
150 \include{chapters/Conclusion}
151 %\newpage
152 %---------------------------------------------------------
153 \renewcommand{\bibname}{References}
154 \bibliography{references/refs}
155 \bibliographystyle{unsrt}  
156 \addcontentsline{toc}{part}{References}
157 %---------------------------------------------------------
158
159 % Appendices
160 %\appendix
161 %\include{appendices/achievements}
162 %\include{proposal/proposal.tex}
163 %\renewcommand\chaptername{Appendix}
164 %\chapter{Appendix} 
165 %\include{appendices/electron_optics}
166 %\include{appendices/electron_gun_circuit}
167 %\include{appendices/tcs_noise}
168 %\include{appendices/data_aquisition}
169
170
171 %---------------------------------------------------------
172
173 \end{document}
174

UCC git Repository :: git.ucc.asn.au