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.dtx31
1 files changed, 20 insertions, 11 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 713e1ee11c0..f03f9855718 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrlayer-scrpage.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{2440}
+% \CheckSum{2469}
% \iffalse^^A meta-comment
% ======================================================================
% scrlayer-scrpage.dtx
@@ -57,17 +57,17 @@
% Right brace \} Tilde \~}
%
% \iffalse^^A meta-comment
-%<identify>%%% From File: $Id: scrlayer-scrpage.dtx 2070 2015-04-08 09:02:19Z kohm $ (identify)
-%<init>%%% From File: $Id: scrlayer-scrpage.dtx 2070 2015-04-08 09:02:19Z kohm $ (init)
-%<options>%%% From File: $Id: scrlayer-scrpage.dtx 2070 2015-04-08 09:02:19Z kohm $ (options)
-%<body>%%% From File: $Id: scrlayer-scrpage.dtx 2070 2015-04-08 09:02:19Z kohm $ (body)
+%<identify>%%% From File: $Id: scrlayer-scrpage.dtx 2147 2015-06-24 06:16:16Z kohm $ (identify)
+%<init>%%% From File: $Id: scrlayer-scrpage.dtx 2147 2015-06-24 06:16:16Z kohm $ (init)
+%<options>%%% From File: $Id: scrlayer-scrpage.dtx 2147 2015-06-24 06:16:16Z kohm $ (options)
+%<body>%%% From File: $Id: scrlayer-scrpage.dtx 2147 2015-06-24 06:16:16Z kohm $ (body)
%<*dtx>
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2015-04-08 11:02:19 +0200 (Wed, 08 Apr 2015) $
+ \filedate$Date: 2015-06-24 08:16:16 +0200 (Wed, 24 Jun 2015) $
\def\filerevision$#1: #2 ${\gdef\filerevision{#2}}
- \filerevision$Revision: 2070 $
+ \filerevision$Revision: 2147 $
\endgroup
\ProvidesFile{scrlayer-scrpage.dtx}[\filedate\space r\filerevision\space
%</dtx>
@@ -904,6 +904,7 @@
}
\scrlayer@AddCsToInterface{KV@KOMA.scrlayer-scrpage.sty@olines}
\scrlayer@AddCsToInterface{KV@KOMA.scrlayer-scrpage.sty@olines@default}
+\KOMA@kav@add{.scrlayer-scrpage.sty}{ilines}{}
%</options>
% \end{macrocode}
% \end{macro}^^A \sls@hfline@adjust
@@ -944,6 +945,7 @@
% \begin{macro}{\sls@@@setline}
% \changes{v3.17}[2015/02/27]{internal use of the corresponding options}^^A
% \begin{macro}{\sls@@@@setline}
+% \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}
@@ -970,16 +972,18 @@
\ifstr{#2}{current}{}{%
\setlength{\@tempdima}{#2}%
\ifstr{#1}{headabove}{%
- \KOMAExecuteOptions[.scrlayer-scrpage.sty]{headtopline=\@tempdima}%
+ \KOMAExecuteOptions[.scrlayer-scrpage.sty]%
+ {headtopline=\@tempdima:\csname sls@#1@linelength\endcsname}%
}{\ifstr{#1}{headbelow}{%
- \KOMAExecuteOptions[.scrlayer-scrpage.sty]{headsepline=\@tempdima}%
+ \KOMAExecuteOptions[.scrlayer-scrpage.sty]%
+ {headsepline=\@tempdima:\csname sls@#1@linelength\endcsname}%
}{%
\ifstr{#1}{footabove}{%
\KOMAExecuteOptions[.scrlayer-scrpage.sty]%
- {footsepline=\@tempdima}%
+ {footsepline=\@tempdima:\csname sls@#1@linelength\endcsname}%
}{%
\KOMAExecuteOptions[.scrlayer-scrpage.sty]%
- {footbotline=\@tempdima}%
+ {footbotline=\@tempdima:\csname sls@#1@linelength\endcsname}%
}%
}%
}%
@@ -1187,6 +1191,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
% \begin{macrocode}
\clearpairofpagestyles
\lehead[\ifnum\@pageat=\z@\pagemark\fi]
@@ -1203,10 +1208,14 @@
\else \rightmark\fi}%
\lefoot[\ifnum\@pageat=\thr@@\pagemark\fi]
{\ifnum\@pageat=\thr@@\pagemark\fi}%
+ \lofoot[\ifnum\@pageat=\thr@@\pagemark\fi]
+ {\ifnum\@pageat=\thr@@\pagemark\fi}%
\cfoot[\ifnum\@pageat=4 \pagemark\fi]
{\ifnum\@pageat=4 \pagemark\fi}%
\refoot[\ifnum\@pageat=5 \pagemark\fi]
{\ifnum\@pageat=5 \pagemark\fi}%
+ \rofoot[\ifnum\@pageat=5 \pagemark\fi]
+ {\ifnum\@pageat=5 \pagemark\fi}%
}{}%
}%
}%