-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
30 lines (27 loc) · 1005 Bytes
/
preamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% A better link color palette based on https://jfly.uni-koeln.de/color/
\usepackage{hyperref}
\definecolor{linkcolor}{HTML}{D55E00}
\definecolor{citecolor}{HTML}{009E73}
\definecolor{urlcolor}{HTML}{0072B2}
\hypersetup{
colorlinks,
linkcolor={linkcolor},
citecolor={citecolor},
urlcolor={urlcolor}
}
% Adjust source code color palette
\makeatletter
\@ifundefined{DecValTok}{}{
\renewcommand{\DecValTok}[1]{\textcolor[HTML]{009E73}{#1}}
\renewcommand{\FloatTok}[1]{\textcolor[HTML]{009E73}{#1}}
\renewcommand{\ConstantTok}[1]{\textcolor[HTML]{009E73}{#1}}
\renewcommand{\ControlFlowTok}[1]{\textcolor[HTML]{0072B2}{\textbf{#1}}}
\renewcommand{\OtherTok}[1]{\textcolor[HTML]{000000}{#1}}
\renewcommand{\CommentTok}[1]{\textcolor[HTML]{999999}{\textit{#1}}}
\renewcommand{\AttributeTok}[1]{\textcolor[HTML]{CC79A7}{#1}}
\renewcommand{\FunctionTok}[1]{\textcolor[HTML]{56B4E9}{#1}}
}
\makeatother
\usepackage{caption}
\captionsetup{width=14cm}
\usepackage[absolute]{textpos}