summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/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/tex/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/tex/latex/bangorcsthesis')
-rw-r--r--Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls b/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
index bbc3e595c5c..0bae1b9273d 100644
--- a/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
+++ b/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
@@ -45,11 +45,11 @@
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
-\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]
\def\degreeScheme#1{\def\@scheme{#1}}
@@ -88,6 +88,10 @@
\newcommand{\degree}{Doctor of Philosophy}
\newcommand{\phd}{\relax}
}
+\DeclareOption{pgcert}{
+\newcommand{\degree}{Postgraduate Certificate}
+\newcommand{\pgcert}{\relax}
+}
\newboolean{@draft}
\setboolean{@draft}{false}
@@ -158,9 +162,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
@@ -3620,7 +3623,6 @@ pdftitle={\@title}, % - title (PDF meta)
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, %
@@ -3649,7 +3651,7 @@ bookmarksopen=true %
\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}