Fix page input
[ipdf/sam.git] / thesis.tex
1 \documentclass[a4paper,11pt,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
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{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}
55
56 % keeps text within our margins
57 %\sloppy
58
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}
66
67 \newcommand{\Phid}[0]{\dot{\Phi}}
68 \newcommand{\Phib}[0]{\bar{\Phi}}
69
70 \newcommand{\de}[0]{\delta}
71 \newcommand{\deb}[0]{\bar{\delta}}
72
73 \newcommand{\that}[0]{\hat{\theta}}
74
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
83
84 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
85 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
86
87 %\usepackage{endfloat}
88 %\nomarkersintext
89 \pagestyle{plain}
90 \topmargin -0.6true in
91 \textwidth 15true cm
92 \textheight 9.5true in
93 \oddsidemargin 0.25true in
94 \evensidemargin 0.25true in
95 \headsep 0.4true in
96
97 \usepackage{fancyheadings}
98 \pagestyle{fancy}
99 \addtolength{\headheight}{2.5pt}
100 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
101 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
102 \ifthenelse{\boolean{@twoside}}
103 {
104         \rhead[\bfseries \rightmark]{\bfseries \thepage}
105         \lhead[\bfseries \leftmark]{\bfseries \thepage}
106         \addtolength{\headwidth}{\marginparsep}
107         \addtolength{\headwidth}{\marginparwidth}
108 }{
109         \lhead{\bfseries \leftmark}
110         \rhead{\bfseries \thepage}
111 }
112 \cfoot{}
113
114 %---------------------------------------------------------
115 %---------------------------------------------------------
116 \begin{document}
117
118 \include{meta/Titlepage}               % This is who you are
119
120 \newpage
121
122 \include{meta/Acknowledgments}   % This is who you thank
123
124 \newpage
125
126 \include{meta/Abstract}          % This is your thesis abstract
127
128 \pagenumbering{roman}
129 \newpage
130 %---------------------------------------------------------
131 % Do the table of Contents and lists of figures and tables
132 %---------------------------------------------------------
133 \linespread{0.3}
134 % Do we need these for a fresher guide?
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/Background}
148 \include{chapters/Progress}
149 \include{chapters/Conclusion}
150 %\newpage
151 %---------------------------------------------------------
152 \renewcommand{\bibname}{References}
153 \bibliography{references/refs}
154 \bibliographystyle{unsrt}  
155 \addcontentsline{toc}{part}{References}
156 %---------------------------------------------------------
157
158 % Appendices
159 %\appendix
160 %\include{appendices/achievements}
161 %\include{proposal/proposal.tex}
162 %\renewcommand\chaptername{Appendix}
163 %\chapter{Appendix} 
164 %\include{appendices/electron_optics}
165 %\include{appendices/electron_gun_circuit}
166 %\include{appendices/tcs_noise}
167 %\include{appendices/data_aquisition}
168
169
170 %---------------------------------------------------------
171
172 \end{document}
173

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