-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
149 lines (129 loc) · 3.66 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
% %--------------------
% % Packages
% % -------------------
\documentclass[11pt,a4paper]{report}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{color}
\usepackage{csquotes}
\usepackage{syntax}
\usepackage{listings, multicol}
\usepackage{subcaption}
\usepackage{tikz}
\usepackage{array}
\usepackage{enumitem}
\usepackage[compact,small]{titlesec}
\usepackage{algpseudocode}
\usepackage{algorithm}
\usepackage{url}
\usepackage{multirow}
\usepackage{breakurl}
\usepackage{amsmath}
\usepackage[hidelinks]{hyperref}
\usepackage{cleveref}
\usepackage{times}
\usepackage{enumitem}
\usepackage{makecell}
\usepackage[
backend=biber,
style=numeric-comp,
minalphanames=3,
isbn=false,
sortcites=true,
sorting=anyt,
abbreviate=false,
url=false,
doi=false,
maxnames=99,
minbibnames=3,
maxbibnames=99]{biblatex}
\addbibresource{main.bib}
% \titleformat{\chapter}[display]
% {\normalfont\large\bfseries}{}{0pt}{\LARGE}
% \titlespacing*{\chapter}
% {0pt}{10pt}{20pt}
\frenchspacing
\linespread{1.2}
\newcommand{\cmt}[3]{
{\footnotesize [\textcolor{#1}{\textsf{#2: #3}}]}
}
\newcommand{\todo}[1]{
\textcolor{red}{#1}
}
\newcommand{\malte}[1]{\cmt{blue}{Malte}{#1}}
\newcommand{\justus}[1]{\cmt{olive}{Justus}{#1}}
\newcommand{\shriram}[1]{\cmt{teal}{Shriram}{#1}}
\newcommand{\livia}[1]{\cmt{red}{Livia}{#1}}
\newcommand{\carolyn}[1]{\cmt{purple}{Carolyn}{#1}}
\def\sys{\text{Para\-legal}}
\def\syslang{\text{Para\-lang\-uage}}
\newcommand{\code}[1]{{\footnotesize\texttt{#1}}}
\newcommand{\marker}[1]{\code{\color{blue}{#1}}}
\newcommand{\cnlexp}{Controlled Natural Language (CNL)}
\newcommand{\dev}{developer}
\newcommand{\devs}{developers}
\newcommand{\Devs}{Developers}
\newcommand{\policies}{privacy policies}
\newcommand{\writer}{\ce}
\newcommand{\writers}{\ces}
\newcommand{\Writers}{\Ces}
\newcommand{\ce}{compliance engineer}
\newcommand{\ces}{compliance engineers}
\newcommand{\Ce}{Compliance engineer}
\newcommand{\Ces}{Compliance engineers}
\newcommand{\policylang}{privacy policy specification language}
\newcommand{\controller}{entrypoint}
\newcommand{\Controller}{Entrypoint}
\lstdefinelanguage{Rust}{%
morekeywords={impl,let,in,return,fn,struct,enum,mut,for,region,where,if,else,pub,use},
sensitive=true,
otherkeywords={{->}, {=}, {|}, {:}, {.}, {&}, {?}},
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]",
morestring=[d]',
}
\lstdefinelanguage{CNL}{
morestring=[b]",
stringstyle=\color{violet},
moredelim={[is][\color{teal}]{@@}{@@}},
moredelim={[is][keywordstyle]{/*}{*/}}
}
\lstset{
language=Rust,
basicstyle=\ttfamily\footnotesize,
columns=fullflexible,
keepspaces=true,
showspaces=false,
showstringspaces=false,
showtabs=false,
}
\setlist{leftmargin=*}
\setlength{\fboxsep}{1pt}%
\begin{document}
\lstMakeShortInline|
\thispagestyle{empty}
\begin{center}
\vspace*{1em}{\Huge \syslang{}: A Privacy Policy Specification Language \par}
\vspace*{1em}{\huge Carolyn Zech\par}
\vspace*{3em}{\LARGE Advisor: Malte Schwarzkopf\par Reader: Shriram Krishnamurthi\par}
\vspace*{8em}\includegraphics[scale=0.08]{graphics/logo.png}\par
\vspace*{1em}{\LARGE Department of Computer Science\par Brown University\par Providence, RI \par May 2024 \par}
\end{center}
\newpage
\tableofcontents
\newpage
\input{chapters/abstract.tex}
\input{chapters/intro.tex}
\input{chapters/background.tex}
\input{chapters/overview.tex}
\input{chapters/interface.tex}
\input{chapters/impl.tex}
\input{chapters/eval.tex}
\input{chapters/related-work.tex}
\input{chapters/conclusion.tex}
\printbibliography{}
\input{chapters/appendix.tex}
\end{document}