-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apply pagestyle before loading scrlayer-scrpage, fixes #59
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
% \CheckSum{324} | ||
% \CheckSum{334} | ||
% \iffalse meta-comment | ||
% | ||
% TUD-Script -- Corporate Design of Technische Universität Dresden | ||
% ---------------------------------------------------------------------------- | ||
% | ||
% Copyright (C) Falk Hanisch <[email protected]>, 2012-2020 | ||
% Copyright (C) Falk Hanisch <[email protected]>, 2012-2021 | ||
% | ||
% ---------------------------------------------------------------------------- | ||
% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
% \CheckSum{2044} | ||
% \CheckSum{2046} | ||
% \iffalse meta-comment | ||
% | ||
% TUD-Script -- Corporate Design of Technische Universität Dresden | ||
% ---------------------------------------------------------------------------- | ||
% | ||
% Copyright (C) Falk Hanisch <[email protected]>, 2012-2020 | ||
% Copyright (C) Falk Hanisch <[email protected]>, 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}{% | ||
|