-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
165 lines (141 loc) · 3.65 KB
/
thesis.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
\documentclass[12pt,a4paper,oneside]{article}
\usepackage[pdftex,
pdfauthor={Albert Zak},
pdftitle={Reactively Querying an Immutable Log of Relational Facts.
Design and Implementation of a Bitemporal EAV Database with a Subscription Query Language.},
pdfsubject={Master's Thesis},
hidelinks,
driverfallback=hypertex]{hyperref}
\usepackage[english]{babel}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% \usepackage{arialu}
% \renewcommand{\familydefault}{\sfdefault}
% \normalfont
\renewcommand{\rmdefault}{phv} % Arial
\renewcommand{\sfdefault}{phv} % Arial
\usepackage{microtype}
\usepackage{geometry}
\usepackage{bookmark}
\usepackage{listings}
\usepackage[inline]{enumitem}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{cleveref}
\usepackage{multirow}
\usepackage{floatrow, makecell}
\usepackage{hhline}
\usepackage{boldline}
\usepackage{algpseudocode}
\usepackage{stackengine}
\usepackage{tikz}
\usetikzlibrary{trees,arrows,fit,positioning,shapes.geometric,shadows}
\PassOptionsToPackage{usenames,dvipsnames,svgnames,table}{xcolor}
\usepackage{xcolor-solarized}
\usepackage{gitdags}
\usepackage[singlespacing]{setspace}
\usepackage[acronym,nopostdot,style=super,nonumberlist,nogroupskip]{glossaries}
\usepackage{fancyhdr}
\usepackage{hyphenat}
\hyphenation{name-space}
\usepackage{forest}
\forestset{
dir tree/.style={
for tree={
parent anchor=south west,
child anchor=west,
anchor=mid west,
inner ysep=-3pt,
grow'=0,
align=left,
edge path={
\noexpand\path [draw, very thin, lightgray, \forestoption{edge}] (!u.parent anchor) ++(1em,0) |- (.child anchor)\forestoption{edge label};
},
font=\ttfamily,
if n children=0{}{
delay={
prepend={[,phantom, calign with current]}
}
},
fit=band,
before computing xy={
l=2em
}
},
}
}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
\makeglossaries{}
\input{glossary}
\lstset{
language=lisp,
numbers=left,
numberstyle=\small\color{lightgray},
basicstyle=\ttfamily,
captionpos=b,
keepspaces,
frame=0,
extendedchars=true,
firstnumber=0,
stepnumber=50,
% topmargin=15pt,
% bottommargin=15pt,
% xtopmargin=15pt,
% xbottommargin=15pt,
% xleftmargin=17pt,
% framextopmargin=10pt,
% framexleftmargin=10pt,
% framexrightmargin=10pt,
% framexbottommargin=10pt,
inputencoding=utf8,
mathescape=true,
abovecaptionskip=10pt
}
% Hide number in first line of code listings
\makeatletter
\def\lst@PlaceNumber{\ifnum\value{lstnumber}=0\else
\rlap{\normalfont\kern\linewidth \kern\lst@numbersep\lst@numberstyle{\thelstnumber}}\fi}
\makeatother
\newcommand{\lisp}[1]{\lstinline|#1|}
\pdfpageheight=297mm
\pdfpagewidth=210mm
\geometry{a4paper, left=30mm, right=25mm, top=30mm, bottom=30mm}
\begin{document}
\frenchspacing
\pagestyle{empty}
\input{sections/preamble}
\newpage
\pagestyle{fancy}
\pagenumbering{roman}
\include{sections/abstract}
\section*{Key Terms}
EAV \\
Database \\
Bitemporal \\
Immutable \\
Datalog \\
Lisp \\
\cleardoublepage
\renewcommand{\glsnamefont}[1]{\textbf{#1}}
\doublespacing
\printglossary[title=List of Abbreviations,nonumberlist,type=\acronymtype]
\singlespacing
\cleardoublepage
\tableofcontents{}
\cleardoublepage
\pagenumbering{arabic}
\include{sections/introduction}
\include{sections/state_of_the_art}
\include{sections/related_work}
\include{sections/design}
\include{sections/implementation}
\include{sections/discussion}
\include{sections/conclusion}
\include{lists}
\bibliography{lit}
\bibliographystyle{alpha}
\end{document}