Commit things
[ipdf/sam.git] / thesis.tex
index f076999..b3e6dee 100644 (file)
@@ -1,12 +1,12 @@
-\documentclass[a4paper,11pt,titlepage]{report}
-\linespread{1.3}
+\documentclass[a4paper,10pt,titlepage]{report}
+\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}
 \usepackage{mdframed}
 \usepackage[compact]{titlesec}
 \usepackage[table]{xcolor}
-%\titlespacing{\chapter}{0pt}{-50pt}{0pt}
+\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}{}
+\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{listings} % For code snippets
+\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}
@@ -73,6 +75,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
         \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 
+
+
 
 %---------------------------------------------------------
 %---------------------------------------------------------
 
 \include{meta/Titlepage}               % This is who you are
 
-\newpage
+\input{meta/Abstract}          % This is your thesis abstract
 
-\include{meta/Acknowledgments}   % This is who you thank
-
-\newpage
+%\newpage
 
-\include{meta/Abstract}          % This is your thesis abstract
+%\include{meta/Acknowledgments}   % This is who you thank
 
 \pagenumbering{roman}
-\newpage
+%\newpage
 %---------------------------------------------------------
 % Do the table of Contents and lists of figures and tables
 %---------------------------------------------------------
+
+\begingroup
+\let\cleardoublepage\relax
+\let\clearpage\relax
 \linespread{0.3}
-% Do we need these for a fresher guide?
 {\small\tableofcontents}
-%\listoffigures
+\vspace*{6\baselineskip} % sigh
+{\small\listoffigures}
 \markboth{}{}
+\endgroup
 \linespread{1.5}
 \newpage
 
 %---------------------------------------------------------
 %Include the chapters!
 
-\include{chapters/Introduction}
-\include{chapters/Background}
-\include{chapters/Progress}
-\include{chapters/Conclusion}
-%\newpage
-%---------------------------------------------------------
+
+\input{chapters/Introduction}
+
+\input{chapters/Background}
+
+\input{chapters/Process}
+
+\input{chapters/Results}
+
+\input{chapters/Conclusion}
+
+%--------------------------------------------
 \renewcommand{\bibname}{References}
 \bibliography{references/refs}
 \bibliographystyle{unsrt}  
 \addcontentsline{toc}{part}{References}
-%---------------------------------------------------------
+{\bf Note:} We have collated most of these references at \url{http://szmoore.net/ipdf/documents/references/}
+\vspace*{6\baselineskip} % sigh
 
-% 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}
-
-
-%---------------------------------------------------------
 
 \end{document}
 

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