Files
tum-thesis-latex/pages/cover.tex
Florian Walch 4a0105d63e Allow compiling without logo files.
Work out of the box without requiring manual logo download.
2016-04-06 00:21:38 +02:00

38 lines
909 B
TeX

\begin{titlepage}
% HACK for two-sided documents: ignore binding correction for cover page.
% Adapted from Markus Kohm's KOMA-Script titlepage=firstiscover handling.
% See http://mirrors.ctan.org/macros/latex/contrib/koma-script/scrkernel-title.dtx,
% \maketitle macro.
\oddsidemargin=\evensidemargin\relax
\textwidth=\dimexpr\paperwidth-2\evensidemargin-2in\relax
\hsize=\textwidth\relax
\centering
\IfFileExists{logos/tum.pdf}{%
\includegraphics[height=20mm]{logos/tum.pdf}
}{%
\vspace*{20mm}
}
\vspace{5mm}
{\huge\MakeUppercase{\getFaculty{}}}\\
\vspace{5mm}
{\large\MakeUppercase{\getUniversity{}}}\\
\vspace{20mm}
{\Large \getDoctype{}}
\vspace{15mm}
{\huge\bfseries \getTitle{}}
\vspace{15mm}
{\LARGE \getAuthor{}}
\IfFileExists{logos/faculty.pdf}{%
\vspace{20mm}
\includegraphics[height=20mm]{logos/faculty.pdf}
}{}
\end{titlepage}