summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-12 23:01:05 +0000
committerKarl Berry <karl@freefriends.org>2021-11-12 23:01:05 +0000
commit9bd29f738f8de7c0ad587b3ff234126ddaa66c54 (patch)
tree7195d2f27e22b337dcdcafb44549e100d45d374d
parentcc9d3299d8b868e626ac76e042420bd6c5b3b68e (diff)
bangorcsthesis (12nov21)
git-svn-id: svn://tug.org/texlive/trunk@61037 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bangorcsthesis/README4
-rw-r--r--Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdfbin286423 -> 298583 bytes
-rw-r--r--Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx27
-rw-r--r--Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins2
-rw-r--r--Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls17
5 files changed, 33 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/bangorcsthesis/README b/Master/texmf-dist/doc/latex/bangorcsthesis/README
index 49dd65ea09a..78f3da354ca 100644
--- a/Master/texmf-dist/doc/latex/bangorcsthesis/README
+++ b/Master/texmf-dist/doc/latex/bangorcsthesis/README
@@ -1,6 +1,6 @@
Bangor University Computer Science Department Thesis Document Class
-Cameron Gray <c.gray@bangor.ac.uk> Octover 5, 2018
+Cameron Gray <c.gray@bangor.ac.uk> November 12, 2021
Abstract
@@ -28,6 +28,8 @@ options to be specified, these dictate what type of thesis the document forms;
[(msc⟩] - Master of Science (Taught courses)
[(ba⟩] - [⟨Bachelor of Arts (Undergraduate courses)
[(bsc⟩] - Bachelor of Science (Undergraduate courses)
+[(beng)] - Bachelor of Engineering (Undergraduate course)
+[(meng)] - Master of Engineering (Integrated masters)
For example; an undergraduate dissertation for a Computer Science degree (a
B.Sc. course) would start with a document class definition as follows:-
diff --git a/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf b/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf
index 02d95f1a715..c67e163222f 100644
--- a/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf
+++ b/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
index 603b47f221d..c5234e4ed03 100644
--- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
+++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
@@ -40,7 +40,7 @@
\end{document}
%</driver>
%\fi
-%\CheckSum{608}
+%\CheckSum{614}
%\RecordChanges
%\changes{v1.0}{2014/07/01}{Initial version.}
%\changes{v1.0.1}{2014/09/01}{Repackaged to remove external logo file.}
@@ -51,10 +51,11 @@
%\changes{v1.5.1}{2016/08/24}{Altered fancyfoot options to remove superflous warnings.}
%\changes{v1.5.2}{2017/08/10}{Altered heading handling for the references section.}
%\changes{v1.5.3}{2018/10/05}{Altered School and College names.}
+%\changes{v1.5.4}{2021/11/12}{Added more Engineering degree types.}
%\pagestyle{fancy}
-%\title{Bangor University Computer Science Department\\ Thesis Document Class}
+%\title{Bangor University Computer Science and Electronic Engineering Department\\ Thesis Document Class}
%\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}}
-%\date{October 5, 2018}
+%\date{November 12, 2021}
%\maketitle
%
%\begin{abstract}
@@ -84,6 +85,8 @@
%\oarg{msc} - Master of Science (Taught courses)\\
%\oarg{ba} - Bachelor of Arts (Undergraduate courses)\\
%\oarg{bsc} - Bachelor of Science (Undergraduate courses)\\
+%\oarg{beng} - Bachelor of Engineering (Undergraduate courses)\\
+%\oarg{meng} - Master of Engineering (Integrated Masters)
%
%For example; an undergraduate dissertation for a Computer Science degree
%(a B.Sc. course) would start with a document class definition as follows:-\\
@@ -263,11 +266,11 @@
% \end{macrocode}
%\fi
% \begin{macrocode}
-\def\version{1.5.3}
+\def\version{1.5.4}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bangorcsthesis}[2018/10/04 \version C. Gray]
+\ProvidesClass{bangorcsthesis}[2021/11/12 \version C. Gray]
% Originally inspired by Clean Thesis
% - http://cleanthesis.der-ric.de/
@@ -278,6 +281,7 @@
\FSCreate{supervisors}{}
\def\supervisor#1{\FSPush{supervisors}{#1}}
+
\RequirePackage{ifthen}
\RequirePackage{xkeyval}
\RequirePackage[dvipsnames]{xcolor}
@@ -296,9 +300,15 @@
\DeclareOption{ba}{
\newcommand{\degree}{Bachelor of Arts}
}
+\DeclareOption{beng}{
+ \newcommand{\degree}{Bachelor of Engineering}
+}
\DeclareOption{msc}{
\newcommand{\degree}{Master of Science}
}
+\DeclareOption{meng}{
+ \newcommand{\degree}{Moster of Engineering}
+}
\DeclareOption{mscres}{
\newcommand{\degree}{Master of Science by Research}
}
@@ -356,12 +366,12 @@
\ProcessOptions\relax
\ifx\degree\undefined
- \ClassError{bangorcsthesis}{A degree type option has not been defined; use ba,bsc,msc,mscres,mres,mphil or phd in the class options.}
+ \ClassError{bangorcsthesis}{A degree type option has not been defined; use ba,bsc,beng,meng,msc,mscres,mres,mphil or phd in the class options.}
\fi
\LoadClass[12pt]{report}
-
+\RequirePackage{tocloft}
\if@nohyphen
\tolerance=1
@@ -637,9 +647,6 @@ singlelinecheck=false % - no centred single-lined captions
% the list of figures and the list of tables
%
%
-% The tocloft package enables us to control the typographic design of the
-% table of contents, list of figures and list of tables
-\RequirePackage{tocloft}
%
% > adjusts the indention for figure and table entries (lof and lot)
% -- \cftsetindents{entry}{indent}{numwidth} sets the entry's indent to
diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins
index 8dbc7f3dfca..cc4664ec668 100644
--- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins
+++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins
@@ -3,7 +3,7 @@
\preamble
bangorcsthesis.dtx
- Copyright 2014-16 Cameron Gray/Bangor University <c.gray@bangor.ac.uk>
+ Copyright 2014-21 Cameron Gray/Bangor University <c.gray@bangor.ac.uk>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls b/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
index 178889392da..1d79c47f92d 100644
--- a/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
+++ b/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
@@ -7,7 +7,7 @@
%% bangorcsthesis.dtx (with options: `bangorcsthesis.cls,package')
%%
%% bangorcsthesis.dtx
-%% Copyright 2014-16 Cameron Gray/Bangor University <c.gray@bangor.ac.uk>
+%% Copyright 2014-21 Cameron Gray/Bangor University <c.gray@bangor.ac.uk>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -45,11 +45,11 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\def\version{1.5.3}
+\def\version{1.5.4}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bangorcsthesis}[2018/10/04 \version C. Gray]
+\ProvidesClass{bangorcsthesis}[2021/11/12 \version C. Gray]
\def\degreeScheme#1{\def\@scheme{#1}}
@@ -72,9 +72,15 @@
\DeclareOption{ba}{
\newcommand{\degree}{Bachelor of Arts}
}
+\DeclareOption{beng}{
+\newcommand{\degree}{Bachelor of Engineering}
+}
\DeclareOption{msc}{
\newcommand{\degree}{Master of Science}
}
+\DeclareOption{meng}{
+\newcommand{\degree}{Moster of Engineering}
+}
\DeclareOption{mscres}{
\newcommand{\degree}{Master of Science by Research}
}
@@ -129,11 +135,13 @@
\ProcessOptions\relax
\ifx\degree\undefined
- \ClassError{bangorcsthesis}{A degree type option has not been defined; use ba,bsc,msc,mscres,mres,mphil or phd in the class options.}
+ \ClassError{bangorcsthesis}{A degree type option has not been defined; use ba,bsc,beng,meng,msc,mscres,mres,mphil or phd in the class options.}
\fi
\LoadClass[12pt]{report}
+\RequirePackage{tocloft}
+
\if@nohyphen
\tolerance=1
\sloppy
@@ -374,7 +382,6 @@ arg1=#1, arg2=#2, arg3=#3%
\titlespacing*{\chapter} {0pt}{2mm}{10mm}
-\RequirePackage{tocloft}
\cftsetindents{figure}{0em}{3em}
\cftsetindents{table}{0em}{3em}