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}{}
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
59 %\sloppy
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}
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
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{}
116 %---------------------------------------------------------
117 %---------------------------------------------------------
118 \begin{document}
120 \include{meta/Titlepage}               % This is who you are
122 \input{meta/Abstract}          % This is your thesis abstract
124 %\newpage
126 %\include{meta/Acknowledgments}   % This is who you thank
129 \pagenumbering{roman}
130 %\newpage
131 %---------------------------------------------------------
132 % Do the table of Contents and lists of figures and tables
133 %---------------------------------------------------------
135 \begingroup
136 \let\cleardoublepage\relax
137 \let\clearpage\relax
138 \linespread{0.3}
139 {\small\tableofcontents}
140 \vspace*{6\baselineskip} % sigh
141 {\small\listoffigures}
142 \markboth{}{}
143 \endgroup
144 \linespread{1.5}
145 \newpage
147 \pagenumbering{arabic}
148 %---------------------------------------------------------
149 %---------------------------------------------------------
150 %Include the chapters!
152 \include{chapters/Introduction}
153 \include{chapters/Proposal}
154 \include{chapters/Background}
155 \include{chapters/Progress}
156 %\include{chapters/Conclusion}
157 %\newpage
158 %---------------------------------------------------------
159 \renewcommand{\bibname}{References}
160 \bibliography{references/refs}
161 \bibliographystyle{unsrt}
162 \addcontentsline{toc}{part}{References}
163 {\bf Note:} We have collated most of these references at \url{http://szmoore.net/ipdf/documents/references/}
164 \vspace*{6\baselineskip} % sigh
166 \begin{figure}[H]
167         \centering
168         \includegraphics[width=0.5\textwidth]{figures/rabbit_simple.pdf}
169 \end{figure}
171 %---------------------------------------------------------
173 % Appendices
174 %\appendix
175 %\include{appendices/achievements}
176 %\include{proposal/proposal.tex}
177 %\renewcommand\chaptername{Appendix}
178 %\chapter{Appendix}
179 %\include{appendices/electron_optics}
180 %\include{appendices/electron_gun_circuit}
181 %\include{appendices/tcs_noise}
182 %\include{appendices/data_aquisition}
185 %---------------------------------------------------------
187 \end{document}

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