%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Author:      Nils Weber and Maximilian Stiefel
%% Date:        23.12.2017
%% University:  Uppsala Universitet
%% Department:  Institutionen för informationsteknologi 
%% Course:      Embedded Control System Project
%% Project:     PRECISELY CONTROLLED DIY ETCHING MACHINE 
%%				FOR USAGE AT HOME AND IN SMALL LABS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{titlepage}
% temporary margins only for titlepage
\newgeometry{lmargin={2cm},rmargin={2cm},tmargin={1cm},bmargin={2cm}}

%---------------------- University Logo-------------------------------------------
\begin{minipage}{\linewidth}
	\centering
    \begin{minipage}{0.49\linewidth}
    	\begin{figure}[H]
        	\hfill\includegraphics[width=3cm]{./fig/uppsala_university.png}
		\end{figure}
	\end{minipage}
	\hfill
	\begin{minipage}{0.49\linewidth}
    	\vspace*{0.5cm}
    	\begin{huge}
    		\myuniversity\hfill
		\end{huge}
	\end{minipage}
\end{minipage}

%---------------------- Title ----------------------------------------------------
\vspace*{3em}
\begin{center}
  \noindent\rule{\textwidth}{1pt}
  \vspace*{0.3em}\\
  \huge\mytitle \\
  \noindent\rule{\textwidth}{1pt}

%---------------------- Other Info------------------------------------------------
  \vspace*{0.3em}
  \Large%
  {
    Project Report
    \vspace*{0.5cm}\\
    for the project course\\
    of Embedded Control Systems (1RT911)\\
    carried out in the \myperiod\\
    \vspace*{3em}
    Deadline: \myduedate
  }

%---------------------- Page Bottom ----------------------------------------------
\vfill
\begin{table}[H]
  \centering
  \begin{tabular}{ccc}
     \textbf{Student} & \textbf{Student} & \textbf{Supervisor} \\
     \myauthora &   \myauthorb & \mytutor  \\
     \myauthoramail &   \myauthorbmail & \mytutormail      
  \end{tabular}
\end{table}
  
\end{center}
\end{titlepage}


