Commit 2b0ca735 authored by Edward Longman's avatar Edward Longman
Browse files

Add soton colours as an option. Easy to change now. Link Source in README

parent aff3fcbd
...@@ -4,3 +4,5 @@ LaTeX Documents for the University of Southampton. Mainly for Thesis and project ...@@ -4,3 +4,5 @@ LaTeX Documents for the University of Southampton. Mainly for Thesis and project
This whole folder can be moved into the ~/texmf directory to begin using the class files. This whole folder can be moved into the ~/texmf directory to begin using the class files.
Created with docstrip `.ins` and `.dtx` files in the source directory. See the Instructions manual for more info about usage and building. Created with docstrip `.ins` and `.dtx` files in the source directory. See the Instructions manual for more info about usage and building.
The version hosted on https://git.soton.ac.uk/el7g15/uos-latex-template is kept up to date with the University of Southampton template. The version hosted on GitHub may diverge from that.
...@@ -134,6 +134,10 @@ ...@@ -134,6 +134,10 @@
% %
% 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.
% This option defines \texttt{sotonlinks} 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. % All options are passed on to the \texttt{book} or \texttt{article} class.
% %
% \begin{macrocode} % \begin{macrocode}
...@@ -156,6 +160,15 @@ ...@@ -156,6 +160,15 @@
% \end{macro} % \end{macro}
% %
% \begin{macrocode} % \begin{macrocode}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
% \end{macrocode} % \end{macrocode}
% %
...@@ -535,13 +548,9 @@ ...@@ -535,13 +548,9 @@
% Load the \texttt{hyperref} package to provide hyperlinks in pdf and dvi documents. % Load the \texttt{hyperref} package to provide hyperlinks in pdf and dvi documents.
% %
% \begin{macrocode} % \begin{macrocode}
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
...@@ -1273,7 +1282,7 @@ I confirm that: ...@@ -1273,7 +1282,7 @@ I confirm that:
\vskip 60\p@ \vskip 60\p@
\begin{center}{\selectfont\huge \begin{center}{\selectfont\huge
\textcolor{SotGray}{University~of~Southampton~Research~Repository}\par} \textcolor{custGray}{University~of~Southampton~Research~Repository}\par}
\end{center} \end{center}
\vspace{1cm} \vspace{1cm}
...@@ -1425,28 +1434,28 @@ Data: Author (Year) Title. URI [dataset]} ...@@ -1425,28 +1434,28 @@ Data: Author (Year) Title. URI [dataset]}
% %
% \begin{macrocode} % \begin{macrocode}
%<*testthesis> %<*testthesis>
\documentclass{ecsthesis} % Use the Thesis Style \documentclass[sotonlinks]{ecsthesis} % Use the Thesis Style with custom link colour
%</testthesis> %</testthesis>
%<*testminithesis> %<*testminithesis>
\documentclass{ecsminithesis} % Use the minithesis Style \documentclass[sotonlinks]{ecsminithesis} % Use the minithesis Style with custom link colour
%</testminithesis> %</testminithesis>
%<*testprogress> %<*testprogress>
\documentclass{ecsprogress} % Use the progress Style \documentclass[sotonlinks]{ecsprogress} % Use the progress Style with custom link colour
%</testprogress> %</testprogress>
%<*testproject> %<*testproject>
\documentclass{ecsproject} % Use the Project Style \documentclass[sotonlinks]{ecsproject} % Use the Project Style with custom link colour
%</testproject> %</testproject>
%<*testreport> %<*testreport>
\documentclass{ecsreport} % Use the Report Style \documentclass[sotonlinks]{ecsreport} % Use the Report Style with custom link colour
%</testreport> %</testreport>
%<*testarticle> %<*testarticle>
\documentclass{ecsarticle} % Use the Article Style \documentclass[sotonlinks]{ecsarticle} % Use the Article Style with custom link colour
%</testarticle> %</testarticle>
%<*testgdp> %<*testgdp>
\documentclass{ecsgdp} % Use the GDP Report Style \documentclass[sotonlinks]{ecsgdp} % Use the GDP Report Style with custom link colour
%</testgdp> %</testgdp>
%<*testgdpsummary> %<*testgdpsummary>
\documentclass{ecsgdpsummary} % Use the GDP Summary Report Style \documentclass[sotonlinks]{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{ecsarticle} % Use the Article Style \documentclass[sotonlinks]{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{ecsgdp} % Use the GDP Report Style \documentclass[sotonlinks]{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.
\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 @@
%% GDPSummary.tex %% GDPSummary.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass{ecsgdpsummary} % Use the GDP Summary Report Style \documentclass[sotonlinks]{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{ecsminithesis} % Use the minithesis Style \documentclass[sotonlinks]{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.
\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 @@
%% Progress.tex %% Progress.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass{ecsprogress} % Use the progress Style \documentclass[sotonlinks]{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{ecsproject} % Use the Project Style \documentclass[sotonlinks]{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.
\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 @@
%% Report.tex %% Report.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass{ecsreport} % Use the Report Style \documentclass[sotonlinks]{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.
\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 @@
%% Thesis.tex %% Thesis.tex
%% ---------------------------------------------------------------- %% ----------------------------------------------------------------
\documentclass{ecsthesis} % Use the Thesis Style \documentclass[sotonlinks]{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.
\hypersetup{colorlinks=true} % Set to false for black/white printing \hypersetup{colorlinks=true} % Set to false for black/white printing
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{article} \def\baseclass{article}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -132,13 +141,9 @@ ...@@ -132,13 +141,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -134,13 +143,9 @@ ...@@ -134,13 +143,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
......
...@@ -20,6 +20,15 @@ ...@@ -20,6 +20,15 @@
%% Set spacing, line and paragraph options %% Set spacing, line and paragraph options
%% Set LaTeX builder options (work break penalties etc.) %% Set LaTeX builder options (work break penalties etc.)
\def\baseclass{book} \def\baseclass{book}
\RequirePackage{xcolor}
\colorlet{linkBlue}{blue}
\colorlet{custGray}{gray}
\DeclareOption{sotonlinks}{
\definecolor{sotonMarineBlue}{RGB}{1,67,89} % Soton marine blue (P 7469C)
\definecolor{sotonGrey}{RGB}{153,153,166} % Soton grey (P 443C)
\colorlet{linkBlue}{sotonMarineBlue}
\colorlet{custGray}{sotonGrey}
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{ \def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}} \edef\@curroptions{\@ptionlist{\@currname.\@currext}}
...@@ -138,13 +147,9 @@ ...@@ -138,13 +147,9 @@
keywordstyle=\color{blue}, keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em, commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} } stringstyle=\color[rgb]{0.7,0,0} }
\usepackage{xcolor}
\definecolor{SotRed}{rgb}{0.67,0.07,0.06}
\definecolor{SotBlue}{rgb}{0,0.26,0.35}
\definecolor{SotGray}{rgb}{0.6,0.6,0.65}
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true, \usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false, bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={SotBlue},citecolor={SotBlue},urlcolor={SotBlue}, colorlinks,linkcolor={linkBlue},citecolor={linkBlue},urlcolor={linkBlue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref} pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{ \pdfstringdefDisableCommands{
\let\\\space \let\\\space
...@@ -407,7 +412,7 @@ I confirm that: ...@@ -407,7 +412,7 @@ I confirm that:
\vskip 60\p@ \vskip 60\p@
\begin{center}{\selectfont\huge \begin{center}{\selectfont\huge
\textcolor{SotGray}{University~of~Southampton~Research~Repository}\par} \textcolor{custGray}{University~of~Southampton~Research~Repository}\par}
\end{center} \end{center}
\vspace{1cm} \vspace{1cm}
......
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