%%FROM
% WikiBooks (LaTeX - Title Creation) with modifications by:
% Vel (vel@latextemplates.com)
% Sven Rouvinez
% Tobias Moullet
% Loïc Guibert


% Defines a new command for horizontal lines, change thickness here
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

% Suppresses displaying the page number on the title page and the subsequent page counts as page 1
\begin{titlepage}

	% Center everything on the page
	\begin{center}

	%------------------------------------------------
	%	Headings
	%------------------------------------------------
	
	\begin{figure}[!htb]
        \begin{minipage}{0.5\textwidth}
            \includegraphics[width=0.85\textwidth]{./coverpage/hes.png}
        \end{minipage}
        \hfill
        \begin{minipage}{0.5\textwidth}
            \raggedleft
            \includegraphics[width=0.85\textwidth]{./coverpage/mse.png}
       \end{minipage}
    \end{figure}
	
	
	 % Main heading such as the name of your university/college
	
	\vspace{1.7cm}

	\huge \filiere \\[0.4cm]
	\large \schoolyear\\[0.4cm]
	\vspace{1.3cm}

	%------------------------------------------------
	%	Title
	%------------------------------------------------

	\HRule\\[0.4cm]

	{\huge\bfseries \titleName} \\

	\vspace{0.4cm}

	\Large \projectname \\

	\vspace{0.4cm}

	\large \textbf{\documenttype} \\

	\HRule \\[1.5cm]

	\vspace{1.7cm}

	%------------------------------------------------
	%	Author(s)
	%------------------------------------------------

	\begin{minipage}{1\textwidth}

		\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}  l  r  }

		   \textit{\textbf{Author}} \medskip &  \textit{\textbf{Supervisors}}  \\

		   \studentName  &  \professorNameA  \\
		   				 &  \professorNameB  \\

		 \end{tabular*}

		 \vspace{0.5cm}


	\end{minipage}

	% If you don't want a supervisor, uncomment the two lines below and comment the code above
	%{\large\textit{Author}}\\
	%John \textsc{Smith} % Your name

	%------------------------------------------------
	%	Date
	%------------------------------------------------
	\vfill\vfill\vfill % Position the date 3/4 down the remaining page
        {\large \subprojectname}
        \vspace{1cm}
	\end{center}

	%\today  Date, change the \today to a set date if you want to be precise
	% And HES-SO logo
	\begin{minipage}{1\textwidth}

		\begin{center}

			 \textit{\textbf{\large{Fribourg, {\today}}}} 

		 \end{center}
	\end{minipage}


	%----------------------------------------------------------------------------------------

	% Push the date up 1/4 of the remaining page
	\vfill

\end{titlepage}
