summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex20
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex
index 65c8cf865d6..5488fe2cb07 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex
+++ b/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer.tex
@@ -46,12 +46,12 @@
% ============================================================================
\KOMAProvidesFile{scrlayer.tex}
- [$Date: 2018-02-28 13:23:23 +0100 (Wed, 28 Feb 2018) $
+ [$Date: 2018-12-15 15:01:34 +0100 (Sat, 15 Dec 2018) $
KOMA-Script guide (chapter:scrlayer)]
\translator{Markus Kohm\and Karl Hagen}
-% Date of the translated German file: 2018-02-01
+% Date of the translated German file: 2018-12-15
\chapter[{Defining Layers and Page Styles with \Package{scrlayer}}]
{Defining\ChangedAt{v3.12}{\Package{scrlayer}} Layers and Page Styles with
@@ -628,7 +628,7 @@ are copied to \Macro{layervalign}. The value \PValue{c}, which is both
horizontal and vertical, is copied to both commands. If there are several
conflicting values for \PValue{align}, only the last one is copied. Thus the
resulting \Macro{layerhalign} is either \PValue{l}, \PValue{c}, or \PValue{r},
-and the resulting \Macro{layervalign} is either \PValue{r}, \PValue{c}, or
+and the resulting \Macro{layervalign} is either \PValue{t}, \PValue{c}, or
\PValue{b}.
Redefining\textnote{Attention!} these instructions to change the values stored
@@ -839,6 +839,7 @@ styles, not just those defined with \Package{scrlayer}.
\begin{Declaration}
\Macro{currentpagestyle}
+ \Macro{toplevelpagestyle}
\end{Declaration}
The \Package{scrlayer} package patches the \DescRef{maincls.cmd.pagestyle}
command so that it sets \Macro{currentpagestyle} to the currently active page
@@ -857,7 +858,18 @@ Additionally, \Macro{currentpagestyle} is empty after loading
\Package{scrlayer} and before using \DescRef{maincls.cmd.pagestyle} for the
first time. Therefore, when defining an end-user interface, you may find it
useful to set the current page style to a default with an implicit
-\DescRef{maincls.cmd.pagestyle} statement.%
+\DescRef{maincls.cmd.pagestyle} statement.
+
+% Todo: New translation by Markus Kohm (please fix it!)
+For page-style aliases activated using \DescRef{maincls.cmd.pagestyle}
+\Macro{currentpagestyle} does not show the alternative name but the name of
+the real page style. You\ChangedAt{v3.16}{\Package{scrlayer}} can get the
+alternative name using \Macro{toplevelpagestyle}. However, it is not
+recommended to define page styles, that have different results depending on
+\Macro{toplevelpagestyle}, e.\,g., using \DescRef{scrbase.cmd.ifstr}. If you
+would activate such a page style using \DescRef{maincls.cmd.thispagestyle} you
+could get the wrong result.%
+% End of new translation.
\EndIndexGroup