diff --git a/README.md b/README.md new file mode 100644 index 0000000..9c7f850 --- /dev/null +++ b/README.md @@ -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. + diff --git a/kfulogo.pdf b/kfulogo.pdf new file mode 100644 index 0000000..1c0daac Binary files /dev/null and b/kfulogo.pdf differ diff --git a/kfureport.tex b/kfureport.tex index f7540ee..5674406 100644 --- a/kfureport.tex +++ b/kfureport.tex @@ -2,9 +2,10 @@ \documentclass[english]{kfureprt} \usepackage{lipsum} -\author{Christian Clason} +\author{Christian Clason \and Kristian Bredies} \title{A nice report} \subtitle{On an interesting topic} +\sponsors{\includegraphics[height=2cm,keepaspectratio=true]{Nawi_Graz_Logo_2015}} \begin{document} \maketitle diff --git a/kfureprt.cls b/kfureprt.cls index 43d1261..65a10d3 100644 --- a/kfureprt.cls +++ b/kfureprt.cls @@ -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} }