summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/bangorcsthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-02 22:29:17 +0000
committerKarl Berry <karl@freefriends.org>2014-12-02 22:29:17 +0000
commitb27b7205b08db16f8f56603b54d3045661292a80 (patch)
treee617e1dc75a4ee0180a10ce0a87a5745093ecf9b /Master/texmf-dist/source/latex/bangorcsthesis
parentd2938aa6c432888fefa593905d2cc305b6a9ee10 (diff)
bangorcsthesis (2dec14)
git-svn-id: svn://tug.org/texlive/trunk@35721 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorcsthesis')
-rw-r--r--Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx23
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
index 711c4742263..10548b86a2c 100644
--- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
+++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
@@ -50,14 +50,14 @@
\end{document}
%</driver>
%\fi
-%\CheckSum{529}
+%\CheckSum{539}
%\RecordChanges
%\changes{v1.0}{2014/07/01}{Initial version.}
%\changes{v1.0.1}{2014/09/01}{Repackaged to remove external logo file.}
%\pagestyle{fancy}
%\title{Bangor University Computer Science Department\\ Thesis Document Class}
%\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}}
-%\date{September 1, 2014}
+%\date{December 1, 2014}
%\maketitle
%
%\begin{abstract}
@@ -80,6 +80,7 @@
%document forms;\\
%
%\oarg{phd} - Doctor of Philosophy / Doctorate\\
+%\oarg{pgcert} - Postgraduate Certificate\\
%\oarg{mphil} - Master of Philosophy\\
%\oarg{mscres} - Master of Science by Research\\
%\oarg{mres} - Master of Research\\
@@ -258,11 +259,11 @@
% \end{macrocode}
%\fi
% \begin{macrocode}
-\def\version{1.0.1}
+\def\version{1.1.0}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bangorcsthesis}[2014/09/01 \version C. Gray]
+\ProvidesClass{bangorcsthesis}[2014/12/01 \version C. Gray]
% Originally inspired by Clean Thesis
% - http://cleanthesis.der-ric.de/
@@ -308,6 +309,10 @@
\newcommand{\degree}{Doctor of Philosophy}
\newcommand{\phd}{\relax}
}
+\DeclareOption{pgcert}{
+ \newcommand{\degree}{Postgraduate Certificate}
+ \newcommand{\pgcert}{\relax}
+}
\newboolean{@draft}
\setboolean{@draft}{false}
@@ -384,9 +389,8 @@
\newcommand{\tgherosfontfoot}{\fontfamily{fvs}\selectfont}
-\RequirePackage{graphicx,url,csquotes,fixltx2e,microtype,setspace,fancyhdr,enumitem}
-\RequirePackage{enumerate,textcomp,blindtext}
-\RequirePackage[hidelinks,bookmarks=true]{hyperref}
+\RequirePackage{graphicx,url,csquotes,fixltx2e,microtype,setspace,fancyhdr,enumitem,amsmath}
+\RequirePackage[hidelinks,bookmarks=true,colorlinks=false]{hyperref}
\RequirePackage[nameinlink,capitalize]{cleveref}
\RequirePackage[ % page layout modifications
@@ -409,7 +413,7 @@
% **************************************************
-% Bibliography Options - use Harvard Bibliography style.
+% Bibliography Options - use IEEE (NYT) Bibliography style.
% **************************************************
\newcommand{\bibliographySetup}{%
\RequirePackage[ % use biblatex for bibliography
@@ -3887,7 +3891,6 @@
pdfsubject={\@scheme},% - subject (PDF meta)
pdfauthor={\@author}, % - author (PDF meta)
plainpages=false, % -
- colorlinks=false, % - colorize links?
pdfborder={0 0 0}, % -
breaklinks=true, % - allow line break inside links
bookmarksnumbered=true, %
@@ -3917,7 +3920,7 @@
\vfill
{\setstretch{1.1}\footnotesize Submitted in partial satisfaction of the requirements for the\\
- Degree of \degree\\
+ \ifx\pgcert\undefined Degree of\ \fi\degree\\
\vspace{-2.7mm}in \@scheme}
\vspace{1cm}