Reorganize and Fixes

- Fix issue with Image and Hochschulname (wenn beides angegeben wird, wurde nichts angezeigt, nun ist das Logo priorisiert)
- Reorder aufgaben.typ and studiengang/fachbereich
- new variable studium.fachbereich
- priorize fachbereich on the titlepage
main
Sebastian Preisner 2 years ago
parent e275a1f6a2
commit 1314a256f5

@ -341,30 +341,50 @@ $endif$
% ---------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------
\thispagestyle{empty} \thispagestyle{empty}
\begin{center} \begin{center}
$if(logo)$ $if(hochschule)$ $else$ \includegraphics[max width=\textwidth]{$logo$}\\ $endif$ $endif$ $if(hochschule)$ $if(logo)$ $else$ \Huge \textbf{$hochschule$} \\ $endif$ $endif$ $if(logo)$
\vspace*{2cm} \includegraphics[max width=\textwidth]{$logo$}\\
\Large $else$
% Kein Logo definiert
$endif$
$if(hochschule)$
$if(logo)$
% Logo eingefügt anstelle des Hochschulnamen
$else$
\Huge \textbf{$hochschule$} \\
$endif$
$endif$
\vspace*{1.5cm}
\Huge
$if(aufgabe.typ)$
\textbf{$aufgabe.typ$}\\
\vspace*{0.5cm}
$endif$
\large
$if(studium.fachbereich)$
\textbf{Fachbereich:}\\
\textbf{$studium.fachbereich$}\\
\vspace*{1cm}
$else$
$if(studium.studiengang)$ $if(studium.studiengang)$
\textbf{Studiengang:}\\ \textbf{Studiengang:}\\
\textbf{$studium.studiengang$}\\ \textbf{$studium.studiengang$}\\
\vspace*{1cm} \vspace*{1cm}
$endif$ $endif$
\Huge
$if(aufgabe.typ)$
\textbf{$aufageb.typ$}\\
\vspace*{0.5cm}
$endif$ $endif$
\Huge
$if(title)$ $if(title)$
\textbf{$title$} \\ \textbf{$title$} \\
$endif$ $endif$
\vspace*{0.3cm} \vspace*{0.3cm}
\large \large
$if(aufgabe.code)$ $if(aufgabe.code)$
$aufgabe.code$ \\ $aufgabe.code$ \\
$endif$ $endif$
\vspace*{0.5cm} \vspace*{0.5cm}
$if(studium.fach)$ $if(studium.fach)$
\textbf{$studium.fach$}\\ \textbf{$studium.fach$}\\
$endif$ $endif$
\vspace*{0.5cm} \vspace*{0.5cm}
@ -372,6 +392,11 @@ $if(logo)$ $if(hochschule)$ $else$ \includegraphics[max width=\textwidth]{$log
\normalsize \normalsize
\newcolumntype{x}[1]{>{\raggedleft\arraybackslash\hspace{0pt}}p{#1}} \newcolumntype{x}[1]{>{\raggedleft\arraybackslash\hspace{0pt}}p{#1}}
\begin{tabular}{x{6cm}p{7.5cm}} \begin{tabular}{x{6cm}p{7.5cm}}
$if(studium.fachbereich)$
$if(studium.studiengang)$
\rule{0mm}{5ex}\textbf{Studiengang:} & $studium.studiengang$ \\
$endif$
$endif$
$if(student)$ $if(student)$
\rule{0mm}{5ex}\textbf{Student:} & \studentname \rule{0mm}{5ex}\textbf{Student:} & \studentname
$if(student.strasse)$ $if(student.strasse)$

Loading…
Cancel
Save