% For printing in a4
\documentclass[a4,10pt,twoside,openright,italian,english]{book}% twoside!
% For printing with the A5 format
%\documentclass[10pt,twoside,openright,english,italian]{book}% twoside!
% Set paper size
\usepackage[twoside=true]{geometry}
%For printing with the weird format
%\geometry{
% paperwidth=17cm,
% paperheight=24cm,
% margin=2cm,
% top=2.3cm,
% bindingoffset=0.4cm
%}
% For printing in a4
\geometry{a4paper,
margin=3cm,
top=3.8cm,
bindingoffset=0.4cm
}
%Uncomment this for final prints: this just enables printing on a4 paper
\usepackage[cam,center,a4,pdflatex,axes]{crop}
\usepackage{phdthesis}
%\usepackage{fancyhdr}
\usepackage{color}
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage{amsmath,amssymb}
%\usepackage{cite}
\usepackage[numbers]{natbib}
%\usepackage{graphicx}
\usepackage{listings}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{latexsym}
%\usepackage{color}
\usepackage{hyperref}
\usepackage{bnf}
\usepackage{cleveref} % adds "Figure" / "Section" words to cites
% \crefname{subsection}{subsection}{subsections}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{phdtitle}
\usepackage{paralist}
\usepackage{bibentry}
%\usepackage[algochapter]{algorithm2e}
%\usepackage[bookmarks=true,
%pdftex=false,
%bookmarksopen=true,hidelinks]{hyperref}
%\usepackage[toc,acronym]{glossaries}
\usepackage{lscape}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}
%\usepackage{fontspec}
%\setmainfont{Calibri}
%% \hyphenation{} is used to force the
\hyphenation{}
\usepackage{eurosym}
\usepackage{siunitx}
\sisetup{detect-weight=true, detect-family=true}
\usepackage{xfrac}
\usepackage{dcolumn}
\newtheorem{Definition}{Definition}[section]
\DeclareMathOperator*{\argmin}{arg\,min}
\lstset{tabsize=2,basicstyle=\footnotesize,breaklines=true}
\usepackage[italian,main=english]{babel}
\usepackage{ulem}
\normalem
\hypersetup{pdftitle={Deep Learning for Image Classification and Retrieval: Analysis and Solutions to Current Limitations}, pdfauthor={Fabio Carrara}}
\nobibliography*
\department {Dottorato di ricerca in Ingegneria dell'Informazione}
% Please fulfil the followed fields with your data
\author{Fabio Carrara}
\title{Deep Learning for Image Classification and Retrieval: Analysis and Solutions to Current Limitations}
\tutor{Prof. Nicu Sebe, Prof. Michel Crucianu}
\supervisor{Dr. Giuseppe Amato, Dr. Claudio Gennaro, Prof. Francesco Marcelloni}
\titleimage{img/unipi.png} %please not change
\phdyear{2019}
\phdmonth{May}
\phdcycle{Cycle XXXI}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Let's Start The Real Document
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{frontmatter/notation}
\input{frontmatter/acronyms}
\makeglossaries
\begin{document}
\selectlanguage{english}
\maketitle
\pagestyle{empty}
\cleardoublepage
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dedication - For removing dedication, please comment or delete the code inside \thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\null\vspace{\stretch {1}}
\begin{flushright}
\textit{To my family}
\end{flushright}
\vspace{\stretch{2}}\null
\cleardoublepage
\newpage
\pagestyle{empty}
%% change numbering into Roman numbers for the introductory part
%\setcounter{page}{1}
%\pagenumbering{Roman}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Quotes - For removing quotes, please comment or delete the code inside \thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\null\vspace{\stretch {1}}
\begin{flushright}
``Science is like sex: sometimes something useful comes out,\\
but that is not the reason we are doing it.''\\
Richard P. Feynman
\end{flushright}
\vspace{\stretch{2}}\null
\cleardoublepage
\newpage
\pagestyle{empty}
%% change numbering into Roman numbers for the introductory part
\setcounter{page}{1}
\pagenumbering{Roman}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Acknowledgement
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{frontmatter/acknowledge}
\selectlanguage{italian}
\input{frontmatter/ringraziamenti}
\selectlanguage{english}
\cleardoublepage
\newpage
\pagestyle{fancy}
% change numbering into Roman numbers for the introductory part
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Summary
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\selectlanguage{english}
\input{frontmatter/summary}
\selectlanguage{english}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Italian Summary
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%There must be an Italian version of the summary
\selectlanguage{italian}
\input{frontmatter/it_summary}
\selectlanguage{english}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Publications
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%List of publications of the PhD candidate
\selectlanguage{english}
\input{frontmatter/publications}
\selectlanguage{english}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% List of Abbreviation and Symbols
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Have a look at \gls command... you can refer a term in multiple ways
\printglossary[type=\acronymtype,title=List of Abbreviations]
\let\cleardoublepage\clearpage
%\printglossary[title=Notation]
\cleardoublepage
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TOC
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\tableofcontents
\cleardoublepage
\newpage
% Now lets go back to normal numbering
\setcounter{page}{1}
\pagenumbering{arabic}
\cleardoublepage
%%% CUSTOM COMMANDS
\let\ref\Cref % override \ref using cleveref \Cref command
\newcommand{\figfrom}[1]{Image by~\citet{#1}}
%%% END CUSTOM COMMANDS
\input{chapters/introduction}
\input{chapters/background}
\input{chapters/miniaturize}
\input{chapters/cross-learning}
\input{chapters/adversarial}
\input{chapters/text-to-visual}
\input{chapters/str-indexing}
\input{chapters/conclusion}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\small
\bibliographystyle{plainnat}
\bibliography{thesis}
\end{document}

PDF Preview
Create an account to compile and preview