Skip to content

Commit 1384b4c

Browse files
committed
Merge with upstream v3.8. Update version to v3.9.
1 parent 92fa681 commit 1384b4c

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

src/infthesis.cls

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
%%
22
%% File : infthesis.cls (LaTeX2e class file)
3-
%% Author : Version 3.8 updated by Daniel Hillerström <daniel.hillerstrom@ed.ac.uk>
3+
%% Author : Version 3.9 by Daniel Hillerström <daniel.hillerstrom@ed.ac.uk>
4+
%% Version 3.8u by Sharon Goldwater <sgwater@inf.ed.ac.uk>
5+
%% Version 3.8 by Daniel Hillerström <daniel.hillerstrom@ed.ac.uk>
46
%% Version 3.7 updated by Jennifer Oxley <joxley@inf.ed.ac.uk>
57
%% Version 3.6 by Charles Sutton <csutton@inf.ed.ac.uk>
68
%% Version 3.5 by Vasilis Vasaitis <v.vasaitis@sms.ed.ac.uk>
79
%% Version 3.4.1 updated by Tiejun Ma (t.j.ma@ed.ac.uk)
810
%% Version 3.0 by Mary Ellen Foster <mef@cogsci.ed.ac.uk>
911
%% Original version by Martin Reddy (mxr@dcs.ed.ac.uk)
10-
%% Version : 3.8
12+
%% Version : 3.9
1113
%% Updates : 1.0 [9/11/95] - initial release.
1214
%% 1.1 [24/4/96] - fixed bibliography bug caused by new report.cls
1315
%% 1.2 [13/5/96] - \dedication & \thesiscaption[]
@@ -34,7 +36,10 @@
3436
%% 3.6 [15/03/2012] - addition to support the MInf degree
3537
%% 3.7 [07/02/2013] - fix MInf definition
3638
%% 3.8 [19/12/2015] - Made institute options more flexible. It is possible to add multiple institutes now.
37-
%% Added institute options for the three CDTs
39+
%% Added institute options for the three CDTs
40+
%% 3.8u[06/06/2019] - added support for MSc degrees:
41+
%% adi, datasci, di, cyber
42+
%% 3.9 [26/11/2019] - Automatically insert author name in custom declarations.
3843

3944

4045
%% This file contains a class definition, infthesis, for the LaTeX2e
@@ -45,7 +50,7 @@
4550
%%
4651

4752
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
48-
\ProvidesClass{infthesis}[2015/12/19 v3.8 School of Informatics Thesis Class]
53+
\ProvidesClass{infthesis}[2019/11/26 v3.9 School of Informatics Thesis Class]
4954

5055

5156
%%
@@ -140,21 +145,28 @@ Processing}}
140145
\expandafter\def\expandafter\@institute\expandafter{\@institute{\\}#1}
141146
\fi
142147
}
148+
\DeclareOption{adi}{\gdef\@mscdegree{Advanced Design Informatics}}
143149
\DeclareOption{aiai}{\addinstitute{Artificial Intelligence Applications Institute}}
144150
\DeclareOption{cisa}{\addinstitute{Centre for Intelligent Systems and their Applications}}
145151
\DeclareOption{icsa}{\addinstitute{Institute of Computing Systems Architecture}}
146152
\DeclareOption{ianc}{\addinstitute{Institute for Adaptive and Neural Computation}}
147153
\DeclareOption{ilcc}{\addinstitute{Institute for Language, Cognition and Computation}}
148154
\DeclareOption{ipab}{\addinstitute{Institute of Perception, Action and Behaviour}}
149155
\DeclareOption{lfcs}{\addinstitute{Laboratory for Foundations of Computer Science}}
156+
157+
\DeclareOption{cyber}{\gdef\@mscdegree{Cyber Security, Privacy and Trust}}
158+
\DeclareOption{datasci}{\gdef\@mscdegree{Data Science}}
159+
\DeclareOption{di}{\gdef\@mscdegree{Design Informatics}}
160+
\DeclareOption{dsti}{\gdef\@mscdegree{Data Science, Technology, and Innovation}}
161+
150162
\DeclareOption{cdtppar}{\addinstitute{CDT Pervasive Parallelism}}
151163
\DeclareOption{cdtds}{\addinstitute{CDT Data Science}}
152164
\DeclareOption{cdtras}{\addinstitute{CDT Robotics and Autonomous Systems}}
153165

154166
% Degree
155167

156168
\def\@researchdegree#1{%
157-
\renewcommand{\@degreetext}{#1 \\
169+
\renewcommand{\@degreetext}{#1 \\
158170
\ifx\@empty\@institute
159171
\PackageWarning{infthesis}{No institute specified for research
160172
degree}

0 commit comments

Comments
 (0)