1 \documentclass[a4paper,10pt,titlepage]{report}
2 \usepackage[toc,page]{appendix}
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}{}
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}
55 %\lstset{stringsyle=\color{red}}
56 %\lstset{showstringspaces=false}
57 %\lstset{basicstyle=\small}
59 % keeps text within our margins
60 %\sloppy
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}
70 \newcommand{\Phid}[0]{\dot{\Phi}}
71 \newcommand{\Phib}[0]{\bar{\Phi}}
73 \newcommand{\de}[0]{\delta}
74 \newcommand{\deb}[0]{\bar{\delta}}
76 \newcommand{\that}[0]{\hat{\theta}}
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
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
88 \renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$}
89 \newcommand{\rephrase}[1]{ \textcolor{red}{#1}}
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
102 \pagestyle{fancy}
104 \renewcommand{\chaptermark}[1]{\markboth{\thechapter~~#1}{}}
105 \renewcommand{\sectionmark}[1]{\markright{\thesection~~#1}{}}
106 \ifthenelse{\boolean{@twoside}}
107 {
112 }{
115 }
116 \cfoot{}
117 \setlength{\pdfpxdimen}{1in/300} % Define resolution of PDF
119 \def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
120 \let\endchangemargin=\endlist
124 %---------------------------------------------------------
125 %---------------------------------------------------------
126 \begin{document}
128 \include{meta/Titlepage}               % This is who you are
130 \include{meta/Abstract}          % This is your thesis abstract
132 \include{meta/Letter}
134 \input{meta/Acknowledgements}
136 %\newpage
138 %\include{meta/Acknowledgments}   % This is who you thank
140 \pagenumbering{roman}
141 %\newpage
142 %---------------------------------------------------------
143 % Do the table of Contents and lists of figures and tables
144 %---------------------------------------------------------
146 \begingroup
147 \let\cleardoublepage\relax
148 \let\clearpage\relax
150 {\small\tableofcontents}
151 \vspace*{6\baselineskip} % sigh
152 {\small\listoffigures}
153 \markboth{}{}
154 \endgroup
156 \newpage
158 \pagenumbering{arabic}
159 %---------------------------------------------------------
160 %---------------------------------------------------------
161 %Include the chapters!
164 \input{chapters/Introduction}
166 \input{chapters/Background}
168 \input{chapters/Process}
170 \input{chapters/Results}
172 \input{chapters/Conclusion}
176 %--------------------------------------------
177 \renewcommand{\bibname}{References}
178 \bibliography{references/refs}
179 \bibliographystyle{unsrt}
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.
188 \input{chapters/Background/Standards}
189 \section{Compositing} \label{Compositing}
190 \input{chapters/Background/Rendering/Compositing}
191 \end{appendices}
192 %\end{comment}
194 \end{document}

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