summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrlayer.sty')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrlayer.sty65
1 files changed, 43 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty b/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty
index d19462d64e5..63b95bfbdeb 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty
@@ -26,7 +26,7 @@
%% `lppl.txt' or `lppl-de.txt' for additional information.
%%
%% The list of files belonging to KOMA-Script distribution is given in
-%% the file `manifest.txt'. See also `lppl.txt' or `lppl-de.txt' for
+%% the file `MANIFEST.md'. See also `lppl.txt' or `lppl-de.txt' for
%% additional information.
%%
%% If this file is a beta version, you may not be allowed to distribute
@@ -43,14 +43,14 @@
%% find a complete unmodified copy of LaTeX2e at
%% <http://mirror.ctan.org/tex-archive/macros/latex/base/>.
%%
-%%% From File: $Id: scrlayer.dtx 3773 2022-03-29 06:27:55Z kohm $
+%%% From File: $Id: scrlayer.dtx 3894 2022-06-19 10:25:46Z kohm $
%%% (run: identify)
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{scrlayer}[%
- 2022/05/01 v3.36 KOMA-Script
+ 2022/07/04 v3.37 KOMA-Script
package
(defining layers and page styles)]
-%%% From File: $Id: scrlayer.dtx 3773 2022-03-29 06:27:55Z kohm $
+%%% From File: $Id: scrlayer.dtx 3894 2022-06-19 10:25:46Z kohm $
%%% (run: init)
\newcommand*{\scrlayer@@inherited@options@cslist}{}
\newcommand*{\scrlayer@@add@inherited@option}[1]{%
@@ -145,7 +145,7 @@
\@namedef{scrlayer@deprecated@reported@for@#1}{\string #2}%
}{}%
}
-%%% From File: $Id: scrlayer.dtx 3773 2022-03-29 06:27:55Z kohm $
+%%% From File: $Id: scrlayer.dtx 3894 2022-06-19 10:25:46Z kohm $
%%% (run: options)
\KOMA@key{markcase}{%
\begingroup
@@ -330,7 +330,7 @@
\scrlayer@@add@inherited@option{forceoverwrite}
\KOMA@ifkey{autoremoveinterfaces}{scrlayer@autoremoveinterfaces}
\scrlayer@@add@inherited@option{autoremoveinterfaces}
-%%% From File: $Id: scrlayer.dtx 3773 2022-03-29 06:27:55Z kohm $
+%%% From File: $Id: scrlayer.dtx 3894 2022-06-19 10:25:46Z kohm $
%%% (run: body)
\KOMAProcessOptions\relax
\newcommand*{\rightfirstmark}{\expandafter\@rightmark\firstmark\@empty\@empty}
@@ -383,21 +383,42 @@
\providecommand{\@mkdouble}[1]{%
\@mkboth{#1}{#1}%
}
-\@ifundefined{markleft}{%
- \DeclareRobustCommand{\markleft}[1]{%
- \begingroup
- \let\label\relax \let\index\relax \let\glossary\relax
- \expandafter\@markleft\@themark {#1}%
- \@temptokena \expandafter{\@themark}%
- \mark{\the\@temptokena}%
- \endgroup
- \if@nobreak\ifvmode\nobreak\fi\fi
- }%
- \providecommand{\@markleft}[3]{%
- \@temptokena {#2}%
- \unrestored@protected@xdef\@themark{{#3}{\the\@temptokena}}%
- }%
-}{}
+\csname ExplSyntaxOn\endcsname
+\IfLTXAtLeastTF{2022/06/01}{%
+ \@ifundefined{markleft}{%
+ \DeclareRobustCommand{\markleft}[1]{%
+ \begingroup
+ \let\label\relax \let\index\relax \let\glossary\relax
+ \expandafter\@markleft\@themark {#1}%
+ \@temptokena \expandafter{\@themark}%
+ \mark_insert:nn{2e-left}{#1}%
+ \mark{\the\@temptokena}%
+ \endgroup
+ \if@nobreak\ifvmode\nobreak\fi\fi
+ }%
+ \providecommand{\@markleft}[3]{%
+ \@temptokena {#2}%
+ \unrestored@protected@xdef\@themark{{#3}{\the\@temptokena}}%
+ }%
+ }{}%
+}{%
+ \@ifundefined{markleft}{%
+ \DeclareRobustCommand{\markleft}[1]{%
+ \begingroup
+ \let\label\relax \let\index\relax \let\glossary\relax
+ \expandafter\@markleft\@themark {#1}%
+ \@temptokena \expandafter{\@themark}%
+ \mark{\the\@temptokena}%
+ \endgroup
+ \if@nobreak\ifvmode\nobreak\fi\fi
+ }%
+ \providecommand{\@markleft}[3]{%
+ \@temptokena {#2}%
+ \unrestored@protected@xdef\@themark{{#3}{\the\@temptokena}}%
+ }%
+ }{}%
+}
+\csname ExplSyntaxOff\endcsname
\providecommand{\markdouble}[1]{\markboth{#1}{#1}}
\newcommand*{\manualmark}{%
\begingroup
@@ -2314,7 +2335,7 @@
\@ifundefined{scrlayer@#1@onremove}{\@namedef{scrlayer@#1@onremove}{}}{}%
\expandafter\l@addto@macro\csname scrlayer@#1@onremove\endcsname{#2}%
}
-%%% From File: $Id: scrlayer.dtx 3773 2022-03-29 06:27:55Z kohm $
+%%% From File: $Id: scrlayer.dtx 3894 2022-06-19 10:25:46Z kohm $
%%% (run: final)
\DeclareNewPageStyleByLayers{@everystyle@}{}
\RedeclarePageStyleByLayers{empty}{}