%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Template for Master degrees
% DISI - Dipartimento di Ingegneria e Scienza dell’Informazione
% DISI - Department of Information Engineering and Computer Science
%
% update 2020-08-30
%
% To generate pdf
% pdflatex __filename__.tex
% bibtex __file_name__.aux
% pdflatex __file_name__.tex
% pdflatex __file_name__.tex
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 2 side format
% \documentclass[epsfig,a4paper,11pt,titlepage,twoside,openany]{book}
\documentclass[a4paper,11pt,titlepage,twoside,openany]{book}
\usepackage{epsfig}
\usepackage{plain}
\usepackage{setspace}
\usepackage[paperheight=29.7cm,paperwidth=21cm,outer=1.5cm,inner=2.5cm,top=2cm,bottom=2cm]{geometry} % layout setting
\usepackage{titlesec} % custom setup title of chanpter
% \usepackage{newtxtext,newtxmath} % times new roman
\usepackage{hyperref}
% ATTENTION --- Added by me
\usepackage{multirow, multicol, array, enumitem, amsmath, pdfpages}
% --------------------------
% support for accented letters
%
%\usepackage[latin1]{inputenc} % Windows;
\usepackage[utf8x]{inputenc} % Linux (unicode package is required);
%\usepackage[applemac]{inputenc} % Mac.
\singlespacing
% italian language
%\usepackage[italian]{babel}
\begin{document}
% no page number
\pagenumbering{gobble}
\input{front}
\clearpage
% Thanks/ Acknowledgements section
\input{acknowledgements}
\clearpage
\pagestyle{plain} % no heading, footer with centered page number
% page number with Arabic format
\mainmatter
%% Note
%% Length: approximately 70 pages.
%% These 70 pages include:
%% table of contents
%% abstract
%% chapters
%% Exclude:
%% title page
%% acknowledgments
%% attachments
% index
\tableofcontents
\clearpage
% group to define space between chapters
\begingroup
% no page break between chapters
% override clear page commands
\renewcommand{\cleardoublepage}{}
\renewcommand{\clearpage}{}
% override format of title chapter
% from
% Chapter X
% Title
% to
% X Title
\titleformat{\chapter}
{\normalfont\Huge\bfseries}{\thechapter}{1em}{}
\titlespacing*{\chapter}{0pt}{0.59in}{0.02in}
\titlespacing*{\section}{0pt}{0.20in}{0.02in}
\titlespacing*{\subsection}{0pt}{0.10in}{0.02in}
% summary / abstract
\input{abstract}
\newpage
%% Note
%% The first chapter of the final thesis must contain a summary of a
%% maximum length of 3 pages, introducing the context and motivations,
%% resuming the problem faced by the student, the techniques used for the
%% investigation and the reached outcomes.
%% If the final thesis is developed in collaboration with other students,
%% the personal contribution of the student has to be underlined.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% chapters
%
% \input or \include
%
\input{chapter1}
\newpage
\input{chapter2}
\newpage
\input{chapter3}
\newpage
\input{chapter4}
\newpage
\input{chapter5}
\newpage
\input{chapter6}
\newpage
\endgroup
% bibliography - bibtex format
%
% add chapter to index
\addcontentsline{toc}{chapter}{Bibliography}
% alphabetical order of authors
\bibliographystyle{plain}
\bibliography{bib/bibliography}
%% Note
%% In the bibliography, all the sources consulted for the dissertation
%% have to be cited and listed in alphabetical order by the
%% first author's surname.
%%
%% According to the source material, the quotation has to be as follows:
%%
%% BOOKS
%% Surname and initial/s of the name/s of the author/s, date of edition,
%% publishing house and (if applicable) number of edition.
%%
%% JOURNAL ARTICLES
%% Surname and initial/s of the first name/s of the author/s,
%% title of the article, name of the journal, volume number, issue number
%% and page numbers.
%%
%% CONFERENCE PAPERS
%% Surname and initial/s of the name/s of the author/s,
%% year of the conference, title of the article, name of the conference,
%% place of the conference, conference dates, page numbers.
%%
%% CITING WEB RESOURCES
%% The consulted webpages have to be listed in alphabetical order.
%% It is necessary to:
%% - Copy the specific URL (the web address) of the consulted webpage
%% - If available, indicate the surname and first name of the author/s,
%% the title and subtitle of the text
%% - If available, indicate the last date you retrieved the webpage
%% (day/month/year).
\titleformat{\chapter}
{\normalfont\Huge\bfseries}{Appendix \thechapter}{1em}{}
% Appendix / attachment section - optional
\appendix
\input{attachments}
\end{document}

PDF Preview
Create an account to compile and preview