From 9bd29f738f8de7c0ad587b3ff234126ddaa66c54 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Nov 2021 23:01:05 +0000 Subject: bangorcsthesis (12nov21) git-svn-id: svn://tug.org/texlive/trunk@61037 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/bangorcsthesis/bangorcsthesis.cls | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/bangorcsthesis') 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 +%% Copyright 2014-21 Cameron Gray/Bangor University %% %% 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} -- cgit v1.2.3