Commit 1892d624 authored by Edward Longman's avatar Edward Longman
Browse files

Update colours and add preemptive Red for chapters

parent 726a8038
......@@ -135,7 +135,7 @@
% 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.
% 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}
%
% All options are passed on to the \texttt{book} or \texttt{article} class.
......@@ -163,11 +163,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
% \end{macrocode}
......@@ -1433,28 +1436,28 @@ Data: Author (Year) Title. URI [dataset]}
%
% \begin{macrocode}
%<*testthesis>
\documentclass[sotonlinks]{ecsthesis} % Use the Thesis Style with custom link colour
\documentclass[sotoncolour]{ecsthesis} % Use the Thesis Style with custom link colour
%</testthesis>
%<*testminithesis>
\documentclass[sotonlinks]{ecsminithesis} % Use the minithesis Style with custom link colour
\documentclass[sotoncolour]{ecsminithesis} % Use the minithesis Style with custom link colour
%</testminithesis>
%<*testprogress>
\documentclass[sotonlinks]{ecsprogress} % Use the progress Style with custom link colour
\documentclass[sotoncolour]{ecsprogress} % Use the progress Style with custom link colour
%</testprogress>
%<*testproject>
\documentclass[sotonlinks]{ecsproject} % Use the Project Style with custom link colour
\documentclass[sotoncolour]{ecsproject} % Use the Project Style with custom link colour
%</testproject>
%<*testreport>
\documentclass[sotonlinks]{ecsreport} % Use the Report Style with custom link colour
\documentclass[sotoncolour]{ecsreport} % Use the Report Style with custom link colour
%</testreport>
%<*testarticle>
\documentclass[sotonlinks]{ecsarticle} % Use the Article Style with custom link colour
\documentclass[sotoncolour]{ecsarticle} % Use the Article Style with custom link colour
%</testarticle>
%<*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>
%<*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>
%<*testthesis|testminithesis|testprogress|testproject|testreport|testarticle|testgdp|testgdpsummary>
\graphicspath{{../Figures/}} % Location of your graphics files
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\hypersetup{colorlinks=true} % Set to false for black/white printing
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works
......
......@@ -2,7 +2,7 @@
%% 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
\usepackage{natbib} % Use Natbib style for the refs.
\usepackage{bibentry} % Use bibentry for prepublished works
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
......@@ -23,11 +23,14 @@
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\colorlet{chapRed}{red}
\DeclareOption{sotoncolour}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\definecolor{sotonRed}{RGB}{171,18,16} % Soton Red (P 484C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
\colorlet{chapRed}{sotonRed}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment