%%FROM
% WikiBooks (LaTeX - Title Creation) with modifications by:
% Vel (vel@latextemplates.com)


% 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} 
	% Centre everything on the page
	\begin{center} 

	%------------------------------------------------
	%	Headings
	%------------------------------------------------

	% Main heading such as the name of your university/college
	\includegraphics[width=1\textwidth]{heia.png}\\[1cm] 

	\large \filiere\\[0.4cm]

	\large \schoolyear\\
	\vspace{2cm}

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

	\HRule\\[0.4cm]

	{\huge\bfseries \projectname}\\
	
	\vspace{0.1cm}

	\large \courseName \\

	\HRule\\[1.5cm]
	\vspace{2cm}

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

	\begin{minipage}{1\textwidth}

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

		   \textit{\textbf{Auteurs}} \medskip &  \textit{\textbf{Professeur}}  \\

		   \studentNameA & \professorName \\
		   \studentNameB & \\
		   \studentNameC & \\

		 \end{tabular*}
	\end{minipage}

	%------------------------------------------------
	%	Date
	%------------------------------------------------
	\vfill\vfill\vfill % Position the date 3/4 down the remaining page

	\end{center}

	%\today  Date, change the \today to a set date if you want to be precise

	\begin{minipage}{1\textwidth}

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

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

		 \end{tabular*}
	\end{minipage}


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

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

\end{titlepage}
