-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
107 lines (90 loc) · 2.49 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
\documentclass[a4paper,12pt,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{geometry}
\usepackage{float}
\usepackage[numbers]{natbib}
\usepackage[bottom]{footmisc}
\usepackage{listings}
\usepackage[most]{tcolorbox}
\usepackage{graphicx} %package to manage images
\usepackage[bookmarks=true]{hyperref}
\bibliographystyle{IEEEtranN}
\graphicspath{ {./images/} }
\lstdefinelanguage{docker}{
keywords={FROM, RUN, COPY, ADD, ENTRYPOINT, CMD, ENV, ARG, WORKDIR, EXPOSE, LABEL, USER, VOLUME, STOPSIGNAL, ONBUILD, MAINTAINER},
keywordstyle=\color{blue}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{\#},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{red}\ttfamily,
morestring=[b]',
morestring=[b]"
}
\lstdefinelanguage{docker-compose-2}{
keywords={version, volumes, services},
keywordstyle=\color{blue}\bfseries,
keywords=[2]{image, environment, ports, container_name, ports, links, build},
keywordstyle=[2]\color{olive}\bfseries,
identifierstyle=\color{black},
sensitive=false,
comment=[l]{\#},
commentstyle=\color{purple}\ttfamily,
stringstyle=\color{red}\ttfamily,
morestring=[b]',
morestring=[b]"
}
\lstset{basicstyle=\ttfamily,
showstringspaces=false,
commentstyle=\color{red},
keywordstyle=\color{blue},
inputencoding=utf8,
extendedchars=true,
}
\newtcblisting[auto counter]{docker}[2][]{
colframe=gray, listing only,
listing options={basicstyle=\ttfamily,language=docker},
title=Listing \thetcbcounter: #2, #1
}
\newtcblisting[auto counter]{docker-compose}[2][]{
colframe=gray, listing only,
listing options={basicstyle=\ttfamily,language=docker-compose-2},
title=Listing \thetcbcounter: #2, #1
}
\linespread{1.3}
\hypersetup{
pdftitle={Tesi},
pdfauthor={Matteo Sirri},
colorlinks=true,
linkcolor=blue,
citecolor=black,
filecolor=black,
urlcolor=blue,
linktoc=page
}
\pagestyle{plain}
\geometry{
a4paper,
left=2in,
top=1in,
bottom=1in,
right=0.1in,
}
\begin{document}
\frontmatter
\input{src/frontespizio/frontespizio.tex}
\input{src/abstract/abstract.tex}
\input{src/indice/indice.tex}
\mainmatter
\input{src/introduzione/introduzione.tex}
\input{src/corpo/corpo.tex}
\input{src/conclusioni/conclusioni.tex}
\backmatter
\nocite{*}
\chapter{Fonti bibliografiche e sitografia}
\renewcommand{\bibsection}{}
\bibliography{bibliografia}
\listoffigures
\end{document}