diff --git a/Biblio.bib b/Biblio.bib new file mode 100644 index 0000000..61abece --- /dev/null +++ b/Biblio.bib @@ -0,0 +1,5 @@ +@techreport{waitzman1990standard, + title={Standard for the transmission of IP datagrams on avian carriers}, + author={Waitzman, David}, + year={1990} +} \ No newline at end of file diff --git a/Tesi.tex b/Tesi.tex index 6c07b38..0a4aa30 100644 --- a/Tesi.tex +++ b/Tesi.tex @@ -1,152 +1,109 @@ -% -% Tesi D.S.I. - modello preso da -% Stanford University PhD thesis style -- modifications to the report style -% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% % -% TESI DOTTORATO % -% ______________ % -% % -% AUTORE: Elena Pagani % -% % -% Ultima revisione: 7.X.1998 % -% correzioni atrent % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% -% -\documentclass[a4paper,12pt]{report} -% \renewcommand{\baselinestretch}{1.6} % interline spacing -% -% \includeonly{} -% -% PREAMBOLO -% -\usepackage[a4paper]{geometry} -\usepackage{amssymb,amsmath,amsthm} -\usepackage{graphicx} -\usepackage{url} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\documentclass[12pt,a4paper]{report} +% o article, book, ... + +% TODO inserire vari packages (todonotes, ecc.) + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% packages... +\usepackage[utf8]{inputenc} +\usepackage[english,italian]{babel} +\usepackage[hyphens]{url} + +% Per generare il file PDF aderente alle specifiche PDF/A-1b. Verificarne poi la validità. +%\usepackage[a-1b]{pdfx} + \usepackage{hyperref} -\usepackage{xcolor} -\usepackage{lipsum} % Per inserire testo a caso in attesa di realizzare i capitoli \hypersetup{ colorlinks, linkcolor={red!50!black}, citecolor={blue!50!black}, urlcolor={blue!80!black} } -\usepackage{epsfig} -\usepackage[italian]{babel} -\usepackage{setspace} -\usepackage{tesi} -% per le accentate -\usepackage[utf8]{inputenc} -% -\newtheorem{myteor}{Teorema}[section] -% -\newenvironment{teor}{\begin{myteor}\sl}{\end{myteor}} -% -% -% TITOLO -% +\usepackage{graphicx} +\usepackage{lipsum}% Per inserire testo a caso in attesa di realizzare i capitoli + +\usepackage{listings} +\lstset{ + % language=bash + frame=single, + breaklines=true, + postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}, + basicstyle=\ttfamily\footnotesize +} + +\usepackage[backend=biber, +style=alphabetic, +%citestyle=authoryear +]{biblatex} + +\usepackage{csquotes} + +\usepackage{epigraph} % per le frasi inizio capitolo + +\usepackage{fancyhdr} + +\setlength {\marginparwidth }{2cm} +\usepackage[colorinlistoftodos]{todonotes} +%\usepackage[disable]{todonotes} + +\usepackage{refcheck} + +\addbibresource{Biblio.bib} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} -\title{Streaming decentralizzato di contenuti audiovisivi} -\author{Mirko Milovanovic} -\dept{Corso di Laurea in Informatica per la comunicazione digitale} -\anno{2021-2022} -\matricola{870671} -\relatore{Professor Trentini Andrea} -%\correlatore{} -% -% \submitdate{month year in which submitted to GPO} -% - date LaTeX'd if omitted -% \copyrightyear{year degree conferred (next year if submitted in Dec.)} -% - year LaTeX'd (or next year, in December) if omitted -% \copyrighttrue or \copyrightfalse -% - produce or don't produce a copyright page (false by default) -% \figurespagetrue or \figurespagefalse -% - produce or don't produce a List of Figures page -% (false by default) -% \tablespagetrue or \tablespagefalse -% - produce or don't produce a List of Tables page -% (false by default) -% -% DEDICA -% -\beforepreface -\prefacesectionnochapter{Dedica} - {\hfill \Large {\sl dedica se serve ma non credo}} -% -% PREFAZIONE OLD -% -%\prefacesection{Prefazione} -%At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. -% -% -% ORGANIZZAZIONE -%\section*{Organizzazione della tesi} -%\label{organizzazione} -%La tesi \`e organizzata come segue: -%\begin{itemize} -%\item Capitolo 1: -%\item Capitolo 2: -%\end{itemize} -% -% PREFAZIONE -% -\prefacesection{Prefazione} -At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. -% RINGRAZIAMENTI -\prefacesection{Ringraziamenti} -At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. +% Frontespizio +\begin{titlepage} +\begin{center} +\includegraphics[width=\textwidth]{Logo.jpg}\\ +{\large{\em Corso di Laurea in Informatica per la comunicazione digitale}} +\end{center} +\vspace{12mm} +\begin{center} +{\huge{\bf Streaming decentralizzato di}}\\ +\vspace{4mm} +{\huge{\bf contenuti audiovisivi}}\\ +\end{center} +\vspace{12mm} +\begin{flushleft} +{\large{\bf Relatore:}} +{\large{Trentini Andrea}}\\ +\vspace{10mm} +%{\large{\bf Correlatore:}} +%{\large{...}}\\ +\end{flushleft} +\vspace{12mm} +\begin{flushright} +\parbox{1.7in}{ +{\large{\bf Tesi di Laurea di:}}\\ +{\large{Mirko Milovanovic}}\\ +{\large{\bf Matricola: \normalfont870671}} +} +\end{flushright} +\vspace{4mm} +\begin{center} +{\large{\bf Anno Accademico 2021-2022}} +\end{center} +\end{titlepage} -\afterpreface -% -% -% CAPITOLI -\chapter{Introduzione} -\label{cap1} -\lipsum[1-3] -\chapter{Web 3.0} -\lipsum[100-110] +\tableofcontents -% -% BIBLIOGRAFIA -% -\begin{thebibliography}{00} -% -\bibitem{gotti91} -M. Gotti, I linguaggi specialistici, Firenze, La Nuova Italia, 1991. -% -\bibitem{wellek62} -R. Wellek, A. Warren, Theory of Literature , 3rd edition, New York, Harcourt, 1962. -% -\bibitem{canziani78} -A. Canziani et al., Come comunica il teatro: dal testo alla scena. Milano, Il Formichiere, 1978. -% -\bibitem{MoD67} -Ministry of Defence, Great Britain, Author and Subject Catalogues of the Naval Library, London, Ministry of Defence, HMSO, 1967. -% -\bibitem{heine23} -H. Heine, Pensieri e ghiribizzi. A cura di A. Meozzi. Lanciano, Carabba, 1923. -% -\bibitem{basso62} -L. Basso, ''Capitalismo monopolistico e strategia operaia'', Problemi del socialismo, vol. 8, n. 5, pp. 585-612, 1962. -% -\bibitem{avirovic93} -L. Avirovic, J. Dodds (a cura di), Atti del Convegno internazionale "Umberto Eco, Claudio Magris. Autori e traduttori a confronto" ( Trieste, 27-28 novembre 1989), Udine, Campanotto, 1993. -% -\bibitem{gans67} -E.L. Gans, "The Discovery of Illusion: Flaubert's Early Works, 1835-1837", unpublished Ph.D. Dissertation, Johns Hopkins University, 1967. -% -\bibitem{harrison92} -R. Harrison, Bibliography of planned languages (excluding Esperanto). \url{http://www.vor.nu/langlab/bibliog.html}, 1992, agg. 1997. -% -\end{thebibliography} -% -\end{document} +% o sections (dipende dal documentclass) +\chapter{Lipsum 1} +TCP/IP over Avian Carriers\cite{waitzman1990standard} +\lipsum - +\chapter{Lipsum 2} +\lipsum[10-20] +\chapter{Cap3} +\chapter{Cap4} + +\printbibliography +\addcontentsline{toc}{chapter}{Bibliografia} + +\end{document} \ No newline at end of file diff --git a/tesi.sty b/tesi.sty deleted file mode 100644 index e1fb300..0000000 --- a/tesi.sty +++ /dev/null @@ -1,210 +0,0 @@ -% Tesi D.S.I. - modello preso da -% Stanford University PhD thesis style -- modifications to the report style -% - -% \makeatletter --not necessary for LaTeX style files -% We need 1" margins except on the binding edge, where it is 1 1/2" -\oddsidemargin 0in \evensidemargin 0in -\marginparwidth 40pt \marginparsep 10pt -\topmargin 0pt \headsep .5in -\textheight 8.1in \textwidth 6in - -% Disallow page breaks at hyphens (this will give some underfull vbox's, -% so an alternative is to use \brokenpenalty=100 and manually search -% for and fix such page breaks) -\brokenpenalty=10000 - -% Use 1.3 times the normal baseline-to-baseline skip -\renewcommand{\baselinestretch}{1.0} % ERA 1.3 - -% Figures and tables are to be numbered sequentially throughout the -% thesis, rather than within chapters; for style consistency, do -% equations the same. The following \def of \cl@chapter is a kludge: -% really there should be a \removefromreset, to stop figure numbers, etc., -% from being reset at chapter beginnings -\def\cl@chapter{\@elt{section}\@elt{footnote}} -\def\thefigure{\@arabic\c@figure} -\def\thetable{\@arabic\c@table} -\def\theequation{\arabic{equation}} - -% Redefine the macro used for floats (including figures and tables) -% so that single spacing is used. -% (Note \def\figure{\@float{figure}set single spacing} doesn't work -% because figure has an optional argument) -\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else - \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner - \@parmoderr\@floatpenalty\z@ - \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname - \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n - \@tfor \@tempa :=#2\do - {\if\@tempa h\advance\@tempcnta \@ne\fi - \if\@tempa t\advance\@tempcnta \tw@\fi - \if\@tempa b\advance\@tempcnta 4\relax\fi - \if\@tempa p\advance\@tempcnta 8\relax\fi - }\global\count\@currbox\@tempcnta}\@fltovf\fi - \global\setbox\@currbox\vbox\bgroup - \def\baselinestretch{1}\@normalsize - \boxmaxdepth\z@ - \hsize\columnwidth \@parboxrestore} - -% Redefine the macro used for footnotes to use single spacing -\long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\footnotesize - \interlinepenalty\interfootnotelinepenalty - \splittopskip\footnotesep - \splitmaxdepth \dp\strutbox \floatingpenalty \@MM - \hsize\columnwidth \@parboxrestore - \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext - {\rule{\z@}{\footnotesep}\ignorespaces - #1\strut}}} - -% \author, \title are defined in report; here are the rest of the -% front matter defining macros -\def\dept#1{\gdef\@dept{#1}} -\def\relatore#1{\gdef\@relatore{#1}} -\def\correlatore#1{\gdef\@correlatore{#1}} -\def\anno#1{\gdef\@anno{#1}} -\def\matricola#1{\gdef\@matricola{#1}} - -\def\principaladviser#1{\gdef\@principaladviser{#1}} -\def\advis@r{Adviser} % default spelling -\def\principaladvisor#1{\gdef\@principaladviser{#1}\gdef\advis@r{Advisor}} -\def\firstreader#1{\gdef\@firstreader{#1}} -\def\secondreader#1{\gdef\@secondreader{#1}} -\def\submitdate#1{\gdef\@submitdate{#1}} -\def\copyrightyear#1{\gdef\@copyrightyear{#1}} % \author, \title in report -\def\@title{}\def\@author{}\def\@dept{computer science} -\def\@principaladviser{}\def\@firstreader{}\def\@secondreader{} -\def\@relatore{}\def\@correlatore{}\def\@anno{}\def\@matricola{} - -\def\@submitdate{\ifcase\the\month\or - January\or February\or March\or April\or May\or June\or - July\or August\or September\or October\or November\or December\fi - \space \number\the\year} -% Stanford says that December theses should have the next year as the -% copyright year -\ifnum\month=12 - \@tempcnta=\year \advance\@tempcnta by 1 - \edef\@copyrightyear{\number\the\@tempcnta} -\else - \def\@copyrightyear{\number\the\year} -\fi -\newif\ifcopyright \newif\iffigurespage \newif\iftablespage -\copyrightfalse -\figurespagefalse -\tablespagefalse - -\def\titlep{% - \thispagestyle{empty}% - %\null\vskip1in% - \begin{center} - %{\sc Universit\`a degli Studi di Milano} \\ - %Facolt\`a di Scienze e Tecnologie \\ - \includegraphics[width=\textwidth]{Logo.jpg} \\ - {\em \@dept} - \end{center} - \vskip1in - \begin{center} -% {\Large\uppercase\expandafter{\@title}} - \begin{doublespace} - {\Huge\uppercase\expandafter{\@title}} - \end{doublespace} - \end{center} - \vfill - \begin{description} - \item[Relatore:] \@relatore - %\item[Correlatore:] \@correlatore - \end{description} - \vskip0.5in - \null\hfill - \parbox{1.6in}{ - Tesi di: \\ - \expandafter{\@author} - \\ Matricola: \@matricola - } - \vfill - \begin{center} - \large Anno Accademico \@anno - \end{center} - \newpage} - -\def\copyrightpage{% - \null\vfill - \begin{center} - \Large\copyright\ Copyright \@copyrightyear\\ - by\\ - \@author\\ - \end{center} - \vfill\newpage} - -\long\def\signature#1{% -\begin{center} -\begin{minipage}{4in} -\parindent=0pt -I certify that I have read this thesis and that in my opinion -it is fully adequate, in scope and in quality, as a dissertation for the degree -of Doctor of Philosophy. -\par -\vspace{.5in} -\hbox to 4in{\hfil\shortstack{\vrule width 3in height 0.4pt\\#1}} -\end{minipage} -\end{center}} - -\def\signaturepage{% - \signature{\@principaladviser\\(Principal \advis@r)} - \vfill - \signature\@firstreader - \vfill - \signature\@secondreader - \vfill - \begin{center} - \begin{minipage}{4in} - Approved for the University Committee on Graduate Studies:\par - \vspace{.5in} - \hbox to 4in{\hfil\shortstack{\vrule width 3in height 0.4pt\\ - Dean of Graduate Studies \& Research}} - \end{minipage} - \end{center}} - -\def\beforepreface{ - \pagenumbering{roman} - \pagestyle{plain} - \titlep} -% \ifcopyright\copyrightpage\fi -% \signaturepage} - -\def\prefacesection#1{% - \chapter*{#1} - \addcontentsline{toc}{chapter}{#1}} - -\def\prefacesectionnochapter#1{% - \chapter*{} - \addcontentsline{toc}{chapter}{#1}} - -% The \addvspace business below is to avoid the extra space that gets put -% in the tables of figures and tables between chapters (it makes no sense -% now that the numbering is continuous) -\def\afterpreface{\newpage - \tableofcontents - \newpage - \iftablespage - {\addvspace{10pt} - \let\saveaddvspace=\addvspace - \def\addvspace##1{} - \listoftables - \let\addvspace=\saveaddvspace} - \newpage - \fi - \iffigurespage - {\addvspace{10pt} - \let\saveaddvspace=\addvspace - \def\addvspace##1{} - \listoffigures - \let\addvspace=\saveaddvspace} - \newpage - \fi - \pagenumbering{arabic} - \pagestyle{headings}} - -\pagestyle{headings} -% \makeatother --not necessary for LaTeX style files -