diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/bangorcsthesis/bangorcsthesis.cls | 26 |
1 files changed, 22 insertions, 4 deletions
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}} |