move titlepage into src

This commit is contained in:
Beat Jäckle 2024-05-28 08:06:20 +02:00
parent d170eff1ce
commit c1254ac5b2

View file

@ -1,48 +0,0 @@
\usepackage{titling}
\newcommand*{\project}[1]{\gdef\@project{#1}}
\newcommand*{\@project}{Final Year Project}
\newcommand*{\supervisor}[1]{\gdef\@supervisor{#1}}
\newcommand*{\@supervisor}{\texttt{TODO: Set \string\supervisor\string{...\string}}}
\newcommand*{\content}[1]{\gdef\@content{#1}}
\newcommand*{\@content}{\texttt{TODO: Set \string\content\string{...\string}}}
\newcommand*{\targetaudience}[1]{\gdef\@targetaudience{#1}}
\newcommand*{\@targetaudience}{\texttt{TODO: Set \string\targetaudience\string{...\string}}}
\newcommand*{\requirements}[1]{\gdef\@requirements{#1}}
\newcommand*{\@requirements}{\texttt{TODO: Set \string\requirements\string{...\string}}}
\newcommand*{\form}[1]{\gdef\@form{#1}}
\newcommand*{\@form}{\texttt{TODO: Set \string\form\string{...\string}}}
\renewcommand{\maketitle}{%
{\hspace{-1cm}\includegraphics[width=0.3\textwidth]{images/ETHlogo}\par}
\vspace{1cm}
\begin{center}
{\scshape\@project\par}
\vspace{1cm}
{\large\bfseries \thetitle\par}
\theauthor
\vfill
\end{center}
\textbf{Inhalt}\\
\@content
\textbf{Zielpublikum}\\
\@targetaudience
\textbf{Voraussetzungen}\\
\@requirements
\textbf{Form}\\
\@form
\textbf{Betreuung}\\
\@supervisor
\textbf{Datum}\\
\thedate
}