Skip to content
Snippets Groups Projects
Commit 79b35230 authored by Jannik Dunkelau's avatar Jannik Dunkelau
Browse files

Alter hyperref colours

parent 39c8a35e
Branches
No related tags found
No related merge requests found
\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}
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment