Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Improved title page #44

Merged
merged 6 commits into from
Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The code below is enough to generate a title page, a non-disclosure notice, a ta
academic year = 1990,
course = B,
title = Eine Arbeit,
subtitle = Ein Untertitel,
text type = Projektarbeit 2,
company name = SpaceX,
lecturer = Prof. Dr. Frank Staab
Expand Down
Binary file modified docs/examples/full/full.pdf
Binary file not shown.
Binary file modified docs/examples/starter-advanced/starter-advanced.pdf
Binary file not shown.
Binary file modified docs/examples/starter-recommended/starter-recommended.pdf
Binary file not shown.
7 changes: 6 additions & 1 deletion src/udhbwvst-independence-notice.def
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
Ich versichere hiermit, dass ich meine \dhbwGetTextType{} mit dem Thema

\begin{center}
\textbf{{\large \dhbwGetTitle{}} \\\dhbwGetSubtitle{}}
\textbf{%
{\large \dhbwGetTitle{}}\\
\ifdef{\dhbwGetSubtitle{}}{%
\dhbwGetSubtitle{}
}{}
}
\end{center}

selbstständig und nur mit den angegebenen Quellen und Hilfsmitteln verfasst habe sowie dass die eingereichte gedruckte Version mit der elektronischen Version inhaltlich übereinstimmt.
Expand Down
95 changes: 56 additions & 39 deletions src/udhbwvst-title.def
Original file line number Diff line number Diff line change
@@ -1,47 +1,64 @@
\newgeometry{
left=3cm,
right=3cm,
top=2cm,
bottom=4cm
\newgeometry{%
left = 25mm,
right = 25mm,
top = 30mm,
bottom = 30mm
}

\begin{center}
\vspace*{1cm} \ \\
{\fontsize{40}{48}\selectfont \bfseries \dhbwGetTitle \\}
\vspace{0.75cm}
{\Large\bfseries \dhbwGetSubtitle \\}
\vspace{1.5cm}
\dhbwGetTextType \\
Studienjahrgang \dhbwGetAcademicYear \\
Kurs \dhbwGetCourse \\
\vspace{1.5cm}
Fakultät \dhbwGetFaculty \\
Studiengang \dhbwGetFieldOfStudy \\
DUALE HOCHSCHULE BADEN-WÜRTTEMBERG\\
VILLINGEN-SCHWENNINGEN\\
\end{center}
\ifbool{udhbwvst@if@print@ndn}{%
\begin{textblock*}{50mm}(30mm,160mm)
\begin{rotate}{50}
\fontsize{34}{40}\bfseries\textcolor{red}{Sperrvermerk}
\begin{textblock*}{50mm}(35mm,185mm)
\begin{rotate}{40}
\fontsize{40}{40}\bfseries\textcolor{dhbwRed}{Sperrvermerk}
\end{rotate}
\end{textblock*}
}{}
\begin{table}[b]
\begin{tabular}{ll}
Bearbeiter: & \dhbwGetAuthor \\
Ausbildungsbetrieb: & \dhbwGetCompanyName \\
Betreuender Dozent: & \dhbwGetLecturer \\
\end{tabular}\\
\\
\\
\begin{tabularx}{\textwidth}{lXl}
\includegraphics[width=.3\linewidth]{dhbw-vs-logo.png} &
&
\ifdef{\dhbwGetCompanyLogo}{%
\includegraphics[width=.3\linewidth]{\dhbwGetCompanyLogo}
}{}
\end{tabularx}
\end{table}

\begin{minipage}{.05\linewidth}
\rule{4pt}{6cm}
\end{minipage}
\begin{minipage}{.9\linewidth}
\begin{flushleft}
{\Huge\textbf{\dhbwGetTitle}}\\
\ifdef{\dhbwGetSubtitle}{%
\vspace*{\baselineskip}
{\Large\textbf{\dhbwGetSubtitle}}
}{}
\end{flushleft}
\end{minipage}\\

\vfill

\begin{minipage}{.95\linewidth}
\begin{flushright}
\textbf{\dhbwGetAuthor}\ \cdot\ \dhbwGetCompanyName\\
\dhbwGetFieldOfStudy\ \cdot\ Jahrgang\ \dhbwGetAcademicYear\ \cdot\ Kurs\ \dhbwGetCourse\\
\dhbwGetTextType\\
\ifdef{\dhbwGetCompanyLogo}{%
\vspace{1cm}
\includegraphics[width=.35\linewidth]{\dhbwGetCompanyLogo}
}{}
\end{flushright}
\end{minipage}
\hfill\begin{minipage}{.05\linewidth}
\hfill\rule{2pt}{6cm}
\end{minipage}\\

\vspace*{2cm}

\begin{minipage}{.05\linewidth}
\rule{2pt}{4cm}
\end{minipage}
\begin{minipage}{0.6\linewidth}
\begin{flushleft}
\textbf{Duale Hochschule Baden-Württemberg}\\
\textbf{Villingen-Schwenningen}\\
Fakultät\ \dhbwGetFaculty\\
Betreuer dieser Arbeit:\\
\dhbwGetLecturer\\
\end{flushleft}
\end{minipage}\hfill
\begin{minipage}{0.3\linewidth}
\includegraphics[width=\linewidth]{dhbw-vs-logo.png}
\end{minipage}

\restoregeometry
3 changes: 3 additions & 0 deletions src/udhbwvst.cls
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@
% fix for #21 (long author names in footnotes)
\renewcommand\@makefntext[1]{\leftskip=1em\hskip-0em\@makefnmark#1}

% xcolor package
\definecolor{dhbwRed}{RGB}{226,0,26}

% tocloft package
\renewcommand{\cftfigpresnum}{Abbildung }
\renewcommand{\cfttabpresnum}{Tabelle }
Expand Down