forked from coolharsh55/phd-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
179 lines (152 loc) · 4.59 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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
\documentclass[a4paper,oneside,11pt]{book}
% \documentclass[a4paper,openany,11pt]{book}
% change oneside to openany for double sided
\usepackage[a4paper,top=20mm,bottom=20mm,left=35mm,right=20mm]{geometry}
\usepackage[utf8]{inputenc}
% \usepackage{kpfonts}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{graphicx}
\usepackage{setspace} % to permit one-and-a-half or double spacing
\usepackage{booktabs} % To thicken table lines
\usepackage{framed} % box frames
\usepackage{enumitem} % resume list numbering
\usepackage[english]{babel} % bibliography
\usepackage[table]{xcolor}
\usepackage{tabularx}
\usepackage{ltablex}
\usepackage[htt]{hyphenat}
\usepackage{fancyhdr}
\usepackage{pifont}
\usepackage{url}
\usepackage{listings}
\usepackage[
type={CC},
modifier={by},
version={4.0},
]{doclicense}
\usepackage{csquotes}
\usepackage[backend=biber,style=ieee,natbib=true]{biblatex} %added
\addbibresource{Thesis.bib}
% \usepackage[numbers]{natbib}
% \bibliographystyle{abbrvnat}
% \usepackage{bibentry}
% \nobibliography*
% ToDo notes
\usepackage[
textsize=tiny,
]{todonotes}
% line spacing
\onehalfspacing
% remove red boxes in minted code
\makeatletter
\AtBeginEnvironment{minted}{\dontdofcolorbox}
\def\dontdofcolorbox{\renewcommand\fcolorbox[4][]{##4}}
\makeatother
% compact lists
\setlist{noitemsep,topsep=0pt,parsep=0pt,partopsep=0pt}
% sans-serif
\usepackage{palatino}
\renewcommand{\familydefault}{\rmdefault}
% footnotes
%% See http://tex.stackexchange.com/a/4781/5001 for the following code:
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@footnotetext}{\footnotesize}{\footnotesize\sffamily}{}{}
\makeatother
\urlstyle{rm}
% chapter headings
\usepackage[raggedright]{titlesec}
% PDF bookmarks
\usepackage{hyperref}
\hypersetup{
bookmarks=true,
colorlinks=true,
citecolor=magenta,
pdftitle={Representing Activities associated with Processing of Personal Data and Consent using Semantic Web for GDPR Compliance},
pdfauthor={Harshvardhan J. Pandit},
pdfsubject={PhD Thesis},
pdfkeywords={keyword1, keyword2},
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
colorlinks=true,
pdfstartview=Fit,
pdfpagemode=UseOutlines,
% pdfpagelayout=TwoPageRight
}
\usepackage{minted}
% highlight
% \usepackage{color,soul}
% \usepackage[normalem]{ulem} % use normalem to protect \emph
% \definecolor{red}{rgb}{1,0.0,0.0}
% \newcommand\hl{\bgroup\markoverwith{\textcolor{red}{\rule[-0.5ex]{2pt}{0.4pt}}}\ULon}
\newcommand{\hl}[1]{\textcolor{blue}{#1}}
\title{Representing Activities associated with Processing of Personal Data and Consent using Semantic Web for GDPR Compliance}
\author{Harshvardhan J. Pandit}
\frontmatter
% checkmark
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
% minted style
\setminted{
frame=single,
framesep=2mm,
fontsize=\footnotesize,
baselinestretch=1,
linenos,
}
% this page intentionally left blank
\makeatletter
\def\cleardoublepage{\clearpage%
\if@twoside
\ifodd\c@page\else
\vspace*{\fill}
\hfill
\begin{center}
This page intentionally left blank.
\end{center}
\vspace{\fill}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi
\fi
\fi
}
\makeatother
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{2}
\begin{document}
% redefine autoref macros
\providecommand*{\listingautorefname}{Listing}
\renewcommand*{\chapterautorefname}{Chapter}
\renewcommand*{\sectionautorefname}{Section}
\renewcommand*{\subsectionautorefname}{Section}
\renewcommand*{\subsubsectionautorefname}{Section}
% chapter headings
\definecolor{gray75}{gray}{0.75}
\newcommand{\hsp}{\hspace{20pt}}
\titleformat{\chapter}[hang]{\Huge\bfseries\sffamily\scshape}{\thechapter\hsp\textcolor{gray75}{|}\hsp}{0pt}{\Huge\bfseries}
\titleformat*{\section}{\Large\bfseries\sffamily\scshape}
\titleformat*{\subsection}{\large\bfseries\sffamily}
\titleformat*{\subsubsection}{\itshape\bfseries\sffamily}
% do not hyphenate chapters
\pagenumbering{roman}
% \listoftodos
\input{cover}
\mainmatter
\renewcommand{\thepage}{\arabic{page}}
\setcounter{page}{1}
% \linenumbers \rightlinenumbers*
\include{introduction}
\include{background}
\include{sota}
\include{information}
\include{vocabularies}
\include{testing}
\include{conclusion}
% \renewcommand\bibname{References}
% \addcontentsline{toc}{chapter}{References}
% \bibliography{Thesis}
\sloppy
\printbibliography[heading=bibintoc,title={References}]
\end{document}