Debian Codegraph @

texmf-dist/doc/latex/adfathesis/template.tex

raw
1 \documentclass[a4paper,12pt,openright,twoside]{adfathesis}
2 \usepackage{dcolumn}
3 \usepackage{graphicx}
4
5 %-----------------------------------------------------------------------
6 % Harvard citation style control.
7 %-----------------------------------------------------------------------
8 \citationstyle{agsm}
9 \renewcommand{\harvardand}{and}
10
11 %-----------------------------------------------------------------------
12 % Setup Decimal column alignment (using dcolumn).
13 %-----------------------------------------------------------------------
14
15 \newcolumntype{d}[1]{D{.}{\cdot}{#1}}
16
17 %-----------------------------------------------------------------------
18 % Control included chapters here
19 %-----------------------------------------------------------------------
20
21 \includeonly{chapter2}
22
23 \title{A fascinating thesis}
24 \authornameonly{Fred Nerk}
25 \author{\Authornameonly \\ B.Sc.}
26 \copyrightfalse % Set true to get copyright page.
27 \thesistype{Doctor of Philosophy} % Default value.
28 \figurespagetrue % Set false to avoid list of figures.
29 \tablespagefalse % Set true to get list of tables.
30
31 \begin{document}
32
33 \beforepreface
34 % \declaration % Declaration page.
35 \prefacesection{Abstract}
36 This thesis tells you all you need to know about...
37 \prefaceseciton{Acknowledgements}
38 I would like to thank...
39 \afterpreface
40
41 %-----------------------------------------------------------------------
42 % Begin thesis: use \include for each chapter as a separate file.
43 %-----------------------------------------------------------------------
44
45 % chapter 1
46 \include{chapter1} % Introduction
47
48 % chapter 2
49 \include{chapter2}
50
51 % chapter 3
52 \include{chapter3}
53
54 % chapter 6
55 \include{chapter6} % Conclusions
56
57 %-----------------------------------------------------------------------
58 % Appendices: use \appendix switch to change to appendices.
59 %-----------------------------------------------------------------------
60 \appendix
61
62
63 % First appendix
64 \include{appendix1} % A long proof
65
66 % Second Appendix
67 \include{appendix2}
68
69
70 %-----------------------------------------------------------------------
71 % Bibliography: The clearpage is needed to get the page reference right.
72 %-----------------------------------------------------------------------
73 \clearpage
74 \addcontentsline{toc}{chapter}{References}
75 \bibliographystyle{adfathesis}
76 \bibliography{mybib}
77
78 \end{document}