diff --git a/DistProTh.otf b/DistProTh.otf deleted file mode 100644 index 1512dcc..0000000 Binary files a/DistProTh.otf and /dev/null differ diff --git a/FRANKGB.TTF b/FRANKGB.TTF deleted file mode 100644 index f73ed48..0000000 Binary files a/FRANKGB.TTF and /dev/null differ diff --git a/FRANKGDOB.TTF b/FRANKGDOB.TTF deleted file mode 100644 index 4d7a61f..0000000 Binary files a/FRANKGDOB.TTF and /dev/null differ diff --git a/fonts/FiraMath-SemiLight.otf b/fonts/FiraMath-SemiLight.otf new file mode 100644 index 0000000..c0c4309 Binary files /dev/null and b/fonts/FiraMath-SemiLight.otf differ diff --git a/fonts/NunitoSans-ExtraBold.ttf b/fonts/NunitoSans-ExtraBold.ttf new file mode 100644 index 0000000..c14a315 Binary files /dev/null and b/fonts/NunitoSans-ExtraBold.ttf differ diff --git a/fonts/NunitoSans-ExtraBoldItalic.ttf b/fonts/NunitoSans-ExtraBoldItalic.ttf new file mode 100644 index 0000000..cf2af66 Binary files /dev/null and b/fonts/NunitoSans-ExtraBoldItalic.ttf differ diff --git a/fonts/NunitoSans-Light.ttf b/fonts/NunitoSans-Light.ttf new file mode 100644 index 0000000..db2aa0e Binary files /dev/null and b/fonts/NunitoSans-Light.ttf differ diff --git a/fonts/NunitoSans-LightItalic.ttf b/fonts/NunitoSans-LightItalic.ttf new file mode 100644 index 0000000..83f64d0 Binary files /dev/null and b/fonts/NunitoSans-LightItalic.ttf differ diff --git a/kfu-letter.tex b/kfu-letter.tex index f7d4201..522ee53 100644 --- a/kfu-letter.tex +++ b/kfu-letter.tex @@ -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} diff --git a/kfu-math.lco b/kfu-math.lco index 297e235..99a517b 100644 --- a/kfu-math.lco +++ b/kfu-math.lco @@ -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} diff --git a/kfulogo_claim.pdf b/kfulogo_claim.pdf new file mode 100644 index 0000000..1ed5100 Binary files /dev/null and b/kfulogo_claim.pdf differ