LaTeX-Base/TeX/Classes/HSRTReport/Pages/Titlepage.tex

67 lines
2.4 KiB
TeX

% !TEX root = ../../../../Main.tex
\newcommand{\createdon}[1]{\gdef\@createdon{#1}}
\renewcommand{\maketitle}{
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}}
\begin{titlepage}
\begin{tikzpicture}[overlay, remember picture]
\node[anchor=north west, inner sep=0pt, xshift=1.8cm, 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]{TeX/Assets/Images/\temp@macro.\extension}
};
\end{tikzpicture}
}{
\begin{tikzpicture}
\node[opacity=\opacity] {
\includegraphics[height=\imageHeight]{TeX/Assets/Images/\temp@macro.\extension}
};
\end{tikzpicture}
}
\makeatother
};
}
\end{tikzpicture}
\vskip 10em
% title
\begin{flushleft}
{
\color{gray}\textbf{
\blenderfont\Huge
\@title
}
}
\color{lightgray}
\rule{\textwidth}{0.5mm}
\end{flushleft}
\vskip 7em
\vfill
% table
\noindent
\setstretch{1.0}
\begin{tabular}{@{} p{40mm} l}
\textbf{Datum} & \@createdon\\
\end{tabular}
\end{titlepage}
}