Penultimate draft
[ipdf/sam.git] / thesis.tex
1 \documentclass[a4paper,10pt,titlepage]{report}
2 \usepackage[toc,page]{appendix}
3 \linespread{1.2}
4 \usepackage{setspace}
5 \onehalfspacing 
6  \parskip 10pt           % sets spacing between paragraphs
7  %\renewcommand{\baselinestretch}{1.5}  % Uncomment for 1.5 spacing between lines
8  %\parindent 0pt                  % sets leading space for paragraphs
9 \usepackage{mathrsfs}
10 %\usepackage{ulem}
11 %\usepackage{natbib}
12 \usepackage{makeidx}
13 \usepackage{graphicx}
14 \usepackage{caption}
15 %\usepackage{subfigure}
16 \usepackage{rotating}
17 %\usepackage{lscape}
18 \usepackage{pdflscape} % Needed for landscaping - in pdf viewer
19 \usepackage{verbatim}
20 \usepackage{amsmath, amsthm,amssymb}
21 \usepackage{mathrsfs}
22 \usepackage{hyperref}
23 \usepackage{epstopdf}
24 \usepackage{float}
25 \usepackage{anyfontsize}
26 \usepackage{mdframed}
27 \usepackage[compact]{titlesec}
28 \usepackage[table]{xcolor}
29 \titlespacing{\chapter}{0pt}{-50pt}{0pt}
30 % spacing glue: how to read {12pt plus 4pt minus 2pt}
31 %           12pt is what we would like the spacing to be
32 %           plus 4pt means that TeX can stretch it by at most 4pt
33 %           minus 2pt means that TeX can shrink it by at most 2pt
34 \titlespacing\section{0pt}{0pt plus 0pt minus 14pt}{0pt plus 0pt minus 14pt}
35 \titleformat{\chapter}
36 {\normalfont\LARGE\bfseries}{\thechapter.}{1em}{}
37
38 %\usepackage[usenames,dvipsnames]{color}
39 \usepackage{minted} % For code snippets
40 \AtBeginEnvironment{minted}{\singlespacing%
41     \fontsize{7}{7}\selectfont}
42 \definecolor{pink}{rgb}{1.0,0.5,0.5}
43 \definecolor{darkgray}{rgb}{0.1,0.1,0.1}
44 \definecolor{lightgray}{rgb}{0.95,0.95,0.95}
45 \definecolor{gray}{rgb}{0.5,0.5,0.5}
46 \definecolor{darkred}{rgb}{0.75,0,0}
47 \definecolor{darkblue}{rgb}{0,0,0.35}
48 \definecolor{green}{rgb}{0,0.70,0}
49 \definecolor{black}{rgb}{0,0,0}
50 %\lstset{language=Java}
51 %\lstset{backgroundcolor=\color{darkgray}}
52 %\lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt}
53 %\lstset{keywordstyle=\color{darkred}\bfseries}
54 %\lstset{commentstyle=\color{darkblue}}
55 %\lstset{stringsyle=\color{red}}
56 %\lstset{showstringspaces=false}
57 %\lstset{basicstyle=\small}
58
59 % keeps text within our margins
60 %\sloppy
61
62 \newtheorem{theorem}{Theorem}[section]
63 \newtheorem{lemma}[theorem]{Lemma}
64 \theoremstyle{definition}\newtheorem{definition}[theorem]{Definition}
65 \newtheorem{proposition}[theorem]{Proposition}
66 \newtheorem{corollary}[theorem]{Corollary}
67 \newtheorem{example}{Example}
68 \theoremstyle{remark}\newtheorem*{remark}{Remark}
69
70 \newcommand{\Phid}[0]{\dot{\Phi}}
71 \newcommand{\Phib}[0]{\bar{\Phi}}
72
73 \newcommand{\de}[0]{\delta}
74 \newcommand{\deb}[0]{\bar{\delta}}
75
76 \newcommand{\that}[0]{\hat{\theta}}
77
78 \newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector
79 \newcommand{\matx}[1]{\boldsymbol{#1}} % Matrix
80 \newcommand{\divg}[1]{\nabla \cdot #1} % divergence
81 \newcommand{\curl}[1]{\nabla \times #1} % curl
82 \newcommand{\grad}[1]{\nabla #1} %gradient
83 \newcommand{\pd}[3][ ]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} %partial derivative
84 \newcommand{\der}[3][ ]{\frac{d^{#1} #2}{d #3^{#1}}} %full derivative
85 \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor
86 \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator
87
88 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
89 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
90
91 %\usepackage{endfloat}
92 %\nomarkersintext
93 \pagestyle{plain}
94 \topmargin -0.6true in
95 \textwidth 15true cm
96 \textheight 9.5true in
97 \oddsidemargin 0.25true in
98 \evensidemargin 0.25true in
99 \headsep 0.4true in
100
101 \usepackage{fancyheadings}
102 \pagestyle{fancy}
103 \addtolength{\headheight}{2.5pt}
104 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
105 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
106 \ifthenelse{\boolean{@twoside}}
107 {
108         \rhead[\bfseries \rightmark]{\bfseries \thepage}
109         \lhead[\bfseries \leftmark]{\bfseries \thepage}
110         \addtolength{\headwidth}{\marginparsep}
111         \addtolength{\headwidth}{\marginparwidth}
112 }{
113         \lhead{\bfseries \leftmark}
114         \rhead{\bfseries \thepage}
115 }
116 \cfoot{}
117 \setlength{\pdfpxdimen}{1in/300} % Define resolution of PDF
118
119 \def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
120 \let\endchangemargin=\endlist 
121
122
123
124 %---------------------------------------------------------
125 %---------------------------------------------------------
126 \begin{document}
127
128 \include{meta/Titlepage}               % This is who you are
129
130 \include{meta/Abstract}          % This is your thesis abstract
131
132 \include{meta/Letter}
133
134 \input{meta/Acknowledgements}
135
136 %\newpage
137
138 %\include{meta/Acknowledgments}   % This is who you thank
139
140 \pagenumbering{roman}
141 %\newpage
142 %---------------------------------------------------------
143 % Do the table of Contents and lists of figures and tables
144 %---------------------------------------------------------
145
146 \begingroup
147 \let\cleardoublepage\relax
148 \let\clearpage\relax
149 \linespread{0.3}
150 {\small\tableofcontents}
151 \vspace*{6\baselineskip} % sigh
152 {\small\listoffigures}
153 \markboth{}{}
154 \endgroup
155 \linespread{1.5}
156 \newpage
157
158 \pagenumbering{arabic}
159 %---------------------------------------------------------
160 %---------------------------------------------------------
161 %Include the chapters!
162
163
164 \input{chapters/Introduction}
165
166 \input{chapters/Background}
167
168 \input{chapters/Process}
169
170 \input{chapters/Results}
171
172 \input{chapters/Conclusion}
173
174
175
176 %--------------------------------------------
177 \renewcommand{\bibname}{References}
178 \bibliography{references/refs}
179 \bibliographystyle{unsrt}  
180 \addcontentsline{toc}{part}{References}
181 %{\bf Note:} We have collated most of these references at \url{http://szmoore.net/ipdf/documents/references/}
182 \vspace*{6\baselineskip} % sigh
183 %\begin{comment}
184 \begin{appendices}
185 \chapter{An Overview of Document Standards} \label {An Overview of Document Standards}
186 Together with Section \ref{Precision Specified by Document Standards} this Appendix forms an overview of the well known standard document formats.
187
188 \input{chapters/Background/Standards}
189 \section{Compositing} \label{Compositing}
190 \input{chapters/Background/Rendering/Compositing}
191 \end{appendices}
192 %\end{comment}
193
194 \end{document}
195

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