Restructure chapters, delete a bunch of words, add more words, do some things, panic...
[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 \usepackage{mathrsfs}
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{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}
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{\matx}[1]{\boldsymbol{#1}} % Matrix
79 \newcommand{\divg}[1]{\nabla \cdot #1} % divergence
80 \newcommand{\curl}[1]{\nabla \times #1} % curl
81 \newcommand{\grad}[1]{\nabla #1} %gradient
82 \newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
83 \newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
84 \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
85 \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
86
87 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
88 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
89
90 %\usepackage{endfloat}
91 %\nomarkersintext
92 \pagestyle{plain}
93 \topmargin -0.6true in
94 \textwidth 15true cm
95 \textheight 9.5true in
96 \oddsidemargin 0.25true in
97 \evensidemargin 0.25true in
98 \headsep 0.4true in
99
100 \usepackage{fancyheadings}
101 \pagestyle{fancy}
102 \addtolength{\headheight}{2.5pt}
103 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
104 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
105 \ifthenelse{\boolean{@twoside}}
106 {
107         \rhead[\bfseries \rightmark]{\bfseries \thepage}
108         \lhead[\bfseries \leftmark]{\bfseries \thepage}
109         \addtolength{\headwidth}{\marginparsep}
110         \addtolength{\headwidth}{\marginparwidth}
111 }{
112         \lhead{\bfseries \leftmark}
113         \rhead{\bfseries \thepage}
114 }
115 \cfoot{}
116 \setlength{\pdfpxdimen}{1in/300} % Define resolution of PDF
117
118 \def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
119 \let\endchangemargin=\endlist 
120
121
122
123 %---------------------------------------------------------
124 %---------------------------------------------------------
125 \begin{document}
126
127 \include{meta/Titlepage}               % This is who you are
128
129 \input{meta/Abstract}          % This is your thesis abstract
130
131 %\newpage
132
133 %\include{meta/Acknowledgments}   % This is who you thank
134
135 \pagenumbering{roman}
136 %\newpage
137 %---------------------------------------------------------
138 % Do the table of Contents and lists of figures and tables
139 %---------------------------------------------------------
140
141 \begingroup
142 \let\cleardoublepage\relax
143 \let\clearpage\relax
144 \linespread{0.3}
145 {\small\tableofcontents}
146 \vspace*{6\baselineskip} % sigh
147 {\small\listoffigures}
148 \markboth{}{}
149 \endgroup
150 \linespread{1.5}
151 \newpage
152
153 \pagenumbering{arabic}
154 %---------------------------------------------------------
155 %---------------------------------------------------------
156 %Include the chapters!
157
158
159 \input{chapters/Introduction}
160
161 \input{chapters/Background}
162
163 \input{chapters/Process}
164
165 \input{chapters/Results}
166
167 \input{chapters/Conclusion}
168
169 %--------------------------------------------
170 \renewcommand{\bibname}{References}
171 \bibliography{references/refs}
172 \bibliographystyle{unsrt}  
173 \addcontentsline{toc}{part}{References}
174 {\bf Note:} We have collated most of these references at \url{http://szmoore.net/ipdf/documents/references/}
175 \vspace*{6\baselineskip} % sigh
176
177
178 \end{document}
179

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