summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx690
1 files changed, 376 insertions, 314 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx b/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
index 3868af77410..5be2ae20216 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
@@ -1,8 +1,8 @@
-% \CheckSum{2591}
+% \CheckSum{2604}
% \iffalse^^A meta-comment
% ======================================================================
% scrlayer-scrpage.dtx
-% Copyright (c) Markus Kohm, 2012-2018
+% Copyright (c) Markus Kohm, 2012-2019
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -20,7 +20,7 @@
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% scrlayer-scrpage.dtx
-% Copyright (c) Markus Kohm, 2012-2018
+% Copyright (c) Markus Kohm, 2012-2019
%
% Diese Datei ist Teil der LaTeX2e KOMA-Script-Sammlung.
%
@@ -57,7 +57,7 @@
% Right brace \} Tilde \~}
%
% \iffalse^^A meta-comment
-%%% From File: $Id: scrlayer-scrpage.dtx 3017 2018-09-05 06:27:27Z kohm $
+%%% From File: $Id: scrlayer-scrpage.dtx 3141 2019-04-05 07:52:27Z kohm $
%<identify>%%% (run: identify)
%<init>%%% (run: init)
%<options>%%% (run: options)
@@ -66,9 +66,9 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2018-09-05 08:27:27 +0200 (Wed, 05 Sep 2018) $
+ \filedate$Date: 2019-04-05 09:52:27 +0200 (Fri, 05 Apr 2019) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 3017 $
+ \filerevision$Revision: 3141 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrlayer-scrpage.dtx}%
@@ -256,7 +256,7 @@
%
% \section{Width of Header and Footer}
%
-% \Package{scrpage2} provides to set the width of the page head or footer
+% \Package{scrpage2} provided to set the width of the page head or footer
% different from the width of the text area of the page using
% \Macro{setheadwidth} and \Macro{setfootwidth}. Optionally those commands
% allow to setup an horizontal offset for the head or footer. This interface
@@ -264,13 +264,13 @@
% with \KOMAScript{} options. Those options will become the primary interface.
%
% \begin{option}{headwidth}
-% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}^^A
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}%^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{footwidth}
-% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}^^A
-% \changes{v3.15}{2014/12/28}{fix: missing colon in call of
-% \cs{sls@split@at@iicolons}}^^A
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}%^^A
+% \changes{v3.15}{2014/12/28}{fix: missing colon in call of
+% \cs{sls@split@at@iicolons}}%^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{description}
% \item[\texttt{=\meta{special dimensional expression}:\meta{special
% dimensional expression}}:] see \Macro{sls@settowidthof} for information
@@ -350,9 +350,9 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@split@at@iicolons
+% \end{macro}%^^A \sls@split@at@iicolons
% \begin{macro}{\sls@set@hf@width}
-% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}
+% \changes{v0.9.1757}{2014/04/09}{new: two offsets available}
% \begin{description}
% \item[\Parameter{head} or \Parameter{foot}:] to complete the macro names
% for page head or footer.
@@ -419,7 +419,7 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@set@hf@width
+% \end{macro}%^^A \sls@set@hf@width
% \begin{macro}{\sls@headwidth}
% \begin{macro}{\sls@oddheadshift}
% \begin{macro}{\sls@evenheadshift}
@@ -453,12 +453,12 @@
\scrlayerAddToInterface\sls@oddfootshift{\newcommand*{\sls@oddfootshift}{0pt}}
\scrlayerAddToInterface\sls@evenfootshift{\newcommand*{\sls@evenfootshift}{0pt}}
% \end{macrocode}
-% \end{macro}^^A \sls@headwidth
-% \end{macro}^^A \sls@oddheadshift
-% \end{macro}^^A \sls@evenheadshift
-% \end{macro}^^A \sls@footwidth
-% \end{macro}^^A \sls@oddfootshift
-% \end{macro}^^A \sls@evenfootshift
+% \end{macro}%^^A \sls@headwidth
+% \end{macro}%^^A \sls@oddheadshift
+% \end{macro}%^^A \sls@evenheadshift
+% \end{macro}%^^A \sls@footwidth
+% \end{macro}%^^A \sls@oddfootshift
+% \end{macro}%^^A \sls@evenfootshift
%
% \begin{macro}{\sls@settowidthof}
% \begin{macro}{\sls@deftowidthof}
@@ -542,10 +542,10 @@
}
%</options>
% \end{macrocode}
-% \end{macro}^^A \sls@deftowidthof
-% \end{macro}^^A \sls@settowidthof
-% \end{option}^^A footwidth
-% \end{option}^^A footheight
+% \end{macro}%^^A \sls@deftowidthof
+% \end{macro}%^^A \sls@settowidthof
+% \end{option}%^^A footwidth
+% \end{option}%^^A footheight
%
% \begin{macro}{\setheadwidth}
% \begin{macro}{\setfootwidth}
@@ -564,8 +564,8 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \setheadwidth
-% \end{macro}^^A \setfootwidth
+% \end{macro}%^^A \setheadwidth
+% \end{macro}%^^A \setfootwidth
%
%
% \section{Lines in Page Head and Footer}
@@ -581,13 +581,13 @@
% values.
%
% \begin{option}{headtopline}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{headsepline}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{footsepline}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{footbotline}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{description}
% \item[{\texttt{=\meta{dimensional expression}:\meta{dimensional
% expression}}:}]
@@ -698,7 +698,7 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@set@values
+% \end{macro}%^^A \sls@set@values
% \begin{macro}{\sls@split@at@colon}
% \begin{description}
% \item[\texttt{\meta{balanced}:^^A
@@ -726,7 +726,7 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@split@at@colon
+% \end{macro}%^^A \sls@split@at@colon
% \begin{macro}{\sls@headabove@linelength}
% \begin{macro}{\sls@headabove@linethickness}
% \begin{macro}{\sls@headbelow@linelength}
@@ -777,18 +777,18 @@
\expandafter\noexpand\sls@footbelow@linelength}
%</options>
% \end{macrocode}
-% \end{macro}^^A \sls@footbelow@linethickness
-% \end{macro}^^A \sls@footbelow@linelength
-% \end{macro}^^A \sls@footabove@linethickness
-% \end{macro}^^A \sls@footabove@linelength
-% \end{macro}^^A \sls@headbelow@linethickness
-% \end{macro}^^A \sls@headbelow@linelength
-% \end{macro}^^A \sls@headabove@linethickness
-% \end{macro}^^A \sls@headabove@linelength
-% \end{option}^^A footbotline
-% \end{option}^^A footsepline
-% \end{option}^^A headsepline
-% \end{option}^^A headtopline
+% \end{macro}%^^A \sls@footbelow@linethickness
+% \end{macro}%^^A \sls@footbelow@linelength
+% \end{macro}%^^A \sls@footabove@linethickness
+% \end{macro}%^^A \sls@footabove@linelength
+% \end{macro}%^^A \sls@headbelow@linethickness
+% \end{macro}%^^A \sls@headbelow@linelength
+% \end{macro}%^^A \sls@headabove@linethickness
+% \end{macro}%^^A \sls@headabove@linelength
+% \end{option}%^^A footbotline
+% \end{option}%^^A footsepline
+% \end{option}%^^A headsepline
+% \end{option}%^^A headtopline
%
% \begin{option}{plainheadtopline}
% \begin{macro}{\ifsls@plain@head@above@line}
@@ -838,21 +838,21 @@
}
%</options>
% \end{macrocode}
-% \end{macro}^^A \ifsls@plain@foot@below@line
-% \end{option}^^A plainfootbotline
-% \end{macro}^^A \ifsls@plain@foot@above@line
-% \end{option}^^A plainfootsepline
-% \end{macro}^^A \ifsls@plain@head@below@line
-% \end{option}^^A plainheadsepline
-% \end{macro}^^A \ifsls@plain@head@above@line
-% \end{option}^^A plainheadtopline
+% \end{macro}%^^A \ifsls@plain@foot@below@line
+% \end{option}%^^A plainfootbotline
+% \end{macro}%^^A \ifsls@plain@foot@above@line
+% \end{option}%^^A plainfootsepline
+% \end{macro}%^^A \ifsls@plain@head@below@line
+% \end{option}%^^A plainheadsepline
+% \end{macro}%^^A \ifsls@plain@head@above@line
+% \end{option}%^^A plainheadtopline
%
% \begin{option}{ilines}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{clines}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{option}{olines}
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{macro}{\sls@hfline@adjust}
% Maybe it would be more useful to be able to adjust each line on its own or
% at most to define an offset. But \Package{scrpage2} supports only these
@@ -909,10 +909,10 @@
\KOMA@kav@add{.scrlayer-scrpage.sty}{ilines}{}
%</options>
% \end{macrocode}
-% \end{macro}^^A \sls@hfline@adjust
-% \end{option}^^A olines
-% \end{option}^^A clines
-% \end{option}^^A ilines
+% \end{macro}%^^A \sls@hfline@adjust
+% \end{option}%^^A olines
+% \end{option}%^^A clines
+% \end{option}%^^A ilines
%
% \begin{macro}{\setheadtopline}
% \begin{macro}{\setheadsepline}
@@ -943,15 +943,15 @@
}
% \end{macrocode}
% \begin{macro}{\sls@setline}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@setline}
% \begin{macro}{\sls@@@setline}
-% \changes{v3.17}[2015/02/27]{internal use of the corresponding options}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.17}[2015/02/27]{internal use of the corresponding options}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@@@setline}
-% \changes{v3.18}{2015/06/17}{explicit reuse of the current length}^^A
+% \changes{v3.18}{2015/06/17}{explicit reuse of the current length}%^^A
% Helper to set up the line attributes processing the parameters of the
% commands above.
% \begin{macrocode}
@@ -1028,10 +1028,10 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@setline
-% \end{macro}^^A \sls@@setline
-% \end{macro}^^A \sls@@@setline
-% \end{macro}^^A \sls@@@@setline
+% \end{macro}%^^A \sls@setline
+% \end{macro}%^^A \sls@@setline
+% \end{macro}%^^A \sls@@@setline
+% \end{macro}%^^A \sls@@@@setline
% \begin{KOMAfont}{headtopline}
% \begin{KOMAfont}{headsepline}
% \begin{KOMAfont}{footsepline}
@@ -1070,22 +1070,22 @@
}{}
%</body>
% \end{macrocode}
-% \end{KOMAfont}^^A footbotline
-% \end{KOMAfont}^^A footsepline
-% \end{KOMAfont}^^A headsepline
-% \end{KOMAfont}^^A headtopline
-% \end{macro}^^A \setfootbotline
-% \end{macro}^^A \setfootsepline
-% \end{macro}^^A \setheadsepline
-% \end{macro}^^A \setheadtopline
+% \end{KOMAfont}%^^A footbotline
+% \end{KOMAfont}%^^A footsepline
+% \end{KOMAfont}%^^A headsepline
+% \end{KOMAfont}%^^A headtopline
+% \end{macro}%^^A \setfootbotline
+% \end{macro}%^^A \setfootsepline
+% \end{macro}%^^A \setheadsepline
+% \end{macro}%^^A \setheadtopline
%
% \begin{length}{\headheight}
-% \changes{v3.24}{2017/05/22}{warning depends on option
-% \texttt{singlespacing}}^^A
+% \changes{v3.24}{2017/05/22}{warning depends on option
+% \texttt{singlespacing}}%^^A
% Some classes set \Length{headheight} to a very, very small value. We'll
% warn about that.
% \begin{length}{\footheight}
-% \changes{v3.24}{2017/05/23}{also warn for low \cs{footheight}}^^A
+% \changes{v3.24}{2017/05/23}{also warn for low \cs{footheight}}%^^A
% If the \Length{headheight} is OK, we also test for \Length{footheight}.
% \begin{macrocode}
%<*body>
@@ -1150,9 +1150,50 @@
}
%</body>
% \end{macrocode}
-% \end{length}^^A \footheight
-% \end{length}^^A \headheight
-%
+% \end{length}%^^A \footheight
+% \end{length}%^^A \headheight
+%
+%
+% \section{Usual \LaTeX{} Kernel Commands}
+%
+% \Package{scrlayer-scrpage} some usual \LaTeX{} kernel commands, that should
+% really behave like the original \LaTeX{} kernel commands do. But some
+% packages redefine them without restoring them in the output routine before
+% the page head and foot is build. Such a redefinition could break
+% \Package{scrlayer-scrpage} or even provoke errors. Here we try to make sure,
+% that \Package{scrlayer-scrpage} uses the correct definitions. Note: This
+% should not be needed, if other packages would be more careful.
+%
+% \begin{macro}{\LaTeXcentering}
+% \changes{v3.27}{2019/04/05}{added}%^^A
+% \begin{macro}{\raggedright}
+% \changes{v3.27}{2019/04/05}{added}%^^A
+% \begin{macro}{\raggedleft}
+% \changes{v3.27}{2019/04/05}{added}%^^A
+% \Package{scrlayer-scrpage} needs \cs{centering} to center, \cs{raggedright}
+% to left align and \cs{raggedleft} to right align the three elements of
+% three-part header and footer. \Package{ragged2e} optionally redefines
+% them. This is not perfect but does not break \Package{scrlayer-scrpage}
+% completely. But \Package{tabu} also redefines them an that breaks
+% \Package{scrlayer-scrpage} in a way, that even error messages can occur. So
+% from version 3.27 \Package{scrlayer-scrpage} does not longer use
+% \cs{centering}, \cs{raggedright} or \cs{raggedleft} but \cs{LaTeXcentering},
+% \cs{LaTeXraggedright} and \cs{LaTeXraggedleft}. With \Package{ragged2e} and
+% its option \texttt{newcommands}/\texttt{NewCommands} this would be already
+% defined and contain the original definition. On all other circumstances the
+% commands have to be defined. But these commands should not be defined as
+% part of the interface or removing the interface could break other packages
+% like \Package{ragged2e}.
+% \begin{macrocode}
+%<*body>
+\@ifundefined{LaTeXcentering}{\let\LaTeXcentering\centering}{}
+\@ifundefined{LaTeXraggedleft}{\let\LaTeXraggedleft\raggedleft}{}
+\@ifundefined{LaTeXraggedright}{\let\LaTeXraggedright\raggedright}{}
+%</body>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
%
% \section{Style of Running Heads}
%
@@ -1176,7 +1217,7 @@
}
% \end{macrocode}
% \begin{macro}{\sls@auto@pagestyleset}
-% \changes{v0.9}{2014/01/22}{new (internal) macro}%^^A
+% \changes{v0.9}{2014/01/22}{new (internal) macro}%^^A
% \begin{macrocode}
\newcommand*{\sls@auto@pagestyleset}{%
\scr@ifundefinedorrelax{KOMAClassName}{%
@@ -1193,7 +1234,7 @@
%</init>
% \end{macrocode}
% \end{macro}%^^A \sls@auto@pagestyleset
-% \changes{v3.17}{2015/02/25}{new: store the values}^^A
+% \changes{v3.17}{2015/02/25}{new: store the values}%^^A
% \begin{macrocode}
%<*options>
\KOMA@key{pagestyleset}{%
@@ -1239,7 +1280,7 @@
% \end{macrocode}
% We are using \Class{scrlttr2}, so we have to initialise the page style
% different:
-% \changes{v3.18}{2015/06/24}{missing \cs{lofoot} and \cs{rofoot} added}^^A
+% \changes{v3.18}{2015/06/24}{missing \cs{lofoot} and \cs{rofoot} added}%^^A
% \begin{macrocode}
\clearpairofpagestyles
\lehead[\ifnum\@pageat=\z@\pagemark\fi]
@@ -1271,9 +1312,9 @@
}
%</options>
% \end{macrocode}
-% \end{macro}^^A \sls@ps@style@KOMA-Script
-% \end{macro}^^A \sls@ps@style@standard
-% \end{option}^^A pagestyleset
+% \end{macro}%^^A \sls@ps@style@KOMA-Script
+% \end{macro}%^^A \sls@ps@style@standard
+% \end{option}%^^A pagestyleset
%
% \begin{option}{komastyle}
% \begin{option}{standardstyle}
@@ -1287,8 +1328,8 @@
pagestyleset=standard}
%</options>
% \end{macrocode}
-% \end{option}^^A standardstyle
-% \end{option}^^A komastyle
+% \end{option}%^^A standardstyle
+% \end{option}%^^A komastyle
%
%
% \section{Extended Mark Mechanisms}
@@ -1310,9 +1351,9 @@
}
%</options>
% \end{macrocode}
-% \end{option}^^A nouppercase
-% \end{option}^^A markusedcase
-% \end{option}^^A markuppercase
+% \end{option}%^^A nouppercase
+% \end{option}%^^A markusedcase
+% \end{option}%^^A markuppercase
%
%
% \section{Expert Page Style Definition Interface}
@@ -1394,13 +1435,13 @@
}
% \end{macrocode}
% \begin{macro}{\sls@defhead}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@defhead}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@@defhead}
-% \changes{v0.9}{2014/08/18}{fix names of layers \texttt{\dots head.odd} and
+% \changes{v0.9}{2014/08/18}{fix names of layers \texttt{\dots head.odd} and
% \texttt{\dots head.even}}%^^A
% \begin{description}
% \item[\MParameter{dimensional expression}{dimensional expression}:] length
@@ -1502,13 +1543,13 @@
}
% \end{macrocode}
% \begin{macro}{\sls@deffoot}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@deffoot}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\sls@@@deffoot}
-% \changes{v0.9}{2014/08/18}{fix names of layers \texttt{\dots foot.odd} and
+% \changes{v0.9}{2014/08/18}{fix names of layers \texttt{\dots foot.odd} and
% \texttt{\dots foot.even}}%^^A
% \begin{description}
% \item[\MParameter{dimensional expression}{dimensional expression}:] length
@@ -1701,9 +1742,9 @@
\scrlayer@AddCsToInterface{sls@leavevmode@linefalse}
%</options>
% \end{macrocode}
-% \end{option}^^A hmode
+% \end{option}%^^A hmode
% \begin{option}{autoenlargeheadfoot}
-% \changes{v3.25}{2018/01/14}{new option}^^A
+% \changes{v3.25}{2018/01/14}{new option}%^^A
% Automaticly enlarge vertical size of head or foot if the contents is to
% large. This is the default.
% \begin{macrocode}
@@ -1717,22 +1758,22 @@
\scrlayer@AddCsToInterface{sls@autoenlargefalse}
%</options>
% \end{macrocode}
-% \end{option}^^A autoenlargeheadfoot
-% \end{macro}^^A \sls@secure@box
-% \end{macro}^^A \sls@@@deffoot
-% \end{macro}^^A \sls@@deffoot
-% \end{macro}^^A \sls@deffoot
-% \end{macro}^^A \sls@@@defhead
-% \end{macro}^^A \sls@@defhead
-% \end{macro}^^A \sls@defhead
+% \end{option}%^^A autoenlargeheadfoot
+% \end{macro}%^^A \sls@secure@box
+% \end{macro}%^^A \sls@@@deffoot
+% \end{macro}%^^A \sls@@deffoot
+% \end{macro}%^^A \sls@deffoot
+% \end{macro}%^^A \sls@@@defhead
+% \end{macro}%^^A \sls@@defhead
+% \end{macro}%^^A \sls@defhead
% \begin{macro}{\headfont}
% The low level page head font command. It is deprecated to redefine or use
% this and it may already be defined.
% \begin{macro}{\scr@fnt@pagehead}
% \changes{v3.25}{2018/02/05}{don't use \cs{newkomafont} to avoid
-% warning}^^A
+% warning}%^^A
% \begin{macro}{\scr@fnt@wrn@pagehead}
-% \changes{v0.9}{2014/01/13}{warning always deactivated}^^A
+% \changes{v0.9}{2014/01/13}{warning always deactivated}%^^A
% \begin{macro}{\scr@fnt@pageheadfoot}
% \begin{macrocode}
%<*body>
@@ -1765,17 +1806,17 @@
\let\scr@fnt@wrn@pagehead\relax
}
% \end{macrocode}
-% \end{macro}^^A \scr@fnt@pageheadfoot
-% \end{macro}^^A \scr@fnt@wrn@pagehead
-% \end{macro}^^A \scr@fnt@pagehead
-% \end{macro}^^A \headfont
+% \end{macro}%^^A \scr@fnt@pageheadfoot
+% \end{macro}%^^A \scr@fnt@wrn@pagehead
+% \end{macro}%^^A \scr@fnt@pagehead
+% \end{macro}%^^A \headfont
%
% \begin{macro}{\footfont}
% The low level page footer font command. It is deprecated to redefine or use
% this and it may already be defined.
% \begin{macro}{\scr@fnt@pagefoot}
% \begin{macro}{\scr@fnt@wrn@pagefoot}
-% \changes{v0.9}{2014/01/13}{warning always deactivated}
+% \changes{v0.9}{2014/01/13}{warning always deactivated}
% \begin{macrocode}
\@ifundefined{scr@fnt@pagefoot}{%
\scrlayer@AddCsToInterface{scr@fnt@pagefoot}%
@@ -1792,9 +1833,9 @@
\let\scr@fnt@wrn@pagefoot\relax
}
% \end{macrocode}
-% \end{macro}^^A \scr@fnt@wrn@pagefoot
-% \end{macro}^^A \scr@fnt@pagefoot
-% \end{macro}^^A \footfont
+% \end{macro}%^^A \scr@fnt@wrn@pagefoot
+% \end{macro}%^^A \scr@fnt@pagefoot
+% \end{macro}%^^A \footfont
%
% \begin{macro}{\sls@hf@rule}
% \begin{description}
@@ -1832,7 +1873,7 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@hf@rule
+% \end{macro}%^^A \sls@hf@rule
% \begin{macro}{\sls@topmargin}
% \begin{macro}{\sls@leftmargin}
% Two simple helper macros:
@@ -1857,9 +1898,9 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \sls@leftmargin
-% \end{macro}^^A \sls@topmargin
-% \end{macro}^^A \defpagestyle
+% \end{macro}%^^A \sls@leftmargin
+% \end{macro}%^^A \sls@topmargin
+% \end{macro}%^^A \defpagestyle
%
% \begin{macro}{\newpagestyle}
% For the parameters see \Macro{defpagestyle}.
@@ -1882,7 +1923,7 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \newpagestyle
+% \end{macro}%^^A \newpagestyle
%
% \begin{macro}{\renewpagestyle}
% For the parameters see \Macro{defpagestyle}.
@@ -1907,7 +1948,7 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \renewpagestyle
+% \end{macro}%^^A \renewpagestyle
%
% \begin{macro}{\providepagestyle}
% For the parameters see \Macro{defpagestyle}.
@@ -1930,7 +1971,7 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \providepagestyle
+% \end{macro}%^^A \providepagestyle
%
%
% \section{User Page Style Definition Interface}
@@ -2002,11 +2043,11 @@
}
% \end{macrocode}
% \begin{macro}{\scrlayer@triplestyle}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\scrlayer@@triplestyle}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\scrlayer@@@triplestyle}
% Helpers, that do the real work. Parameters are same, but \cs{reserved@a} has
% to be one of \Macro{defpagestyle}, \Macro{newpagestyle},
@@ -2064,9 +2105,9 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \scrlayer@@@triplestyle
-% \end{macro}^^A \scrlayer@@triplestyle
-% \end{macro}^^A \scrlayer@triplestyle
+% \end{macro}%^^A \scrlayer@@@triplestyle
+% \end{macro}%^^A \scrlayer@@triplestyle
+% \end{macro}%^^A \scrlayer@triplestyle
% \begin{macrocode}
\scrlayerAddToInterface{\deftripstyle}{%
\newcommand*{\deftripstyle}{%
@@ -2081,11 +2122,11 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \deftripstyle
-% \end{macro}^^A \providetriplepagestyle
-% \end{macro}^^A \renewtriplepagestyle
-% \end{macro}^^A \newtriplepagestyle
-% \end{macro}^^A \deftriplepagestyle
+% \end{macro}%^^A \deftripstyle
+% \end{macro}%^^A \providetriplepagestyle
+% \end{macro}%^^A \renewtriplepagestyle
+% \end{macro}%^^A \newtriplepagestyle
+% \end{macro}%^^A \deftriplepagestyle
%
%
% \section{Pre-defined Page Styles Interface}
@@ -2184,7 +2225,7 @@
onselect={%
% \end{macrocode}
% \changes{v3.15}{2015/01/08}{usage of \cs{DeclarePageStyleAlias} instead of
-% \cs{let}}^^A fixme: Is this correct?
+% \cs{let}}%^^A fixme: Is this correct?
% \begin{macrocode}
\DeclarePageStyleAlias{plain}{plain.#2}%
\DeclarePageStyleAlias{headings}{#2}%
@@ -2198,7 +2239,7 @@
onselect={%
% \end{macrocode}
% \changes{v3.15}{2015/01/08}{usage of \cs{DeclarePageStyleAlias} instead of
-% \cs{let}}^^A fixme: Is this correct?
+% \cs{let}}%^^A fixme: Is this correct?
% \begin{macrocode}
\DeclarePageStyleAlias{plain}{plain.#2}%
\DeclarePageStyleAlias{headings}{#2}%
@@ -2249,11 +2290,11 @@
\newcommand*\sls@currentplain{plain.scrheadings}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@currentplain
-% \end{macro}^^A \sls@currentheadings
+% \end{macro}%^^A \sls@currentplain
+% \end{macro}%^^A \sls@currentheadings
% \begin{macro}{\sls@init@pair@page@style}
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\sls@init@@pair@page@style}
% \begin{description}
% \item[\Parameter{string}:] the name of the page style, that should be
@@ -2312,7 +2353,7 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@init@@pair@page@style
+% \end{macro}%^^A \sls@init@@pair@page@style
% \begin{macro}{\sls@let@pair@page@style}
% \begin{description}
% \item[\Parameter{command}:] a single command used to initialise the
@@ -2340,10 +2381,16 @@
}%
}
% \end{macrocode}
-% \end{macro}^^A \sls@let@pair@page@style
-% \end{macro}^^A \sls@init@pair@page@style
+% \end{macro}%^^A \sls@let@pair@page@style
+% \end{macro}%^^A \sls@init@pair@page@style
% \begin{macro}{\sls@def@pair@page@style@member}
-% \changes{v3.24}{2017/05/04}{improved \textsf{bidi} compatibility}^^A
+% \changes{v3.24}{2017/05/04}{improved \textsf{bidi} compatibility}%^^A
+% \changes{v3.27}{2019/04/05}{\cs{centering} replaced by
+% \cs{LaTeXcentering}}%^^A
+% \changes{v3.27}{2019/04/05}{\cs{raggedright} replaced by
+% \cs{LaTeXraggedright}}%^^A
+% \changes{v3.27}{2019/04/05}{\cs{raggedleft} replaced by
+% \cs{LaTeXraggedleft}}%^^A
% \begin{description}
% \item[\Parameter{string}:] name of the page style to be defined.
% \end{description}
@@ -2353,48 +2400,48 @@
\newcommand*{\sls@def@pair@page@style@member}[1]{%
\defpagestyle{#1}{%
{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@even@left@head}\strut}}%
- \parbox{\sls@headwidth}{\centering
+ \parbox{\sls@headwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@even@middle@head}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@even@right@head}\strut}}%
}{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@odd@left@head}\strut}}%
- \parbox{\sls@headwidth}{\centering
+ \parbox{\sls@headwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@odd@middle@head}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@odd@right@head}\strut}}%
}{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@headwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@odd@left@head}\strut}}%
- \parbox{\sls@headwidth}{\centering
+ \parbox{\sls@headwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@odd@middle@head}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@headwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@odd@right@head}\strut}}%
}%
}{%
{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@even@left@foot}\strut}}%
- \parbox{\sls@footwidth}{\centering
+ \parbox{\sls@footwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@even@middle@foot}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@even@right@foot}\strut}}%
}{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@odd@left@foot}\strut}}%
- \parbox{\sls@footwidth}{\centering
+ \parbox{\sls@footwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@odd@middle@foot}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@odd@right@foot}\strut}}%
}{%
- \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\raggedright
+ \makebox[0pt][\IfRTL{r}{l}]{\parbox{\sls@footwidth}{\LaTeXraggedright
\strut\@nameuse{sls@ps@#1@odd@left@foot}\strut}}%
- \parbox{\sls@footwidth}{\centering
+ \parbox{\sls@footwidth}{\LaTeXcentering
\strut\@nameuse{sls@ps@#1@odd@middle@foot}\strut}%
- \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\raggedleft
+ \makebox[0pt][\IfRTL{l}{r}]{\parbox{\sls@footwidth}{\LaTeXraggedleft
\strut\@nameuse{sls@ps@#1@odd@right@foot}\strut}}%
}%
}%
@@ -2402,8 +2449,8 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \sls@def@pair@page@style@member
-% \end{macro}^^A \defpairofpagestyles
+% \end{macro}%^^A \sls@def@pair@page@style@member
+% \end{macro}%^^A \defpairofpagestyles
%
% \begin{macro}{\newpairofpagestyles}
% \begin{macro}{\renewpairofpagestyles}
@@ -2490,9 +2537,9 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \providepairofpagestyles
-% \end{macro}^^A \renewpairofpagestyles
-% \end{macro}^^A \newpairofpagestyles
+% \end{macro}%^^A \providepairofpagestyles
+% \end{macro}%^^A \renewpairofpagestyles
+% \end{macro}%^^A \newpairofpagestyles
%
% \begin{macro}{\ps@scrheadings}
% \begin{macro}{\ps@plain.scrheadings}
@@ -2510,83 +2557,83 @@
\scrlayerOnAutoRemoveInterface{\DestroyPageStyleAlias{scrplain}}
%</body>
% \end{macrocode}
-% \end{macro}^^A \ps@scrplain
-% \end{macro}^^A \ps@plain.scrheadings
-% \end{macro}^^A \ps@scrheadings
+% \end{macro}%^^A \ps@scrplain
+% \end{macro}%^^A \ps@plain.scrheadings
+% \end{macro}%^^A \ps@scrheadings
%
%
% \begin{macro}{\ihead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\ohead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\chead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\lehead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\lohead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\rehead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\rohead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\cehead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\cohead}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\ifoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\ofoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\cfoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\lefoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\lofoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\refoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\rofoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\cefoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\cofoot}
-% \changes{v3.14}{2014/09/19}{new star version double the argument}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.14}{2014/09/19}{new star version double the argument}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% We also need macros to define the contents of the three part head
% and foot. Each macro defines one of the part of head or foot of the
% headings page style member and optional of the plain page style
@@ -2598,75 +2645,81 @@
}
% \end{macrocode}
% \begin{macro}{\@ihead}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@ihead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@ihead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@ihead{%
\newcommand*{\@ihead}{\kernel@ifnextchar[{\@@@ihead}{\@@ihead}}%
}
\scrlayerAddToInterface\@@ihead{%
- \newcommand*{\@@ihead}[1]{\rehead{#1}\lohead{#1}}%
+ \newcommand{\@@ihead}[1]{\rehead{#1}\lohead{#1}}%
}
\scrlayerAddToInterface\@@@ihead{%
- \newcommand*{\@@@ihead}[2][]{\rehead[{#1}]{#2}\lohead[{#1}]{#2}}%
+ \newcommand{\@@@ihead}[2][]{\rehead[{#1}]{#2}\lohead[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@ihead
-% \end{macro}^^A \@@ihead
-% \end{macro}^^A \@ihead
+% \end{macro}%^^A \@@@ihead
+% \end{macro}%^^A \@@ihead
+% \end{macro}%^^A \@ihead
% \begin{macrocode}
\scrlayerAddToInterface\ohead{%
\newcommand*{\ohead}{\kernel@ifstar {\@dblarg\@@@ohead}{\@ohead}}%
}
% \end{macrocode}
% \begin{macro}{\@ohead}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@ohead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@ohead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@ohead{%
\newcommand*{\@ohead}{\kernel@ifnextchar[{\@@@ohead}{\@@ohead}}%
}
\scrlayerAddToInterface\@@ohead{%
- \newcommand*{\@@ohead}[1]{\lehead{#1}\rohead{#1}}%
+ \newcommand{\@@ohead}[1]{\lehead{#1}\rohead{#1}}%
}
\scrlayerAddToInterface\@@@ohead{%
- \newcommand*{\@@@ohead}[2][]{\lehead[{#1}]{#2}\rohead[{#1}]{#2}}%
+ \newcommand{\@@@ohead}[2][]{\lehead[{#1}]{#2}\rohead[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@ohead
-% \end{macro}^^A \@@ohead
-% \end{macro}^^A \@ohead
+% \end{macro}%^^A \@@@ohead
+% \end{macro}%^^A \@@ohead
+% \end{macro}%^^A \@ohead
% \begin{macrocode}
\scrlayerAddToInterface\chead{%
\newcommand*{\chead}{\kernel@ifstar {\@dblarg\@@@chead}{\@chead}}%
}
% \end{macrocode}
% \begin{macro}{\@chead}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@chead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@chead}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@chead{%
\newcommand*{\@chead}{\kernel@ifnextchar[{\@@@chead}{\@@chead}}%
}
\scrlayerAddToInterface\@@chead{%
- \newcommand*{\@@chead}[1]{\cehead{#1}\cohead{#1}}%
+ \newcommand{\@@chead}[1]{\cehead{#1}\cohead{#1}}%
}
\scrlayerAddToInterface\@@@chead{%
- \newcommand*{\@@@chead}[2][]{\cehead[{#1}]{#2}\cohead[{#1}]{#2}}%
+ \newcommand{\@@@chead}[2][]{\cehead[{#1}]{#2}\cohead[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@chead
-% \end{macro}^^A \@@chead
-% \end{macro}^^A \@chead
+% \end{macro}%^^A \@@@chead
+% \end{macro}%^^A \@@chead
+% \end{macro}%^^A \@chead
% \begin{macrocode}
\scrlayerAddToInterface\lehead{%
\newcommand*{\lehead}{\sls@renewelement{even}{left}{head}}%
@@ -2693,75 +2746,81 @@
}
% \end{macrocode}
% \begin{macro}{\@ifoot}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@ifoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@ifoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@ifoot{%
\newcommand*{\@ifoot}{\kernel@ifnextchar[{\@@@ifoot}{\@@ifoot}}%
}
\scrlayerAddToInterface\@@ifoot{%
- \newcommand*{\@@ifoot}[1]{\refoot{#1}\lofoot{#1}}%
+ \newcommand{\@@ifoot}[1]{\refoot{#1}\lofoot{#1}}%
}
\scrlayerAddToInterface\@@@ifoot{%
- \newcommand*{\@@@ifoot}[2][]{\refoot[{#1}]{#2}\lofoot[{#1}]{#2}}%
+ \newcommand{\@@@ifoot}[2][]{\refoot[{#1}]{#2}\lofoot[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@ifoot
-% \end{macro}^^A \@@ifoot
-% \end{macro}^^A \@ifoot
+% \end{macro}%^^A \@@@ifoot
+% \end{macro}%^^A \@@ifoot
+% \end{macro}%^^A \@ifoot
% \begin{macrocode}
\scrlayerAddToInterface\ofoot{%
\newcommand*{\ofoot}{\kernel@ifstar {\@dblarg\@@@ofoot}{\@ofoot}}%
}
% \end{macrocode}
% \begin{macro}{\@ofoot}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@ofoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@ofoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@ofoot{%
\newcommand*{\@ofoot}{\kernel@ifnextchar[{\@@@ofoot}{\@@ofoot}}%
}
\scrlayerAddToInterface\@@ofoot{%
- \newcommand*{\@@ofoot}[1]{\lefoot{#1}\rofoot{#1}}%
+ \newcommand{\@@ofoot}[1]{\lefoot{#1}\rofoot{#1}}%
}
\scrlayerAddToInterface\@@@ofoot{%
- \newcommand*{\@@@ofoot}[2][]{\lefoot[{#1}]{#2}\rofoot[{#1}]{#2}}%
+ \newcommand{\@@@ofoot}[2][]{\lefoot[{#1}]{#2}\rofoot[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@ofoot
-% \end{macro}^^A \@@ofoot
-% \end{macro}^^A \@ofoot
+% \end{macro}%^^A \@@@ofoot
+% \end{macro}%^^A \@@ofoot
+% \end{macro}%^^A \@ofoot
% \begin{macrocode}
\scrlayerAddToInterface\cfoot{%
\newcommand*{\cfoot}{\kernel@ifstar {\@dblarg\@@@cfoot}{\@cfoot}}%
}
% \end{macrocode}
% \begin{macro}{\@cfoot}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
% \begin{macro}{\@@cfoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\@@@cfoot}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Two helpers for the previous one to double the command and it's arguments.
% \begin{macrocode}
\scrlayerAddToInterface\@cfoot{%
\newcommand*{\@cfoot}{\kernel@ifnextchar[{\@@@cfoot}{\@@cfoot}}%
}
\scrlayerAddToInterface\@@cfoot{%
- \newcommand*{\@@cfoot}[1]{\cefoot{#1}\cofoot{#1}}%
+ \newcommand{\@@cfoot}[1]{\cefoot{#1}\cofoot{#1}}%
}
\scrlayerAddToInterface\@@@cfoot{%
- \newcommand*{\@@@cfoot}[2][]{\cefoot[{#1}]{#2}\cofoot[{#1}]{#2}}%
+ \newcommand{\@@@cfoot}[2][]{\cefoot[{#1}]{#2}\cofoot[{#1}]{#2}}%
}
% \end{macrocode}
-% \end{macro}^^A \@@@cfoot
-% \end{macro}^^A \@@cfoot
-% \end{macro}^^A \@cfoot
+% \end{macro}%^^A \@@@cfoot
+% \end{macro}%^^A \@@cfoot
+% \end{macro}%^^A \@cfoot
% \begin{macrocode}
\scrlayerAddToInterface\lefoot{%
\newcommand*{\lefoot}{\sls@renewelement{even}{left}{foot}}%
@@ -2784,13 +2843,16 @@
% \end{macrocode}
% \begin{macro}{\sls@renewelement}
% \begin{macro}{\sls@@renewelement}
-% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
-% \cs{kernel@ifnextchar}}^^A
-% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
-% ersetzt}^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by
+% \cs{kernel@ifnextchar}}%^^A
+% \changes{v3.20}{2016/04/12}{\cs{@ifstar} durch \cs{kernel@ifstar}
+% ersetzt}%^^A
% \begin{macro}{\sls@@@renewelement}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\sls@@@@renewelement}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% \begin{macro}{\sls@@renewplainelement}
+% \changes{v3.27}{2019/04/05}{made long}%^^A
% Little helper for several of the above commands.
% \begin{macrocode}
\scrlayerAddToInterface\sls@renewelement{%
@@ -2807,7 +2869,7 @@
}%
}
\scrlayerAddToInterface\sls@@@renewelement{%
- \newcommand*{\sls@@@renewelement}[4]{%
+ \newcommand{\sls@@@renewelement}[4]{%
\scr@ifundefinedorrelax{sls@ps@\sls@currentheadings @#1@#2@#3}{%
\@namedef{sls@ps@scrheadings@#1@#2@#3}{#4}%
}{%
@@ -2816,13 +2878,13 @@
}%
}
\scrlayerAddToInterface\sls@@@@renewelement{%
- \def\sls@@@@renewelement#1#2#3[#4]#5{%
+ \long\def\sls@@@@renewelement#1#2#3[#4]#5{%
\sls@@renewplainelement{#1}{#2}{#3}{#4}%
\sls@@@renewelement{#1}{#2}{#3}{#5}%
}%
}
\scrlayerAddToInterface\sls@@renewplainelement{%
- \newcommand*{\sls@@renewplainelement}[4]{%
+ \newcommand{\sls@@renewplainelement}[4]{%
\scr@ifundefinedorrelax{sls@ps@\sls@currentplain @#1@#2@#3}{%
\@namedef{sls@ps@plain.scrheadings@#1@#2@#3}{#4}%
}{%
@@ -2832,29 +2894,29 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \sls@@renewplainelement
-% \end{macro}^^A \sls@@@@renewelement
-% \end{macro}^^A \sls@@@renewelement
-% \end{macro}^^A \sls@@renewelement
-% \end{macro}^^A \sls@renewelement
-% \end{macro}^^A \cofoot
-% \end{macro}^^A \cefoot
-% \end{macro}^^A \rofoot
-% \end{macro}^^A \refoot
-% \end{macro}^^A \lofoot
-% \end{macro}^^A \lefoot
-% \end{macro}^^A \cfoot
-% \end{macro}^^A \ofoot
-% \end{macro}^^A \ifoot
-% \end{macro}^^A \cohead
-% \end{macro}^^A \cehead
-% \end{macro}^^A \rohead
-% \end{macro}^^A \rehead
-% \end{macro}^^A \lohead
-% \end{macro}^^A \lehead
-% \end{macro}^^A \chead
-% \end{macro}^^A \ohead
-% \end{macro}^^A \ihead
+% \end{macro}%^^A \sls@@renewplainelement
+% \end{macro}%^^A \sls@@@@renewelement
+% \end{macro}%^^A \sls@@@renewelement
+% \end{macro}%^^A \sls@@renewelement
+% \end{macro}%^^A \sls@renewelement
+% \end{macro}%^^A \cofoot
+% \end{macro}%^^A \cefoot
+% \end{macro}%^^A \rofoot
+% \end{macro}%^^A \refoot
+% \end{macro}%^^A \lofoot
+% \end{macro}%^^A \lefoot
+% \end{macro}%^^A \cfoot
+% \end{macro}%^^A \ofoot
+% \end{macro}%^^A \ifoot
+% \end{macro}%^^A \cohead
+% \end{macro}%^^A \cehead
+% \end{macro}%^^A \rohead
+% \end{macro}%^^A \rehead
+% \end{macro}%^^A \lohead
+% \end{macro}%^^A \lehead
+% \end{macro}%^^A \chead
+% \end{macro}%^^A \ohead
+% \end{macro}%^^A \ihead
%
% \begin{macro}{\clearmainofpairofpagestyles}
% \begin{macro}{\clearscrheadings}
@@ -2873,8 +2935,8 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \clearscrheadings
-% \end{macro}^^A \clearmainofpairofpagestyles
+% \end{macro}%^^A \clearscrheadings
+% \end{macro}%^^A \clearmainofpairofpagestyles
% \begin{macro}{\clearplainofpairofpagestyles}
% \begin{macro}{\clearscrplain}
% Now, we use the not recommended feature to set up a plain style:
@@ -2901,8 +2963,8 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \clearscrplain
-% \end{macro}^^A \clearplainofpairofpagestyles
+% \end{macro}%^^A \clearscrplain
+% \end{macro}%^^A \clearplainofpairofpagestyles
% \begin{macro}{\clearpairofpagestyles}
% \begin{macro}{\clearscrheadfoot}
% Last but not least we clean up both, the main and the plain:
@@ -2918,8 +2980,8 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \clearscrheadfoot
-% \end{macro}^^A \clearpairofpagestyles
+% \end{macro}%^^A \clearscrheadfoot
+% \end{macro}%^^A \clearpairofpagestyles
%
% \begin{macro}{\ps@useheadings}
% Not longer supported:
@@ -2945,7 +3007,7 @@
}
%</body>
% \end{macrocode}
-% \end{macro}^^A \ps@useheadings
+% \end{macro}%^^A \ps@useheadings
%
% \iffalse^^A meta-comment
%</interface>