diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-24 22:47:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-24 22:47:14 +0000 |
commit | 8f3b9e66a653430a41400a3ebf84c68d53f1ba0e (patch) | |
tree | 5acfd0cec8620f7c6be42e669f44c20b77979c26 /Master/texmf-dist/source/latex/bangorcsthesis | |
parent | 3b74a8e09fab3387e705efec46b0f364bc146394 (diff) |
bangorcsthesis (24aug16)
git-svn-id: svn://tug.org/texlive/trunk@41919 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 | 75 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins | 3 |
2 files changed, 48 insertions, 30 deletions
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 |