-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappendix-main.tex
More file actions
146 lines (122 loc) · 5.17 KB
/
appendix-main.tex
File metadata and controls
146 lines (122 loc) · 5.17 KB
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
% appendix-main.tex
% Use the ACM large 1-column format class from your template directory
\documentclass[acmlarge]{template/column-format-template/acmart}
% Set up any additional package imports here
\usepackage{graphicx} % For including graphics
\usepackage{amsmath} % For advanced math formatting
\usepackage{algorithm} % For algorithm pseudocode
\usepackage{algorithmic} % For algorithm pseudocode
\usepackage{booktabs} % For professional tables
\usepackage{listings} % For code listings
\usepackage{subcaption} % For subfigures
\usepackage{url} % For URLs in bibliography
\usepackage{titlesec} % For custom formatting
\usepackage{xcolor} % For colors
\usepackage{listings} % For code snippets
\usepackage{subcaption} % For subfigures and subtables
\usepackage{hyperref} % For links and references
\usepackage{enumitem} % For customizing list formatting and styles
% Custom settings for listings
\lstset{
language=Python, % Sets the programming language for syntax highlighting
basicstyle=\footnotesize\ttfamily, % Sets the font style and size for the code
keywordstyle=\color{blue}, % Style applied to keywords (e.g., "def", "import")
commentstyle=\color{gray}, % Style applied to comments (e.g., lines starting with "#")
stringstyle=\color{red}, % Style applied to strings (e.g., text within quotes)
% backgroundcolor=\color{gray!10}, % Background color for the code block (light gray in this case)
% numbers=left, % Displays line numbers on the left side of the code block
% numberstyle=\tiny, % Font size/style for line numbers
% stepnumber=1, % Line number increment (e.g., every 1 line gets a number)
% numbersep=5pt, % Distance between the line numbers and the code
linewidth=0.95\linewidth, % Code block occupies 80% of text width
xleftmargin=-20pt, % Moves the listing 20pt closer to the left margin
xrightmargin=10pt, % Optional: Adds extra padding on the right
breaklines=true, % Automatically breaks long lines to fit within the page width
captionpos=b, % Places the caption below the code block
abovecaptionskip=5pt, % Adjusts the space above the caption to 5pt
belowcaptionskip=8pt, % Adjusts the space below the caption to 8pt
}
% Custom settings for hyperref
% FIXME: update and fix
\hypersetup{
colorlinks=false, % Disable colored links (use borders instead)
linkbordercolor=1 0 0, % Red border around internal links
citebordercolor=0 1 0, % Green border around citations
urlbordercolor=0 1 1, % Cyan border around URLs
filebordercolor=0 .5 .5, % Teal border around file links
pdfpagemode=UseOutlines, % Open the PDF with bookmarks visible
}
\newcommand{\cooltext}[1]{%
\texttt{\colorbox{gray!15}{\textcolor{black}{#1}}}%
}
% Configure bullet points with customized size
\setlist[itemize,1]{label={\Large\textbullet}} % First level: larger bullet point
\setlist[itemize,2]{label={\Large\textbullet}, leftmargin=2em} % Second level: larger bullet point and indented by 2em
% Remove ACM-specific references and permissions
\setcopyright{none} % Disable copyright
\makeatletter
\@printpermissionfalse
\@printcopyrightfalse
\@acmownedfalse
\makeatother
% Remove ACM reference format
\settopmatter{printacmref=false}
\renewcommand\footnotetextcopyrightpermission[1]{}
% Optional: Plain page style
\pagestyle{plain}
\begin{document}
% Title
\title{SSH Shell Attacks - Appendix}
% Define authors and their affiliations
\author{Andrea Botticella}
\authornote{The authors collaborated closely in developing this project.}
\email{andrea.botticella@studenti.polito.it}
\affiliation{%
\institution{Politecnico di Torino}
\city{Turin}
\country{Italy}
}
\author{Elia Innocenti}
\authornotemark[1]
\email{elia.innocenti@studenti.polito.it}
\affiliation{%
\institution{Politecnico di Torino}
\city{Turin}
\country{Italy}
}
\author{Renato Mignone}
\authornotemark[1]
\email{renato.mignone@studenti.polito.it}
\affiliation{%
\institution{Politecnico di Torino}
\city{Turin}
\country{Italy}
}
\author{Simone Romano}
\authornotemark[1]
\email{simone.romano2@studenti.polito.it}
\affiliation{%
\institution{Politecnico di Torino}
\city{Turin}
\country{Italy}
}
% Short author list for page headers
\renewcommand{\shortauthors}{Botticella, Innocenti, Mignone, and Romano}
\maketitle
\vspace{-0.3cm}
% Table of Contents
\setcounter{tocdepth}{1}
\tableofcontents
\appendix
% Include the appendix sections
\input{appendix/03-data-exploration-and-preprocessing-appendix.tex}
\input{appendix/04-supervised-learning-classification-appendix.tex}
\input{appendix/05-unsupervised-learning-clustering-appendix.tex}
\input{appendix/06-language-model-exploration-appendix.tex}
% TODO: check
% Include the bibliography file
\bibliography{../template/column-format-template/sample-base}
% At end of document
% \bibliography{references} % Single .bib file
% \bibliography{ref1,ref2,ref3} % Multiple .bib files
\end{document}