From ee3d1afc4531ab57f8721afea4305b616b4045a8 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 27 Aug 2024 17:11:24 +0200 Subject: [PATCH] chore: remove deprecation warnings --- kfu-letter.tex | 13 ++++++++----- kfu-math.lco | 18 +++++++++--------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/kfu-letter.tex b/kfu-letter.tex index 522ee53..235e0f3 100644 --- a/kfu-letter.tex +++ b/kfu-letter.tex @@ -1,10 +1,13 @@ %!TEX TS-program = lualatex -\documentclass[kfu-math, % Layout, Instituts-Angaben - kfu-clason, % Name, tel, email vom Mitarbeiter - ngerman, % Sprache: 'ngerman' oder 'english' - % print, % für Ausdruck: Faltmarken, Rückanschrift - fontsize=11pt % Größe der Grundschrift: '10pt' oder '11pt' +\documentclass[% + ngerman, % Sprache: 'ngerman' oder 'english' + % print, % für Ausdruck: Faltmarken, Rückanschrift + fontsize=11pt % Größe der Grundschrift: '10pt' oder '11pt' ]{scrlttr2} +\LoadLetterOptions{% + kfu-math, % Layout, Instituts-Angaben + kfu-clason, % Name, tel, email vom Mitarbeiter <-- REPLACE ME +} \usepackage{lipsum} \begin{document} diff --git a/kfu-math.lco b/kfu-math.lco index f03d52e..f435ddc 100644 --- a/kfu-math.lco +++ b/kfu-math.lco @@ -33,15 +33,15 @@ BoldItalicFont=*ExtraBoldItalic]{NunitoSans-} \KOMAoptions{paper=a4, parskip=half-, enlargefirstpage=on, subject=left} \usepackage[left=20mm,right=20mm,bottom=51.2mm]{geometry} -\@setplength{firstheadvpos}{1cm} -\@setplength{firstheadhpos}{30mm} -\@setplength{firstheadwidth}{170mm} -\@setplength{firstfoothpos}{20mm} -\@setplength{firstfootvpos}{287mm} -\@addtoplength[-5]{firstfootvpos}{\baselineskip} -\@setplength{refhpos}{30mm} -\@setplength{refwidth}{170mm} -\@setplength{sigbeforevskip}{3\baselineskip} +\setplength{firstheadvpos}{1cm} +\setplength{firstheadhpos}{30mm} +\setplength{firstheadwidth}{170mm} +\setplength{firstfoothpos}{20mm} +\setplength{firstfootvpos}{287mm} +\addtoplength[-5]{firstfootvpos}{\baselineskip} +\setplength{refhpos}{30mm} +\setplength{refwidth}{170mm} +\setplength{sigbeforevskip}{3\baselineskip} \let\raggedsignature=\raggedright \ifkfu@print