-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bath-CS-Dissertation.sty
83 lines (72 loc) · 3.56 KB
/
Bath-CS-Dissertation.sty
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
% Modified by Alessio Guglielmi, 1 October 2023
%\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{Bath-CS-Dissertation}[2023/10/01 v1.2]
%%
%% Package includes to provide the basic style
%%
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx} % Permits import of various graphics formats
\usepackage{hyperref} % Provides hyperlinks to sections automatically
\usepackage{pdflscape} % Provides landscape mode for end code listings
\usepackage{multicol} % Provides ability to split output into columns
\usepackage{listings} % Provides styled code listings
\usepackage{parskip} % No paragraph indents
\usepackage{pdfpages} % Allows to include PDFs
\usepackage[nottoc,notlot,notlof]{tocbibind}
% Bibliography to appear in TOC
\usepackage{microtype} % Micro typography features
\usepackage[margin=1in]{geometry}
% Margins
%\usepackage{sfmath} % These two lines set the fonts to
%\renewcommand{\familydefault}{\sfdefault} % sans-serif
\usepackage{natbib} % Bibliography and citations
\newcommand*{\urlprefix}{Available from: }% in the Harvard-Bath style
\newcommand*{\urldateprefix}{Accessed } %
\bibliographystyle{bathx} %
\pagestyle{headings}
%%
%% Definitions to provide layout in the dissertation title pages
%%
\newenvironment{spaced}[1]
{\begin{minipage}[c]{\textwidth}\vspace{#1}}
{\end{minipage}}
\newenvironment{centrespaced}[2]
{\begin{center}\begin{minipage}[c]{#1}\vspace{#2}}
{\end{minipage}\end{center}}
%\newcommand{\consultation}[1]{%
%\thispagestyle{empty}
%\begin{centrespaced}{0.8\textwidth}{0.4\textheight}
%\ifnum #1 = 0
%This dissertation may be made available for consultation within the University Library and may be photocopied or lent to other libraries for the purposes of consultation.
%\else
%This dissertation may not be consulted, photocopied or lent to other libraries without the permission of the author for #1
%\ifnum #1 = 1
%year
%\else
%years
%\fi
%from the date of submission of the dissertation.
%\fi
%\end{centrespaced}
%}
\newcommand{\declaration}[2]{
\thispagestyle{empty}
\begin{spaced}{4em}
\begin{center}
\LARGE\textbf{#1}
\end{center}
\end{spaced}
\begin{spaced}{3em}
\begin{center}
Submitted by: #2
\end{center}
\end{spaced}
\begin{centrespaced}{0.8\textwidth}{0.1\textheight}
\section*{Copyright}
Attention is drawn to the fact that copyright of this dissertation rests with its author. The Intellectual Property Rights of the products produced as part of the project belong to the author unless otherwise specified below, in accordance with the University of Bath's policy on intellectual property (see \url{https://www.bath.ac.uk/publications/university-ordinances/attachments/Ordinances_1_October_2020.pdf}).
This copy of the dissertation has been supplied on condition that anyone who consults it is understood to recognise that its copyright rests with its author and that no quotation from the dissertation and no information derived from it may be published without the prior written consent of the author.
\section*{Declaration}
This dissertation is submitted to the University of Bath in accordance with the requirements of the degree of Bachelor of Science in the Department of Computer Science. No portion of the work in this dissertation has been submitted in support of an application for any other degree or qualification of this or any other university or institution of learning. Except where specifically acknowledged, it is the work of the author.
\end{centrespaced}
}