diff --git a/source/tudscr-misc.dtx b/source/tudscr-misc.dtx index 9dc213ce..81ead289 100644 --- a/source/tudscr-misc.dtx +++ b/source/tudscr-misc.dtx @@ -1,10 +1,10 @@ -% \CheckSum{324} +% \CheckSum{334} % \iffalse meta-comment % % TUD-Script -- Corporate Design of Technische Universität Dresden % ---------------------------------------------------------------------------- % -% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020 +% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2021 % % ---------------------------------------------------------------------------- % diff --git a/source/tudscr-pagestyle.dtx b/source/tudscr-pagestyle.dtx index d230be49..e15655ea 100644 --- a/source/tudscr-pagestyle.dtx +++ b/source/tudscr-pagestyle.dtx @@ -1,10 +1,10 @@ -% \CheckSum{2044} +% \CheckSum{2046} % \iffalse meta-comment % % TUD-Script -- Corporate Design of Technische Universität Dresden % ---------------------------------------------------------------------------- % -% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020 +% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2021 % % ---------------------------------------------------------------------------- % @@ -52,7 +52,7 @@ % \fi % \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi -\ProvidesFile{tudscr-pagestyle.dtx}[2020/09/29 v2.06j TUD-Script\space% +\ProvidesFile{tudscr-pagestyle.dtx}[2021/03/30 v2.06l TUD-Script\space% (pagestyle)% ] % @@ -121,6 +121,7 @@ \if@tud@x@standalone@crop \PreventPackageFromLoading{scrlayer-scrpage}% \else + \PassOptionsToPackage{automark}{scrlayer-scrpage}% \AtEndPreamble{\RequirePackage{scrlayer-scrpage}[2020/09/21]}% \fi % \end{macrocode} @@ -649,6 +650,7 @@ % \begin{macrocode} \tud@cs@store{pagestyle} \renewcommand*\pagestyle[1]{% + \csuse{ps@#1}% \AfterAtEndOfPackage*{scrlayer-scrpage}{\pagestyle{#1}}% } \BeforePackage{scrlayer-scrpage}{%