update to new CD 2022

This commit is contained in:
Christian Clason 2022-03-05 15:33:27 +01:00
parent 944df49ae1
commit 70ae5888f1
11 changed files with 48 additions and 51 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
fonts/NunitoSans-Light.ttf Normal file

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
%!TEX TS-program = lualatex %!TEX TS-program = lualatex
\documentclass[kfu-math, % Layout, Insituts-Angaben \documentclass[kfu-math, % Layout, Instituts-Angaben
kfu-clason, % Name, tel, email vom Mitarbeiter kfu-clason, % Name, tel, email vom Mitarbeiter
english, % Sprache: 'ngerman' oder 'english' ngerman, % Sprache: 'ngerman' oder 'english'
% print, % für Ausdruck: Faltmarken, Rückanschrift % print, % für Ausdruck: Faltmarken, Rückanschrift
fontsize=11pt % Größe der Grundschrift: '10pt' oder '11pt' fontsize=11pt % Größe der Grundschrift: '10pt' oder '11pt'
]{scrlttr2} ]{scrlttr2}
@ -23,16 +23,14 @@
vielen Dank für Ihre \emph{freundliche} Unterstützung. vielen Dank für Ihre \emph{freundliche} Unterstützung.
\lipsum \lipsum[1-10]
\lipsum
% \setkomavar{signature}{Dein Christian} % \setkomavar{signature}{Dein Christian}
\closing{Mit besten Grüßen,} \closing{Mit besten Grüßen,}
%\encl{}% etwaige Anlagenliste mit \\ trennen \ps % Postskriptum ohne {}
%\ps % Postskriptum ohne {} \encl{Die TeX-Quellen}% etwaige Anlagenliste mit \\ trennen
%\cc{}% etwaige Verteilerliste mit \\ trennen \cc{Die Dekanin\\Der Institutsleiter}% etwaige Verteilerliste mit \\ trennen
\end{letter} \end{letter}

View file

@ -5,7 +5,7 @@
% implements layout according to corporate design of 2017 % implements layout according to corporate design of 2017
% and provides defaults for Institute of Mathematics and Scientific Computing % and provides defaults for Institute of Mathematics and Scientific Computing
\ProvidesFile{kfu-math.lco}[2021-03-27 letter class option 'KFU Mathematik'] \ProvidesFile{kfu-math.lco}[2022-03-05 letter class option 'KFU Mathematik']
\RequirePackage{calc} \RequirePackage{calc}
\RequirePackage{kvoptions} \RequirePackage{kvoptions}
@ -19,16 +19,20 @@
\RequirePackage{babel} \RequirePackage{babel}
\RequirePackage{csquotes} \RequirePackage{csquotes}
\RequirePackage{fontspec} \RequirePackage{fontspec}
\setmainfont[Ligatures=TeX, ExternalLocation, \setsansfont[Ligatures=TeX, ExternalLocation, Path=fonts/,
ItalicFont=FRANKGBOB, UprightFont=*Light,
BoldFont=FRANKGD, ItalicFont=*LightItalic,
BoldItalicFont=FRANKGDOB]{FRANKGB} BoldFont=*ExtraBold,
\newfontfamily\institutefont[ExternalLocation]{DistProTh} BoldItalicFont=*ExtraBoldItalic]{NunitoSans-}
\usepackage{unicode-math}
\setmathfont[Scale=0.9, ExternalLocation, Path=fonts/]{FiraMath-SemiLight}
\renewcommand{\familydefault}{\sfdefault}
\frenchspacing \frenchspacing
\RequirePackage{microtype} \RequirePackage{microtype}
\KOMAoptions{paper=a4, parskip=half-, enlargefirstpage=on, subject=left} \KOMAoptions{paper=a4, parskip=half-, enlargefirstpage=on, subject=left}
\usepackage[left=20mm,right=20mm,bottom=30mm]{geometry} \usepackage[left=20mm,right=20mm,bottom=51.2mm]{geometry}
\@setplength{firstheadvpos}{1cm} \@setplength{firstheadvpos}{1cm}
\@setplength{firstheadhpos}{30mm} \@setplength{firstheadhpos}{30mm}
\@setplength{firstheadwidth}{170mm} \@setplength{firstheadwidth}{170mm}
@ -50,8 +54,8 @@ BoldItalicFont=FRANKGDOB]{FRANKGB}
\RequirePackage{xcolor} \RequirePackage{xcolor}
\definecolor{kfu@gray}{gray}{0.5} \definecolor{kfu@gray}{gray}{0.5}
\RequirePackage{graphicx} \RequirePackage{graphicx}
\RequirePackage[colorlinks=true,urlcolor=black]{hyperref} \RequirePackage[colorlinks=true,linkcolor=black,urlcolor=black]{hyperref}
\urlstyle{rm} \urlstyle{sf}
\newkomavar{myinstitute} \newkomavar{myinstitute}
\newkomavar{myuniversity} \newkomavar{myuniversity}
@ -59,72 +63,67 @@ BoldItalicFont=FRANKGDOB]{FRANKGB}
\newkomavar{emaildomain} \newkomavar{emaildomain}
\providecaptionname{english}\myinstitute{Institute of Mathematics and Scientific Computing} \providecaptionname{english}\myinstitute{Institute of Mathematics and Scientific Computing}
\providecaptionname{ngerman}\myinstitute{Institut für Mathematik und Wissenschaftliches Rechnen} \providecaptionname{ngerman}\myinstitute{Institut für Mathematik und Wissenschaftliches Rechnen}
\providecaptionname{english}\myuniversity{UNIVERSITY OF GRAZ} \providecaptionname{english}\myuniversity{University of Graz}
\providecaptionname{ngerman}\myuniversity{UNIVERSITÄT GRAZ} \providecaptionname{ngerman}\myuniversity{Universität Graz}
\setkomavar{myinstitute}{\myinstitute} \setkomavar{myinstitute}{\myinstitute}
\setkomavar{myuniversity}{\myuniversity} \setkomavar{myuniversity}{\myuniversity}
\setkomavar{emaildomain}{@uni-graz.at} \setkomavar{emaildomain}{@uni-graz.at}
\setkomavar{phoneseparator}{:~+43~316~380~} \setkomavar{phoneseparator}{+43~(0)316\,/\,380-}
\providecaptionname{english}\myaddress{Heinrichstrasse 36, 8010 Graz, Austria} \providecaptionname{english}\myaddress{Heinrichstrasse 36, 8010 Graz, Austria}
\providecaptionname{ngerman}\myaddress{Heinrichstrasse 36, 8010 Graz} \providecaptionname{ngerman}\myaddress{Heinrichstrasse 36, 8010 Graz}
\setkomavar{fromaddress}{\myaddress} \setkomavar{fromaddress}{\myaddress}
\setkomavar{backaddressseparator}{~\raisebox{0.25ex}{\textbf{\large.}}~} \setkomavar{backaddressseparator}{~\raisebox{0.25ex}{\textbf{\large.}}~}
\setkomavar{fromfax}{\usekomavar[\faxname]{faxseparator}+43~316~380~9815} \setkomavar{fromfax}{\usekomavar[\faxname]{faxseparator}+43~(0)316\,/\,380-9815}
\setkomavar{place}{Graz} \setkomavar{place}{Graz}
\setkomavar{signature}{\usekomavar{fromtitle}~\usekomavar{fromname}} \setkomavar{signature}{\usekomavar{fromtitle}~\usekomavar{fromname}}
\renewcommand{\ps}{\footnotesize\itshape \bigskip}
\renewcaptionname{ngerman}{\enclname}{Beilage}
\setkomavar{firsthead}{% \setkomavar{firsthead}{%
\raggedleft \raggedleft
\parbox[c]{12cm}{\raggedleft \color{kfu@gray} \parbox[c]{8.5cm}{\raggedleft%
\huge \institutefont UNIVERSITÄT GRAZ\\UNIVERSITY OF GRAZ\\[0.75ex] \includegraphics[height=2.5cm,keepaspectratio=true]{kfulogo_claim.pdf}
\Large\usekomavar{myinstitute}
}\hspace{1em}
\parbox[c]{3cm}{\centering
\includegraphics[height=2.5cm,keepaspectratio=true]{logo_uni_graz_4c.pdf}
} }
} }
\setkomavar{firstfoot}{\small% \setkomavar{firstfoot}{\scriptsize\raggedleft%
\color{kfu@gray} \textbf{\myuniversity}\\
\footnotesize\raggedleft \textbf{\myinstitute}\\[1ex]
\usekomavar{fromtitle}~\usekomavar{fromname}\\ \usekomavar{fromtitle}~\usekomavar{fromname}\\
\usekomavar{fromaddress}\\ \usekomavar{fromaddress}\\
\usekomavar[\phonename]{phoneseparator}\usekomavar{fromphone}\\ \usekomavar{phoneseparator}\usekomavar{fromphone}~|~%
\usekomavar{fromfax}\\ \usekomavar{fromemail}\usekomavar{emaildomain}\\
\usekomavar[\emailname]{emailseparator}\usekomavar{fromemail}\usekomavar{emaildomain}\\
\pageofpages\hfill \pageofpages\hfill
\begingroup
\hypersetup{urlcolor=kfu@gray}
\usekomavar[\url]{fromurl} \usekomavar[\url]{fromurl}
\endgroup
} }
\RequirePackage{scrlayer-scrpage} \RequirePackage{scrlayer-scrpage}
\RequirePackage{lastpage} \RequirePackage{lastpage}
\newcommand{\pageofpages}{% \newcommand{\pageofpages}{%
\begingroup
\hypersetup{linkcolor=kfu@gray}
\@ifundefined{pageof@\languagename} \@ifundefined{pageof@\languagename}
{page~\thepage~of~\pageref{LastPage}} % a default {page~\thepage~of~\pageref{LastPage}} % a default
{\@nameuse{pageof@\languagename}}% {\@nameuse{pageof@\languagename}}%
\endgroup
} }
\newcommand{\pageof@ngerman}{Seite~\thepage~von~\pageref{LastPage}} \newcommand{\pageof@ngerman}{Seite~\thepage~von~\pageref{LastPage}}
\DeclareNewLayer[foreground,rightmargin,
contents={\rotatebox{90}{%
\parbox[b][0.4\layerwidth][b]{0.953\layerheight}{
\Large\usekomavar[\color{kfu@gray}\institutefont]{myuniversity}}}
}]
{KFUletter.right}
\DeclareNewLayer[foreground,foot, \DeclareNewLayer[foreground,foot,
contents={\color{kfu@gray}\upshape\footnotesize\hfill\pageofpages}] contents={
{KFUletter.outer}
\DeclarePageStyleByLayers{kfuletter}{%
KFUletter.right,KFUletter.outer}
\pagestyle{kfuletter}
\scriptsize\raggedleft
\textbf{\myuniversity}\\
\textbf{\myinstitute}\\[1ex]
\usekomavar{fromtitle}~\usekomavar{fromname}\\
\usekomavar{fromaddress}\\
\usekomavar{phoneseparator}\usekomavar{fromphone}~|~%
\usekomavar{fromemail}\usekomavar{emaildomain}\\
\pageofpages\hfill
\usekomavar[\url]{fromurl}
}
]{KFUletter.left}
\DeclarePageStyleByLayers{kfuletter}{KFUletter.left}
\pagestyle{kfuletter}

BIN
kfulogo_claim.pdf Normal file

Binary file not shown.