-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcustomizations.sty
37 lines (29 loc) · 947 Bytes
/
customizations.sty
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
31
32
33
34
35
36
37
% Basic packages
\RequirePackage[style=german]{csquotes}
\RequirePackage[citestyle=ieee,bibstyle=ieee,backend=biber]{biblatex}
\RequirePackage[ngerman]{babel}
\RequirePackage{fontawesome}
\RequirePackage{enumitem}
\RequirePackage{soul}
% Color definitions based on latexcolor.com
\RequirePackage{color}
\definecolor{coolblack}{rgb}{0.0, 0.18, 0.39}
\definecolor{gainsboro}{rgb}{0.86, 0.86, 0.86}
\RequirePackage[final]{hyperref}
\hypersetup{
colorlinks = true,
urlcolor = {coolblack},
citecolor = {black}
}
\sethlcolor{gainsboro}
% Custom link commands
\newcommand{\symbolInfo}{\faInfoCircle}
\newcommand{\symbolTool}{\faWrench}
\newcommand{\infoLink}[2]{\symbolInfo\,~\href{#1}{#2}}
\newcommand{\toolLink}[2]{\symbolTool\,~\href{#1}{#2}}
% Filetype highlighting
\newcommand{\fileType}[1]{\hl{\texttt{.#1}}}
% Faking bibtex smybol
\newcommand{\bibtex}{\textsc{Bib}\TeX}
% Package template
\newcommand{\package}[1]{\textbf{#1}:}