-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocument.sty
47 lines (37 loc) · 1.11 KB
/
document.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
38
39
40
41
42
43
44
45
46
47
\usepackage{hyperref}
\usepackage{enumitem}
\usepackage{tasks}
\usepackage{tocloft}
\usepackage[toc,page]{appendix}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{sidecap}
\usepackage{wrapfig}
\usepackage{subcaption}
\usepackage[automark,headsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
\usepackage[style=alphabetic]{biblatex}
\addbibresource{document.bib}
% \usepackage{fontspec}
% TODO font
\usepackage[onehalfspacing]{setspace}
\usepackage{color}
\definecolor{codeColor}{rgb}{0.25,0.25,1}
\usepackage{listings}
\lstset{
basicstyle=
\linespread{1}
\ttfamily
\footnotesize
\color{codeColor},
frame=single,
}
\newcommand\code[1]{\textcolor{codeColor}{\texttt{#1}}}
\newcommand\name[1]{\texttt{#1}}
\newcommand{\akaAbb}{srp}
\newcommand{\listlinkname}{Link Index - \url{https://aka.klawr.de/\akaAbb}}
\newlistof{links}{aka}{\listlinkname}
\newcommand{\theaka}{\url{https://aka.klawr.de/\akaAbb\#\thelinks}}
\newcommand{\aka}[1]{\refstepcounter{links}\theaka%
\addcontentsline{aka}{links}{\url{\#\thelinks}: \tiny{\url{#1}}}}