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

View file

@ -5,7 +5,7 @@
% implements layout according to corporate design of 2017
% 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{kvoptions}
@ -19,16 +19,20 @@
\RequirePackage{babel}
\RequirePackage{csquotes}
\RequirePackage{fontspec}
\setmainfont[Ligatures=TeX, ExternalLocation,
ItalicFont=FRANKGBOB,
BoldFont=FRANKGD,
BoldItalicFont=FRANKGDOB]{FRANKGB}
\newfontfamily\institutefont[ExternalLocation]{DistProTh}
\setsansfont[Ligatures=TeX, ExternalLocation, Path=fonts/,
UprightFont=*Light,
ItalicFont=*LightItalic,
BoldFont=*ExtraBold,
BoldItalicFont=*ExtraBoldItalic]{NunitoSans-}
\usepackage{unicode-math}
\setmathfont[Scale=0.9, ExternalLocation, Path=fonts/]{FiraMath-SemiLight}
\renewcommand{\familydefault}{\sfdefault}
\frenchspacing
\RequirePackage{microtype}
\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{firstheadhpos}{30mm}
\@setplength{firstheadwidth}{170mm}
@ -50,8 +54,8 @@ BoldItalicFont=FRANKGDOB]{FRANKGB}
\RequirePackage{xcolor}
\definecolor{kfu@gray}{gray}{0.5}
\RequirePackage{graphicx}
\RequirePackage[colorlinks=true,urlcolor=black]{hyperref}
\urlstyle{rm}
\RequirePackage[colorlinks=true,linkcolor=black,urlcolor=black]{hyperref}
\urlstyle{sf}
\newkomavar{myinstitute}
\newkomavar{myuniversity}
@ -59,72 +63,67 @@ BoldItalicFont=FRANKGDOB]{FRANKGB}
\newkomavar{emaildomain}
\providecaptionname{english}\myinstitute{Institute of Mathematics and Scientific Computing}
\providecaptionname{ngerman}\myinstitute{Institut für Mathematik und Wissenschaftliches Rechnen}
\providecaptionname{english}\myuniversity{UNIVERSITY OF GRAZ}
\providecaptionname{ngerman}\myuniversity{UNIVERSITÄT GRAZ}
\providecaptionname{english}\myuniversity{University of Graz}
\providecaptionname{ngerman}\myuniversity{Universität Graz}
\setkomavar{myinstitute}{\myinstitute}
\setkomavar{myuniversity}{\myuniversity}
\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{ngerman}\myaddress{Heinrichstrasse 36, 8010 Graz}
\setkomavar{fromaddress}{\myaddress}
\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{signature}{\usekomavar{fromtitle}~\usekomavar{fromname}}
\renewcommand{\ps}{\footnotesize\itshape \bigskip}
\renewcaptionname{ngerman}{\enclname}{Beilage}
\setkomavar{firsthead}{%
\raggedleft
\parbox[c]{12cm}{\raggedleft \color{kfu@gray}
\huge \institutefont UNIVERSITÄT GRAZ\\UNIVERSITY OF GRAZ\\[0.75ex]
\Large\usekomavar{myinstitute}
}\hspace{1em}
\parbox[c]{3cm}{\centering
\includegraphics[height=2.5cm,keepaspectratio=true]{logo_uni_graz_4c.pdf}
\parbox[c]{8.5cm}{\raggedleft%
\includegraphics[height=2.5cm,keepaspectratio=true]{kfulogo_claim.pdf}
}
}
\setkomavar{firstfoot}{\small%
\color{kfu@gray}
\footnotesize\raggedleft
\setkomavar{firstfoot}{\scriptsize\raggedleft%
\textbf{\myuniversity}\\
\textbf{\myinstitute}\\[1ex]
\usekomavar{fromtitle}~\usekomavar{fromname}\\
\usekomavar{fromaddress}\\
\usekomavar[\phonename]{phoneseparator}\usekomavar{fromphone}\\
\usekomavar{fromfax}\\
\usekomavar[\emailname]{emailseparator}\usekomavar{fromemail}\usekomavar{emaildomain}\\
\usekomavar{phoneseparator}\usekomavar{fromphone}~|~%
\usekomavar{fromemail}\usekomavar{emaildomain}\\
\pageofpages\hfill
\begingroup
\hypersetup{urlcolor=kfu@gray}
\usekomavar[\url]{fromurl}
\endgroup
}
\RequirePackage{scrlayer-scrpage}
\RequirePackage{lastpage}
\newcommand{\pageofpages}{%
\begingroup
\hypersetup{linkcolor=kfu@gray}
\@ifundefined{pageof@\languagename}
{page~\thepage~of~\pageref{LastPage}} % a default
{\@nameuse{pageof@\languagename}}%
\endgroup
}
\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,
contents={\color{kfu@gray}\upshape\footnotesize\hfill\pageofpages}]
{KFUletter.outer}
\DeclarePageStyleByLayers{kfuletter}{%
KFUletter.right,KFUletter.outer}
\pagestyle{kfuletter}
contents={
\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.