forked from mcmanigle/OxThesis
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Project.tex
154 lines (109 loc) · 5.82 KB
/
Project.tex
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
% OxCSProject
% Originally by Keith A. Gillow ([email protected]), 1997
% Modified by Sam Evans ([email protected]), 2007
% Modified by John McManigle ([email protected]), 2015
% Adapted by Ned Stevenson ([email protected]), 2024
%
% This version Copyright (c) 2024 Ned Stevenson
%
% Broad permissions are granted to use, modify, and distribute this software
% as specified in the MIT License included in this distribution's LICENSE file.
% TODO - The noIndentBlock terminates on a .cls but not on a .tex
% I've (John) tried to comment this file extensively, so read through it to see how to use the
% various options. Remember that in LaTeX, any line starting with a % is NOT executed. Several
% places below, you have a choice of which line to use out of multiple options (eg draft vs final,
% for PDF vs for binding, etc.) When you pick one, add a % to the beginning of the lines you don't
% want.
% I (Ned) found John's comments extremely helpful. You likely will too, and I've tried to similarly
% explain my additions to this template. However converting to the version you have before you was
% quite a change, so some of John's comments may not make sense to you. In that case, you're
% welcome to raise an issue on the GitHub or, better yet, come up with a better explanation and
% make a pull request to help all those that come after you, as I aim to do here.
% NS - Should you need to render for a different paper size (e.g., letter), you can change it here.
% You should also add the "final" option to render your project ready for submission.
\documentclass[a4paper, final]{oxcsproject}
% %%%% BIBLIOGRAPHY SETUP
% The science-type option: numerical in-text citation with references in order of appearance.
\usepackage[style=ieee, sorting=none, backend=biber, doi=false, isbn=false]{biblatex}
\newcommand*{\bibtitle}{References}
% This makes the bibliography left-aligned (not 'justified') and slightly smaller font.
\renewcommand*{\bibfont}{\raggedright\small}
% Change this to the name of your .bib file (usually exported from a citation manager like Zotero
% or EndNote).
\addbibresource{references.bib}
% Uncomment this if you want equation numbers per subsection (2.3.12), instead of per section
% (2.18): \numberwithin{equation}{subsection}
% %%%% TITLE PAGE INFORMATION Project title
\title{Project on a topic in Computer Science}
% The same candidate number as for your exams. You can find it in the student self service.
\candidateno{0000000}
\wordcount{0000}
% NS - What section you're submitting for. Part B for 3rd year, Part C for master's year.
\degree{Part B - MCompSci Computer Science}
% Term and year of submission
\degreedate{Trinity 2024}
% %%%% USEFUL PACKAGES These are some useful packages that are not critical to using this template,
% but some that you may find helpful to look into. Many are demonstrated in this document, but you
% should look into their other features as you go.
% % Load the glossary terms that you've defined in glossary.tex
\input{glossary}
% NS - Allows you to use .svg vector images for your figures, as you should aim to do
\usepackage{svg}
% Useful for consistently formatting numbers with units (e.g., 512 kB, 20 ms, 330 mV, etc.)
\usepackage{siunitx}
% %%%% YOUR PACKAGES This is a good place for you to load and configure any extra packages you're
% using.
% \usepackage{myreallycoolpackage}
% %%%% YOUR OWN PERSONAL MACROS This is a good place to dump your own LaTeX macros as they come up.
% \newcommand{\mycommand}{Hello World!}
% %%%% THE ACTUAL DOCUMENT STARTS HERE
\begin{document}
% JEM: Pages are roman numbered from here, though page numbers are invisible until ToC. This is in
% keeping with most typesetting conventions.
\begin{romanpages}
% JEM: By default, this template uses the traditional Oxford "Belt Crest". Un-comment the
% following line to use the newer, "Blue Square" logo:
% \renewcommand{\crest}{{\includegraphics[width=4.2cm, height=4.2cm]{figures/newlogo.pdf}}}
% Title page is created here
% NS - Remember that your title page doesn't count towards your word count
\maketitle
% %%%% ACKNOWLEDGEMENTS -- Nothing to do here except comment out if you don't want it.
% NS - Similarly, your acknowledgements don't count for your word count
\begin{acknowledgements}
\input{text/acknowledgements}
\end{acknowledgements}
% %%%% ABSTRACT -- Nothing to do here except comment out if you don't want it.
\begin{abstract}
\input{text/abstract}
\end{abstract}
% This aligns the bottom of the text of each page. It generally makes things look better.
\flushbottom
% NS - Prints out an easy to navigate list of the todos you've left in your document
\listoftodos
% This is where the whole-document ToC appears: NS - Again, your table of contents isn't
% included in your word count
\tableofcontents
% %%%% LIST OF ABBREVIATIONS
% NS - Prints out a list of the acronyms that you've defined in glossary.tex. Just comment it
% out if you don't want to list the acronyms. You can still use the inline declarations.
\printglossary[type=\acronymtype]
% The Roman pages, like the Roman Empire, must come to its inevitable close.
\end{romanpages}
% %%%% SECTIONS Add or remove any sections you'd like here, by file name (excluding '.tex'):
\flushbottom
\include{text/sec1-introduction}
\include{text/sec2-install}
\include{text/sec3-background}
\include{text/sec4-usage}
\include{text/sec5-other-tools}
\include{text/sec6-future-work}
% % APPENDICES %% Starts lettered appendices, adds a heading in table of contents, and adds a page
% that just says "Appendices" to signal the end of your main text.
\startappendices
% Add or remove any appendices you'd like here:
\include{text/appendix-1}
% %%%% REFERENCES
\setlength{\baselineskip}{0pt} % JEM: Single-space References
{\renewcommand*\MakeUppercase[1]{#1}
\printbibliography[heading=bibintoc,title={\bibtitle}]}
\end{document}