-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththesis.tex
140 lines (106 loc) · 4.15 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
%% (Master) Thesis template
% Template version used: v1.4
%
% Largely adapted from Adrian Nievergelt's template for the ADPS
% (lecture notes) project.
%% We use the memoir class because it offers a many easy to use features.
\documentclass[11pt,a4paper]{memoir}
%% Packages
%% ========
%% LaTeX Font encoding -- DO NOT CHANGE
\usepackage[OT1]{fontenc}
%% Babel provides support for languages. 'english' uses British
%% English hyphenation and text snippets like "Figure" and
%% "Theorem". Use the option 'ngerman' if your document is in German.
%% Use 'american' for American English. Note that if you change this,
%% the next LaTeX run may show spurious errors. Simply run it again.
%% If they persist, remove the .aux file and try again.
\usepackage[UKenglish]{babel}
%% Input encoding 'utf8'. In some cases you might need 'utf8x' for
%% extra symbols. Not all editors, especially on Windows, are UTF-8
%% capable, so you may want to use 'latin1' instead.
\usepackage[utf8]{inputenc}
%% This changes default fonts for both text and math mode to use Herman Zapfs
%% excellent Palatino font. Do not change this.
\usepackage[sc]{mathpazo}
%% The AMS-LaTeX extensions for mathematical typesetting. Do not
%% remove.
\usepackage{amsmath,amssymb,amsfonts,mathrsfs}
%% NTheorem is a reimplementation of the AMS Theorem package. This
%% will allow us to typeset theorems like examples, proofs and
%% similar. Do not remove.
%% NOTE: Must be loaded AFTER amsmath, or the \qed placement will
%% break
\usepackage[amsmath,thmmarks]{ntheorem}
%% LaTeX' own graphics handling
\usepackage{graphicx}
%% We unfortunately need this for the Rules chapter. Remove it
%% afterwards; or at least NEVER use its underlining features.
\usepackage{soul}
%% This allows you to add .pdf files. It is used to add the
%% declaration of originality.
\usepackage{pdfpages}
%% Some more packages that you may want to use. Have a look at the
%% file, and consult the package docs for each.
\input{misc/extrapackages}
%% Our layout configuration. DO NOT CHANGE.
\input{misc/layoutsetup}
%% Helpful macros.
\input{misc/macrosetup}
%% Make document internal hyperlinks wherever possible. (TOC, references)
%% This MUST be loaded after varioref, which is loaded in 'extrapackages'
%% above. We just load it last to be safe.
\usepackage{todonotes}
\presetkeys{todonotes}{backgroundcolor=yellow}{}
\usepackage{enumitem}
\makeatletter
%\newcommand\l@subparagraph[2]{}
%https://tex.stackexchange.com/questions/160315/how-do-i-remove-the-paragraph-text-from-the-tableofcontents-with-acmsmall
%TODO don't think I need this
%TODO https://tex.stackexchange.com/questions/32285/referencing-to-above-or-below
\makeatother
%% Document information
%% ====================
\title{Confidential Cross-Blockchain Exchanges: Designing a Privacy-Preserving Interoperability Scheme}
%\title{Cross-chain zero knowledge cryptocurrency-backed assets}
\author{A. Sánchez}
\thesistype{Master Thesis}
\advisors{Advisors: Prof.\ Dr.\ M. Vechev$^1$, Dr.\ P. Tsankov$^1$\\External advisors: Dr.\ F. Shirazi$^2$, Dr.\ A. Stewart$^2$}
\department{$^1$Department of Computer Science, ETH Z\"urich\\$^2$Web3 Foundation, Zug}
\date{\monthname[\the\month] \the\day, \the\year}
\begin{document}
\frontmatter
%% Title page is autogenerated from document information above. DO
%% NOT CHANGE.
\begin{titlingpage}
\calccentering{\unitlength}
\begin{adjustwidth*}{\unitlength-24pt}{-\unitlength-24pt}
\maketitle
\end{adjustwidth*}
\end{titlingpage}
%% The abstract of your thesis. Edit the file as needed.
\input{sections/abstract}
\cleardoublepage
\input{sections/acknowledgements}
%% TOC with the proper setup, do not change.
\cleartorecto
\tableofcontents
\mainmatter
%% Your real content!
\input{sections/introduction}
\input{sections/background}
\input{sections/preliminaries}
\input{sections/overview}
\input{sections/protocol}
\input{sections/analysis}
%\input{sections/implementation}
\input{sections/conclusion}
\appendix
\input{sections/appendix}
\backmatter
\setcounter{biburllcpenalty}{9000}
\setcounter{biburlucpenalty}{8000}
\setcounter{biburlnumpenalty}{9000}
\printbibliography
\includepdf[pages={-}]{misc/declaration-originality.pdf}
\end{document}