% !TEX root = MyDISGRSphdThesis.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}{Ingegneria Strutturale, Geotecnica e Rischio Sismico }
\newcommand{\phdprogramURL}{www.dist.unina.it/dottorati-di-ricerca/dottorati}
\newcommand{\phdcycle}{XXXV }
\newcommand{\phdchairman}{Prof. Iunio Iervolino}
\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

