Debian Codegraph @

texmf-dist/doc/latex/iodhbwm/examples/references/iodhbwm-hyperref.tex

raw
1 % ---------------------------------------------------
2 % Date: 12.12.2018
3 % Version: v0.1
4 % Autor: Felix Faltin <ffaltin91[at]gmail.com>
5 % Repository: https://github.com/faltfe/iodhbwm
6 % ---------------------------------------------------
7 % --- --- --- --- -- Class options -- --- --- --- ---
8 % ---------------------------------------------------
9 \documentclass[
10 load-dhbw-templates, % Allow \dhbw* commands
11 debug, % Provide \lipsum, \blindtext
12 language = ngerman, % Set main document language
13 auto-intro-pages = custom % Takes care about titlepage, abstract, ToC, etc.
14 ]{iodhbwm}
15 \usepackage[T1]{fontenc}
16
17 % ---------------------------------------------------
18 % --- --- --- --- - Necessary setup - --- --- --- ---
19 % ---------------------------------------------------
20 \dhbwsetup{
21 intro/print toc=true
22 }
23
24 % Define custom color
25 \definecolor{DHBW-dark-red}{HTML}{93404A}
26
27 % Anchor points (hooks) are used to load hyperref.
28 % The settings must be set AFTER loading hyperref,
29 % why \AtBeginDocument must be used.
30 \AtBeginDocument{%
31 \hypersetup{%
32 linkcolor=DHBW-dark-red
33 }
34 }
35
36 % If all color settings are to be deactivated,
37 % this can be done with the `hidelinks` option.
38 % However, the class offers the options print and print-,
39 % who take care of the colored display.
40 %\AtBeginDocument{%
41 % \hypersetup{%
42 % hidelinks
43 % }
44 %}
45
46 % ---------------------------------------------------
47 % --- --- --- --- Begin actual content -- --- --- ---
48 % ---------------------------------------------------
49 \begin{document}
50 \Blinddocument
51 \end{document}