| 1 |
Bangor University Computer Science Department Thesis Document Class |
| 2 |
|
| 3 |
Cameron Gray <[email protected]> May 7, 2025 |
| 4 |
|
| 5 |
Abstract |
| 6 |
|
| 7 |
Starting with the 2014/15 academic year, the Computer Science department at |
| 8 |
Bangor University have standardised the appearance, layout and formatting of all |
| 9 |
thesis/dissertation documents for all levels (undergraduate and postgraduate). |
| 10 |
This package (containing a LATEX document class) is the embodiment of that |
| 11 |
standard. It includes all of the elements of a thesis, and supports a limited |
| 12 |
number of customisation options that individual students may choose (or their |
| 13 |
supervisors may insist upon). It also makes the process of creating a thesis |
| 14 |
very much simpler with the inclusion of several macros (LATEX commands) that |
| 15 |
streamline the process. |
| 16 |
|
| 17 |
1 Usage - Class Options |
| 18 |
|
| 19 |
The document class is activated (or loaded) using the usual LATEX command |
| 20 |
\documentclass{bangorcsthesis}. The class requires at least one of the following |
| 21 |
options to be specified, these dictate what type of thesis the document forms; |
| 22 |
|
| 23 |
[⟨phd⟩] - Doctor of Philosophy / Doctorate |
| 24 |
[(pgcert⟩] - Postgraduate Certificate |
| 25 |
[⟨mphil⟩] - Master of Philosophy |
| 26 |
[(mscres⟩] - Master of Science by Research |
| 27 |
[⟨mres⟩] - Master of Research |
| 28 |
[(msc⟩] - Master of Science (Taught courses) |
| 29 |
[(ba⟩] - [⟨Bachelor of Arts (Undergraduate courses) |
| 30 |
[(bsc⟩] - Bachelor of Science (Undergraduate courses) |
| 31 |
[(beng)] - Bachelor of Engineering (Undergraduate course) |
| 32 |
[(meng)] - Master of Engineering (Integrated masters) |
| 33 |
|
| 34 |
For example; an undergraduate dissertation for a Computer Science degree (a |
| 35 |
B.Sc. course) would start with a document class definition as follows:- |
| 36 |
\documentclass[bsc]{bangorcsthesis}. |
| 37 |
|
| 38 |
There are also the following entirely optional modifiers that student’s can |
| 39 |
elect to use; |
| 40 |
|
| 41 |
[⟨noindent⟩] - Suppress indentation of first lines of paragraphs. |
| 42 |
[⟨nohyphen⟩] - Attempt (as far as possible) to prevent LATEX hyphenating words |
| 43 |
at the ends of lines in the output. |
| 44 |
[⟨draft⟩] - Mark the document as draft, this includes adding a watermark to all |
| 45 |
pages. This is highly recommended until the document is final. |
| 46 |
[⟨serif⟩] - Convert the thesis to use serif fonts for the main body text. |
| 47 |
[⟨twoside⟩] - Make the output ‘two-sided’, much like a book. This may only be |
| 48 |
required for the final copy to be deposited in certain libraries. |
| 49 |
[(serifheadings)] - Convert the thesis to use serif fornts for the headings. |
| 50 |
[(nocentredcaptions)] - Make all captions left-aligned, including one line |
| 51 |
captions. |
| 52 |
w |
| 53 |
2 Usage - Preamble Macros |
| 54 |
|
| 55 |
The class includes several macros that must be used in the preamble, the portion |
| 56 |
of the document before \begin{document}. These set several important parameters |
| 57 |
such as the degree scheme, supervisors and author details. |
| 58 |
|
| 59 |
\title{⟨title⟩} |
| 60 |
|
| 61 |
The title of the thesis/dissertation. This macro is not provided by this class |
| 62 |
but is required in the preamble. |
| 63 |
|
| 64 |
\author{⟨author⟩} |
| 65 |
|
| 66 |
The author of the document. Not provided by this class, but required in the |
| 67 |
preamble. It is recommended that the author name is specified as First M.I. |
| 68 |
Last. |
| 69 |
|
| 70 |
\date{⟨date⟩} |
| 71 |
|
| 72 |
The date of the document. It is recommended that the date argument is set to the |
| 73 |
month and year of submission of the thesis in full, e.g. May, 2014. This macro |
| 74 |
is not provided by this class but is required in the preamble. |
| 75 |
|
| 76 |
\degreeScheme{⟨scheme name⟩} |
| 77 |
|
| 78 |
This macro must be used to set the title of the student’s overall degree scheme. |
| 79 |
It has a single parameter, the name will be reproduced (verbatim) on the |
| 80 |
title/cover page of the thesis. Use of this macro is required. |
| 81 |
|
| 82 |
\supervisor{⟨name⟩} |
| 83 |
|
| 84 |
The \supervisor macro adds a named supervisor to the student’s thesis. (In |
| 85 |
theory) an unlimited number of these commands can be used, although LATEX has |
| 86 |
internal memory limits. When there is more than one supervisor defined, the |
| 87 |
title/cover page changes to accommodate them appropriately. At least one |
| 88 |
supervisor must be included. |
| 89 |
|
| 90 |
\bibliographySetup [compressed] |
| 91 |
|
| 92 |
This macro configures BibLaTeX, the successor to BibTeX, to departmental |
| 93 |
standards. The Computer Science department have standardised on IEEE |
| 94 |
referencing, using Name, Year, Title ordering. This means that the first |
| 95 |
citation to appear may not be numbered [1] in the thesis. Use of this macro is |
| 96 |
required. If the |compressed| option is set the bibliography style will be |
| 97 |
altered to produce one set of brackets for multiple citations in one command. |
| 98 |
Please note, this violates the IEEE style guide. |
| 99 |
|
| 100 |
\addbibresource {⟨name.bib⟩} |
| 101 |
|
| 102 |
The \addbibresource macro is not provided by this package, but is required in |
| 103 |
the preamble. The parameter is the name of the BibLaTeX/BibTeX database that |
| 104 |
should be processed for the document. |
| 105 |
|
| 106 |
3 Usage - Other Items |
| 107 |
|
| 108 |
\acknowledgements [⟨quote text⟩] [⟨person quoted⟩] {⟨acknowledgements⟩} |
| 109 |
|
| 110 |
The \acknowledgements macro creates the standard acknowledgments page for the |
| 111 |
front of the thesis. Use of this macro is optional although highly recommended |
| 112 |
as there is usually someone to thank for contributing to your work (including |
| 113 |
your supervisor). You can optionally include an inspirational and/or funny quote |
| 114 |
for the top of the page. If you do not wish to include the quote, simply omit |
| 115 |
the optional arguments. |
| 116 |
|
| 117 |
\statements [(signature image filename)] |
| 118 |
|
| 119 |
This macro creates the required statements page for the front matter of a |
| 120 |
thesis. This must be included, failure to do so can result in the thesis being |
| 121 |
rejected as it cannot be accepted into the University library or other |
| 122 |
depositories. If the signature image filename parameter is included, this image |
| 123 |
is included instead of a white space for you to sign manually. |
| 124 |
|
| 125 |
\tables |
| 126 |
|
| 127 |
The \tables macro creates the appropriate tables (of contents, of figures and of |
| 128 |
tables) for the front matter of the thesis. Tables of figures and tables of |
| 129 |
tables are only included when figures and tables are included in the document |
| 130 |
text respectively. If the thesis includes other items (for example code |
| 131 |
listings), you are responsible for including tables of these items yourself |
| 132 |
after the use of this macro. |
| 133 |
|
| 134 |
\thesisContent |
| 135 |
|
| 136 |
This macro marks the start of the actual ‘content’ of the thesis, separate from |
| 137 |
the ‘front matter’ (contents, etc.) and the appendices. Use of this macro is |
| 138 |
required to maintain correct formatting. |
| 139 |
|
| 140 |
\references [small] |
| 141 |
|
| 142 |
This macro starts the appendices for the thesis and generates an appropriately |
| 143 |
formatted `References' list. This differs from a Bibliography as it only |
| 144 |
contains items specifically cited in the thesis text whereas a Bibliography |
| 145 |
should contain everything that has been read/used during the preparation of the |
| 146 |
thesis. If the small parameter is included, the font and spacing are altered |
| 147 |
for the references section to present a more compact form. |
| 148 |
|
| 149 |
4 Document Section Order |
| 150 |
|
| 151 |
The Computer Science Thesis has a very specific section order; this does not |
| 152 |
prescribe the format of your thesis, just the front and back matter. |
| 153 |
|
| 154 |
1. Title/Cover Page 2. Acknowledgments Page 3. Statements Page 4. Contents 5. |
| 155 |
Tables 6. Thesis Content 7. References 8. Other Appendices |
| 156 |
|
| 157 |
5 Skeleton Thesis |
| 158 |
|
| 159 |
A very much skeleton document is provided here as a starting point when using |
| 160 |
this document class. |
| 161 |
|
| 162 |
\documentclass[bsc,noindent,nohyphen]{bangorcsthesis} |
| 163 |
\title{Thesis Title} |
| 164 |
\author{Just A. Student} |
| 165 |
\degreeScheme{Computer Science} |
| 166 |
\date{May, 2015} |
| 167 |
\supervisor{Dr. S.P.R. Visor} |
| 168 |
\bibliographySetup |
| 169 |
\addbibresource{file.bib} |
| 170 |
\begin{document} |
| 171 |
\maketitle |
| 172 |
\acknowledgements[Quote][Person Quoted]{Acknowledgements} |
| 173 |
\statements |
| 174 |
\begin{abstract} |
| 175 |
... thesis abstract... |
| 176 |
\end{abstract} |
| 177 |
\tables |
| 178 |
\thesisContent |
| 179 |
... document ... |
| 180 |
\references |
| 181 |
... other appendices ... |
| 182 |
\end{document} |