Skip to content
Snippets Groups Projects
Commit 1892d624 authored by Edward Longman's avatar Edward Longman
Browse files

Update colours and add preemptive Red for chapters

parent 726a8038
Branches
Tags v1.0-rc2
No related merge requests found
Showing
with 53 additions and 26 deletions
No preview for this file type
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
% The checksum is to determine if there has been a truncation in the file during transmission over a network % The checksum is to determine if there has been a truncation in the file during transmission over a network
% %
% The class has a custom option to define what colours should be used for links. % The class has a custom option to define what colours should be used for links.
% This option defines \texttt{sotonlinks} to use UoS palette colours. % This option defines \texttt{sotoncolour} to use UoS palette colours.
% Colour Code taken from \texttt{http://edshare.soton.ac.uk/10481} % Colour Code taken from \texttt{http://edshare.soton.ac.uk/10481}
% %
% All options are passed on to the \texttt{book} or \texttt{article} class. % All options are passed on to the \texttt{book} or \texttt{article} class.
...@@ -163,11 +163,14 @@ ...@@ -163,11 +163,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
% \end{macrocode} % \end{macrocode}
...@@ -1433,28 +1436,28 @@ Data: Author (Year) Title. URI [dataset]} ...@@ -1433,28 +1436,28 @@ Data: Author (Year) Title. URI [dataset]}
% %
% \begin{macrocode} % \begin{macrocode}
%<*testthesis> %<*testthesis>
\documentclass[sotonlinks]{ecsthesis} % Use the Thesis Style with custom link colour \documentclass[sotoncolour]{ecsthesis} % Use the Thesis Style with custom link colour
%</testthesis> %</testthesis>
%<*testminithesis> %<*testminithesis>
\documentclass[sotonlinks]{ecsminithesis} % Use the minithesis Style with custom link colour \documentclass[sotoncolour]{ecsminithesis} % Use the minithesis Style with custom link colour
%</testminithesis> %</testminithesis>
%<*testprogress> %<*testprogress>
\documentclass[sotonlinks]{ecsprogress} % Use the progress Style with custom link colour \documentclass[sotoncolour]{ecsprogress} % Use the progress Style with custom link colour
%</testprogress> %</testprogress>
%<*testproject> %<*testproject>
\documentclass[sotonlinks]{ecsproject} % Use the Project Style with custom link colour \documentclass[sotoncolour]{ecsproject} % Use the Project Style with custom link colour
%</testproject> %</testproject>
%<*testreport> %<*testreport>
\documentclass[sotonlinks]{ecsreport} % Use the Report Style with custom link colour \documentclass[sotoncolour]{ecsreport} % Use the Report Style with custom link colour
%</testreport> %</testreport>
%<*testarticle> %<*testarticle>
\documentclass[sotonlinks]{ecsarticle} % Use the Article Style with custom link colour \documentclass[sotoncolour]{ecsarticle} % Use the Article Style with custom link colour
%</testarticle> %</testarticle>
%<*testgdp> %<*testgdp>
\documentclass[sotonlinks]{ecsgdp} % Use the GDP Report Style with custom link colour \documentclass[sotoncolour]{ecsgdp} % Use the GDP Report Style with custom link colour
%</testgdp> %</testgdp>
%<*testgdpsummary> %<*testgdpsummary>
\documentclass[sotonlinks]{ecsgdpsummary} % Use the GDP Summary Report Style with custom link colour \documentclass[sotoncolour]{ecsgdpsummary} % Use the GDP Summary Report Style with custom link colour
%</testgdpsummary> %</testgdpsummary>
%<*testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary> %<*testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary>
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% Article.tex %% Article.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsarticle} % Use the Article Style with custom link colour \documentclass[sotoncolour]{ecsarticle} % Use the Article Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing \hypersetup{colorlinks=true} % Set to false for black/white printing
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% GDP.tex %% GDP.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsgdp} % Use the GDP Report Style with custom link colour \documentclass[sotoncolour]{ecsgdp} % Use the GDP Report Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works \usepackage{bibentry} % Use bibentry for prepublished works
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% GDPSummary.tex %% GDPSummary.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsgdpsummary} % Use the GDP Summary Report Style with custom link colour \documentclass[sotoncolour]{ecsgdpsummary} % Use the GDP Summary Report Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing \hypersetup{colorlinks=true} % Set to false for black/white printing
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% MiniThesis.tex %% MiniThesis.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsminithesis} % Use the minithesis Style with custom link colour \documentclass[sotoncolour]{ecsminithesis} % Use the minithesis Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works \usepackage{bibentry} % Use bibentry for prepublished works
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% Progress.tex %% Progress.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsprogress} % Use the progress Style with custom link colour \documentclass[sotoncolour]{ecsprogress} % Use the progress Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing \hypersetup{colorlinks=true} % Set to false for black/white printing
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% Project.tex %% Project.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsproject} % Use the Project Style with custom link colour \documentclass[sotoncolour]{ecsproject} % Use the Project Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works \usepackage{bibentry} % Use bibentry for prepublished works
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% Report.tex %% Report.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsreport} % Use the Report Style with custom link colour \documentclass[sotoncolour]{ecsreport} % Use the Report Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works \usepackage{bibentry} % Use bibentry for prepublished works
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
%% Thesis.tex %% Thesis.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass[sotonlinks]{ecsthesis} % Use the Thesis Style with custom link colour \documentclass[sotoncolour]{ecsthesis} % Use the Thesis Style with custom link colour
\graphicspath{{../Figures/}} % Location of your graphics files \graphicspath{{../Figures/}} % Location of your graphics files
\usepackage{natbib} % Use Natbib style for the refs. \usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works \usepackage{bibentry} % Use bibentry for prepublished works
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
...@@ -23,11 +23,14 @@ ...@@ -23,11 +23,14 @@
\RequirePackage{xcolor} \RequirePackage{xcolor}
\colorlet{linkBlue}{blue} \colorlet{linkBlue}{blue}
\colorlet{custGray}{gray} \colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{ \colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C) \definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C) \definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue} \colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey} \colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
} }
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment