1 \documentclass[a4paper,10pt,titlepage]{report}
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
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{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}
52 %\lstset{stringsyle=\color{red}}
53 %\lstset{showstringspaces=false}
54 %\lstset{basicstyle=\small}
56 % keeps text within our margins
57 %\sloppy
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}
67 \newcommand{\Phid}[0]{\dot{\Phi}}
68 \newcommand{\Phib}[0]{\bar{\Phi}}
70 \newcommand{\de}[0]{\delta}
71 \newcommand{\deb}[0]{\bar{\delta}}
73 \newcommand{\that}[0]{\hat{\theta}}
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
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
84 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
85 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
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
98 \pagestyle{fancy}
100 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
101 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
102 \ifthenelse{\boolean{@twoside}}
103 {
108 }{
111 }
112 \cfoot{}
114 %---------------------------------------------------------
115 %---------------------------------------------------------
116 \begin{document}
118 \include{meta/Titlepage}               % This is who you are
120 \input{meta/Abstract}          % This is your thesis abstract
122 %\newpage
124 %\include{meta/Acknowledgments}   % This is who you thank
127 \pagenumbering{roman}
128 \newpage
129 %---------------------------------------------------------
130 % Do the table of Contents and lists of figures and tables
131 %---------------------------------------------------------
133 {\small\tableofcontents}
134 \listoffigures
135 \markboth{}{}
137 \newpage
139 \pagenumbering{arabic}
140 %---------------------------------------------------------
141 %---------------------------------------------------------
142 %Include the chapters!
144 \include{chapters/Introduction}
145 \include{chapters/Proposal}
146 \include{chapters/Background}
147 \include{chapters/Progress}
148 \include{chapters/Conclusion}
149 %\newpage
150 %---------------------------------------------------------
151 \renewcommand{\bibname}{References}
152 \bibliography{references/refs}
153 \bibliographystyle{unsrt}
155 %---------------------------------------------------------
157 % Appendices
158 %\appendix
159 %\include{appendices/achievements}
160 %\include{proposal/proposal.tex}
161 %\renewcommand\chaptername{Appendix}
162 %\chapter{Appendix}
163 %\include{appendices/electron_optics}
164 %\include{appendices/electron_gun_circuit}
165 %\include{appendices/tcs_noise}
166 %\include{appendices/data_aquisition}
169 %---------------------------------------------------------
171 \end{document}

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