texlive[41919] Master/texmf-dist: bangorcsthesis (24aug16)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 25 00:47:14 CEST 2016


Revision: 41919
          http://tug.org/svn/texlive?view=revision&revision=41919
Author:   karl
Date:     2016-08-25 00:47:14 +0200 (Thu, 25 Aug 2016)
Log Message:
-----------
bangorcsthesis (24aug16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bangorcsthesis/README
    trunk/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf
    trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
    trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins
    trunk/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls

Modified: trunk/Master/texmf-dist/doc/latex/bangorcsthesis/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bangorcsthesis/README	2016-08-24 22:47:03 UTC (rev 41918)
+++ trunk/Master/texmf-dist/doc/latex/bangorcsthesis/README	2016-08-24 22:47:14 UTC (rev 41919)
@@ -1,6 +1,6 @@
 Bangor University Computer Science Department Thesis Document Class
 
-Cameron Gray <c.gray at bangor.ac.uk>  January 20, 2016
+Cameron Gray <c.gray at bangor.ac.uk>  August 24, 2016
 
 Abstract
 

Modified: trunk/Master/texmf-dist/doc/latex/bangorcsthesis/bangorcsthesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx	2016-08-24 22:47:03 UTC (rev 41918)
+++ trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.dtx	2016-08-24 22:47:14 UTC (rev 41919)
@@ -19,7 +19,7 @@
 %\fi
 % \iffalse
 % Doc-Source file to use with LaTeX2e
-% Copyright (C) 2014 Cameron Gray <c.gray at bangor.ac.uk>, all rights reserved.
+% Copyright (C) 2014-16 Cameron Gray <c.gray at 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 at 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}}

Modified: trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins	2016-08-24 22:47:03 UTC (rev 41918)
+++ trunk/Master/texmf-dist/source/latex/bangorcsthesis/bangorcsthesis.ins	2016-08-24 22:47:14 UTC (rev 41919)
@@ -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 at bangor.ac.uk>
+ Copyright 2014-16 Cameron Gray/Bangor University <c.gray at bangor.ac.uk>
 
  This work may be distributed and/or modified under the
  conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls	2016-08-24 22:47:03 UTC (rev 41918)
+++ trunk/Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls	2016-08-24 22:47:14 UTC (rev 41919)
@@ -7,7 +7,7 @@
 %% bangorcsthesis.dtx  (with options: `bangorcsthesis.cls,package')
 %% 
 %%  bangorcsthesis.dtx
-%%  Copyright 2014-15 Cameron Gray/Bangor University <c.gray at bangor.ac.uk>
+%%  Copyright 2014-16 Cameron Gray/Bangor University <c.gray at 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 @@
      \renewcommand{\headrulewidth}{0pt}
     \renewcommand{\footrulewidth}{0pt}
 
+    \ifthenelse{\boolean{@twoside}}{
     \fancyfootoffset[RO]{1.75cm}
     \fancyfoot[RO]{%
         \tgherosfontfoot\footnotesize%
@@ -282,7 +285,14 @@
         \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} {
     \fancyfoot{}
@@ -290,6 +300,7 @@
      \renewcommand{\headrulewidth}{0pt}
     \renewcommand{\footrulewidth}{0pt}
 
+    \ifthenelse{\boolean{@twoside}}{
 \fancyfootoffset[RO]{1.75cm}
     \fancyfoot[RO]{%
         \tgherosfontfoot\footnotesize%
@@ -301,7 +312,14 @@
         \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}}
 {



More information about the tex-live-commits mailing list