From 79b3523006b7259265c53350473cd49f46bc5e6c Mon Sep 17 00:00:00 2001
From: Jannik Dunkelau <jannik.dunkelau@hhu.de>
Date: Mon, 4 Nov 2019 14:55:36 +0100
Subject: [PATCH] Alter hyperref colours

---
 hhuthesis.cls | 20 ++++++++++++++++++--
 thesis.tex    |  3 ++-
 2 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/hhuthesis.cls b/hhuthesis.cls
index 0df8aaf..618757a 100644
--- a/hhuthesis.cls
+++ b/hhuthesis.cls
@@ -1,5 +1,5 @@
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{hhuthesis}[2019/10/13 HHU Thesis LaTeX document class v1.6.1]
+\ProvidesClass{hhuthesis}[2019/11/04 HHU Thesis LaTeX document class v1.7]
 
 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % Options fallback.
 \ProcessOptions\relax
@@ -110,7 +110,7 @@
 \RequirePackage{caption}
 \captionsetup{width=0.9\textwidth,labelfont=bf,font=small}
 
-%% Allow use of \frontmatter and \mainmatter
+%% Allow use of \frontmatter, \mainmatter, \appendix, and \backmatter
 \newcommand{\frontmatter}{
   \cleardoublepage
   \pagenumbering{roman}
@@ -143,6 +143,22 @@
   \setcounter{secnumdepth}{0}
 }
 
+%% Define link colors for hyperref package
+\newcommand{\sethyperrefhhucolors}{%
+  \hypersetup{
+    linkcolor=hhublue,
+    linkbordercolor=hhublue,
+    menucolor=hhublue,
+    menubordercolor=hhublue,
+    citecolor=hhublue,
+    citebordercolor=hhublue,
+    filecolor=hhublue,
+    filebordercolor=hhublue,
+    urlcolor=hhublue,
+    urlbordercolor=hhublue
+  }
+}
+
 %%% Setup of title page
 
 \RequirePackage{graphicx}
diff --git a/thesis.tex b/thesis.tex
index fd295ff..df91989 100644
--- a/thesis.tex
+++ b/thesis.tex
@@ -76,7 +76,8 @@
 \usepackage{siunitx} % \num Befehl zum einfacheren Formatieren von Zahlen.
 \usepackage{enumitem} % Leichter konfigurierbare enumerate-Umgebungen.
 \usepackage{subcaption} % Unterteilung von Figures in Subfigures.
-\usepackage{hyperref} % Klickbare Referenzen (z.B. im Inhaltsverzeichnis)
+\usepackage[colorlinks]{hyperref} % Klickbare Links (z.B. Inhaltsverzeichnis).
+\sethyperrefhhucolors{} % Setzt den Farbsatz der HHU für hyperref.
 \usepackage{url} % \url Kommando für Darstellung von Links
 \usepackage{csquotes} % Improved quoting.
 \usepackage{xspace} % Nicht terminierte Kommandos essen keinen Whitespace mehr.
-- 
GitLab