diff options
-rw-r--r-- | Master/texmf-dist/doc/latex/bangorcsthesis/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf | bin | 285559 -> 286699 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx | 75 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins | 3 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls | 26 |
5 files changed, 71 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/bangorcsthesis/README b/Master/texmf-dist/doc/latex/bangorcsthesis/README index ce2b2a27655..ddd9c66325f 100644 --- a/Master/texmf-dist/doc/latex/bangorcsthesis/README +++ b/Master/texmf-dist/doc/latex/bangorcsthesis/README @@ -1,6 +1,6 @@ Bangor University Computer Science Department Thesis Document Class -Cameron Gray <c.gray@bangor.ac.uk> January 20, 2016 +Cameron Gray <c.gray@bangor.ac.uk> August 24, 2016 Abstract diff --git a/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf b/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf Binary files differindex a44db473e48..cc0d73f4232 100644 --- a/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf +++ b/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx index 5b0f7fc4681..404c30c059c 100644 --- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx +++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx @@ -19,7 +19,7 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2014 Cameron Gray <c.gray@bangor.ac.uk>, all rights reserved. +% Copyright (C) 2014-16 Cameron Gray <c.gray@bangor.ac.uk>, all rights reserved. % \fi % \iffalse %<*driver> @@ -40,7 +40,7 @@ \end{document} %</driver> %\fi -%\CheckSum{586} +%\CheckSum{609} %\RecordChanges %\changes{v1.0}{2014/07/01}{Initial version.} %\changes{v1.0.1}{2014/09/01}{Repackaged to remove external logo file.} @@ -48,10 +48,11 @@ %\changes{v1.3.0}{2015/04/06}{Added small references style.} %\changes{v1.4.0}{2015/04/06}{Added centred captions option.} %\changes{v1.5.0}{2016/01/20}{Changed serif font to New TX.} +%\changes{v1.5.1}{2016/08/24}{Altered fancyfoot options to remove superflous warnings.} %\pagestyle{fancy} %\title{Bangor University Computer Science Department\\ Thesis Document Class} %\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}} -%\date{January 20, 2016} +%\date{August 24, 2016} %\maketitle % %\begin{abstract} @@ -260,11 +261,11 @@ % \end{macrocode} %\fi % \begin{macrocode} -\def\version{1.5.0} +\def\version{1.5.1} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bangorcsthesis}[2016/01/20 \version C. Gray] +\ProvidesClass{bangorcsthesis}[2016/08/24 \version C. Gray] % Originally inspired by Clean Thesis % - http://cleanthesis.der-ric.de/ @@ -344,8 +345,10 @@ \setboolean{@sansserifheadings}{true} \DeclareOption{serifheadings}{\setboolean{@sansserifheadings}{false}} +\setboolean{@twoside}{false} \DeclareOption{twoside}{ \PassOptionsToClass{\CurrentOption}{report} + \setboolean{@twoside}{true} } \ProcessOptions\relax @@ -396,7 +399,7 @@ \newcommand{\tgherosfontfoot}{\fontfamily{bch}\selectfont} } -\RequirePackage{graphicx,url,csquotes,fixltx2e,microtype,setspace,fancyhdr,enumitem,amsmath} +\RequirePackage{graphicx,url,csquotes,microtype,setspace,fancyhdr,enumitem,amsmath} \RequirePackage[hidelinks,bookmarks=true,colorlinks=false]{hyperref} \RequirePackage[nameinlink,capitalize]{cleveref} @@ -513,17 +516,25 @@ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} - \fancyfootoffset[RO]{1.75cm} - \fancyfoot[RO]{% - \tgherosfontfoot\footnotesize% - \hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% - } - - \fancyfootoffset[LE]{1.75cm} - \fancyfoot[LE]{% - \tgherosfontfoot\footnotesize% - \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt} - } + \ifthenelse{\boolean{@twoside}}{ + \fancyfootoffset[RO]{1.75cm} + \fancyfoot[RO]{% + \tgherosfontfoot\footnotesize% + \hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } + + \fancyfootoffset[LE]{1.75cm} + \fancyfoot[LE]{% + \tgherosfontfoot\footnotesize% + \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt} + } + }{ + \fancyfootoffset[R]{1.75cm} + \fancyfoot[R]{% + \tgherosfontfoot\footnotesize% + \hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } + } } \fancypagestyle{maincontentstyle} { @@ -532,17 +543,25 @@ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} - \fancyfootoffset[RO]{1.75cm} - \fancyfoot[RO]{% - \tgherosfontfoot\footnotesize% - \leftmark\hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% - } - - \fancyfootoffset[LE]{1.75cm} - \fancyfoot[LE]{% - \tgherosfontfoot\footnotesize% - \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt}\rightmark - } + \ifthenelse{\boolean{@twoside}}{ + \fancyfootoffset[RO]{1.75cm} + \fancyfoot[RO]{% + \tgherosfontfoot\footnotesize% + \leftmark\hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } + + \fancyfootoffset[LE]{1.75cm} + \fancyfoot[LE]{% + \tgherosfontfoot\footnotesize% + \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt}\rightmark + } + }{ + \fancyfootoffset[RO]{1.75cm} + \fancyfoot[R]{% + \tgherosfontfoot\footnotesize% + \leftmark\hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } + } } \ifthenelse{\boolean{@centredcaptions}} diff --git a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins index dc75ada5652..8dbc7f3dfca 100644 --- a/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins +++ b/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins @@ -1,10 +1,9 @@ -% bangorcsthesis.ins generated using makedtx version 0.94b 2014/8/17 21:22 \input docstrip \preamble bangorcsthesis.dtx - Copyright 2014-15 Cameron Gray/Bangor University <c.gray@bangor.ac.uk> + Copyright 2014-16 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 diff --git a/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls b/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls index 4c8e3d1061e..72ef2a6365d 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-15 Cameron Gray/Bangor University <c.gray@bangor.ac.uk> +%% Copyright 2014-16 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.0} +\def\version{1.5.1} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bangorcsthesis}[2016/01/20 \version C. Gray] +\ProvidesClass{bangorcsthesis}[2016/08/24 \version C. Gray] \def\degreeScheme#1{\def\@scheme{#1}} @@ -120,8 +120,10 @@ \setboolean{@sansserifheadings}{true} \DeclareOption{serifheadings}{\setboolean{@sansserifheadings}{false}} +\setboolean{@twoside}{false} \DeclareOption{twoside}{ \PassOptionsToClass{\CurrentOption}{report} +\setboolean{@twoside}{true} } \ProcessOptions\relax @@ -167,7 +169,7 @@ \newcommand{\tgherosfontfoot}{\fontfamily{bch}\selectfont} } -\RequirePackage{graphicx,url,csquotes,fixltx2e,microtype,setspace,fancyhdr,enumitem,amsmath} +\RequirePackage{graphicx,url,csquotes,microtype,setspace,fancyhdr,enumitem,amsmath} \RequirePackage[hidelinks,bookmarks=true,colorlinks=false]{hyperref} \RequirePackage[nameinlink,capitalize]{cleveref} @@ -271,6 +273,7 @@ footskip=1cm % - footer skip size \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} + \ifthenelse{\boolean{@twoside}}{ \fancyfootoffset[RO]{1.75cm} \fancyfoot[RO]{% \tgherosfontfoot\footnotesize% @@ -282,6 +285,13 @@ footskip=1cm % - footer skip size \tgherosfontfoot\footnotesize% \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt} } +}{ + \fancyfootoffset[R]{1.75cm} + \fancyfoot[R]{% + \tgherosfontfoot\footnotesize% + \hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } +} } \fancypagestyle{maincontentstyle} { @@ -290,6 +300,7 @@ footskip=1cm % - footer skip size \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} + \ifthenelse{\boolean{@twoside}}{ \fancyfootoffset[RO]{1.75cm} \fancyfoot[RO]{% \tgherosfontfoot\footnotesize% @@ -301,6 +312,13 @@ footskip=1cm % - footer skip size \tgherosfontfoot\footnotesize% \makebox[1.4cm][l]{\textbf{\thepage}}\hspace*{9pt}\rightmark } +}{ +\fancyfootoffset[RO]{1.75cm} + \fancyfoot[R]{% + \tgherosfontfoot\footnotesize% + \leftmark\hspace*{9pt}\makebox[1.4cm][l]{\textbf{\thepage}}% + } +} } \ifthenelse{\boolean{@centredcaptions}} |