diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-02 22:45:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-02 22:45:21 +0000 |
commit | 5948707e26c041128969126837b023209fd7a6ac (patch) | |
tree | e0273f8ab71d5b9deaf0afacf7e0aa4db7faff19 /Master/texmf-dist/source/latex/bangorcsthesis | |
parent | 81ca638ba231ffe06be7582431bd6a88750383ee (diff) |
bangorcsthesis (2sep14)
git-svn-id: svn://tug.org/texlive/trunk@35093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/bangorcsthesis')
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx | 336 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins | 10 |
2 files changed, 171 insertions, 175 deletions
diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx index a3e246fba63..711c4742263 100644 --- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx +++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx @@ -50,11 +50,14 @@ \end{document} %</driver> %\fi -%\CheckSum{479} +%\CheckSum{529} +%\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{July 1, 2014} +%\date{September 1, 2014} %\maketitle % %\begin{abstract} @@ -255,13 +258,14 @@ % \end{macrocode} %\fi % \begin{macrocode} -\def\version{1.0} +\def\version{1.0.1} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bangorcsthesis}[2014/07/01 \version C. Gray] +\ProvidesClass{bangorcsthesis}[2014/09/01 \version C. Gray] -% Inspired by Clean Thesis - http://cleanthesis.der-ric.de/ +% Originally inspired by Clean Thesis +% - http://cleanthesis.der-ric.de/ % Developed by C. Gray \def\degreeScheme#1{\def\@scheme{#1}} @@ -600,169 +604,7 @@ % % Make Cover Page \RequirePackage{tikz,forloop} -\newcommand{\bangorlogo}{\input{Bangor-Logo.tex}} -\renewcommand{\maketitle}{% -\hypersetup{ % setup the hyperref-package options - 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, % - bookmarksopen=true % -} - -\pagenumbering{gobble} % gobble page numbing (invisible for empty page style) -\pagestyle{empty} % no header or footers -\begin{titlepage} - - \pdfbookmark[0]{Title Page}{Title Page} - %\tgherosfont - \centering - - \scalebox{0.38}{\bangorlogo} \\ - {School of Computer Science \\ - \vspace{-1.5mm}College of Physical \& Applied Sciences} \\ - - \vfill - - {\setstretch{1.0}\LARGE \fontfamily{fvs}\textbf{\@title} \\[10mm]} - \begin{center}\vspace{-0.4cm} - \rule{0.6\textwidth}{.4pt} - \end{center}\vspace{-4mm} - {\Large \@author } \\ - - \vfill - - {\setstretch{1.1}\footnotesize Submitted in partial satisfaction of the requirements for the\\ - Degree of \degree\\ - \vspace{-2.7mm}in \@scheme} - - \vspace{1cm} - - {\footnotesize\setstretch{1.1} - \ifnum \FSSize{supervisors}>1 \textit{Supervisors} \else \textit{Supervisor} \fi - \newcounter{l} - \forloop[-1]{l}{\FSSize{supervisors}}{\value{l}>0}{% - \FSBottom{supervisors}\FSShift{supervisors}\ifnum \FSSize{supervisors}>0 \ \textit{and} \fi} - \vspace{1cm} - - \@date} - -\end{titlepage} -} - -\RequirePackage{framed} -\newcommand{\statements}{ - \cleardoublepage - \pdfbookmark[0]{Statement of Originality \& Availability}{Statements} - %\chapter*{Statements} - \label{chp:statements} - { - \setstretch{1.1} - \null\vfill - \begin{framed} - {\noindent\bf Statement of Originality}\\ - \\ - The work presented in this thesis/dissertation is entirely from the studies of the - individual student, except where otherwise stated. Where derivations are presented - and the origin of the work is either wholly or in part from other sources, then full - reference is given to the original author. This work has not been presented previously - for any degree, nor is it at present under consideration by any other degree awarding - body. - - \vspace{0.3cm} - - \noindent Student: - - \vspace{2cm} - - \noindent\@author - \end{framed} - \vfill - \begin{framed} - {\noindent\bf Statement of Availability}\\ - \\ - I hereby acknowledge the availability of any part of this thesis/dissertation for - viewing, photocopying or incorporation into future studies, providing that full reference - is given to the origins of any information contained herein. I further give permission - for a copy of this work to be deposited with the Bangor University Institutional Digital - Repository, \ifdefined\phd the British Library ETHOS system,\ \fi and/or in any other - repository authorised for use by Bangor University and where necessary have gained the - required permissions for the use of third party material. I acknowledge that Bangor - University may make the title and a summary of this thesis/dissertation freely available. - - \vspace{0.3cm} - - \noindent Student: - - \vspace{2cm} - - \noindent\@author - \end{framed} - \vfill - } -} - -\RequirePackage[figure,table]{totalcount} -\newcommand{\tables}{ - \cleardoublepage - \setcounter{tocdepth}{3} - {\setstretch{1.2} - \tableofcontents - \iftotalfigures - \cleardoublepage - \listoffigures - \fi - \iftotaltables - \cleardoublepage - \listoftables - \fi} -} - -\newcommand{\thesisContent}{% - \cleardoublepage - \pagenumbering{arabic} % arabic page numbering - \setcounter{page}{1} % set page counter - \pagestyle{maincontentstyle} % fancy header and footer -} - -\renewenvironment{abstract} - { - \cleardoublepage - \pdfbookmark[0]{Abstract}{Abstract} - \chapter*{\abstractname}\label{chp:abstract} - } - {} - - - -\RequirePackage{xparse} -\DeclareDocumentCommand{\acknowledgements}{ O{} O{} m }{% - \cleardoublepage - \pagenumbering{roman} - \pagestyle{plain} - \pdfbookmark[0]{Acknowledgements}{Acknowledgements} - \chapter*{Acknowledgements} - \label{chp:acknowledgement} - \if\relax\detokenize{#1}\relax\else - \chapterquote{#1}{#2}{\ } - \fi - - #3 -} -% \end{macrocode}%\iffalse -% \begin{macrocode} -%</bangorcsthesis.cls> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*Bangor-Logo.tex> -% \end{macrocode} -%\fi +\newcommand{\bangorlogo}{% \definecolor{c231f20}{RGB}{35,31,32} \definecolor{cb91930}{RGB}{185,25,48} \definecolor{cf9ae0c}{RGB}{249,174,12} @@ -4038,10 +3880,166 @@ \end{scope} \end{tikzpicture} +} +\renewcommand{\maketitle}{% +\hypersetup{ % setup the hyperref-package options + 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, % + bookmarksopen=true % +} + +\pagenumbering{gobble} % gobble page numbing (invisible for empty page style) +\pagestyle{empty} % no header or footers +\begin{titlepage} + + \pdfbookmark[0]{Title Page}{Title Page} + %\tgherosfont + \centering + + \scalebox{0.38}{\bangorlogo} \\ + {School of Computer Science \\ + \vspace{-1.5mm}College of Physical \& Applied Sciences} \\ + + \vfill + + {\setstretch{1.0}\LARGE \fontfamily{fvs}\textbf{\@title} \\[10mm]} + \begin{center}\vspace{-0.4cm} + \rule{0.6\textwidth}{.4pt} + \end{center}\vspace{-4mm} + {\Large \@author } \\ + + \vfill + + {\setstretch{1.1}\footnotesize Submitted in partial satisfaction of the requirements for the\\ + Degree of \degree\\ + \vspace{-2.7mm}in \@scheme} + + \vspace{1cm} + + {\footnotesize\setstretch{1.1} + \ifnum \FSSize{supervisors}>1 \textit{Supervisors} \else \textit{Supervisor} \fi + \newcounter{l} + \forloop[-1]{l}{\FSSize{supervisors}}{\value{l}>0}{% + \FSBottom{supervisors}\FSShift{supervisors}\ifnum \FSSize{supervisors}>0 \ \textit{and} \fi} + \vspace{1cm} + + \@date} + +\end{titlepage} +} + +\RequirePackage{framed} +\newcommand{\statements}{ + \cleardoublepage + \pdfbookmark[0]{Statement of Originality \& Availability}{Statements} + %\chapter*{Statements} + \label{chp:statements} + { + \setstretch{1.1} + \null\vfill + \begin{framed} + {\noindent\bf Statement of Originality}\\ + \\ + The work presented in this thesis/dissertation is entirely from the studies of the + individual student, except where otherwise stated. Where derivations are presented + and the origin of the work is either wholly or in part from other sources, then full + reference is given to the original author. This work has not been presented previously + for any degree, nor is it at present under consideration by any other degree awarding + body. + + \vspace{0.3cm} + + \noindent Student: + + \vspace{2cm} + + \noindent\@author + \end{framed} + \vfill + \begin{framed} + {\noindent\bf Statement of Availability}\\ + \\ + I hereby acknowledge the availability of any part of this thesis/dissertation for + viewing, photocopying or incorporation into future studies, providing that full reference + is given to the origins of any information contained herein. I further give permission + for a copy of this work to be deposited with the Bangor University Institutional Digital + Repository, \ifdefined\phd the British Library ETHOS system,\ \fi and/or in any other + repository authorised for use by Bangor University and where necessary have gained the + required permissions for the use of third party material. I acknowledge that Bangor + University may make the title and a summary of this thesis/dissertation freely available. + + \vspace{0.3cm} + + \noindent Student: + + \vspace{2cm} + + \noindent\@author + \end{framed} + \vfill + } +} + +\RequirePackage[figure,table]{totalcount} +\newcommand{\tables}{ + \cleardoublepage + \setcounter{tocdepth}{3} + {\setstretch{1.2} + \tableofcontents + \iftotalfigures + \cleardoublepage + \listoffigures + \fi + \iftotaltables + \cleardoublepage + \listoftables + \fi} +} + +\newcommand{\thesisContent}{% + \cleardoublepage + \pagenumbering{arabic} % arabic page numbering + \setcounter{page}{1} % set page counter + \pagestyle{maincontentstyle} % fancy header and footer +} + +\renewenvironment{abstract} + { + \cleardoublepage + \pdfbookmark[0]{Abstract}{Abstract} + \chapter*{\abstractname}\label{chp:abstract} + } + {} + + + +\RequirePackage{xparse} +\DeclareDocumentCommand{\acknowledgements}{ O{} O{} m }{% + \cleardoublepage + \pagenumbering{roman} + \pagestyle{plain} + \pdfbookmark[0]{Acknowledgements}{Acknowledgements} + \chapter*{Acknowledgements} + \label{chp:acknowledgement} + \if\relax\detokenize{#1}\relax\else + \chapterquote{#1}{#2}{\ } + \fi + + #3 +} % \end{macrocode}%\iffalse % \begin{macrocode} -%</Bangor-Logo.tex> +%</bangorcsthesis.cls> % \end{macrocode} %\fi +%\iffalse +% \begin{macrocode} +%\fi %\Finale \endinput diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins index 122ec3263c1..784df203962 100644 --- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins +++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins @@ -4,7 +4,7 @@ \preamble bangorcsthesis.dtx - Copyright 2014 Cameron Gray <c.gray@bangor.ac.uk> + Copyright 2014 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 @@ -18,22 +18,20 @@ The Current Maintainer of this work is Cameron Gray <c.gray@bangor.ac.uk>. - This work consists of the files bangorcsthesis.dtx and bangorcsthesis.ins and the derived files bangorcsthesis.cls, Bangor-Logo.tex. + This work consists of the files bangorcsthesis.dtx and bangorcsthesis.ins and the derived + file bangorcsthesis.cls. The Bangor University Logo has a separate licence and whilst a representation is included in this package, no further licence is granted to use, modify or include this logo without explicit - written approval from the University; except for students enroled + written approval from the University; except for students enrolled in the University using this class to prepare their thesis. \endpreamble \askforoverwritefalse -\def\postnone{} \generate{\file{bangorcsthesis.cls}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{bangorcsthesis.dtx}{bangorcsthesis.cls,package}} -\file{Bangor-Logo.tex}{\usepreamble\defaultpreamble -\usepostamble\postnone\from{bangorcsthesis.dtx}{Bangor-Logo.tex,package}} } \endbatchfile |