summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/adfathesis/template.tex
blob: 80fbb3da6db32f4259274027405ca54434208e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
\documentclass[a4paper,12pt,openright,twoside]{adfathesis}
\usepackage{dcolumn}
\usepackage{graphicx}

%-----------------------------------------------------------------------
% Harvard citation style control.
%-----------------------------------------------------------------------
\citationstyle{agsm}
\renewcommand{\harvardand}{and}

%-----------------------------------------------------------------------
%  Setup Decimal column alignment (using dcolumn).
%-----------------------------------------------------------------------

\newcolumntype{d}[1]{D{.}{\cdot}{#1}}

%-----------------------------------------------------------------------
%  Control included chapters here
%-----------------------------------------------------------------------

\includeonly{chapter2}

\title{A fascinating thesis}
\authornameonly{Fred Nerk}
\author{\Authornameonly \\ B.Sc.}
\copyrightfalse                    % Set true to get copyright page.
\thesistype{Doctor of Philosophy}  % Default value.
\figurespagetrue                   % Set false to avoid list of figures.
\tablespagefalse                   % Set true to get list of tables.

\begin{document}

\beforepreface
% \declaration       % Declaration page.
\prefacesection{Abstract}
  This thesis tells you all you need to know about...
\prefaceseciton{Acknowledgements}
  I would like to thank...
\afterpreface

%-----------------------------------------------------------------------
% Begin thesis: use \include for each chapter as a separate file.
%-----------------------------------------------------------------------

% chapter 1
\include{chapter1} % Introduction

% chapter 2
\include{chapter2}

% chapter 3
\include{chapter3}

% chapter 6
\include{chapter6} % Conclusions

%-----------------------------------------------------------------------
% Appendices: use \appendix switch to change to appendices.
%-----------------------------------------------------------------------
\appendix


% First appendix
\include{appendix1}  % A long proof

% Second Appendix
\include{appendix2}


%-----------------------------------------------------------------------
% Bibliography: The clearpage is needed to get the page reference right.
%-----------------------------------------------------------------------
\clearpage
\addcontentsline{toc}{chapter}{References}
\bibliographystyle{adfathesis}
\bibliography{mybib}

\end{document}