| 1 |
% ====================================================================== |
| 2 |
% scrextend-en.tex |
| 3 |
% Copyright (c) Markus Kohm, 2002-2022 |
| 4 |
% |
| 5 |
% This file is part of the LaTeX2e KOMA-Script bundle. |
| 6 |
% |
| 7 |
% This work may be distributed and/or modified under the conditions of |
| 8 |
% the LaTeX Project Public License, version 1.3c of the license. |
| 9 |
% The latest version of this license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 12 |
% version 2005/12/01 or later and of this work. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status "author-maintained". |
| 15 |
% |
| 16 |
% The Current Maintainer and author of this work is Markus Kohm. |
| 17 |
% |
| 18 |
% This work consists of all files listed in MANIFEST.md. |
| 19 |
% ====================================================================== |
| 20 |
% |
| 21 |
% Package scrextend for Document Writers |
| 22 |
% Maintained by Markus Kohm |
| 23 |
% |
| 24 |
% ====================================================================== |
| 25 |
|
| 26 |
\KOMAProvidesFile{scrextend-en.tex} |
| 27 |
[$Date: 2023-09-18 09:02:03 +0200 (Mo, 18. Sep 2023) $ |
| 28 |
KOMA-Script package scrextend] |
| 29 |
\translator{Markus Kohm\and Karl Hagen} |
| 30 |
|
| 31 |
\chapter[{\KOMAScript{} Features for Other Classes with \Package{scrextend}}] |
| 32 |
{Using Basic Features of the \KOMAScript{} Classes in Other Classes with the |
| 33 |
\Package{scrextend} Package} |
| 34 |
\labelbase{scrextend} |
| 35 |
\BeginIndexGroup% |
| 36 |
\BeginIndex{Package}{scrextend}% |
| 37 |
|
| 38 |
There are some features that are common to all \KOMAScript{} classes. This |
| 39 |
applies not only to the \Class{scrbook}, \Class{scrreprt}, and |
| 40 |
\Class{scrartcl} classes, which are intended to replace the standard classes |
| 41 |
\Class{book}, \Class{report}, and \Class{article}, but also to a large extend |
| 42 |
the \KOMAScript{} class \Class{scrlttr2}, the successor to \Class{scrlettr}, |
| 43 |
which is intended for letters. These basic features, which can be found in the |
| 44 |
classes mentioned above, are also provided by package \Package{scrextend} from |
| 45 |
\KOMAScript{} version~3.00 onward. This\textnote{Attention!} package should |
| 46 |
not be used with \KOMAScript{} classes. It is intended for use with other |
| 47 |
classes only. If you attempt to load the package with a \KOMAScript{} class, |
| 48 |
\Package{scrextend} will detect this and reject loading it with a warning |
| 49 |
message. |
| 50 |
|
| 51 |
The fact that \hyperref[cha:scrlttr2]{\Package{scrletter}}% |
| 52 |
\IndexPackage{scrletter} can be used not only with \KOMAScript{} classes but |
| 53 |
also with the standard classes is partly due to \Package{scrextend}. If |
| 54 |
\hyperref[cha:scrlttr2]{\Package{scrletter}} detects that it is not being used |
| 55 |
with a \KOMAScript{} class, it automatically loads \Package{scrextend}. Doing |
| 56 |
so makes all required \KOMAScript{} classes available. |
| 57 |
|
| 58 |
Of course, there is no guarantee that \Package{scrextend} will work with all |
| 59 |
classes. The package has been designed primarily to extend the standard |
| 60 |
classes and those derived from them. In any case, before you use |
| 61 |
\Package{scrextend}, you should first make sure that the class you are using |
| 62 |
does not already provide the feature you need. |
| 63 |
|
| 64 |
In addition to the features described in this chapter, there are a few more |
| 65 |
that are primarily intended for authors of classes and packages. These can be |
| 66 |
found in \autoref{cha:scrbase}, starting on \autopageref{cha:scrbase}. The |
| 67 |
\hyperref[cha:scrbase]{\Package{scrbase}}% |
| 68 |
\important{\hyperref[cha:scrbase]{\Package{scrbase}}}\IndexPackage{scrbase} |
| 69 |
package documented there is used by all \KOMAScript{} classes and the |
| 70 |
\Package{scrextend} package. |
| 71 |
|
| 72 |
All \KOMAScript{} classes and the \Package{scrextend} package also load the |
| 73 |
\hyperref[cha:scrlfile]{\Package{scrlfile}}% |
| 74 |
\important{\hyperref[cha:scrlfile]{\Package{scrlfile}}}\IndexPackage{scrlfile} |
| 75 |
package described in \autoref{cha:scrlfile} starting on |
| 76 |
\autopageref{cha:scrlfile}. Therefore the features of this package are also |
| 77 |
available when using \Package{scrextend}. |
| 78 |
|
| 79 |
\iftrue % Umbruchkorrekturtext |
| 80 |
In contrast, only the \KOMAScript{} classes \Class{scrbook}, \Class{scrreprt}, |
| 81 |
and \Class{scrartcl} load the \hyperref[cha:tocbasic]{\Package{tocbasic}} |
| 82 |
package (see \autoref{cha:tocbasic} starting on \autopageref{cha:tocbasic}), |
| 83 |
which is designed for authors of classes and packages. For this reason, the |
| 84 |
features defined there are found only in those classes and not in |
| 85 |
\Package{scrextend}. Of course you can still use |
| 86 |
\hyperref[cha:tocbasic]{\Package{tocbasic}} together with |
| 87 |
\Package{scrextend}.% |
| 88 |
\fi |
| 89 |
|
| 90 |
\LoadCommonFile{options}% \section{Early or late Selection of Options} |
| 91 |
|
| 92 |
\LoadCommonFile{compatibility}% \section{Compatibility with Earlier Versions of \KOMAScript} |
| 93 |
|
| 94 |
|
| 95 |
\section{Optional, Extended Features} |
| 96 |
\seclabel{optionalFeatures} |
| 97 |
|
| 98 |
The \Package{scrextend} package provides some optional, extended features. |
| 99 |
These features are not available by default but can be activated. These |
| 100 |
features are optional because, for example, they may conflict with features of |
| 101 |
the standard classes of other commonly used packages. |
| 102 |
|
| 103 |
\begin{Declaration} |
| 104 |
\OptionVName{extendedfeature}{feature} |
| 105 |
\end{Declaration} |
| 106 |
With this option, you can activate an extended \PName{feature} of |
| 107 |
\Package{scrextend}. This option is available only while loading |
| 108 |
\Package{scrextend}. You must therefore specify this option in the optional |
| 109 |
argument of \DescRef{\LabelBase.cmd.usepackage}\PParameter{scrextend}. % |
| 110 |
\iffree{% |
| 111 |
An overview of all available features is shown in |
| 112 |
\autoref{tab:scrextend.optionalFeatures}. |
| 113 |
|
| 114 |
\begin{table} |
| 115 |
\caption[{Available extended features of |
| 116 |
\Package{scrextend}}]{Overview of the optional extended |
| 117 |
features of \Package{scrextend}} |
| 118 |
\label{tab:scrextend.optionalFeatures} |
| 119 |
\begin{desctabular} |
| 120 |
\entry{\PName{title}}{% |
| 121 |
title pages have the additional features of the \KOMAScript{} classes; |
| 122 |
this applies not only to the commands for the title page but also to |
| 123 |
the \DescRef{\LabelBase.option.titlepage} option (see |
| 124 |
\autoref{sec:scrextend.titlepage}, from |
| 125 |
\autopageref{sec:scrextend.titlepage})% |
| 126 |
}% |
| 127 |
\end{desctabular} |
| 128 |
\end{table} |
| 129 |
}{% |
| 130 |
\par% |
| 131 |
Currently the only available extended \PName{feature} is |
| 132 |
\PValue{title}\IndexOption[indexmain]{extendedfeature~=\textKValue{title}}% |
| 133 |
\important{\OptionValue{extendedfeature}{title}}. |
| 134 |
This \PName{feature} gives title pages the features of the \KOMAScript{} |
| 135 |
classes, as described in \autoref{sec:scrextend.titlepage} starting on |
| 136 |
\autopageref{sec:scrextend.titlepage}.% |
| 137 |
}% |
| 138 |
% |
| 139 |
\EndIndexGroup |
| 140 |
|
| 141 |
|
| 142 |
\LoadCommonFile{draftmode}% \section{Draft Mode} |
| 143 |
|
| 144 |
\LoadCommonFile{fontsize}% |
| 145 |
|
| 146 |
\LoadCommonFile{textmarkup}% \section{Text Markup} |
| 147 |
|
| 148 |
\LoadCommonFile{titles}% \section{Document Title Pages} |
| 149 |
|
| 150 |
\LoadCommonFile{oddorevenpage}% \section{Detection of Odd and Even Pages} |
| 151 |
|
| 152 |
\section{Choosing a Predefined Page Style} |
| 153 |
\seclabel{pagestyle} |
| 154 |
|
| 155 |
One of the basic features of a document is the page |
| 156 |
style\Index[indexmain]{page>style}. In \LaTeX{}, the page style primarily |
| 157 |
determines the content of headers and footers. The \Package{scrextend} package |
| 158 |
does not define any page styles itself. Instead it uses the page styles of the |
| 159 |
\LaTeX{} kernel. |
| 160 |
|
| 161 |
|
| 162 |
\begin{Declaration} |
| 163 |
\Macro{titlepagestyle} |
| 164 |
\end{Declaration}% |
| 165 |
\Index{title>page style}% |
| 166 |
On some pages \DescRef{maincls.cmd.thispagestyle}\IndexCmd{thispagestyle} |
| 167 |
automatically selects a different page style. Currently, \Package{scrextend} |
| 168 |
only does this for title pages, and only if |
| 169 |
\OptionValueRef{\LabelBase}{extendedfeature}{title} has been used (see |
| 170 |
\autoref{sec:scrextend.optionalFeatures}, |
| 171 |
\DescPageRef{scrextend.option.extendedfeature}). In this case the page style |
| 172 |
specified in \DescRef{maincls.cmd.thispagestyle} will be used. The default for |
| 173 |
\DescRef{maincls.cmd.thispagestyle} is |
| 174 |
\PageStyle{plain}\IndexPagestyle{plain}. This page style is defined by the |
| 175 |
\LaTeX{} kernel, so it should always be available.% |
| 176 |
\EndIndexGroup |
| 177 |
|
| 178 |
\LoadCommonFile{interleafpage}% \section{Interleaf Pages} |
| 179 |
|
| 180 |
\LoadCommonFile{footnotes}% \section{Footnotes} |
| 181 |
|
| 182 |
\LoadCommonFile{dictum}% \section{Dicta} |
| 183 |
|
| 184 |
\LoadCommonFile{lists}% \section{Lists} |
| 185 |
|
| 186 |
\LoadCommonFile{marginpar}% \section{Margin Notes} |
| 187 |
% |
| 188 |
\EndIndexGroup |
| 189 |
|
| 190 |
\endinput |
| 191 |
|
| 192 |
%%% Local Variables: |
| 193 |
%%% mode: latex |
| 194 |
%%% TeX-master: "scrguide-en.tex" |
| 195 |
%%% coding: utf-8 |
| 196 |
%%% ispell-local-dictionary: "en_GB" |
| 197 |
%%% eval: (flyspell-mode 1) |
| 198 |
%%% End: |