diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index dd7d9f5ead77297874c37915b1313d5c0b0e9920..ee315a0177ac1ba3f18a6d4cbb62410774079643 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -3,7 +3,7 @@ \setcounter{errorcontextlines}{100} \listfiles \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{ptbposter}[2025/03/12 1.1.0 PTB-Poster (RN)] +\ProvidesClass{ptbposter}[2025/03/12 1.1.1 PTB-Poster (RN)] \newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst \newif\ifPTB@german@ \PTB@german@false @@ -131,21 +131,9 @@ \ExecuteOptions{serif,raggedTitle,layout2020} \ProcessOptions\relax -\PassOptionsToPackage{\PTB@babel@opt}{babel} -\RequirePackage{babel} +\RequirePackage[\PTB@babel@opt]{babel} \iflanguage{ngerman}{\PTB@german@true}{} -\iffalse -% The default language should be `ngerman', `english' should also be present. -\def\@tempa{english}\def\@tempb{english,ngerman} -\@for\CurrentOption:=\@classoptionslist\do{% - \ifx\CurrentOption\@tempa - \def\@tempb{ngerman}% Only add `english' if not already present. - \fi -}% -\edef\@classoptionslist{\@tempb,\@classoptionslist} -\fi - \LoadClass{scrartcl} \RequirePackage[verbose]{geometry}%