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

11
README.md Normal file
View file

@ -0,0 +1,11 @@
# KFUreport: LaTeX template for reports in KFU corporate design
This repository contains LaTeX sources (based on `scrartcl` from the
KOMAscript bundle) for letters following the current (March 2022) version
of the Corporate Design manual of the university of Graz.
**Important:** As the template uses specific fonts that are not part of the
standard TeX distributions, it must be compiled with `lualatex`. If the report
contains mathematical formulas, it may be necessary to compile with `xelatex`
instead to correctly display all mathematical symbols.

BIN
kfulogo.pdf Normal file

Binary file not shown.

View file

@ -2,9 +2,10 @@
\documentclass[english]{kfureprt} \documentclass[english]{kfureprt}
\usepackage{lipsum} \usepackage{lipsum}
\author{Christian Clason} \author{Christian Clason \and Kristian Bredies}
\title{A nice report} \title{A nice report}
\subtitle{On an interesting topic} \subtitle{On an interesting topic}
\sponsors{\includegraphics[height=2cm,keepaspectratio=true]{Nawi_Graz_Logo_2015}}
\begin{document} \begin{document}
\maketitle \maketitle

View file

@ -6,7 +6,7 @@
% and provides defaults for Institute of Mathematics and Scientific Computing % and provides defaults for Institute of Mathematics and Scientific Computing
\NeedsTeXFormat{LaTeX2e} \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}} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions \ProcessOptions
@ -95,6 +95,9 @@ linktocpage=true,%
\providecaptionname{ngerman}\myinstituteA{Institut für Mathematik und} \providecaptionname{ngerman}\myinstituteA{Institut für Mathematik und}
\newcommand*\myinstituteB{Scientific Computing} \newcommand*\myinstituteB{Scientific Computing}
\providecaptionname{ngerman}\myinstituteB{Wissenschaftliches Rechnen} \providecaptionname{ngerman}\myinstituteB{Wissenschaftliches Rechnen}
\newcommand\sponsors[1]{\renewcommand\@sponsors{#1}}
\newcommand\@sponsors{}
\renewcommand\and{\\}
\renewcommand*{\maketitle}{% \renewcommand*{\maketitle}{%
\begin{titlepage} \begin{titlepage}
\newgeometry{lmargin=2cm, rmargin=1cm, bmargin=3cm} \newgeometry{lmargin=2cm, rmargin=1cm, bmargin=3cm}
@ -116,7 +119,9 @@ linktocpage=true,%
{\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}% {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
\vskip 2em \vskip 2em
{\usekomafont{date}{\normalsize \@date \par}} {\usekomafont{date}{\normalsize \@date \par}}
\vskip 25em \vskip 15em
{\ifx\@subtitle\@empty\else\usekomafont{author}\@author\par\fi}% {\ifx\@subtitle\@empty\else\usekomafont{author}\@author\par\fi}%
\vfill
{\ifx\@sponsors\@empty\else\@sponsors\par\fi}%
\end{titlepage} \end{titlepage}
} }