% !TEX root = MyITEEphdThesis.tex
%SET HERE COMMANDS FOR PHD COURSE, PHD URL, CYCLE, CHAIRMAN, AUTHOR, TITLE, ...
\newcommand{\university}{Universit\`a degli Studi di Napoli Federico II }
\newcommand{\phdprogram}{Information Technology and Electrical Engineering }
\newcommand{\phdprogramURL}{http://itee.dieti.unina.it}
\newcommand{\phdcycle}{XXXVIII }
\newcommand{\phdchairman}{Prof. Stefano Russo}
\newcommand{\thesistitle}{Title First Row\\Title Second Row}
\newcommand{\thesisauthor}{Given\_name Family\_Name}
\newcommand{\advisor}{Prof. X Y}
\newcommand{\coadvisor}{Prof. W Z}

%BACKGROUND IMAGE
%TRANSPARENT AND LOW OPACITY UNINA LOGO FOR EVEN (LEFT) EMPTY PAGES
\usepackage[pages=some]{background}
\backgroundsetup{
 scale=0.8,
 opacity=0.05,
 angle=0,
 contents={\includegraphics[width=0.5\paperwidth]{figs/logoUNINAblu.png}}
}
\makeatletter
    \def\cleardoublepage{\clearpage%
        \if@twoside
            \ifodd\c@page\else
                \vspace*{\fill}
                \hfill
	        \BgThispage
                \begin{center}
%               \small Page intentionally left blank. %You may wish to comment this line for camera-ready 
                \end{center}
                \vspace{\fill}
                \thispagestyle{empty}
                \newpage
                \if@twocolumn\hbox{}\newpage\fi
            \fi
        \fi
    }
\makeatother

