summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/scrlayer-fancyhdr
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-07-09 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-07-09 03:01:16 +0000
commit7891283a2f2fb8a8a884bb212c36da8082764a9b (patch)
tree98a050dec8439492144177997c6f66e4f9543d62 /macros/latex/contrib/scrlayer-fancyhdr
parentc600912bde983d6a04c7ce42321d50d4c7c1a50b (diff)
CTAN sync 202207090301
Diffstat (limited to 'macros/latex/contrib/scrlayer-fancyhdr')
-rw-r--r--macros/latex/contrib/scrlayer-fancyhdr/MANIFEST.md101
-rw-r--r--macros/latex/contrib/scrlayer-fancyhdr/README.md4
-rw-r--r--macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.dtx887
-rw-r--r--macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.pdfbin243390 -> 330252 bytes
4 files changed, 528 insertions, 464 deletions
diff --git a/macros/latex/contrib/scrlayer-fancyhdr/MANIFEST.md b/macros/latex/contrib/scrlayer-fancyhdr/MANIFEST.md
new file mode 100644
index 0000000000..374106fc93
--- /dev/null
+++ b/macros/latex/contrib/scrlayer-fancyhdr/MANIFEST.md
@@ -0,0 +1,101 @@
+# Manifest for scrlayer-fancyhdr
+
+This file is a listing of all files considered to be part of this package.
+It is automatically generated with `l3build manifest`.
+
+
+## Repository manifest
+
+The following groups list the files included in the development repository of the package.
+Files listed with a ‘†’ marker are included in the TDS but not CTAN files, and files listed
+with ‘‡’ are included in both.
+
+### Source files
+
+These are source files for a number of purposes, including the `unpack` process which
+generates the installation files of the package. Additional files included here will also
+be installed for processing such as testing.
+
+* scrlayer-fancyhdr.dtx ‡
+
+### Typeset documentation source files
+
+These files are typeset using LaTeX to produce the PDF documentation for the package.
+
+* scrlayer-fancyhdr.dtx ‡
+
+### Text files
+
+Plain text files included as documentation or metadata.
+
+* LICENSE.md ‡
+* MANIFEST.md
+* README.md ‡
+
+### Derived files
+
+The files created by ‘unpacking’ the package sources. This typically includes
+`.sty` and `.cls` files created from DocStrip `.dtx` files.
+
+* scrlayer-fancyhdr.sty †
+
+### Typeset documents
+
+The output files (PDF, essentially) from typesetting the various source, demo,
+etc., package files.
+
+* scrlayer-fancyhdr.pdf ‡
+
+### Test files
+
+These files form the test suite for the package. `.lvt` or `.lte` files are the individual
+unit tests, and `.tlg` are the stored output for ensuring changes to the package produce
+the same output. These output files are sometimes shared and sometime specific for
+different engines (pdfTeX, XeTeX, LuaTeX, etc.).
+
+* alias.lvt
+* basic-function.lvt
+* option-to-fancyhdr.lvt
+* option-to-scrlayer.lvt
+* alias.tlg
+* basic-function.tlg
+* option-to-fancyhdr.tlg
+* option-to-scrlayer.tlg
+
+
+## TDS manifest
+
+The following groups list the files included in the TeX Directory Structure used to install
+the package into a TeX distribution.
+
+### Source files (TDS)
+
+All files included in the `scrlayer-fancyhdr/source` directory.
+
+* scrlayer-fancyhdr.dtx
+
+### TeX files (TDS)
+
+All files included in the `scrlayer-fancyhdr/tex` directory.
+
+* scrlayer-fancyhdr.sty
+
+### Doc files (TDS)
+
+All files included in the `scrlayer-fancyhdr/doc` directory.
+
+* LICENSE.md
+* README.md
+* scrlayer-fancyhdr.pdf
+
+
+## CTAN manifest
+
+The following group lists the files included in the CTAN package.
+
+### CTAN files
+
+* LICENSE.md
+* README.md
+* scrlayer-fancyhdr.dtx
+* scrlayer-fancyhdr.pdf
diff --git a/macros/latex/contrib/scrlayer-fancyhdr/README.md b/macros/latex/contrib/scrlayer-fancyhdr/README.md
index 909e88aaab..b1776008e3 100644
--- a/macros/latex/contrib/scrlayer-fancyhdr/README.md
+++ b/macros/latex/contrib/scrlayer-fancyhdr/README.md
@@ -3,8 +3,8 @@
------------------------------------------------------------------------------
LaTeX package `scrlayer-fancyhdr`
-Copyright (c) 2008—2021 Markus Kohm
-Release: 2021-03-30 v0.2.1
+Copyright (c) 2008—2022 Markus Kohm
+Release: 2022-07-08 v0.2.2
License: LPPL 1.3c (see LICENSE.md)
CTAN Location: https://ctan.org/pkg/scrlayer-fancyhdr
diff --git a/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.dtx b/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.dtx
index 406b32e1d2..972925cd1c 100644
--- a/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.dtx
+++ b/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.dtx
@@ -1,7 +1,7 @@
% \iffalse^^A meta-comment
% ======================================================================
% scrlayer-fancyhdr.dtx
-% Copyright (c) Markus Kohm, 2021
+% Copyright (c) Markus Kohm, 2021–2022
%
% This file is part of the LaTeX2e package `scrlayer-fancyhdr'.
%
@@ -46,12 +46,12 @@
%<body>%%% docstrip run: body
%<*dtx>
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
-\ProvidesFile{scrlayer-fancyhdr.dtx}[2021-03-30 v0.2.1
+\ProvidesFile{scrlayer-fancyhdr.dtx}[2022-07-08 v0.2.2
source of package scrlayer-scrpage]
%</dtx>
%<*package>
%<identify>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-%<identify>\ProvidesPackage{scrlayer-fancyhdr}[2021-03-30 v0.2.1
+%<identify>\ProvidesPackage{scrlayer-fancyhdr}[2022-07-08 v0.2.2
%<identify> combining fancyhdr with KOMA-Script's scrlayer]
%</package>
%<*dtx>
@@ -69,53 +69,45 @@
\let\endbatchfile\relax
\fi
\endbatchfile
-\documentclass{scrdoc}
-\RedeclareSectionCommand[tocbeforeskip=0pt]{section}
-\RedeclareSectionCommand[tocbeforeskip=.75\baselineskip plus .25\baselineskip]{part}
-\setkomafont{sectionentry}{}
-\KOMAoption{toc}{flat}
-\addtolength{\textwidth}{-1em}
-\addtolength{\marginparwidth}{2em}
-\addtolength{\oddsidemargin}{2em}
+\documentclass{koma-script-source-doc}% KOMA-Script related packages use this.
\usepackage[main=english,ngerman]{babel}
\usepackage{csquotes}
\usepackage{biblatex}
\usepackage{listings}
\usepackage{scrhack}
-\usepackage{xpatch}
\begin{filecontents}[force]{\jobname.bib}
@Misc{ package:fancyhdr,
language= {english},
author = {Piet van Oostrum},
- title = {{\Package{fancyhdr}}\,---\,Extensive control of page headers and
+ title = {{\pkg{fancyhdr}}\,---\,Extensive control of page headers and
footers in {\LaTeXe}},
- date = {2021-01-28},
- edition = {4.0.1},
+ date = {2022-05-18},
+ edition = {4.0.3},
url = {https://www.ctan.org/pkg/fancyhdr},
- urldate = {2021-03-30}
+ urldate = {2022-07-08}
}
@Misc{ package:koma-script,
language= {english},
author = {Markus Kohm},
- title = {{\Package{koma-script}}\,---\,A bundle of versatile classes and
+ title = {{\pkg{koma-script}}\,---\,A bundle of versatile classes and
packages},
- date = {2021-03-17},
- edition = {3.33},
+ date = {2022-07-04},
+ edition = {3.37},
url = {https://www.ctan.org/pkg/koma-script},
- urldate = {2021-03-30}
+ urldate = {2022-07-08}
}
@Misc{ package:scrlayer,
language= {english},
author = {Markus Kohm},
- title = {{\Package{scrlayer}}\,---\,Manage text `layers' within
+ title = {{\pkg{scrlayer}}\,---\,Manage text `layers' within
{\KOMAScript}},
- date = {2021-03-17},
- edition = {3.33},
+ date = {2022-07-04},
+ edition = {3.37},
url = {https://www.ctan.org/pkg/scrlayer},
- urldate = {2021-03-30}
+ urldate = {2022-07-08}
}
\end{filecontents}
@@ -133,43 +125,14 @@
\date{\filedate}
\author{Markus Kohm}
-\newenvironment{Explain}{\par}{\par}
-\newcommand*{\length}{}
-\let\length\Length
-\let\endlength\endLength
-\let\Macro\cs
-\let\Length\Macro
-\let\Package\textsf
-\let\Class\Package
-\let\File\texttt
-\let\Option\texttt
-\newcommand*{\KOption}[1]{\Option{#1}\texttt{=}}
-\newcommand*{\OptionValue}[2]{\Option{#1}\texttt{=}\PValue{#2}}
-\let\Counter\texttt
-\let\Environment\texttt
-\let\ShowOutput\quote
-\let\endShowOutput\endquote
-\let\Pagestyle\texttt
-\newcommand*{\Parameter}[1]{\texttt{\marg{#1}}\linebreak[1]}
-\newcommand*{\OParameter}[1]{\texttt{\oarg{#1}}\linebreak[1]}
-\newcommand*{\MParameter}[2]{\texttt{(\meta{#1},\meta{#2})}\linebreak[1]}
-\providecommand\PParameter[1]{\mbox{\texttt{\{#1\}}}\linebreak[1]}
-\let\PName\meta
-\let\PValue\texttt
-\providecommand*{\autoref}[1]{\expandafter\AUTOREF#1:}
-\providecommand*{\AUTOREF}{}
-\makeatletter
-\def\AUTOREF#1:#2:{%
- \edef\@tempa{#1}%
- \edef\@tempb{tab}\ifx\@tempa\@tempb table~\fi
- \edef\@tempb{sec}\ifx\@tempa\@tempb section~\fi
- \ref{#1:#2}%
-}
-\makeatother
-\providecommand*{\IndexCmd}[2][]{}
-\providecommand*{\textnote}[2][]{}
+\NewDocElement[%
+ macrolike = false,
+ toplevel = true,
+ idxtype = \textit{internal},
+ idxgroup = Page styles (internal),
+ printtype = \textit{internal}
+]{iPageStyle}{ipgstyle}
-\lstnewenvironment{lstcode}{\lstset{language=[LaTeX]TeX}}{}
\renewcaptionname{english}{\partname}{Part}
\renewcaptionname{english}{\contentsname}{Contents\,/\,Inhalt}%
@@ -189,162 +152,162 @@
% \fi^^A meta-comment
%
% \changes{v0.0}{2018/09/01}{start of interface}
+% \changes{v0.0}{2018/09/05}{some user documentation}
% \changes{v0.2}{2021/02/18}{package is no longer part of \KOMAScript}
% \changes{v0.2.1}{2021/03/30}{improved user manual}
% \changes{v0.2.1}{2021/03/30}{German user manual}
+% \changes{v0.2.2}{2022/07/08}{using class \cls*{koma-script-source-doc}}
%
-% \changes{v0.0}{2018/09/05}{some user documentation}
% \part{English User Manual}
% \section{The Purpose of this Package}
% \label{sec:purpose}
% This package has been made to give users a chance to combine the features of
-% Piet van Oostrum's \mbox{\Package{fancyhdr}} \autocite{package:fancyhdr}
-% with the features of \mbox{\Package{scrlayer}}
-% \autocite{package:scrlayer}. In other words: It has been made to combine the
-% page layers of \mbox{\Package{scrlayer}} with the page styles of
-% \mbox{\Package{fancyhdr}}.
-%
-% In this combination compatibility with \mbox{\Package{fancyhdr}} is the
-% first aim! Usability and the freedom provided by \mbox{\Package{scrlayer}}
+% Piet van Oostrum's \pkg{fancyhdr} \autocite{package:fancyhdr} with the
+% features of \pkg{scrlayer} \autocite{package:scrlayer}. In other words: It
+% has been made to combine the page layers of \pkg{scrlayer} with the page
+% styles of \pkg{fancyhdr}.
+%
+% In this combination compatibility with \pkg{fancyhdr} is the
+% first aim! Usability and the freedom provided by \pkg{scrlayer}
% is only the second one. Compatibility with other packages or classes of
% \KOMAScript{} \cite{package:koma-script} is not a primary aim. Perhaps it
% will become an optional feature in future. Abolishing any real or virtual
-% limitations of \mbox{\Package{fancyhdr}} other than make it possible to use
+% limitations of \pkg{fancyhdr} other than make it possible to use
% layers is not an aim and will not be an aim in future.
%
% If you need a better combination of page styles and layers, you should
-% either use the low level interface of \mbox{\Package{scrlayer}} to define
+% either use the low level interface of \pkg{scrlayer} to define
% your page styles or\,---\,and this is the recommendation of the
-% author\,---\,use \Package{scrlayer-scrpage} instead of
-% \Package{scrlayer-fancyhdr} or \mbox{\Package{fancyhdr}}. If you need more
+% author\,---\,use \pkg{scrlayer-scrpage} instead of
+% \pkg*{scrlayer-fancyhdr} or \pkg{fancyhdr}. If you need more
% compatibility with other parts of \KOMAScript, i.\,e.\@ with the
-% \KOMAScript{} classes, you should use \Package{scrlayer-scrpage} instead of
-% \Package{scrlayer-fancyhdr} or \mbox{\Package{fancyhdr}}.
+% \KOMAScript{} classes, you should use \pkg{scrlayer-scrpage} instead of
+% \pkg*{scrlayer-fancyhdr} or \pkg{fancyhdr}.
%
%
% \section{How it works}
% \label{sec:howitworks}
%
-% To combine \mbox{\Package{fancyhdr}} and \mbox{\Package{scrlayer}},
-% \Package{scrlayer-scrpage} loads both packages. After loading
-% \mbox{\Package{fancyhdr}} it redefines page style \Pagestyle{@fancy} (up to
-% \mbox{\Package{fancyhdr}} version 3.10) resp. \Pagestyle{f@nch@fancycore}
-% (from \mbox{\Package{fancyhdr}} version 4) to make it a layer page style of
-% \mbox{\Package{scrlayer}} using the newly defined layers
+% To combine \pkg{fancyhdr} and \pkg{scrlayer},
+% \pkg{scrlayer-scrpage} loads both packages. After loading
+% \pkg{fancyhdr} it redefines page style \pstyle{@fancy} (up to
+% \pkg{fancyhdr} version 3.10) resp. \pstyle{f@nch@fancycore}
+% (from \pkg{fancyhdr} version 4) to make it a layer page style of
+% \pkg{scrlayer} using the newly defined layers
% \texttt{fancy.head.even}, \texttt{fancy.head.odd}, \texttt{fancy.foot.even}
% and \texttt{fancy.foot.odd}. The \texttt{\dots head\dots} layers are
-% background layers like the page head of \mbox{\Package{fancyhdr}}'s page
+% background layers like the page head of \pkg{fancyhdr}'s page
% styles (or other usual page styles). The \texttt{\dots foot\dots} layers are
-% foreground layers like the page footer of \mbox{\Package{fancyhdr}}'s page
+% foreground layers like the page footer of \pkg{fancyhdr}'s page
% styles (or other usual page styles). The \texttt{\dots even} layers are
% restricted to even pages, that means left side pages in two-sided
% documents. The \texttt{\dots odd} layers are restricted to odd pages, that
% means right side pages in two-sided documents or all pages in single-sided
% documents.
%
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\ps@plain@fancy
-% Up to \mbox{\Package{fancyhdr}} verison 3.10 page style \Pagestyle{@fancy}
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancyplain}
+% \DescribeiPageStyle{plain@fancy}
+% Up to \pkg{fancyhdr} verison 3.10 page style \pstyle{@fancy}
% was an internal page style, users should not select direclty. From version 4
-% page style \Pagestyle{f@nch@fancycore} is used internally by package
-% \mbox{\Package{fancyhdr}}. In both cases, the internal page style is used
-% for the user page style \Pagestyle{fancy}. The user page style
-% \Pagestyle{fancy} is also used for \Package{fancyheadings}'s deprecated page
-% style \Pagestyle{fancyplain}, that also redefines page style
-% \Pagestyle{plain} to be \mbox{\Package{fancyhdr}}'s internal page style
-% \Pagestyle{plain@fancy}, that also uses \Pagestyle{fancy} but with
-% \Macro{if@fancyplain} set to \Macro{iftrue}. There is an additional
-% deprecated command \Macro{fancyplain}\Parameter{plain code}\Parameter{fancy
-% code}, too. The command uses the \meta{plain code} if \Macro{if@fancyplain}
-% is \Macro{iftrue} and \meta{fancy code} if \Macro{if@fancyplain} is
-% \Macro{iffalse}. It can be used inside the definition of the page style
-% elements to distinguish settings of \Pagestyle{fancy} and \Pagestyle{plain}
+% page style \pstyle{f@nch@fancycore} is used internally by package
+% \pkg{fancyhdr}. In both cases, the internal page style is used
+% for the user page style \pstyle{fancy}. The user page style
+% \pstyle{fancy} is also used for \pkg{fancyheadings}'s deprecated page
+% style \pstyle{fancyplain}, that also redefines page style
+% \pstyle{plain} to be \pkg{fancyhdr}'s internal page style
+% \pstyle{plain@fancy}, that also uses \pstyle{fancy} but with
+% \cs{if@fancyplain} set to \cs{iftrue}. There is an additional
+% deprecated command \cs{fancyplain}\marg{plain code}\marg{fancy
+% code}, too. The command uses the \meta{plain code} if \cs{if@fancyplain}
+% is \cs{iftrue} and \meta{fancy code} if \cs{if@fancyplain} is
+% \cs{iffalse}. It can be used inside the definition of the page style
+% elements to distinguish settings of \pstyle{fancy} and \pstyle{plain}
% pages.
%
-% Page styles defined using \mbox{\Package{fancyhdr}}'s command
-% \Macro{fancypagestyle} also always use page style \Pagestyle{fancy} and so
-% the internal basic page style \Pagestyle{@fancy} (up to
-% \mbox{\Package{fancyhdr}} version 3.10) resp. \Pagestyle{f@nch@fancycore}
-% (from \mbox{\Package{fancyhdr}} version 4).
+% Page styles defined using \pkg{fancyhdr}'s command
+% \cs{fancypagestyle} also always use page style \pstyle{fancy} and so
+% the internal basic page style \pstyle{@fancy} (up to
+% \pkg{fancyhdr} version 3.10) resp. \pstyle{f@nch@fancycore}
+% (from \pkg{fancyhdr} version 4).
%
% As a result of the two notes above, every page style of
-% \mbox{\Package{fancyhdr}} always uses the same internal basic page style
-% \Pagestyle{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version
-% 4). As a result of redefining page style \Pagestyle{@fancy} (up to
-% \mbox{\Package{fancyhdr}} version 3.10) resp. \Pagestyle{f@nch@fancycore}
-% (from \mbox{\Package{fancyhdr}} version 4) to be a layer page style, users
-% can add layers to or remove layers from all \mbox{\Package{fancyhdr}} page
+% \pkg{fancyhdr} always uses the same internal basic page style
+% \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version
+% 4). As a result of redefining page style \pstyle{@fancy} (up to
+% \pkg{fancyhdr} version 3.10) resp. \pstyle{f@nch@fancycore}
+% (from \pkg{fancyhdr} version 4) to be a layer page style, users
+% can add layers to or remove layers from all \pkg{fancyhdr} page
% styles by adding layers to or remove layers from page style
-% \Pagestyle{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version
+% \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version
% 4). You cannot add layers to or remove layers from
-% \mbox{\Package{fancyhdr}}'s single page styles \Pagestyle{fancy},
-% \Pagestyle{fancyplain}, \Pagestyle{plain@fancy} or the page styles defined
-% using \Macro{fancypagestyle} directly. So using layers is a all or nothing
-% feature with \Package{scrlayer-scrpage}. However, you can use the second
-% argument of \Macro{fancypagestyle} to add or remove layers whenever one of
-% the \mbox{\Package{fancyhdr}} page styles is activated. So this is a move
-% from the \mbox{\Package{scrlayer}} interface of adding or removing layers to
-% single page styles to the \mbox{\Package{fancyhdr}} interface of defining
-% modifications of page style \Pagestyle{fancy}.
-%
-% Another such movement from a \mbox{\Package{scrlayer}} user interface to a
-% \mbox{\Package{fancyhdr}} user interface is the decision whether or not
-% automatic running heads are used. \mbox{\Package{scrlayer}} provides the
-% options \Option{automark} and \Option{manualmark} and commands
-% \Macro{automark} and \Macro{manualmark} to do this decision and also to
-% configure commands like \Macro{partmark}, \Macro{chaptermark},
-% \Macro{sectionmark} etc. With \Package{scrlayer-fancyhdr} already using page
-% style \Pagestyle{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version 4)
+% \pkg{fancyhdr}'s single page styles \pstyle{fancy},
+% \pstyle{fancyplain}, \pstyle{plain@fancy} or the page styles defined
+% using \cs{fancypagestyle} directly. So using layers is a all or nothing
+% feature with \pkg{scrlayer-scrpage}. However, you can use the second
+% argument of \cs{fancypagestyle} to add or remove layers whenever one of
+% the \pkg{fancyhdr} page styles is activated. So this is a move
+% from the \pkg{scrlayer} interface of adding or removing layers to
+% single page styles to the \pkg{fancyhdr} interface of defining
+% modifications of page style \pstyle{fancy}.
+%
+% Another such movement from a \pkg{scrlayer} user interface to a
+% \pkg{fancyhdr} user interface is the decision whether or not
+% automatic running heads are used. \pkg{scrlayer} provides the
+% options \opt{automark} and \opt{manualmark} and commands
+% \cs{automark} and \cs{manualmark} to do this decision and also to
+% configure commands like \cs{partmark}, \cs{chaptermark},
+% \cs{sectionmark} etc. With \pkg*{scrlayer-fancyhdr} already using page
+% style \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version 4)
% does switch to automatic running heads. The first activation of page style
-% \Pagestyle{fancy} still redefines \Macro{chaptermark} and
-% \Macro{sectionmark}, if a class with \Macro{chapter} is used, or
-% \Macro{sectionmark} and \Macro{subsectionmark}, if a class without
-% \Macro{chapter} is used. However, you still can use \Macro{manualmark} and
-% \Macro{automark} after switching to a \mbox{\Package{fancyhdr}} page style
+% \pstyle{fancy} still redefines \cs{chaptermark} and
+% \cs{sectionmark}, if a class with \cs{chapter} is used, or
+% \cs{sectionmark} and \cs{subsectionmark}, if a class without
+% \cs{chapter} is used. However, you still can use \cs{manualmark} and
+% \cs{automark} after switching to a \pkg{fancyhdr} page style
% to configure the running heads. So this movement is only partial.
%
-% \DescribeMacro\ps@headings
-% \DescribeMacro\ps@myheadings
-% \DescribeMacro\ps@plain
-% Note: Currently, neither \mbox{\Package{scrlayer}} nor
-% \mbox{\Package{fancyhdr}} nor \Package{scrlayer-fancyhdr} do redefine page
-% styles \Pagestyle{headings} or \Pagestyle{myheadings} by default. And
-% neither \mbox{\Package{scrlayer}} nor \mbox{\Package{fancyhdr}} nor
-% \Package{scrlayer-fancyhdr} do redefine page style \Pagestyle{plain} unless
-% you are activating the deprecated \mbox{\Package{fancyhdr}} page style
-% \Pagestyle{fancyplain}. So if you like to use layers on \Pagestyle{plain}
+% \DescribePageStyle{headings}
+% \DescribePageStyle{myheadings}
+% \DescribePageStyle{plain}
+% Note: Currently, neither \pkg{scrlayer} nor
+% \pkg{fancyhdr} nor \pkg*{scrlayer-fancyhdr} do redefine page
+% styles \pstyle{headings} or \pstyle{myheadings} by default. And
+% neither \pkg{scrlayer} nor \pkg{fancyhdr} nor
+% \pkg*{scrlayer-fancyhdr} do redefine page style \pstyle{plain} unless
+% you are activating the deprecated \pkg{fancyhdr} page style
+% \pstyle{fancyplain}. So if you like to use layers on \pstyle{plain}
% pages, i.\,e. usually the first page of a chapter or part or the page with a
-% title head, you have to either use \mbox{\Package{fancyhdr}}'s deprecated
-% page style \Pagestyle{fancyplain} or redefine page style \Pagestyle{plain}
-% either using \Macro{fancypagestyle} as documented in the
-% \mbox{\Package{fancyhdr}} manual or using \Macro{DeclarePageStyleByLayers},
+% title head, you have to either use \pkg{fancyhdr}'s deprecated
+% page style \pstyle{fancyplain} or redefine page style \pstyle{plain}
+% either using \cs{fancypagestyle} as documented in the
+% \pkg{fancyhdr} manual or using \cs{DeclarePageStyleByLayers},
% documented in the \KOMAScript{} manual.
% \DescribeOption{myheading}%
% \DescribeOption{heading}%
-% However from version 4.0 \mbox{\Package{fancyhdr}} provides options
-% \Option{myheadings} and \Option{headings} to redefine the corresponding page
-% style. \Package{scrlayer-fancyhdr} also provides these options and passes
-% them to \mbox{\Package{fancyhdr}}.
-%
-% \DescribeMacro\ps@empty
-% \DescribeMacro\ps@@empty
-% Note: Pagestyle \Pagestyle{empty} is somehow
-% special. \mbox{\Package{scrlayer}} redefines it to be a layer page
-% style. And \mbox{\Package{fancyhdr}}'s internal page style
-% \Pagestyle{@empty} is the same like \Pagestyle{empty}. So \Pagestyle{@empty}
-% also uses the layers of \Pagestyle{empty} but you should not try to modify
-% it directly using the interface of \mbox{\Package{scrlayer}}. Moreover, if
-% \mbox{\Package{fancyhdr}} is loaded before \Package{scrlayer-fancyhdr},
-% \mbox{\Package{fancyhdr}}'s internal page style \Pagestyle{@empty} is not a
-% copy of \mbox{\Package{scrlayer}}'s layer page style \Pagestyle{empty} but
-% the original standard page style \Pagestyle{empty}. However, with
-% \Package{scrlayer-fancyhdr} package \mbox{\Package{fancyhdr}} does not
-% longer use the internal page style \Pagestyle{@empty}. So you would not need
+% However from version 4.0 \pkg{fancyhdr} provides options
+% \opt{myheadings} and \opt{headings} to redefine the corresponding page
+% style. \pkg*{scrlayer-fancyhdr} also provides these options and passes
+% them to \pkg{fancyhdr}.
+%
+% \DescribePageStyle{empty}
+% \DescribeiPageStyle{@empty}
+% Note: Pagestyle \pstyle{empty} is somehow
+% special. \pkg{scrlayer} redefines it to be a layer page
+% style. And \pkg{fancyhdr}'s internal page style
+% \pstyle{@empty} is the same like \pstyle{empty}. So \pstyle{@empty}
+% also uses the layers of \pstyle{empty} but you should not try to modify
+% it directly using the interface of \pkg{scrlayer}. Moreover, if
+% \pkg{fancyhdr} is loaded before \pkg*{scrlayer-fancyhdr},
+% \pkg{fancyhdr}'s internal page style \pstyle{@empty} is not a
+% copy of \pkg{scrlayer}'s layer page style \pstyle{empty} but
+% the original standard page style \pstyle{empty}. However, with
+% \pkg*{scrlayer-fancyhdr} package \pkg{fancyhdr} does not
+% longer use the internal page style \pstyle{@empty}. So you would not need
% to know this.
%
% \section{How to use the Package}
@@ -354,56 +317,56 @@
%\begin{verbatim}
% \usepackage{scrlayer-fancyhdr}
%\end{verbatim}
-% instead of loading \mbox{\Package{scrlayer}} and \mbox{\Package{fancyhdr}}
+% instead of loading \pkg{scrlayer} and \pkg{fancyhdr}
% or before or after loading one of these packages. However it is recommended
-% to replace loading \mbox{\Package{scrlayer}} and \mbox{\Package{fancyhdr}}
-% by loading \Package{scrlayer-fancyhdr} because this avoids option
-% clashes. \Package{scrlayer-fancyhdr} provides all options of
-% \mbox{\Package{scrlayer}} and \mbox{\Package{fancyhdr}} and passes them to
-% \mbox{\Package{scrlayer}} resp. \mbox{\Package{fancyhdr}}. Nevertheless
+% to replace loading \pkg{scrlayer} and \pkg{fancyhdr}
+% by loading \pkg*{scrlayer-fancyhdr} because this avoids option
+% clashes. \pkg*{scrlayer-fancyhdr} provides all options of
+% \pkg{scrlayer} and \pkg{fancyhdr} and passes them to
+% \pkg{scrlayer} resp. \pkg{fancyhdr}. Nevertheless
% sometimes it may be useful to be able to additionally load
-% \mbox{\Package{scrlayer}} or \mbox{\Package{fancyhdr}}. In this case you
-% should first load \mbox{\Package{scrlayer}} next \mbox{\Package{fancyhdr}}
-% and last \Package{scrlayer-fancyhdr}.
-%
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancy
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\ps@plain@fancy
-% \DescribeMacro\fancypagestyle
+% \pkg{scrlayer} or \pkg{fancyhdr}. In this case you
+% should first load \pkg{scrlayer} next \pkg{fancyhdr}
+% and last \pkg*{scrlayer-fancyhdr}.
+%
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancy}
+% \DescribePageStyle{fancyplain}
+% \DescribeiPageStyle{plain@fancy}
+% \DescribeCommand\fancypagestyle
% After loading the package you should be able to use the page styles and
-% commands of \mbox{\Package{fancyhdr}} and to add layers to or remove layers
-% from the \mbox{\Package{fancyhdr}}'s internal basic page style
-% \Package{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version
+% commands of \pkg{fancyhdr} and to add layers to or remove layers
+% from the \pkg{fancyhdr}'s internal basic page style
+% \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version
% 4). Note, you are not able to add layers to or remove layers from
-% \mbox{\Package{fancyhdr}}'s page styles \Pagestyle{fancy},
-% \Pagestyle{fancyplain}, \Pagestyle{plain@fancy} or page styles defined by
-% \Macro{fancypagestyle}. However adding layers to or removing layers from
-% \Pagestyle{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version 4)
+% \pkg{fancyhdr}'s page styles \pstyle{fancy},
+% \pstyle{fancyplain}, \pstyle{plain@fancy} or page styles defined by
+% \cs{fancypagestyle}. However adding layers to or removing layers from
+% \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version 4)
% will always change all these page styles!
%
-% \DescribeMacro\ps@plain
-% \DescribeMacro\ps@headings
-% \DescribeMacro\ps@myheadings
-% \DescribeMacro\ps@empty
-% Note: Loading \Package{scrlayer-fancyhdr} will not make page style
-% \Pagestyle{plain} nor \Pagestyle{headings} nor \Pagestyle{myheadings} or any
-% other page style but \Pagestyle{empty} to automatically be a layer page
-% style! But if you are using option \Option{headings} or \Option{myheadings},
-% package \mbox{\Package{fancyhdr}} redefines the corresponding page styles to
-% be \mbox{\Package{fancyhdr}} page styles\,---\,and so relate to the same
-% internal layer page style, either \Pagestyle{@fancy} (up to
-% \mbox{\Package{fancyhdr}} version 3.10) or \Pagestyle{@f@nch@fancycore}
-% (from \Package{fancydr} version 4.0).
+% \DescribePageStyle{plain}
+% \DescribePageStyle{headings}
+% \DescribePageStyle{myheadings}
+% \DescribePageStyle{empty}
+% Note: Loading \pkg*{scrlayer-fancyhdr} will not make page style
+% \pstyle{plain} nor \pstyle{headings} nor \pstyle{myheadings} or any
+% other page style but \pstyle{empty} to automatically be a layer page
+% style! But if you are using option \opt{headings} or \opt{myheadings},
+% package \pkg{fancyhdr} redefines the corresponding page styles to
+% be \pkg{fancyhdr} page styles\,---\,and so relate to the same
+% internal layer page style, either \pstyle{@fancy} (up to
+% \pkg{fancyhdr} version 3.10) or \pstyle{@f@nch@fancycore}
+% (from \pkg{fancydr} version 4.0).
%
%
% \section{Hint}
% \label{sec:hint}
%
-% To become independent from the used version of \mbox{\Package{fancyhdr}} you
+% To become independent from the used version of \pkg{fancyhdr} you
% can use:
% \begin{verbatim}
% \IfPackageAtLeastTF{fancyhdr}{2019/03/21}{%
@@ -412,12 +375,12 @@
% \DeclarePageStyleAlias{f@nch@fancycore}{@fancy}%
% }
% \end{verbatim}^^A
-% \unskip after loading \Package{scrlayer-fancyhdr} and before adding a layer
+% \unskip after loading \pkg*{scrlayer-fancyhdr} and before adding a layer
% to the internal layer page style. This code defines page style
-% \Pagestyle{@fancy} to be an alias of \Pagestyle{f@nch@fancycore} if
-% \mbox{\Package{fancyhdr}} from version 4.0 is used or vise versa
-% \Pagestyle{f@nch@fancycore} as an alias of \Pagestyle{@fancy} if
-% \mbox{\Package{fancyhdr}} before version 4.0 is used. So after this code
+% \pstyle{@fancy} to be an alias of \pstyle{f@nch@fancycore} if
+% \pkg{fancyhdr} from version 4.0 is used or vise versa
+% \pstyle{f@nch@fancycore} as an alias of \pstyle{@fancy} if
+% \pkg{fancyhdr} before version 4.0 is used. So after this code
% using either
% \begin{verbatim}
% \AddLayersToPageStyle{@fancy}{...}
@@ -438,32 +401,32 @@
% again. Listing these issues does not say they are bugs or features.
% \begin{itemize}
% \item
-% \DescribeMacro\ps@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\fancypagestyle
-% \DescribeMacro\ps@@fancy
+% \DescribePageStyle{fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancyplain}
+% \DescribeCommand\fancypagestyle
+% \DescribeiPageStyle{@fancy}
% You are not able to add layers to the user level page style
-% \Pagestyle{fancy} or \Pagestyle{fancyplain} or any page style defined by
-% \Macro{fancypagestyle} but only to the internal page style
-% \Pagestyle{@fancy} (if you are using \mbox{\Package{fancyhdr}} up to
-% version 3.10) resp. \Pagestyle{f@nch@fancycore} (if you are using
-% \mbox{\Package{fancyhdr}} from version 4). This is intended as explained
+% \pstyle{fancy} or \pstyle{fancyplain} or any page style defined by
+% \cs{fancypagestyle} but only to the internal page style
+% \pstyle{@fancy} (if you are using \pkg{fancyhdr} up to
+% version 3.10) resp. \pstyle{f@nch@fancycore} (if you are using
+% \pkg{fancyhdr} from version 4). This is intended as explained
% in this manual (see also section~\ref{sec:hint}).
% \item
-% \DescribeMacro\ps@@empty
-% Using \mbox{\Package{fancyhdr}}'s internal page style \Pagestyle{@empty}
+% \DescribeiPageStyle{@empty}
+% Using \pkg{fancyhdr}'s internal page style \pstyle{@empty}
% could have strange results. However, there is a simple solution for this:
-% Don't use the internal \Pagestyle{@empty} but always the user level page
-% style \Pagestyle{empty}!
+% Don't use the internal \pstyle{@empty} but always the user level page
+% style \pstyle{empty}!
% \item
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
% The vertical position of the page header does differ a little bit, if
-% \Package{scrlayer-fancyhdr} is used instead of
-% \mbox{\Package{fancyhdr}}. This could be fixed by a modification of the
+% \pkg*{scrlayer-fancyhdr} is used instead of
+% \pkg{fancyhdr}. This could be fixed by a modification of the
% layers \texttt{fancy.head.odd} and \texttt{fancy.head.even} using
-% \Option{addvoffset}. More tests are needed.
+% \opt{addvoffset}. More tests are needed.
% \end{itemize}
% See \url{https://github.com/komascript/scrlayer-fancyhdr/issues} for more
% issues.
@@ -473,169 +436,169 @@
% \section{Der Sinn dieses Pakets}
% \label{sec:sinn}
% Dieses Paket wurde entwickelt, um den Anwendern die Möglichkeit zu geben,
-% die Fähigkeiten von Piet van Oostrums \mbox{\Package{fancyhdr}}
+% die Fähigkeiten von Piet van Oostrums \pkg{fancyhdr}
% \autocite{package:fancyhdr} mit den Fähigkeiten von
-% \mbox{\Package{scrlayer}} \autocite{package:scrlayer} zu kombinieren. In
+% \pkg{scrlayer} \autocite{package:scrlayer} zu kombinieren. In
% anderen Worten: Es wurde geschaffen, um die Seiten-Ebenen von
-% \mbox{\Package{scrlayer}} mit den Seiten-Stilen von
-% \mbox{\Package{fancyhdr}} zu kombinieren.
+% \pkg{scrlayer} mit den Seiten-Stilen von
+% \pkg{fancyhdr} zu kombinieren.
%
-% In dieser Kombination ist Kompatibilität mit \mbox{\Package{fancyhdr}} das
+% In dieser Kombination ist Kompatibilität mit \pkg{fancyhdr} das
% oberste Ziel! Verwendbarkeit und die Freiheiten, die von
-% \mbox{\Package{scrlayer}} geboten werden, ist das zweite
+% \pkg{scrlayer} geboten werden, ist das zweite
% Ziel. Kompatibilität mit anderen Paketen oder Klassen von \KOMAScript{}
% \cite{package:koma-script} ist kein primäres Ziel. Vielleicht wird dies in
% Zukunft eine optionale Fähigkeit werden. Die Aufhebung irgendwelcher realen
-% oder eingebildeter Beschränkungen von \mbox{\Package{fancyhdr}}, die darüber
+% oder eingebildeter Beschränkungen von \pkg{fancyhdr}, die darüber
% hinaus gehen, die Verwendung von Ebenen zu ermöglichen, ist kein Ziel und
% wird auch in Zukunft kein Ziel werden.
%
% Wenn Sie eine bessere Kombination von Seitenstilen und Ebenen benötigen, so
% sollten Sie entweder die Low-Level-Schnittstelle von
-% \mbox{\Package{scrlayer}} zur Definition von Seitenstilen oder ---~und das
-% ist die Empfehlung des Autors~--- das Paket \Package{scrlayer-scrpage}
-% anstelle von \Package{scrlayer-fancyhdr} oder \mbox{\Package{fancyhdr}}
+% \pkg{scrlayer} zur Definition von Seitenstilen oder ---~und das
+% ist die Empfehlung des Autors~--- das Paket \pkg{scrlayer-scrpage}
+% anstelle von \pkg*{scrlayer-fancyhdr} oder \pkg{fancyhdr}
% verwenden. Wenn Sie bessere Kompatibilität mit anderen Teilen von
% \KOMAScript, beispielsweise mit den \KOMAScript-Klassen. benötigen, sollten
-% Sie \Package{scrlayer-scrpage} anstelle von \Package{scrlayer-fancyhdr} oder
-% \mbox{\Package{fancyhdr}} verwenden.
+% Sie \pkg{scrlayer-scrpage} anstelle von \pkg*{scrlayer-fancyhdr} oder
+% \pkg{fancyhdr} verwenden.
%
% \section{Wie es funktioniert}
% \label{sec:funktion}
-% Zur Kombination von \mbox{\Package{fancyhdr}} mit \mbox{\Package{scrlayer}}
-% lädt \Package{scrlayer-scrpage} beide Pakete. Nach dem Laden von
-% \mbox{\Package{fancyhdr}} definiert es den Seitenstil \Pagestyle{@fancy}
-% (bis einschließlich \mbox{\Package{fancyhdr}} Version 3.10)
-% bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version 4.0)
-% in einen Ebenen-Seitenstil von \mbox{\Package{scrlayer}} um, bestehend aus
+% Zur Kombination von \pkg{fancyhdr} mit \pkg{scrlayer}
+% lädt \pkg{scrlayer-scrpage} beide Pakete. Nach dem Laden von
+% \pkg{fancyhdr} definiert es den Seitenstil \pstyle{@fancy}
+% (bis einschließlich \pkg{fancyhdr} Version 3.10)
+% bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version 4.0)
+% in einen Ebenen-Seitenstil von \pkg{scrlayer} um, bestehend aus
% den neu definierten Ebenen \texttt{fancy.head.even},
% \texttt{fancy.head.odd}, \texttt{fancy.foot.even} und
% \texttt{fancy.foot.odd}. Die \texttt{\dots head\dots}-Ebenen sind
% Hintergrund-Ebenen entsprechend dem Seitenkopf von
-% \mbox{\Package{fancyhdr}}-Seiten\-stilen (oder anderen gebräuchlichen
+% \pkg{fancyhdr}-Seiten\-stilen (oder anderen gebräuchlichen
% Seitenstilen). Die \texttt{\dots foot\dots}-Ebenen sind Vordergrund-Ebenen
% entsprechend dem Seitenfuß von
-% \linebreak\mbox{\Package{fancyhdr}}-Seitenstilen (oder anderen
+% \linebreak\pkg{fancyhdr}-Seitenstilen (oder anderen
% gebräuchlichen Seitenstilen). Die \texttt{\dots even}-Ebenen sind auf gerade
% Seiten, also linke Seiten von doppelseitigen Dokumenten, beschränkt. Die
% \texttt{\dots odd}-Ebenen sind auf ungerade Seiten, also rechte Seiten bei
% doppelseitigen Dokumenten oder alle Seiten bei einseitigen Dokumenten,
% beschränkt.
%
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\ps@plain@fancy
-% Bis Version 3.10 von \mbox{\Package{fancyhdr}} war Seitenstil
-% \Pagestyle{@fancy} ein interner Seitenstil, den Anwender selbst nicht direkt
-% verwenden sollten. Ab Version 4.0 wird \Pagestyle{f@nch@fancycore} als
-% interner Seitenstil von Paket \mbox{\Package{fancyhdr}} genutzt. In beiden
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancyplain}
+% \DescribeiPageStyle{plain@fancy}
+% Bis Version 3.10 von \pkg{fancyhdr} war Seitenstil
+% \pstyle{@fancy} ein interner Seitenstil, den Anwender selbst nicht direkt
+% verwenden sollten. Ab Version 4.0 wird \pstyle{f@nch@fancycore} als
+% interner Seitenstil von Paket \pkg{fancyhdr} genutzt. In beiden
% Fällen wird der interne Seitenstil für den Benutzer\-seiten\-stil
-% \Pagestyle{fancy} verwendet. Der Benutzerseitenstil \Pagestyle{fancy} wird
-% ebenfalls für den veralteten Seitenstil \Pagestyle{fancyplain} des Pakets
-% \Package{fancyheadings} verwendet, der zusätzlich den Seitenstil
-% \Pagestyle{plain} in \mbox{\Package{fancyhdr}}s internen Seitenstil
-% \Pagestyle{plain@fancy} ändert, der ebenfalls \Pagestyle{fancy} verwendet,
-% wobei allerdings \Macro{if@fancyplain} auf \Macro{iftrue} gesetzt ist. Es
+% \pstyle{fancy} verwendet. Der Benutzerseitenstil \pstyle{fancy} wird
+% ebenfalls für den veralteten Seitenstil \pstyle{fancyplain} des Pakets
+% \pkg{fancyheadings} verwendet, der zusätzlich den Seitenstil
+% \pstyle{plain} in \pkg{fancyhdr}s internen Seitenstil
+% \pstyle{plain@fancy} ändert, der ebenfalls \pstyle{fancy} verwendet,
+% wobei allerdings \cs{if@fancyplain} auf \cs{iftrue} gesetzt ist. Es
% gibt eine weitere überholte Anweisung
-% \Macro{fancyplain}\Parameter{plain-Code}\Parameter{fancy-Code}. Diese
-% Anweisung verwendet \meta{plain-Code}, wenn \Macro{if@fancyplain}
-% \Macro{iftrue} ist, aber \meta{fancy-Code}, wenn \Macro{if@fancyplain}
-% \Macro{iffalse} ist. Sie kann innerhalb der Definition der
+% \cs{fancyplain}\marg{plain-Code}\marg{fancy-Code}. Diese
+% Anweisung verwendet \meta{plain-Code}, wenn \cs{if@fancyplain}
+% \cs{iftrue} ist, aber \meta{fancy-Code}, wenn \cs{if@fancyplain}
+% \cs{iffalse} ist. Sie kann innerhalb der Definition der
% Seitenstilelemente verwendet werden um zwischen den Einstellung für
-% \Pagestyle{fancy} und \Pagestyle{plain} zu unterscheiden.
+% \pstyle{fancy} und \pstyle{plain} zu unterscheiden.
%
-% Seitenstile, die mit der \mbox{\Package{fancyhdr}}-Anweisung
-% \Macro{fancypagestyle} definiert wurden, verwenden ebenfalls immer den
-% Seitenstil \Pagestyle{fancy} und damit den internen grundlegenden Seitenstil
-% \Pagestyle{@fancy} (bis einschließlich \mbox{\Package{fancyhdr}} Version
-% 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version
+% Seitenstile, die mit der \pkg{fancyhdr}-Anweisung
+% \cs{fancypagestyle} definiert wurden, verwenden ebenfalls immer den
+% Seitenstil \pstyle{fancy} und damit den internen grundlegenden Seitenstil
+% \pstyle{@fancy} (bis einschließlich \pkg{fancyhdr} Version
+% 3.10) bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version
% 4).
%
% Als Ergebnis der beiden obigen Anmerkungen, verwenden alle Seitenstile von
-% \mbox{\Package{fancyhdr}} immer denselben internen grundlegenden Seitenstil
-% \Pagestyle{@fancy} (bis einschließlich \mbox{\Package{fancyhdr}} Version
-% 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version
+% \pkg{fancyhdr} immer denselben internen grundlegenden Seitenstil
+% \pstyle{@fancy} (bis einschließlich \pkg{fancyhdr} Version
+% 3.10) bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version
% 4). Als Ergebnis daraus resultiert aus der Umdefinierung des Seitenstils
-% \Pagestyle{@fancy} (bis einschließlich \mbox{\Package{fancyhdr}} Version
-% 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version
+% \pstyle{@fancy} (bis einschließlich \pkg{fancyhdr} Version
+% 3.10) bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version
% 4) in einen Ebenen-Seitenstil, dass Anwender Ebenen zu allen Seitenstilen
-% von \mbox{\Package{fancyhdr}} hinzufügen oder daraus löschen können, indem
-% sie Ebenen zu \Pagestyle{@fancy} (bis einschließlich
-% \mbox{\Package{fancyhdr}} Version 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab
-% \mbox{\Package{fancyhdr}} Version 4) hinzufügen oder daraus löschen. Sie
+% von \pkg{fancyhdr} hinzufügen oder daraus löschen können, indem
+% sie Ebenen zu \pstyle{@fancy} (bis einschließlich
+% \pkg{fancyhdr} Version 3.10) bzw. \pstyle{f@nch@fancycore} (ab
+% \pkg{fancyhdr} Version 4) hinzufügen oder daraus löschen. Sie
% können keine Ebenen unmittelbar zu einzelnen Seitenstilen von
-% \mbox{\Package{fancyhdr}} wie \Pagestyle{fancy}, \Pagestyle{fancyplain},
-% \Pagestyle{plain@fancy} oder anderen mit \Macro{fancypagestyle} definierten
+% \pkg{fancyhdr} wie \pstyle{fancy}, \pstyle{fancyplain},
+% \pstyle{plain@fancy} oder anderen mit \cs{fancypagestyle} definierten
% Seitenstilen hinzufügen oder daraus löschen. Aber natürlich können Sie das
-% zweite Argument von \Macro{fancypagestyle} nutzen, um Ebenen zum Zeitpunkt
-% der Aktivierung eines \mbox{\Package{fancyhdr}}-Seitenstils hinzuzufügen
+% zweite Argument von \cs{fancypagestyle} nutzen, um Ebenen zum Zeitpunkt
+% der Aktivierung eines \pkg{fancyhdr}-Seitenstils hinzuzufügen
% oder zu entfernen. Dies stellt eine Verschiebung dar weg von der
-% \mbox{\Package{scrlayer}}-Schnittstelle zum Hinzufügen oder Entfernen von
-% Ebenen hin zur \mbox{\Package{fancyhdr}}-Schnittstelle zur Definition von
-% Änderungen des Seitenstils \Pagestyle{fancy}.
+% \pkg{scrlayer}-Schnittstelle zum Hinzufügen oder Entfernen von
+% Ebenen hin zur \pkg{fancyhdr}-Schnittstelle zur Definition von
+% Änderungen des Seitenstils \pstyle{fancy}.
%
% Ein weitere solche Verschiebung von der Anwenderschnittstelle von
-% \mbox{\Package{scrlayer}} zur Anwenderschnittstelle von
-% \mbox{\Package{fancyhdr}} ist die Entscheidung, ob automatische, lebende
-% Kolumnentitel verwendet werden sollen oder nicht. \mbox{\Package{scrlayer}}
-% bietet dafür die Optionen \Option{automark} und \Option{manualmark} und die
-% Anweisungen \Macro{automark} und \Macro{manualmark}. Diese konfigurieren
-% gleichzeitig Anweisungen wie \Macro{partmark}, \Macro{chaptermark},
-% \Macro{sectionmark} etc. Mit \Package{scrlayer-fancyhdr} wird bereits durch
-% Verwendung von Seitenstil \Pagestyle{@fancy} (bis einschließlich
-% \mbox{\Package{fancyhdr}} Version 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab
-% \mbox{\Package{fancyhdr}} Version 4) auf automatische, lebende Kolumnentitel
-% umgeschaltet. Die erste Aktivierung von \Pagestyle{fancy} definiert auch
-% weiterhin \Macro{chaptermark} und \Macro{sectionmark}, wenn eine Klasse mit
-% \Macro{chapter} verwendet wird, oder \Macro{sectionmark} und
-% \Macro{subsectionmark}, wenn eine Klasse ohne \Macro{chapter} verwendet
-% wird. Dennoch können Sie weiterhin \Macro{manualmark} und \Macro{automark}
-% nach der Umschaltung zu einem \mbox{\Package{fancyhdr}}-Seitenstil
+% \pkg{scrlayer} zur Anwenderschnittstelle von
+% \pkg{fancyhdr} ist die Entscheidung, ob automatische, lebende
+% Kolumnentitel verwendet werden sollen oder nicht. \pkg{scrlayer}
+% bietet dafür die Optionen \opt{automark} und \opt{manualmark} und die
+% Anweisungen \cs{automark} und \cs{manualmark}. Diese konfigurieren
+% gleichzeitig Anweisungen wie \cs{partmark}, \cs{chaptermark},
+% \cs{sectionmark} etc. Mit \pkg*{scrlayer-fancyhdr} wird bereits durch
+% Verwendung von Seitenstil \pstyle{@fancy} (bis einschließlich
+% \pkg{fancyhdr} Version 3.10) bzw. \pstyle{f@nch@fancycore} (ab
+% \pkg{fancyhdr} Version 4) auf automatische, lebende Kolumnentitel
+% umgeschaltet. Die erste Aktivierung von \pstyle{fancy} definiert auch
+% weiterhin \cs{chaptermark} und \cs{sectionmark}, wenn eine Klasse mit
+% \cs{chapter} verwendet wird, oder \cs{sectionmark} und
+% \cs{subsectionmark}, wenn eine Klasse ohne \cs{chapter} verwendet
+% wird. Dennoch können Sie weiterhin \cs{manualmark} und \cs{automark}
+% nach der Umschaltung zu einem \pkg{fancyhdr}-Seitenstil
% verwenden, um die lebenden Kolumnentitel zu konfigurieren. Diese
% Verschiebung ist also nur partiell.
%
-% \DescribeMacro\ps@headings
-% \DescribeMacro\ps@myheadings
-% \DescribeMacro\ps@plain
-% Hinweis: Derzeit definieren weder \mbox{\Package{scrlayer}} noch
-% \mbox{\Package{fancyhdr}} noch \Package{scrlayer-fancyhdr} die Seitenstile
-% \Pagestyle{headings} oder \Pagestyle{myheadings} in der Voreinstellung
-% um. Und weder \mbox{\Package{scrlayer}} noch \mbox{\Package{fancyhdr}} oder
-% \Package{scrlayer-fancyhdr} definieren den Seitenstil \Pagestyle{plain} um,
-% solange nicht der veraltete \mbox{\Package{fancyhdr}}-Seitenstil
-% \Pagestyle{fancyplain} aktiviert wird. Wenn Sie also einen Ebeneseitenstil
-% für \Pagestyle{plain}-Seiten wünschen, insbesondere für die erste Seite
+% \DescribePageStyle{headings}
+% \DescribePageStyle{myheadings}
+% \DescribePageStyle{plain}
+% Hinweis: Derzeit definieren weder \pkg{scrlayer} noch
+% \pkg{fancyhdr} noch \pkg*{scrlayer-fancyhdr} die Seitenstile
+% \pstyle{headings} oder \pstyle{myheadings} in der Voreinstellung
+% um. Und weder \pkg{scrlayer} noch \pkg{fancyhdr} oder
+% \pkg*{scrlayer-fancyhdr} definieren den Seitenstil \pstyle{plain} um,
+% solange nicht der veraltete \pkg{fancyhdr}-Seitenstil
+% \pstyle{fancyplain} aktiviert wird. Wenn Sie also einen Ebeneseitenstil
+% für \pstyle{plain}-Seiten wünschen, insbesondere für die erste Seite
% eines Kapitels oder Teils oder die Seiten mit dem Titelkopf, so müssen Sie
-% entweder den veralteten \mbox{\Package{fancyhdr}}-Seitenstil
-% \Pagestyle{fancyplain} verwenden oder den Seitenstil \Pagestyle{plain}
-% entweder per \Macro{fancypagestyle} umdefinieren, wie dies in der
-% \mbox{\Package{fancyhdr}}-Anleitung beschrieben ist, oder per
-% \Macro{DeclarePageStyleByLayers}, wie dies in der \KOMAScript-Anleitung
+% entweder den veralteten \pkg{fancyhdr}-Seitenstil
+% \pstyle{fancyplain} verwenden oder den Seitenstil \pstyle{plain}
+% entweder per \cs{fancypagestyle} umdefinieren, wie dies in der
+% \pkg{fancyhdr}-Anleitung beschrieben ist, oder per
+% \cs{DeclarePageStyleByLayers}, wie dies in der \KOMAScript-Anleitung
% dokumentiert ist.
% \DescribeOption{myheading}%
% \DescribeOption{headings}%
-% Darüber hinaus bietet \mbox{\Package{fancyhdr}} ab Version 4.0 die Optionen
-% \Option{myheadings} und \Option{headings}, um die entsprechenden Seitenstile
-% umzudefinieren. \Package{scrlayer-fancyhdr} bietet diese Optionen ebenfalls
-% und leitet sie an \mbox{\Package{fancyhdr}} weiter.
-%
-% \DescribeMacro\ps@empty
-% \DescribeMacro\ps@@empty
-% Hinweis: Der Seitenstil \Pagestyle{empty} ist etwas
-% speziell. \mbox{\Package{scrlayer}} definiert dieses in einen
-% Ebenen-Seitenstil um. Und \mbox{\Package{fancyhdr}}s interner Seitenstil
-% \Pagestyle{@empty} ist ebenfalls identisch mit \Pagestyle{empty}. Daher
-% verwendet auch \Pagestyle{@empty} die Ebenen von \Pagestyle{empty}, aber Sie
+% Darüber hinaus bietet \pkg{fancyhdr} ab Version 4.0 die Optionen
+% \opt{myheadings} und \opt{headings}, um die entsprechenden Seitenstile
+% umzudefinieren. \pkg*{scrlayer-fancyhdr} bietet diese Optionen ebenfalls
+% und leitet sie an \pkg{fancyhdr} weiter.
+%
+% \DescribePageStyle{empty}
+% \DescribeiPageStyle{@empty}
+% Hinweis: Der Seitenstil \pstyle{empty} ist etwas
+% speziell. \pkg{scrlayer} definiert dieses in einen
+% Ebenen-Seitenstil um. Und \pkg{fancyhdr}s interner Seitenstil
+% \pstyle{@empty} ist ebenfalls identisch mit \pstyle{empty}. Daher
+% verwendet auch \pstyle{@empty} die Ebenen von \pstyle{empty}, aber Sie
% sollten nicht versuchen, diese direkt mit der Schnittstelle von
-% \mbox{\Package{scrlayer}} zu verändern. Mehr noch, wenn
-% \mbox{\Package{fancyhdr}} vor \Package{scrlayer-fancyhdr} geladen wird, ist
-% der interne Seitenstil \Pagestyle{@empty} von \mbox{\Package{fancyhdr}}
-% nicht länger eine Kopie des Ebenen-Seitenstils \Pagestyle{empty} von
-% \mbox{\Package{scrlayer}}, sondern weiterhin des Standard-Seitenstils
-% \Pagestyle{empty}. Allerdings verwendet \mbox{\Package{fancyhdr}} mit
-% \Package{scrlayer-fancyhdr} selbst den internen Seitenstil
-% \Pagestyle{@empty} gar nicht mehr. Daher brauchen Sie das eigentlich auch
+% \pkg{scrlayer} zu verändern. Mehr noch, wenn
+% \pkg{fancyhdr} vor \pkg*{scrlayer-fancyhdr} geladen wird, ist
+% der interne Seitenstil \pstyle{@empty} von \pkg{fancyhdr}
+% nicht länger eine Kopie des Ebenen-Seitenstils \pstyle{empty} von
+% \pkg{scrlayer}, sondern weiterhin des Standard-Seitenstils
+% \pstyle{empty}. Allerdings verwendet \pkg{fancyhdr} mit
+% \pkg*{scrlayer-fancyhdr} selbst den internen Seitenstil
+% \pstyle{@empty} gar nicht mehr. Daher brauchen Sie das eigentlich auch
% nicht zu wissen.
%
% \section{Wie man das Paket verwendet}
@@ -645,61 +608,61 @@
%\begin{verbatim}
% \usepackage{scrlayer-fancyhdr}
%\end{verbatim}
-% an Stelle von \mbox{\Package{scrlayer}} oder \mbox{\Package{fancyhdr}} oder
+% an Stelle von \pkg{scrlayer} oder \pkg{fancyhdr} oder
% vor dem Laden eines dieser Pakete. Empfohlen wird das komplette Ersetzen von
-% \mbox{\Package{scrlayer}} und \mbox{\Package{fancyhdr}} durch das Laden von
-% \Package{scrlayer-fancyhdr}, weil dadurch Optionskonflikte
-% (engl. \emph{option clash}) vermieden wird. \Package{scrlayer-fancyhdr}
-% stellt alle Optionen von \mbox{\Package{scrlayer}} und
-% \mbox{\Package{fancyhdr}} bereit und leitet diese an
-% \mbox{\Package{scrlayer}} bzw. \mbox{\Package{fancyhdr}}
+% \pkg{scrlayer} und \pkg{fancyhdr} durch das Laden von
+% \pkg*{scrlayer-fancyhdr}, weil dadurch Optionskonflikte
+% (engl. \emph{option clash}) vermieden wird. \pkg*{scrlayer-fancyhdr}
+% stellt alle Optionen von \pkg{scrlayer} und
+% \pkg{fancyhdr} bereit und leitet diese an
+% \pkg{scrlayer} bzw. \pkg{fancyhdr}
% weiter. Nichtsdestotrotz kann es in seltenen Fällen nützlich sein, dass man
-% das Paket auch zusätzlich nach \mbox{\Package{scrlayer}} und
-% \mbox{\Package{fancyhdr}} laden kann. In diesem Fall sollte
-% \mbox{\Package{scrlayer}} vor \mbox{\Package{fancyhdr}} und zuletzt
-% \Package{scrlayer-fancyhdr} geladen werden.
-%
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancy
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\ps@plain@fancy
-% \DescribeMacro\fancypagestyle
+% das Paket auch zusätzlich nach \pkg{scrlayer} und
+% \pkg{fancyhdr} laden kann. In diesem Fall sollte
+% \pkg{scrlayer} vor \pkg{fancyhdr} und zuletzt
+% \pkg*{scrlayer-fancyhdr} geladen werden.
+%
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancy}
+% \DescribePageStyle{fancyplain}
+% \DescribeiPageStyle{plain@fancy}
+% \DescribeCommand\fancypagestyle
% Nach dem Laden des Pakets sollten Sie in der Lage sein, die Seitenstile und
-% Befehle von \mbox{\Package{fancyhdr}} zu verwenden und Ebenen zum internen
-% \mbox{\Package{fancyhdr}}-Seitenstil \Package{@fancy} (bis einschließlich
-% \mbox{\Package{fancyhdr}} Version 3.10) bzw. \Pagestyle{f@nch@fancycore} (ab
-% \mbox{\Package{fancyhdr}} Version 4) hinzuzufügen oder davon zu
+% Befehle von \pkg{fancyhdr} zu verwenden und Ebenen zum internen
+% \pkg{fancyhdr}-Seitenstil \pstyle{@fancy} (bis einschließlich
+% \pkg{fancyhdr} Version 3.10) bzw. \pstyle{f@nch@fancycore} (ab
+% \pkg{fancyhdr} Version 4) hinzuzufügen oder davon zu
% entfernen. Hinweis: Es ist Ihnen nicht möglich, Ebenen zu den
-% \mbox{\Package{fancyhdr}}-Seitenstilen \Pagestyle{fancy},
-% \Pagestyle{fancyplain}, \Pagestyle{plain@fancy} oder jedem anderen mit
-% \Macro{fancypagestyle} definierten Seitenstil hinzuzufügen. Jedoch wird das
-% Hinzufügen oder Entfernen von Ebenen zu bzw. von \Package{@fancy} (bis
-% einschließlich \mbox{\Package{fancyhdr}} Version 3.10)
-% bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version 4)
+% \pkg{fancyhdr}-Seitenstilen \pstyle{fancy},
+% \pstyle{fancyplain}, \pstyle{plain@fancy} oder jedem anderen mit
+% \cs{fancypagestyle} definierten Seitenstil hinzuzufügen. Jedoch wird das
+% Hinzufügen oder Entfernen von Ebenen zu bzw. von \pstyle{@fancy} (bis
+% einschließlich \pkg{fancyhdr} Version 3.10)
+% bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version 4)
% immer alle diese Seitenstile mit ändern!
%
-% \DescribeMacro\ps@plain
-% \DescribeMacro\ps@headings
-% \DescribeMacro\ps@myheadings
-% \DescribeMacro\ps@empty
-% Hinweis: Das Laden von Paket \Package{scrlayer-fancyhdr} wird weder den
-% Seitenstil \Pagestyle{plain} noch \Pagestyle{headings} noch
-% \Pagestyle{myheadings} noch irgend einen anderen Seitenstil außer
-% \Pagestyle{empty} automatisch in einen Ebenen-Seitenstil umwandeln! Wenn Sie
-% aber Option \Option{headings} oder \Option{myheadings} angeben, definiert
-% \mbox{\Package{fancyhdr}} die entsprechenden Seitenstile in
-% \mbox{\Package{fancyhdr}}-Seitenstil um --~somit hängen diese dann von
-% demselben internen Seitenstil, entweder \Package{@fancy} (bis einschließlich
-% \mbox{\Package{fancyhdr}} Version 3.10) oder \Pagestyle{f@nch@fancycore} (ab
-% \mbox{\Package{fancyhdr}} Version 4), ab.
+% \DescribePageStyle{plain}
+% \DescribePageStyle{headings}
+% \DescribePageStyle{myheadings}
+% \DescribePageStyle{empty}
+% Hinweis: Das Laden von Paket \pkg*{scrlayer-fancyhdr} wird weder den
+% Seitenstil \pstyle{plain} noch \pstyle{headings} noch
+% \pstyle{myheadings} noch irgend einen anderen Seitenstil außer
+% \pstyle{empty} automatisch in einen Ebenen-Seitenstil umwandeln! Wenn Sie
+% aber Option \opt{headings} oder \opt{myheadings} angeben, definiert
+% \pkg{fancyhdr} die entsprechenden Seitenstile in
+% \pkg{fancyhdr}-Seitenstil um --~somit hängen diese dann von
+% demselben internen Seitenstil, entweder \pstyle{@fancy} (bis einschließlich
+% \pkg{fancyhdr} Version 3.10) oder \pstyle{f@nch@fancycore} (ab
+% \pkg{fancyhdr} Version 4), ab.
%
%
%
% \section{Tipp}
% \label{sec:tipp}
%
-% Um unabhängig von der verendeten Version von \mbox{\Package{fancyhdr}} zu
+% Um unabhängig von der verendeten Version von \pkg{fancyhdr} zu
% werden, kann man:
% \begin{verbatim}
% \IfPackageAtLeastTF{fancyhdr}{2019/03/21}{%
@@ -708,13 +671,13 @@
% \DeclarePageStyleAlias{f@nch@fancycore}{@fancy}%
% }
% \end{verbatim}^^A
-% \unskip nach dem Laden von \Package{scrlayer-fancyhdr} verwendenm, bevor man
+% \unskip nach dem Laden von \pkg*{scrlayer-fancyhdr} verwendenm, bevor man
% irgendwelche Ebenen zu dem internen Seitenstil hinzufügt oder davon
% entfernt. Diese Codezeilen definieren bei Verwendung von
-% \mbox{\Package{fancyhdr}} aber Version 4.0 Seitenstil \Pagestyle{@fancy} als
-% Alias für Seitenstil \Pagestyle{f@nch@fancycore} und umgekehrt für
-% \mbox{\Package{fancyhdr}} bis einschließlich Version 3.10
-% \Pagestyle{f@ch@fancycore} als Alias für Seitenstil \Package{@fancy}. Damit
+% \pkg{fancyhdr} aber Version 4.0 Seitenstil \pstyle{@fancy} als
+% Alias für Seitenstil \pstyle{f@nch@fancycore} und umgekehrt für
+% \pkg{fancyhdr} bis einschließlich Version 3.10
+% \pstyle{f@ch@fancycore} als Alias für Seitenstil \pstyle{@fancy}. Damit
% führt dann sowohl:
% \begin{verbatim}
% \AddLayersToPageStyle{@fancy}{...}
@@ -737,33 +700,33 @@
% nichts darüber aus, ob es sich dabei um Fehler oder Eigenschaften handelt:
% \begin{itemize}
% \item
-% \DescribeMacro\ps@fancy
-% \DescribeMacro\ps@f@nch@fancycore
-% \DescribeMacro\ps@fancyplain
-% \DescribeMacro\fancypagestyle
-% \DescribeMacro\ps@@fancy
+% \DescribePageStyle{fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
+% \DescribePageStyle{fancyplain}
+% \DescribeCommand\fancypagestyle
+% \DescribeiPageStyle{@fancy}
% Sie können keine Ebenen zu den Seitenstilen auf Benutzerebene
-% \Pagestyle{fancy} oder \Pagestyle{fancyplain} oder irgendwelchen anderen
-% Seitenstilen, die mit \Macro{fancypagestyle} definiert wurden,
-% hinzufügen. Dies ist nur für den internen Seitenstil \Package{@fancy} (bis
-% einschließlich \mbox{\Package{fancyhdr}} Version 3.10)
-% bzw. \Pagestyle{f@nch@fancycore} (ab \mbox{\Package{fancyhdr}} Version 4)
+% \pstyle{fancy} oder \pstyle{fancyplain} oder irgendwelchen anderen
+% Seitenstilen, die mit \cs{fancypagestyle} definiert wurden,
+% hinzufügen. Dies ist nur für den internen Seitenstil \pstyle{@fancy} (bis
+% einschließlich \pkg{fancyhdr} Version 3.10)
+% bzw. \pstyle{f@nch@fancycore} (ab \pkg{fancyhdr} Version 4)
% möglich (see auch Abschnitt~\ref{sec:tipp}).
% \item
-% \DescribeMacro\ps@@empty
-% Die Verwendung des internen \mbox{\Package{fancyhdr}}-Seitenstils
-% \Pagestyle{@empty} kann zu unerwarteten Ergebnissen führen. Es gibt jedoch
+% \DescribeiPageStyle{@empty}
+% Die Verwendung des internen \pkg{fancyhdr}-Seitenstils
+% \pstyle{@empty} kann zu unerwarteten Ergebnissen führen. Es gibt jedoch
% eine einfache Lösung für dieses Problem: Verwenden Sie nicht den internen
-% Seitenstile \Package{@empty}, sondern immer den Seitenstile
-% \Package{empty} der Benutzerebene.
+% Seitenstile \pstyle{@empty}, sondern immer den Seitenstile
+% \pstyle{empty} der Benutzerebene.
% \item
-% \DescribeMacro\ps@@fancy
-% \DescribeMacro\ps@f@nch@fancycore
+% \DescribeiPageStyle{@fancy}
+% \DescribeiPageStyle{f@nch@fancycore}
% Die vertikale Position des Seitenkopfes weicht ein wenig ab, wenn
-% \Package{scrlayer-fancyhdr} an Stelle von \mbox{\Package{fancyhdr}}
+% \pkg*{scrlayer-fancyhdr} an Stelle von \pkg{fancyhdr}
% verwendet wird. Dies kann durch leichte Modifikation der Ebenen
% \texttt{fancy.head.odd} und \texttt{fancy.head.even} mit Hilfe von
-% \Option{addvoffset} behoben werden. Weitere Tests sind hier erforderlich.
+% \opt{addvoffset} behoben werden. Weitere Tests sind hier erforderlich.
% \end{itemize}
% Siehe \url{https://github.com/komascript/scrlayer-fancyhdr/issues} für
% weitere bekannte Probleme.
@@ -775,7 +738,7 @@
% \StopEventually{}
%
% \selectlanguage{english}
-% \part{Implementation of \Package{scrlayer-fancyhdr}}
+% \part{Implementation of \pkg{scrlayer-fancyhdr}}
% \label{sec:scrlayer-fancyhdr}
%
% \sloppy^^A Good paragraph breaking is not the purpose of implementation
@@ -786,14 +749,14 @@
%
% This section if for developers only.
%
-% We need \mbox{\Package{scrlayer}} at least version 2021/02/15,
+% We need \pkg{scrlayer} at least version 2021/02/15,
% \begin{macrocode}
%<*init>
\RequirePackage{scrlayer}[2021/02/15]
%</init>
% \end{macrocode}
% Because before \cs{scrlayer@do@inherited@options} would not be defined. And
-% we need it, to inherit all options of \mbox{\Package{scrlayer}}.
+% we need it, to inherit all options of \pkg{scrlayer}.
% \begin{macrocode}
%<*options>
\scrlayer@do@inherited@options{\scrlayer@inherit@option}
@@ -809,23 +772,23 @@
% \end{macrocode}
%
% Note: The main problem of this interface is, that it tries to implement the
-% user interface of package \mbox{\Package{fancyhdr}} by Piet van Oostrum, that is
-% completely different from \mbox{\Package{scrlayer}} and not really compatible with
-% \mbox{\Package{scrlayer}}, using \mbox{\Package{scrlayer}}. This means, that
-% \Package{scrlayer-fancyhdr} never can be a drop-in replacement of
-% \mbox{\Package{fancyhdr}}. Nevertheless it can help to let \mbox{\Package{scrlayer}} and
-% \mbox{\Package{fancyhdr}} coexist. To do so
+% user interface of package \pkg{fancyhdr} by Piet van Oostrum, that is
+% completely different from \pkg{scrlayer} and not really compatible with
+% \pkg{scrlayer}, using \pkg{scrlayer}. This means, that
+% \pkg*{scrlayer-fancyhdr} never can be a drop-in replacement of
+% \pkg{fancyhdr}. Nevertheless it can help to let \pkg{scrlayer} and
+% \pkg{fancyhdr} coexist. To do so
% \begin{itemize}
-% \item the lowest level of \mbox{\Package{fancyhdr}} should not be the page style
+% \item the lowest level of \pkg{fancyhdr} should not be the page style
% but a layer
-% \item the page styles of \mbox{\Package{fancyhdr}} should be layer page styles
-% \item init code of the page styles of \mbox{\Package{fancyhdr}} should use the
+% \item the page styles of \pkg{fancyhdr} should be layer page styles
+% \item init code of the page styles of \pkg{fancyhdr} should use the
% layer page init code
% \end{itemize}
% Currently it is unsure whether it would be best to do a new implementation
-% or to load original \mbox{\Package{fancyhdr}} and to only modify some things. First
+% or to load original \pkg{fancyhdr} and to only modify some things. First
% I'll try the second method. Currently we explicitly provide the options of
-% \mbox{\Package{fancyhdr}}.
+% \pkg{fancyhdr}.
% \begin{macrocode}
%<*options>
\DeclareOption{nocheck}{\PassOptionsToPackage{nocheck}{fancyhdr}}
@@ -841,7 +804,7 @@
% \end{macrocode}
%
% We need at least one new layer for the new layer page style
-% \Pagestyle{fancy}. However, it could be useful to have not only one but
+% \pstyle{fancy}. However, it could be useful to have not only one but
% four layers (even side head, odd side head, even side foot, odd side foot).
% \begin{macrocode}
%<*body>
@@ -870,32 +833,32 @@
\f@nch@foot\f@nch@Oelf\f@nch@elf\f@nch@ecf\f@nch@erf\f@nch@Oerf}}
]{fancy.foot.even}
% \end{macrocode}
-% \begin{macro}{\ps@f@nch@fancycore}
-% \changes{0.1.3558}{2021/02/15}{support for \mbox{\Package{fancyhdr}} 4}
-% \begin{macro}{\ps@@fancy}
+% \begin{ipgstyle}{f@nch@fancycore}
+% \changes{0.1.3558}{2021/02/15}{support for \pkg{fancyhdr} 4}
+% \begin{ipgstyle}{@fancy}
% \begin{macro}{\@mkboth}
% And have to create a layer page style from this new layers, but we do not
-% redefine page style \Pagestyle{fancy} but the low level page style
-% \Pagestyle{@fancy} (up to \mbox{\Package{fancyhdr}} version 3.10)
-% resp. \Pagestyle{f@nch@fancycore} (from \mbox{\Package{fancyhdr}} version 4.0).
+% redefine page style \pstyle{fancy} but the low level page style
+% \pstyle{@fancy} (up to \pkg{fancyhdr} version 3.10)
+% resp. \pstyle{f@nch@fancycore} (from \pkg{fancyhdr} version 4.0).
%
-% \mbox{\Package{fancyhdr}} does some initialization at the very first call
-% of \cs{pagestyle{fancy}}. To do so \mbox{\Package{fancyhdr}} first uses a different
+% \pkg{fancyhdr} does some initialization at the very first call
+% of \cs{pagestyle{fancy}}. To do so \pkg{fancyhdr} first uses a different
% page style definition, that does the initialization and redefines the page
-% style afterwards. This is still active with \Package{scrlayer-fancyhdr}.
-% Additionally, \mbox{\Package{fancyhdr}} redefines \cs{@mkboth} at every selection
-% of the internal page style \Pagestyle{@fancy}
-% resp. \Pagestyle{f@nch@fancycore}. This can be adapted using the
-% \Option{onselect} feature of the new layer page style \Pagestyle{@fancy}
-% resp. \Pagestyle{f@nch@fancycore}. In my opinion, the
-% |\let\@mkboth\markboth| used by page style \Pagestyle{headings} of, e.\,g.,
+% style afterwards. This is still active with \pkg*{scrlayer-fancyhdr}.
+% Additionally, \pkg{fancyhdr} redefines \cs{@mkboth} at every selection
+% of the internal page style \pstyle{@fancy}
+% resp. \pstyle{f@nch@fancycore}. This can be adapted using the
+% \opt{onselect} feature of the new layer page style \pstyle{@fancy}
+% resp. \pstyle{f@nch@fancycore}. In my opinion, the
+% |\let\@mkboth\markboth| used by page style \pstyle{headings} of, e.\,g.,
% the standard classes or the \KOMAScript{} classes would be best
-% here. However, \mbox{\Package{fancyhdr}} uses the uncommon
+% here. However, \pkg{fancyhdr} uses the uncommon
% |\def\@mkboth{\protect\markboth}|, which would fail if a class or package
% tests \cs{@mkboth} using |\ifx\@mkboth\markboth|. However, \KOMAScript's
-% \cs{IfActiveMkBoth} (see the \Package{scrbase} chapter in the \KOMAScript{}
-% manual) does also recognize the \mbox{\Package{fancyhdr}} definition and copying
-% this is more compatible with \mbox{\Package{fancyhdr}}.
+% \cs{IfActiveMkBoth} (see the \pkg{scrbase} chapter in the \KOMAScript{}
+% manual) does also recognize the \pkg{fancyhdr} definition and copying
+% this is more compatible with \pkg{fancyhdr}.
% \begin{macrocode}
\@ifpackagelater{fancyhdr}{2019/03/21}{%
\DeclarePageStyleByLayers[
@@ -912,24 +875,24 @@
}
%</body>
% \end{macrocode}
-% Note: Redefining page style \Pagestyle{@fancy}
-% resp. \Pagestyle{f@nch@fancycore} instead of \Pagestyle{fancy}
-% does also mean, that features like options \Option{automark} and
-% \Option{manualmark} resp. \cs{automark} and \cs{manualmark} are not fully
-% supported by \Package{scrlayer-fancyhdr}. Also currently the font features
+% Note: Redefining page style \pstyle{@fancy}
+% resp. \pstyle{f@nch@fancycore} instead of \pstyle{fancy}
+% does also mean, that features like options \opt{automark} and
+% \opt{manualmark} resp. \cs{automark} and \cs{manualmark} are not fully
+% supported by \pkg*{scrlayer-fancyhdr}. Also currently the font features
% of the \KOMAScript{} classes are not supported by
-% \Package{scrlayer-fancyhdr}. However you are now able to combine other
-% features of \mbox{\Package{scrlayer}} with features of
-% \mbox{\Package{fancyhdr}} and you can, e.g., use
-% \Package{scrlayer-notecolumn} with \Package{scrlayer-fancyhdr}.
+% \pkg*{scrlayer-fancyhdr}. However you are now able to combine other
+% features of \pkg{scrlayer} with features of
+% \pkg{fancyhdr} and you can, e.g., use
+% \pkg{scrlayer-notecolumn} with \pkg*{scrlayer-fancyhdr}.
% \end{macro}%^^A \@mkboth
-% \end{macro}%^^A \ps@@fancy
-% \end{macro}%^^A \ps@f@nch@fancycore
+% \end{ipgstyle}%^^A @fancy
+% \end{ipgstyle}%^^A f@nch@fancycore
%
-% A future release of \Package{scrlayer-fancyhdr} may even provide the font
+% A future release of \pkg*{scrlayer-fancyhdr} may even provide the font
% features of the \KOMAScript{} classes and a working
-% \Option{markcase}. However, in this case I would have to redefine the
-% initial page style \Pagestyle{fancy} and the layers above.
+% \opt{markcase}. However, in this case I would have to redefine the
+% initial page style \pstyle{fancy} and the layers above.
%
% \iffalse
%</package>
diff --git a/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.pdf b/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.pdf
index 64feb86196..1ebb80f9a3 100644
--- a/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.pdf
+++ b/macros/latex/contrib/scrlayer-fancyhdr/scrlayer-fancyhdr.pdf
Binary files differ