fix: conditional enclosure name redefine

This commit is contained in:
Christian Clason 2024-08-27 17:04:05 +02:00
parent 4465d1fdbc
commit b4d5b6af00

View file

@ -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