SAT-WiSe-25-26/HSRTReport/Pages/Titlepage.tex

89 lines
2.5 KiB
TeX

% !TEX root = ../../../../Main.tex
\newcommand{\createdon}[1]{\gdef\@createdon{#1}}
\renewcommand{\maketitle}{
\providecommand{\titlepageabstract}{%
Dies ist ein Beispiel für ein Abstract. Es sollte eine kurze Zusammenfassung des Inhalts des Seminars sein.
}
\providecommand{\titlepagekeywords}{%
Seminararbeit, Beispiel, Abstract, Zusammenfassung, Inhaltsverzeichnis
}
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}}
\begin{titlepage}
\begin{tikzpicture}[overlay, remember picture]
\node[anchor=south east, inner sep=0pt, xshift=-0.1cm, yshift=0.1cm] (heart) at (current page.south east) {
\href{https://github.com/frederikbeimgraben/HSRT-Report}{\tiny\color{gray}\blenderfont Made with {\ensuremath\heartsuit} in \LaTeX}
};
\node[anchor=north west, inner sep=0pt, xshift=1.3cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) {
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}
};
\foreach \i in {1,...,\value{logoCounter}} {
% Calculate name for i-1
\pgfmathtruncatemacro{\prev}{\i-1}
\node[anchor=west, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.east) {
\makeatletter
\testarray{LogosScales}(\i)
\setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}}
\testarray{LogosExtensions}(\i)
\let\extension\temp@macro
\testarray{LogosOpacities}(\i)
\let\opacity\temp@macro
\testarray{LogosPaths}(\i)
\ifthenelse{\equal{\extension}{svg}}{
\begin{tikzpicture}
\node[opacity=\opacity] {
\includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
};
\end{tikzpicture}
}{
\begin{tikzpicture}
\node[opacity=\opacity] {
\includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
};
\end{tikzpicture}
}
\makeatother
};
}
\end{tikzpicture}
\vskip 10em
\begin{flushleft}
% title
{
\noindent
\color{black}\textbf{
\blenderfont\Huge\hspace*{-2.5pt}\@title
}
}
\color{black}
\vspace*{-0.5em}
\rule{\textwidth}{0.5mm}
\\
% abstract
\vspace{2em}
\setstretch{1.0}
\section*{Abstract}
\titlepageabstract
{
\vspace*{1em}
\newline
\textbf{Keywords}\newline\titlepagekeywords
}
\end{flushleft}
\vskip 7em
\vfill
% table
\noindent
\setstretch{1.0}
\GetTitlePageDataTable
\end{titlepage}
\pagestyle{fancy} % Activate fancy page style after title page
}