X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fsam.git;a=blobdiff_plain;f=thesis.tex;h=28ca99b8fdb86d9ca06ba3896e010c6197c20253;hp=3acd1df8a388e768772121c0d2fb327ac529bc8c;hb=a1ede3cfc3ef650aa0f7d3d06e78c6c6ef4cb0cc;hpb=198adc71cff9a08993e465710d71a9880d4ab43c diff --git a/thesis.tex b/thesis.tex index 3acd1df..28ca99b 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,12 +1,13 @@ -\documentclass[a4paper,11pt,titlepage]{report} -\linespread{1.3} +\documentclass[a4paper,10pt,titlepage]{report} +\usepackage[toc,page]{appendix} +\linespread{1.2} \usepackage{setspace} \onehalfspacing \parskip 10pt % sets spacing between paragraphs %\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines %\parindent 0pt % sets leading space for paragraphs - - +\usepackage{mathrsfs} +%\usepackage{ulem} %\usepackage{natbib} \usepackage{makeidx} \usepackage{graphicx} @@ -19,11 +20,44 @@ \usepackage{amsmath, amsthm,amssymb} \usepackage{mathrsfs} \usepackage{hyperref} - \usepackage{epstopdf} \usepackage{float} - - +\usepackage{anyfontsize} +\usepackage{mdframed} +\usepackage[compact]{titlesec} +\usepackage[table]{xcolor} +\titlespacing{\chapter}{0pt}{-50pt}{0pt} +% spacing glue: how to read {12pt plus 4pt minus 2pt} +% 12pt is what we would like the spacing to be +% plus 4pt means that TeX can stretch it by at most 4pt +% minus 2pt means that TeX can shrink it by at most 2pt +\titlespacing\section{0pt}{0pt plus 0pt minus 14pt}{0pt plus 0pt minus 14pt} +\titleformat{\chapter} +{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{} + +%\usepackage[usenames,dvipsnames]{color} +\usepackage{minted} % For code snippets +\AtBeginEnvironment{minted}{\singlespacing% + \fontsize{7}{7}\selectfont} +\definecolor{pink}{rgb}{1.0,0.5,0.5} +\definecolor{darkgray}{rgb}{0.1,0.1,0.1} +\definecolor{lightgray}{rgb}{0.95,0.95,0.95} +\definecolor{gray}{rgb}{0.5,0.5,0.5} +\definecolor{darkred}{rgb}{0.75,0,0} +\definecolor{darkblue}{rgb}{0,0,0.35} +\definecolor{green}{rgb}{0,0.70,0} +\definecolor{black}{rgb}{0,0,0} +%\lstset{language=Java} +%\lstset{backgroundcolor=\color{darkgray}} +%\lstset{numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt} +%\lstset{keywordstyle=\color{darkred}\bfseries} +%\lstset{commentstyle=\color{darkblue}} +%\lstset{stringsyle=\color{red}} +%\lstset{showstringspaces=false} +%\lstset{basicstyle=\small} + +% keeps text within our margins +%\sloppy \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} @@ -42,6 +76,7 @@ \newcommand{\that}[0]{\hat{\theta}} \newcommand{\vect}[1]{\boldsymbol{#1}} % Draw a vector +\newcommand{\matx}[1]{\boldsymbol{#1}} % Matrix \newcommand{\divg}[1]{\nabla \cdot #1} % divergence \newcommand{\curl}[1]{\nabla \times #1} % curl \newcommand{\grad}[1]{\nabla #1} %gradient @@ -50,6 +85,8 @@ \newcommand{\phasor}[1]{\tilde{#1}} % make a phasor \newcommand{\laplacian}[1]{\nabla^2 {#1}} % The laplacian operator +\renewcommand{\url}[1]{$\langle$\href{#1}{\underline{\color{blue}{#1}}}$\rangle$} +\newcommand{\rephrase}[1]{ \textcolor{red}{#1}} %\usepackage{endfloat} %\nomarkersintext @@ -77,6 +114,12 @@ \rhead{\bfseries \thepage} } \cfoot{} +\setlength{\pdfpxdimen}{1in/300} % Define resolution of PDF + +\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} +\let\endchangemargin=\endlist + + %--------------------------------------------------------- %--------------------------------------------------------- @@ -84,21 +127,32 @@ \include{meta/Titlepage} % This is who you are -\newpage +\include{meta/Abstract} % This is your thesis abstract -\include{meta/Acknowledgments} % This is who you thank +\include{meta/Letter} -\newpage +\input{meta/Acknowledgements} -\include{meta/Abstract} % This is your thesis abstract +%\newpage + +%\include{meta/Acknowledgments} % This is who you thank \pagenumbering{roman} -\newpage +%\newpage %--------------------------------------------------------- % Do the table of Contents and lists of figures and tables %--------------------------------------------------------- -\tableofcontents + +\begingroup +\let\cleardoublepage\relax +\let\clearpage\relax +\linespread{0.3} +{\small\tableofcontents} +\vspace*{6\baselineskip} % sigh +{\small\listoffigures} \markboth{}{} +\endgroup +\linespread{1.5} \newpage \pagenumbering{arabic} @@ -106,38 +160,36 @@ %--------------------------------------------------------- %Include the chapters! -\include{chapters/Introduction} -\include{chapters/BackgroundHardware} -\include{chapters/BackgroundSoftware} +\input{chapters/Introduction} -\include{chapters/Approach} % This is chapter 2 -\include{chapters/Implementation} +\input{chapters/Background} -\include{chapters/Results} % etc. +\input{chapters/Process} -\include{chapters/Conclusion} -%\newpage -%--------------------------------------------------------- +\input{chapters/Results} + +\input{chapters/Conclusion} + + + +%-------------------------------------------- \renewcommand{\bibname}{References} \bibliography{references/refs} \bibliographystyle{unsrt} \addcontentsline{toc}{part}{References} -%--------------------------------------------------------- - -% Appendices -%\appendix -%\include{appendices/achievements} -%\include{proposal/proposal.tex} -%\renewcommand\chaptername{Appendix} -%\chapter{Appendix} -%\include{appendices/electron_optics} -%\include{appendices/electron_gun_circuit} -%\include{appendices/tcs_noise} -%\include{appendices/data_aquisition} - - -%--------------------------------------------------------- +%{\bf Note:} We have collated most of these references at \url{http://szmoore.net/ipdf/documents/references/} +\vspace*{6\baselineskip} % sigh +%\begin{comment} +\begin{appendices} +\chapter{An Overview of Document Standards} \label {An Overview of Document Standards} +Together with Section \ref{Precision Specified by Document Standards} this Appendix forms an overview of the well known standard document formats. + +\input{chapters/Background/Standards} +\section{Compositing} \label{Compositing} +\input{chapters/Background/Rendering/Compositing} +\end{appendices} +%\end{comment} \end{document}