add sponsor logos

This commit is contained in:
Christian Clason 2022-03-04 18:48:12 +01:00
commit 1894864c5e
4 changed files with 20 additions and 3 deletions

View file

@ -6,7 +6,7 @@
% and provides defaults for Institute of Mathematics and Scientific Computing
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{kfureprt}[2021/03/01 v0.3 Uni Graz CD reports]
\ProvidesClass{kfureprt}[2021/03/04 v0.4 Uni Graz CD reports]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions
@ -95,6 +95,9 @@ linktocpage=true,%
\providecaptionname{ngerman}\myinstituteA{Institut für Mathematik und}
\newcommand*\myinstituteB{Scientific Computing}
\providecaptionname{ngerman}\myinstituteB{Wissenschaftliches Rechnen}
\newcommand\sponsors[1]{\renewcommand\@sponsors{#1}}
\newcommand\@sponsors{}
\renewcommand\and{\\}
\renewcommand*{\maketitle}{%
\begin{titlepage}
\newgeometry{lmargin=2cm, rmargin=1cm, bmargin=3cm}
@ -116,7 +119,9 @@ linktocpage=true,%
{\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
\vskip 2em
{\usekomafont{date}{\normalsize \@date \par}}
\vskip 25em
\vskip 15em
{\ifx\@subtitle\@empty\else\usekomafont{author}\@author\par\fi}%
\vfill
{\ifx\@sponsors\@empty\else\@sponsors\par\fi}%
\end{titlepage}
}