summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex312
1 files changed, 155 insertions, 157 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex
index ba5a99e60b3..cef1c018a29 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex
+++ b/Master/texmf-dist/source/latex/koma-script/doc/english/scrlayer-scrpage-experts.tex
@@ -1,6 +1,6 @@
% ======================================================================
% scrlayer-scrpage-experts.tex
-% Copyright (c) Markus Kohm, 2013
+% Copyright (c) Markus Kohm, 2013-2014
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -18,7 +18,7 @@
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% scrlayer-scrpage-experts.tex
-% Copyright (c) Markus Kohm, 2013
+% Copyright (c) Markus Kohm, 2013-2014
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
@@ -44,11 +44,11 @@
% ============================================================================
\KOMAProvidesFile{scrlayer-scrpage-experts.tex}%
- [$Date: 2013-12-13 12:11:01 +0100 (Fr, 13. Dez 2013) $
+ [$Date: 2014-01-24 14:08:15 +0100 (Fri, 24 Jan 2014) $
KOMA-Script guide (chapter: scrlayer-scrpage-experts)]
\translator{Markus Kohm}
-% Date version of the translated file: 2013-10-28
+% Date version of the translated file: 2014-01-22
\chapter[{Additional Features of \Package{scrlayer-scrpage}}]
{Additional Features\ChangedAt{v3.12}{\Package{scrlayer-scrpage}} with
@@ -57,32 +57,31 @@
%
\BeginIndex{Package}{scrlayer-scrpage}%
Package \Package{scrlayer-scrpage} provides features that have not been
-described in \autoref{cha:scrlayer-scrpage} of \autoref{part:forAuthors} of this
-\iffree{user guide}{book}. But the most average user will not need those
-extensions and some of them are only implemented for compatibility with
-\Package{scrpage2}. So most users do not need to know them. Therefore all those
-things are described here in \autoref{part:forExperts} only.
+described in \autoref{cha:scrlayer-scrpage} of this \iffree{user
+ guide}{book}'s \autoref{part:forAuthors}. In general, the average user will
+not need those extensions and some of them are only provided for
+compatibility with \Package{scrpage2}.
\section{Definition of new Pairs of Page Styles}
\label{sec:scrlayer-scrpage.pagestyle.pairs}
In \autoref{sec:scrlayer-scrpage.predefined.pagestyles} the page styles
\Pagestyle{scrheadings} and \Pagestyle{plain.scrheadings} have been
-described. Those build quasi a pair of page styles, with
-\Pagestyle{scrheadings} as the main page style with running head and
-\Pagestyle{plain.scrheadings} as the corresponding \Pagestyle{plain} page
-style without running head but generally with pagination. Beside the
+described. These can be seen as a pair of page styles, with
+\Pagestyle{scrheadings} being the main page style with a running head and
+\Pagestyle{plain.scrheadings} being the corresponding \Pagestyle{plain} page
+style without running head but generally with pagination. Additionally to the
configuration of these page styles, \Package{scrlayer-scrpage} provides also
the feature of defining new such pairs of page styles. Thereby the name of the
-main page style, e.\,g., \Pagestyle{scrheadings}, is quasi the name of the
+main page style, e.\,g., \Pagestyle{scrheadings}, can be seen as the name of the
pair of page styles.
Most users will not need more than the predefined pair
\Pagestyle{scrheadings}. So the commands of this section may be understood as
-an addition for special cases. And because each such case is very special,
+an addition for special cases. And as each such case is very special,
this section also lacks of handsome examples. Nevertheless, if the support
-will show me a real nice example in future, I perhaps could use it in
-future. Nevertheless, I'm almost sure that all such cases could also be
+will show me a real nice example in the future, I perhaps could use it in
+the future. However, I'm almost sure that all such cases could also be
solved using the predefined pair only.
\begin{Declaration}
@@ -113,38 +112,38 @@ pair of page styles with that name are the initial settings of the new pair of
page styles. So the new pair inherits the configuration of the \PName{parent
pair}.
-While reading \autoref{sec:scrlayer-scrpage.predefined.pagestyles} you might
-have the impression that the commands of this section were related to
-\Pagestyle{scrheadings} and \Pagestyle{plain.scrheadings} only. Nevertheless,
-this is only as long true, as this is the only existing pair of page
-styles. As soon as there exist more pairs of page styles, they are related to
-the pair that has been activated last. In fact, this is the case for \Macro{lehead}, \Macro{cehead}, \Macro{rehead}, \Macro{lohead},
-\Macro{cohead}, \Macro{rohead}, \Macro{lefoot}, \Macro{cefoot},
-\Macro{refoot}, \Macro{lofoot}, \Macro{cofoot}, \Macro{rofoot}, \Macro{ihead},
-\Macro{chead}, \Macro{ohead}, \Macro{ifoot}, \Macro{cfoot}, and \Macro{ofoot}
-from \autoref{sec:scrlayer-scrpage.predefined.pagestyles}.
-
-All those commands and the below described commands \Macro{clearmainofpairofpagestyles}, \Macro{clearplainofpairofpagestyles}, and
-\Macro{clearpairofpagestyles} are also mentioned to be used inside the
-argument \PName{definition}. In that case, they are a kind of default
-configuration of the pair of page styles that will be executed each time the
-pair will be activated. A pair of page styles will be activated, if one of the
-page styles of the pair will be activated. This will be done mostly using
+Reading \autoref{sec:scrlayer-scrpage.predefined.pagestyles} might have
+created the impression that the described commands are related to
+\Pagestyle{scrheadings} and \Pagestyle{plain.scrheadings} only. However, if
+there exist more pairs of page styles, these commands are related to the pair
+that has been activated last. In fact, this is the case for \Macro{lehead},
+\Macro{cehead}, \Macro{rehead}, \Macro{lohead}, \Macro{cohead},
+\Macro{rohead}, \Macro{lefoot}, \Macro{cefoot}, \Macro{refoot},
+\Macro{lofoot}, \Macro{cofoot}, \Macro{rofoot}, \Macro{ihead}, \Macro{chead},
+\Macro{ohead}, \Macro{ifoot}, \Macro{cfoot}, and \Macro{ofoot} of
+\autoref{sec:scrlayer-scrpage.predefined.pagestyles}.
+
+All those commands and the below described commands
+\Macro{clearmainofpairofpagestyles}, \Macro{clearplainofpairofpagestyles}, and
+\Macro{clearpairofpagestyles} are also designed to be used inside the argument
+\PName{definition}. In that case, they are a kind of default configuration of
+the pair of page styles that is executed each time the pair will be
+activated. A pair of page styles is activated, if one of the page styles of
+the pair will be activated, which is mostly done by using
\Macro{pagestyle}\IndexCmd{pagestyle}.
Please note that the commands of
-\autoref{sec:scrlayer-scrpage.pagestyle.content} are for general purpose,
-anyway. So they are related to every page style that has been defined using
-\Package{scrlayer-scrpage}.
-
-Whereas \Macro{defpairofpagestyles} will define a pair independent whether or
-not the corresponding page styles are already defined, will
-\Macro{newpairofpagestyles} and \Macro{providepairofpagestyles} define the pair
-only, if the page styles are currently undefined. If at least one of the page
-styles is already defined, the new definition of
-\Macro{providepairofpagestyles} will be ignored, but usage of
-\Macro{newpairofpagestyles} would result in an error message. To redefine
-already existing pairs of page styles you may use
+\autoref{sec:scrlayer-scrpage.pagestyle.content} are for general
+purpose. Therefore, they are related to every page style that has been defined
+using \Package{scrlayer-scrpage}.
+
+Whereas \Macro{defpairofpagestyles} will define a pair no matter if the
+corresponding page styles are already defined, \Macro{newpairofpagestyles} and
+\Macro{providepairofpagestyles} will define the pair only, if the page styles
+are currently undefined. If at least one of the page styles is already
+defined, the new definition of \Macro{providepairofpagestyles} will be
+ignored, but usage of \Macro{newpairofpagestyles} would result in an error
+message. To redefine already existing pairs of page styles you may use
\Macro{renewpairofpagestyles}. With this an error would be thrown, if at least
one of the page styles of the pair does not already exist.%
\EndIndex{Cmd}{providepairofpagestyles}%
@@ -180,9 +179,9 @@ they are related to the lastly activated pair of page styles.
\BeginIndex{Cmd}{clearscrplain}%
\BeginIndex{Cmd}{clearscrheadfoot}%
The commands \Macro{clearscrheadings}, \Macro{clearscrplain}, and
-\Macro{clearscrheadfoot} are aliases for these commands that have been
-implemented for compatibility with \Package{scrpage2} only. Nevertheless, they
-are deprecated and should not be used any longer.%
+\Macro{clearscrheadfoot} are aliases for these commands provided only for
+compatibility with \Package{scrpage2}. Nevertheless, they are deprecated and
+should not be used.%
\EndIndex{Cmd}{clearscrheadfoot}%
\EndIndex{Cmd}{clearscrplain}%
\EndIndex{Cmd}{clearscrheadings}%
@@ -195,14 +194,13 @@ are deprecated and should not be used any longer.%
\section{Definition of Simple Page Styles with Three Parts in Head and Foot }
\label{sec:scrlayer-scrpage.pagestyle.triple}
-Beside predefined page styles and beside the definition of new pairs of page
-styles, package \Package{scrlayer-scrpage} also provides the Definition of
-page styles with three parts in head and foot. But this user interface exists
-for compatibility with \Package{scrpage2} only. Nevertheless, it has been
-extended to have a more consistent set of commands in difference to
-\Package{scrpage2}. However, for new documents it is recommended to use the
-advanced features that have been described in the previous section, instead
-of the commands of this section.
+Beside predefined page styles and the definition of new pairs of page styles,
+package \Package{scrlayer-scrpage} also provides the definition of page styles
+with three parts in head and foot. But this user interface exists for
+compatibility with \Package{scrpage2} only. However, it has been extended
+beyond the functionality of \Package{scrpage2} to provide a more consistent
+set of commands. Nevertheless, for new documents it is recommended to instead
+use the advanced features described in the previous section.
\begin{Declaration}
\Macro{deftriplepagestyle}%
@@ -262,10 +260,10 @@ of the commands of this section.
\BeginIndex{Cmd}{newtriplepagestyle}%
\BeginIndex{Cmd}{renewtriplepagestyle}%
\BeginIndex{Cmd}{providetriplepagestyle}%
-With these commands you can define a single page style, whose head and foot are
-parted into three elements: an inner element, a centre element, and an outer
-element. The contents of the elements are given three mandatory arguments for
-the head and three mandatory arguments for the foot.
+With these commands you can define a single page style, whose head and foot
+are parted into three elements: an inner element, a centre element, and an
+outer element. The contents of the elements are stated via three mandatory
+arguments for the head and three mandatory arguments for the foot.
Each of the two inner elements will be printed right aligned on left pages and
left aligned on right pages. The centre elements will be printed centred in
@@ -273,7 +271,7 @@ the head respectively foot of left and right pages. Each of the two outer
elements will be printed left aligned on left pages and right aligned on right
pages.
-Please remember once again:\textnote{Attention!} There are only right pages in
+Please note once again:\textnote{Attention!} There are only right pages in
single side layout!
The two optional arguments can be used to activate horizontal lines in the
@@ -288,20 +286,22 @@ argument, this is the \PName{thickness of the inner line}. In this case no
outer line will be printed. And if you omit both optional arguments, both
lines will be omitted.
-Please note\textnote{Attention!} that an empty optional argument is not the
-same like omitting the optional argument! Empty optional arguments are not
-allowed in this case. But you may use simple dimension expressions for the
-optional arguments, like they have been explained for \KOMAScript{} option
-\Option{headwidth} (see \autoref{sec:scrlayer-scrpage.pagestyle.content},
-\autopageref{desc:scrlayer-scrpage.option.headwidth}).
-
-The meaning of the arguments is also shown in
-\autoref{fig:scrlayer-scrpage.triplepagestyle} for an schematic double
-page. Thereby ``\texttt{outer}'', ``\texttt{inner}'', and ``\texttt{centre}''
-are example contents. The corresponding arrows illustrate the expansion of
-those contents. The \iffree{coloured }{}texts inside the pages are only the
-names of the arguments of these commands. The related arrows \iffree{in
- the same colour }{} point to the corresponding elements of the page.
+Please note\textnote{Attention!}, an empty optional argument is not the same
+like omitting the optional argument! Empty optional arguments are not allowed
+in this case. But you may use simple dimension expressions as explained for
+\KOMAScript{} option \Option{headwidth} (see
+\autoref{sec:scrlayer-scrpage.pagestyle.content},
+\autopageref{desc:scrlayer-scrpage.option.headwidth}) for the optional
+arguments.
+
+\hyperref[fig:scrlayer-scrpage.triplepagestyle]%
+{Figure~\ref*{fig:scrlayer-scrpage.triplepagestyle}} shows a sketch for the
+interpretation of the arguments on a schematic double page. Thereby
+``\texttt{outer}'', ``\texttt{inner}'', and ``\texttt{centre}'' are example
+contents. The corresponding arrows illustrate the expansion of those
+contents. The \iffree{coloured }{}texts inside the pages are only the names of
+the arguments of these commands. The related arrows \iffree{in the same colour
+}{} point to the corresponding elements of the page.
\begin{figure}
\centering
@@ -449,15 +449,14 @@ names of the arguments of these commands. The related arrows \iffree{in
\label{fig:scrlayer-scrpage.triplepagestyle}
\end{figure}
-With the commands that are described here, it is not possible to activate only
-a single line, e.\,g., only below the page head but not above the page
-footer. If you need so, you should either use the commands of the previous or
-the following section.
+Using the described commands it is not possible to draw only a single line,
+e.\,g., only below the page head but not above the page footer. If you need
+to do so, please consult the previous or following section.
The length of a single element\textnote{Attention!} is not limited by the
-existence of a neighbour element. So in inappropriate circumstances it can
+existence of a neighbour element. So in unfortunate circumstances it can
happen that one elements overwrites a neighbour element or even both of
-them. The user himself is responsible to avoid such inappropriate cases. With
+them. The user himself is responsible to avoid such inappropriate usage. With
automatic running heads this could, e.\,g., be done using the optional
argument of the section commands. See the manual of the document class for
more information about those commands.
@@ -467,15 +466,15 @@ whether or not a page style with the same \PName{name of the page style}
already exists. In difference to this \Macro{newtriplepagestyle} and
\Macro{providetriplepagestyle} define the page style only, if the \PName{name
of the page style} is not the name of an already defined page
-style. Otherwise \Macro{providepagestyle} will simply do nothing, but
-\Macro{newtriplepagestyle} would throw an error. Command
+style. Otherwise \Macro{providepagestyle} simply does nothing, but
+\Macro{newtriplepagestyle} throws an error. Command
\Macro{renewtriplepagestyle} is something like the opposite of
-\Macro{newtriplepagestyle}. It would throw an error, if there has not been
+\Macro{newtriplepagestyle}. It throws an error, if there has not been
a page style with the \PName{name of the page style} before, and defines the
page style only, if there has been already a page style with the given name.
\BeginIndex{Cmd}{deftripstyle}%
-The command \Macro{deftriplestyle} of \Package{scrpage2} conforms to
+The command \Macro{deftriplestyle} of \Package{scrpage2} corresponds to
\Macro{deftriplepagestyle}. Because of unification reasons it has been renamed
and should not be used with it's old name any longer. Using the old name would
result in a warning message. Nevertheless, the result would be the expected
@@ -490,25 +489,25 @@ one.%
\section{Definition of Complex Page Styles}
\label{sec:scrlayer-scrpage.pagestyle.experts}
-Beside predefined page styles and the definition of new pairs of page styles,
-and beside the definition of page styles with tripartite head and foot that
-are not recommended any longer, package \Package{scrlayer-scrpage} provides
-also a more basic features to define new page styles. All already described
-page style definitions of \Package{scrlayer-scrpage} use internally these basic
-features. Because of the complexity of this user interface it is recommended
-for advanced users only. Less advanced users should be able to reach almost all
-using one of the previously described features. So less advanced users do not
-need to read this section.
-
+Beside predefined page styles, the definition of new pairs of page styles and
+the deprecated definition of page styles with tripartite head and foot, the
+package \Package{scrlayer-scrpage} additionally provides basic features to
+define new page styles. All already described page style definitions of
+\Package{scrlayer-scrpage} use internally these basic features. Because of the
+complexity of this user interface it is recommended for advanced users only.
+As all most all imaginable use cases of page styles can handled using the
+features described previous section, less advanced users may skip this
+section.
+
\begin{Declaration}
\Macro{defpagestyle}%
- \Parameter{name}\Parameter{head definition}\Parameter{foot definition}\\
+ \Parameter{name}\Parameter{head specification}\Parameter{foot specification}\\
\Macro{newpagestyle}%
- \Parameter{name}\Parameter{head definition}\Parameter{foot definition}\\
+ \Parameter{name}\Parameter{head specification}\Parameter{foot specification}\\
\Macro{providepagestyle}%
- \Parameter{name}\Parameter{head definition}\Parameter{foot definition}\\
+ \Parameter{name}\Parameter{head specification}\Parameter{foot specification}\\
\Macro{renewpagestyle}%
- \Parameter{name}\Parameter{head definition}\Parameter{foot definition}%
+ \Parameter{name}\Parameter{head specification}\Parameter{foot specification}%
\end{Declaration}
\BeginIndex{Cmd}{defpagestyle}%
\BeginIndex{Cmd}{newpagestyle}%
@@ -518,63 +517,62 @@ These commands can be used to define a single page style with maximum
flexibility. Thereby \PName{name} is the name of the page style that should
be defined.
-The arguments \PName{head definition} and \PName{foot definition} have
+The arguments \PName{head specification} and \PName{foot specification} have
identical structure:
\begin{quote}\raggedright
\texttt{%
(\PName{length of the line above},\PName{thickness of the line above})\%\\
- \Parameter{definition for the left page in two-side layout}\%\\
- \Parameter{definition for the right page in two-side layout}\%\\
- \Parameter{definition for all pages in one-side laypout}\%\\
+ \Parameter{specification for the left page in two-side layout}\%\\
+ \Parameter{specification for the right page in two-side layout}\%\\
+ \Parameter{specification for all pages in one-side laypout}\%\\
(\PName{length of the line below},\PName{thickness of the line below})%
}
\end{quote}
-Thereby the arguments in the round brackets are options, this means, you may
+The arguments in the round brackets are options. This means, you may
omit them together with the brackets. In that case, the length and thickness
of the corresponding horizontal line would be given by the \KOMAScript{}
options \Option{headtopline}, \Option{headsepline}, \Option{footsepline} or
\Option{footbotline} (see \autoref{sec:scrlayer-scrpage.pagestyle.content},
\autopageref{desc:scrlayer-scrpage.option.headtopline}).
-All three definition arguments are mandatory and will be used depending on the
-page and the layout settings. The contents of the definitions are
-arbitrary. But for page styles with running heads usage of \Macro{headmark},
-\Macro{leftmark}, or \Macro{rightmark} is recommended inside the
-definition. In no case section numbers or section headings should be used in
-the definition. Ignoring this could result in wrong numbers or texts in the
-page head or footer, because of the asynchronous page building of \LaTeX{}.
-
-Command \Macro{defpagestyle} will define the page style independent from
-whether or not a page style with the same \PName{name} already exists. Command
-\Macro{newpagestyle} would throw an error, if such a page style already
-exists. In difference to this, \Macro{providepagestyle} will simple do nothing
-in such a case. In opposite to \Macro{newpagestyle} command
-\Macro{renewpagestyle} would throw the error, if a page style with the
-\PName{name} does not already exist, and therefore may be used to redefine an
-existing page style.
-
-All these commands base on command \Macro{DeclareLayerPageStyle} of package
-\Package{scrlayer} internally. Thereby for a page style \PName{Name} the
-layer \PName{Name}\PValue{.head.above.line} will be defined for the horizontal
-line above the page head, the layer \PName{Name}\PValue{.head.odd} will be
-defined for the page head of odd pages in two-side layout,
-\PName{Name}\PValue{.head.even} will be defined for the page head of even pages
-in two-side layout, \PName{Name}\PValue{.head.oneside} will be defined for the
-page head of all pages in one-side layout, \PName{Name}\PValue{.head.below}
-will be defined for the horizontal line below the page head,
-\PName{Name}\PValue{.foot.above.line} will be defined for the horizontal line
-above the page foot, \PName{Name}\PValue{.foot.odd} will be defined for the
-page foot of odd pages in two-side layout, \PName{Name}\PValue{.foot.even} for
-the page foot of even pages in two-side layout,
-\PName{Name}\PValue{.foot.oneside} for the page foot of all pages in one-side
-layout, and last but not least \PName{Name}\PValue{.foot.below} for the
-horizontal line below the page foot. More information about layers and layer
-page styles can be found from \autopageref{cha:scrlayer} in
-\autoref{cha:scrlayer} also in \autoref{part:forExperts}.%
+All three arguments in the curly brackets are mandatory. They hold arbitrary
+content specifications depending on the page and the layout settings. But for
+page styles with running heads usage of \Macro{headmark}, \Macro{leftmark}, or
+\Macro{rightmark} is recommended inside the specification. Section numbers or
+section headings must not be used in the specifications. Due to the
+asynchronous page building of \LaTeX, using them could result in wrong numbers
+or texts in the page header or footer.
+
+Command \Macro{defpagestyle} defines the page style no matter if a page style
+with the same \PName{name} already exists. Command \Macro{newpagestyle} would
+throw an error, if such a page style already exists. In contrast to this,
+\Macro{providepagestyle} simple does nothing in such a case. In contrast to
+\Macro{newpagestyle} command \Macro{renewpagestyle} throws an error, if a page
+style with the \PName{name} does not already exist, and therefore may be used
+to redefine an existing page style.
+
+All these commands are based on the command \Macro{DeclareLayerPageStyle} of
+package \Package{scrlayer}. Thereby for a page style \PName{Name}
+the layer \PName{Name}\PValue{.head.above.line} will be defined for the
+horizontal line above the page head, the layer \PName{Name}\PValue{.head.odd}
+will be defined for the page head of odd pages in two-side layout,
+\PName{Name}\PValue{.head.even} will be defined for the page head of even
+pages in two-side layout, \PName{Name}\PValue{.head.oneside} will be defined
+for the page head of all pages in one-side layout,
+\PName{Name}\PValue{.head.below} will be defined for the horizontal line below
+the page head, \PName{Name}\PValue{.foot.above.line} will be defined for the
+horizontal line above the page foot, \PName{Name}\PValue{.foot.odd} will be
+defined for the page foot of odd pages in two-side layout,
+\PName{Name}\PValue{.foot.even} for the page foot of even pages in two-side
+layout, \PName{Name}\PValue{.foot.oneside} for the page foot of all pages in
+one-side layout, and last but not least \PName{Name}\PValue{.foot.below} for
+the horizontal line below the page foot. More information about layers and
+layer page styles can be found starting on \autopageref{cha:scrlayer} in
+\autoref{cha:scrlayer} of \autoref{part:forExperts}.%
%
\begin{Example}
- Assume you want to background the whole head of page style
- \Pagestyle{scrheadings} with a colour. Because you read the introduction to
+ Assume you want to colour the whole background of page style
+ \Pagestyle{scrheadings}' head. Because you read the introduction to
this chapter, you know, that \Pagestyle{scrheadings} last but not least is a
layer page style with, e.\,g., layers \PValue{scrheadings.head.even},
\PValue{scrheadings.head.odd}, and \PValue{scrheadings.head.oneside}. So you
@@ -615,18 +613,18 @@ page styles can be found from \autopageref{cha:scrlayer} in
layer using option \Option{clone}. This is much easier than using only one
background layer and dynamically calculate the position time by time.
- The coloured background have been printed using a \Macro{rule} command in
- this example. The size arguments of this \Macro{rule} are given by
+ In this example the coloured background is printed using a \Macro{rule}
+ command. The size arguments of this \Macro{rule} are given by
\Macro{layerwidth} and \Macro{layerheight} which contain the current width
- and height of the layer itself. The optional argument of \Macro{rule} has
- been used to move the rule down by the height of a descender.
+ and height of the layer itself. The optional argument of \Macro{rule} is
+ used to move the rule down by the height of a descender.
\end{Example}
%
-Instead of using new layers for the background colours like in the example
-above, \Macro{colorbox} and \Macro{chead} could have been used. It is
-recommended to build such a solution as an exercise. Another change could be
-to add the background layers one by one and just before the contents
-layers. You may do this as an exercise too.%
+Instead of using new layers to colour the background in the example above,
+\Macro{colorbox} and \Macro{chead} could have been used. It is recommended to
+build such a solution as an exercise. Another approach could be to add the
+background layers one by one and just before the contents layers. You may do
+this as an exercise too.%
\EndIndex{Cmd}{renewpagestyle}%
\EndIndex{Cmd}{providepagestyle}%
\EndIndex{Cmd}{newpagestyle}%
@@ -639,14 +637,14 @@ layers. You may do this as an exercise too.%
Package \Package{scrpage2} outputs page heads and page foots in horizontal
mode always. In opposite to this \Package{scrlayer-scrpage} does not switch
into horizontal mode itself, but the output of horizontal material will do
-so. Nevertheless, you can activate option \Option{hmode} to make
-\Package{scrlayer-scrpage} more compatible with \Package{scrpage2} in this
-aspect. But this would have implications to, i.\,e., white
+so. Nevertheless, you can activate option \Option{hmode} gain compatibility to
+\Package{scrpage2} in this
+aspect. But this would have side effects, i.\,e., white
spaces at the start of the output or the vertical alignment of the output.
-The options knows the standard values for simple switches that are given at
-\autoref{tab:truefalseswitch} on \autopageref{tab:truefalseswitch}. The option
-is deactivated by default.%
+The options allows for the standard values for simple switches that are given
+at \autoref{tab:truefalseswitch} on \autopageref{tab:truefalseswitch}. The
+option is deactivated by default.%
\EndIndex{Option}{hmode}%
%
\EndIndex{Package}{scrlayer-scrpage}%