summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source-doc/english/typearea.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source-doc/english/typearea.tex')
-rw-r--r--macros/latex/contrib/koma-script/source-doc/english/typearea.tex35
1 files changed, 22 insertions, 13 deletions
diff --git a/macros/latex/contrib/koma-script/source-doc/english/typearea.tex b/macros/latex/contrib/koma-script/source-doc/english/typearea.tex
index 5547cc81d7..616ae28d39 100644
--- a/macros/latex/contrib/koma-script/source-doc/english/typearea.tex
+++ b/macros/latex/contrib/koma-script/source-doc/english/typearea.tex
@@ -1,6 +1,6 @@
% ======================================================================
% typearea.tex
-% Copyright (c) Markus Kohm, 2001-2020
+% Copyright (c) Markus Kohm, 2001-2021
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -18,7 +18,7 @@
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% typearea.tex
-% Copyright (c) Markus Kohm, 2001-2020
+% Copyright (c) Markus Kohm, 2001-2021
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
@@ -46,12 +46,12 @@
% ======================================================================
\KOMAProvidesFile{typearea.tex}%
- [$Date: 2020-05-09 16:41:52 +0200 (Sat, 09 May 2020) $
+ [$Date: 2021-11-09 09:33:36 +0100 (Tue, 09 Nov 2021) $
KOMA-Script guide (chapter: typearea)]
\translator{Markus Kohm\and Gernot Hassenpflug\and Krickette Murabayashi\and
Karl Hagen}
-% Date of the translated German file: 2019-10-18
+% Date of the translated German file: 2021-11-09
\chapter{Calculating the Page Layout with \Package{typearea}}
\labelbase{typearea}
@@ -681,19 +681,20 @@ with a font package.
The difficulty with doing so is that the {\KOMAScript} class already loads
the \Package{typearea} package itself. Thus, it is not possible to pass
options as optional arguments to \DescRef{\LabelBase.cmd.usepackage}. It
- would also be pointless to specify the \OptionValueRef{\LabelBase}{DIV}{calc}
- option as an optional argument to \DescRef{\LabelBase.cmd.documentclass}.
- This option would be evaluated immediately on loading the \Package{typearea}
- package and as a result the type area and margins would be calculated for the
- standard {\LaTeX} font and not for the font loaded later.
+ would also be pointless to specify the
+ \OptionValueRef{\LabelBase}{DIV}{calc} option as an optional argument to
+ \DescRef{\LabelBase.cmd.documentclass}. This option would be evaluated
+ immediately on loading the \Package{typearea} package and as a result the
+ type area and margins would be calculated for the standard {\LaTeX} font and
+ not for the font loaded later.
However, it is possible to recalculate the type area and margins after
loading the font with the aid of \DescRef{\LabelBase.cmd.KOMAoptions}%
\PParameter{\OptionValueRef{\LabelBase}{DIV}{calc}} or
\DescRef{\LabelBase.cmd.KOMAoption}%
\PParameter{\DescRef{\LabelBase.option.DIV}}\PParameter{calc}. The option
- \OptionValue{DIV}{calc} will then request a \Option{DIV} value for an appropriate line
- length.
+ \OptionValue{DIV}{calc} will then request a \Option{DIV} value for an
+ appropriate line length.
As it is often more convenient to set the \Option{DIV} option not after
loading the font but at a more noticeable point, such as when loading the
@@ -713,6 +714,13 @@ The option \OptionVName{DIV}{last}\ChangedAt{v3.00}{\Package{typearea}} will
recalculate the type area and margins using exactly the same settings as the
last calculation.
+By the way, if the last typeset area calculation before using
+\OptionValue{DIV}{last} or \OptionValue{DIV}{current} was done using
+\DescRef{\LabelBase.cmd.areaset}\IndexCmd{areaset}, the recalculation will be
+done using \DescRef{\LabelBase.cmd.areaset} again. It then corresponds to
+\DescRef{\LabelBase.cmd.areaset}\POParameter{current}\IndexLength{textwidth}%
+\PParameter{\Length{textwidth}}{\Length{textheight}}\IndexLength{textheight}.
+
\begin{Example}
Let's suppose again that we need to calculate an appropriate line length for
a type area using the Bookman font. At the same time, a {\KOMAScript} class
@@ -723,8 +731,9 @@ last calculation.
\usepackage{bookman}
\KOMAoptions{DIV=last}
\end{lstcode}
-If you decide later that you need a different \Option{DIV} value, just change the
-setting of the optional argument to \DescRef{\LabelBase.cmd.documentclass}.
+ If you decide later that you need a different \Option{DIV} value, just
+ change the setting of the optional argument to
+ \DescRef{\LabelBase.cmd.documentclass}.
\end{Example}
For a summary of all possible symbolic values for the \Option{DIV} option, see