This repository has been archived by the owner on Jun 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmain.tex
114 lines (89 loc) · 2.51 KB
/
main.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
\documentclass[
12pt,
a4paper,
parskip,
openany
]{scrbook}
\usepackage{scrhack}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[hidelinks, pdfpagelabels, pdfusetitle]{hyperref}
\hypersetup{hypertexnames=false}
\usepackage{enumitem}
\usepackage{suffix}
\usepackage{lipsum}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{float}
\usepackage[title,titletoc,header,toc,page]{appendix}
\renewcommand{\appendixname}{Appendix}
% Layout refinements
% Also fixes overfull hbox due to texttt
\usepackage{microtype}
% Abbreviations
\usepackage{glossaries-extra}
\setabbreviationstyle{long-short}
\setabbreviationstyle[acronym]{long-short}
\makeglossaries
\input{glossary-entries.tex}
% Listings and drawings (needs to be loaded before csquotes)
\usepackage{minted}
\usemintedstyle[js]{vs}
\usepackage{tikz}
\usetikzlibrary{intersections,arrows.meta}
% Citation packages and options
\usepackage{csquotes}
\usepackage[
backend=biber,
style=apa,
]{biblatex}
\addbibresource{bibliography.bib}
% Break long URLs in sources
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
\DeclareLanguageMapping{english}{english-apa}
% Correct listing references
\providecommand*{\listingautorefname}{Listing}
% ===== INDIVIDUAL AUTHORS PER CHAPTER =====
% Source: https://tex.stackexchange.com/a/156865
\newcommand\chapterauthor[1]{\authortoc{#1}\printchapterauthor{#1}}
\WithSuffix\newcommand\chapterauthor*[1]{\printchapterauthor{#1}}
\makeatletter
\newcommand{\printchapterauthor}[1]{%
{\parindent0pt\vspace*{-25pt}%
\linespread{1.1}\large#1%
\par\nobreak\vspace*{35pt}}
\@afterheading%
}
\newcommand{\authortoc}[1]{%
\addtocontents{toc}{\vskip-10pt}%
\addtocontents{toc}{%
\protect\contentsline{chapter}%
{\hskip1.3em\mdseries\protect\scriptsize#1}{}{}}
\addtocontents{toc}{\vskip5pt}%
}
\makeatother
% ==========================================
\title{NoSQL Databases}
\author{Course STG-TINF16A of the Baden-Wuerttemberg\\ Cooperative State University Stuttgart}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\printglossaries
\input{content/1_introduction.tex}
\input{content/2_0_key_value}
\input{content/2_1_hazelcast}
\input{content/2_2_redis}
\input{content/2_3_riak}
\input{content/3_0_cassandra}
\input{content/4_0_document_oriented}
\input{content/4_1_couchbase}
\input{content/4_2_rethink_db}
\input{content/5_0_graph_db}
\input{content/6_conclusion}
\printbibliography
\appendix
\input{appendix/3_0_cassandra}
\input{appendix/4_2_rethink_db.tex}
\end{document}