% UP-METHODOLOGY EXTENSION FOR THE SPIM-UTBM PHD THESIS
% Author: Stephane GALLAND
% Copyright (c) 2012-26 Stephane GALLAND <galland@arakhne.org>

\DeclareCopyright[french]{spimutbmphdthesis}{2012--26}{Prof. Dr. St\'ephane GALLAND}{Les noms des cit\'es, les marques cit\'ees ainsi que les logos correspondants sont la propri\'et\'e de leurs auteurs ou de leurs ayant-droits. Toute reproduction, m\^eme partielle des \'el\'ements de ce document donnera syst\'ematiquement lieu \`a des poursuites judiciaires. L'acronyme SPIM est la propri\'et\'e de l'\'Ecole Doctorale Science Pour l'Ing\'enieur et Micro\'electronique, France. L'acronymes UTBM est la propri\'et\'e de l'Universit\'e de Technologie de Belfort-Montb\'eliard, France.}
\DeclareCopyright[english]{spimutbmphdthesis}{2012--26}{Prof. Dr. St\'ephane GALLAND}{SPIM and all SPIM-related trademarks and logos are trademarks or registered trademarks of \'Ecole Doctorale Science Pour l'Ing\'enieur et Micro\'electronique in France, other countries, or both. UTBM and all UTBM-related trademarks and logos are trademarks or registered trademarks of Universit\'e de Technologie de Belfort-Montb\'eliard in the France, other countries, or both.}

\usepackage{helvet}
\usepackage{hyphenat}
\usepackage{textcomp}
\usepackage{multicol}
\renewcommand{\familydefault}{\sfdefault}

\definecolor{utbmblue}{rgb}{0.059,0.4,0.651}
\setpdfcolor{0.059,0.4,0.651}

\colorlet{utbmcomplementary}{-utbmblue}

\colorlet{standardphdcolor}{utbmblue}

\definecolor{frontpagetitle}{rgb}{0,0,0}
\definecolor{frontpageauthors}{rgb}{0,0,0}

\definecolor{backpagetitle}{rgb}{0.16,0.58,0.847}
\definecolor{backpagetext}{rgb}{0,0,0}

\colorlet{tableheaderbackground}{utbmblue!40}
\colorlet{tableheaderforeground}{white}
\colorlet{tablebackground}{white}
\colorlet{tableforeground}{black}
\colorlet{tablerule}{tableheaderbackground}

\colorlet{lettrinecolor}{lightgray}

\colorlet{parttitlecolor}{utbmblue}
\colorlet{chaptertitlenumcolor}{lightgray}
\colorlet{chaptertitlecolor}{utbmblue}
\colorlet{sectiontitlecolor}{utbmblue}
\colorlet{sectiontitlenumcolor}{white}
\colorlet{sectiontitleboxcolor}{utbmblue}
\colorlet{subsectiontitlenumcolor}{gray}
\colorlet{subsectiontitlecolor}{utbmblue}
\colorlet{subsubsectiontitlecolor}{utbmblue}
\colorlet{paragraphtitlecolor}{black}
\colorlet{subparagraphtitlecolor}{gray}

\colorlet{definitionbackground}{utbmblue!10}
\colorlet{definitionheaderforeground}{white}
\colorlet{definitionborder}{utbmblue!40}
\colorlet{definitiontextforeground}{black}

\colorlet{algorithmcaptionlabel}{utbmblue}
\colorlet{algorithmcaption}{black}
\colorlet{algorithmborder}{utbmblue!40}

\colorlet{emphemphtextcolor}{utbmblue}
\colorlet{emphtextcolor}{utbmblue}

\colorlet{bibemphemphtextcolor}{utbmblue}

\colorlet{emphboxbackground}{utbmblue!10}
\colorlet{emphboxborder}{utbmblue!40}
\colorlet{emphboxtext}{utbmblue}
\colorlet{emphboxbackgroundb}{utbmcomplementary!10}
\colorlet{emphboxbackgroundc}{utbmcomplementary!40}

\colorlet{researchquestionbackground}{utbmblue}
\colorlet{researchquestiontitle}{white}
\colorlet{objectivebackground}{utbmcomplementary}
\colorlet{objectivetitle}{darkgray}
\colorlet{contributionbackground}{darkgray}
\colorlet{contributiontitle}{white}

\Set{watermarksize}{.5}

\SetLangDefault{english}{universityname}{Belfort-Montb\'eliard University of Technology}
\SetLangDefault{french}{universityname}{Universit\'e de Technologie de Belfort-Montb\'eliard}
\SetLangDefault{english}{defensedate}{\today}
\SetLangDefault{french}{defensedate}{\today}

\SetLangDefault{english}{speciality}{Artificial Intelligence}
\SetLangDefault{french}{speciality}{Intelligence Artificielle}

\Set{utbmaddress}{Universit\'e de Technologie de Belfort Montb\'eliard\\
90010 Belfort cedex, France}

% Width of the jury table
\Set{jurytabwidth}{\linewidth}

% Style of the defense message
\Set{defensemessagestyle}{\small}

% Style of the jury
\Set{jurystyle}{\small}

% Defense message
\SetLangDefault{english}{defensemessage}{Thesis defended the \Get{defensedate} at \Get{defenselocation}\\ Doctoral Committee Members:}
\SetLangDefault{french}{defensemessage}{Th\`ese pr\'esent\'ee et soutenue \`a \Get{defenselocation}, le \Get{defensedate}\\ Composition du Jury\;:}

% Default research unit
\addlaboratory{Laboratoire Connaissance et Intelligence Artificielle Distribu\'ees (CIAD)}
\IfFileExists{spimbasephdthesis-bigciadlogo.pdf}{%
	\setlaboratorylogo{spimbasephdthesis-bigciadlogo}%
}{%
	\setlaboratorylogo{spimbasephdthesis-nologo}%
}

% Default partner
%\addpartner{logo image}

% The logo of the picture of the doctoral school.
\IfFileExists{spimbasephdthesis-spim.pdf}{%
	\Set{doctoralschoollogo}{spimbasephdthesis-spim}%
}{%
	\Set{doctoralschoollogo}{spimbasephdthesis-nologo}%
}

% The default base line
\renewcommand{\baselinestretch}{1.25} 

% By default, the title in the secondary language is the same as the one in primary language
\Set{minorlanguagethesistitle}{\theupmproject}

% The name of the university that is jointly delivering the Doctoral degree with UTBM
%\Set{jointuniversity}{}

\IfFileExists{spimutbmphdthesis_utbmlogo.pdf}{%
	\Set{cfrontpage}{\upmspimthesisstandardfrontpage{french}{spimutbmphdthesis_utbmlogo}}%
	\Set{backpage}{\upmspimthesisstandardbackpage{spimutbmphdthesis_utbmlogo}{utbmaddress}{0.4}}%
}{%
	\Set{cfrontpage}{\upmspimthesisstandardfrontpage{french}{spimbasephdthesis-nologo}}%
	\Set{backpage}{\upmspimthesisstandardbackpage{spimbasephdthesis-nologo}{utbmaddress}{0.4}}%
}

\ifupmlang{english}{%
	\IfFileExists{spimutbmphdthesis_utbmlogo.pdf}{%
		\Set{cfrontpage2}{\upmspimthesisstandardfrontpage{english}{spimutbmphdthesis_utbmlogo}}%
	}{%
		\Set{cfrontpage2}{\upmspimthesisstandardfrontpage{english}{spimbasephdthesis-nologo}}%
	}%
}

\endinput
