From b4d5b6af0010631a699d974f9bf97c48cac26fe3 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Tue, 27 Aug 2024 17:04:05 +0200 Subject: [PATCH] fix: conditional enclosure name redefine --- kfu-math.lco | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kfu-math.lco b/kfu-math.lco index d2b161c..f03d52e 100644 --- a/kfu-math.lco +++ b/kfu-math.lco @@ -16,7 +16,7 @@ \DeclareBoolOption{print} \ProcessKeyvalOptions* -\RequirePackage[ngerman,english]{babel} +\RequirePackage{babel} \RequirePackage{csquotes} \RequirePackage{fontspec} \setsansfont[Ligatures=TeX, ExternalLocation, Path=fonts/, @@ -81,7 +81,9 @@ BoldItalicFont=*ExtraBoldItalic]{NunitoSans-} \setkomavar{signature}{\usekomavar{fromtitle}~\usekomavar{fromname}} \renewcommand{\ps}{\footnotesize\itshape \bigskip} -\renewcaptionname{ngerman}{\enclname}{Beilage} +\iflanguage{ngerman}{% + \renewcaptionname{ngerman}{\enclname}{Beilage} +}{} \setkomavar{firsthead}{% \raggedleft