-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0_preamble.tex
53 lines (46 loc) · 1.48 KB
/
0_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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
% !TEX root = 0_report.tex
\usepackage{bachelorproject}
\usepackage{gossip}
\usepackage{amsthm}
\usepackage{threeparttable}
\usepackage{listings, lstautogobble}
\usepackage[scale=0.85]{plex-mono}
\usepackage[T1]{fontenc}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[linesnumbered,ruled,algosection,noline]{algorithm2e}
\usepackage[inline]{enumitem}
\usepackage{booktabs}
\usepackage{array}
\usepackage{csquotes}
\usepackage[dvipsnames]{xcolor}
\usepackage{dblfloatfix}
\usepackage{tikz}
\usepackage{tikz-qtree}
% set stamp=false to disable 'draft' watermark
\usepackage[stamp=false,scale=5,colorspec=0.95,angle=55]{draftwatermark}
\lstset{%
language=haskell, % close enough to elm to get some decent highlighting
basicstyle=\ttfamily\normalsize,
autogobble=true,
stepnumber=5,
firstnumber=1,
numberfirstline=true,
numbers=left,
numbersep=4pt,
numberstyle=\footnotesize
}
\DeclareCaptionFormat{listing}{#1#2#3}
\captionsetup[lstlisting]{format=listing, singlelinecheck=false, margin=0pt, skip=8pt}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\newtheorem{subdefinition}{Definition}[definition]
\newcommand{\addcite}{\textcolor{red}{(Citation Needed) }}
\newcommand{\tpos}[1]{\textcolor{Green}{#1}}
\newcommand{\tmay}[1]{\textcolor{YellowOrange}{#1}}
\newcommand{\tneg}[1]{\textcolor{Red}{#1}}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
% Some extra hyphenation info
\hyphenation{tij-de-man}
% monospace font for urls
\urlstyle{tt}