summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bangorcsthesis
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 /Master/texmf-dist/tex/latex/bangorcsthesis
parentcc9d3299d8b868e626ac76e042420bd6c5b3b68e (diff)
bangorcsthesis (12nov21)
git-svn-id: svn://tug.org/texlive/trunk@61037 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bangorcsthesis')
-rw-r--r--Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls17
1 files changed, 12 insertions, 5 deletions
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}