diff options
Diffstat (limited to 'macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex')
-rw-r--r-- | macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex b/macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex index 9444ae4f43..093b3f7a74 100644 --- a/macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex +++ b/macros/latex/contrib/koma-script/source-doc/english/typearea-experts.tex @@ -1,6 +1,6 @@ % ====================================================================== % typearea-experts.tex -% Copyright (c) Markus Kohm, 2001-2019 +% 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-experts.tex -% Copyright (c) Markus Kohm, 2001-2019 +% 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,11 +46,11 @@ % ====================================================================== \KOMAProvidesFile{typearea-experts.tex} - [$Date: 2019-11-29 10:10:16 +0100 (Fri, 29 Nov 2019) $ + [$Date: 2021-11-09 09:58:01 +0100 (Tue, 09 Nov 2021) $ KOMA-Script guide (chapter: typearea)] \translator{Markus Kohm\and Gernot Hassenpflug\and Karl Hagen} -% Date of the translated German file: 2019-11-29 +% Date of the translated German file: 2021-07-11 \chapter{Additional Information about the \Package{typearea} package} \labelbase{typearea-experts} @@ -171,27 +171,48 @@ restore all current type-area settings. So you can save the current settings, change them, and then restore the previous settings afterwards. \begin{Example} - You want a landscape page inside a document with portrait format. That's - no problem using \Macro{storeareas}: + Time and again, users ask about the possibility of inserting an A3 page in + landscape format in an A4 document while retaining the margin settings. The + text area should therefore only be widened by the extra paper width. With + \Macro{storeareas}, \DescRef{\LabelBase.cmd.areaset} and the previously + explained option \DescRef{\LabelBase.option.areasetadvanced} this is very + easily possible: + \begin{lstcode} - \documentclass[pagesize]{scrartcl} + \documentclass[areasetadvanced]{scrartcl} + \areaset[current]{\textwidth}{\textheight} \begin{document} \noindent\rule{\textwidth}{\textheight} - \storeareas\MySavedValues - \KOMAoptions{paper=landscape,DIV=current} + \storeareas\MySavedTypingArea + \KOMAoption{paper}{a3,landscape} + \areaset[current] + {\dimexpr\textwidth+.5\paperwidth\relax} + {\textheight} \noindent\rule{\textwidth}{\textheight} \clearpage - \MySavedValues + \MySavedTypingArea \noindent\rule{\textwidth}{\textheight} \end{document} \end{lstcode} + The \DescRef{\LabelBase.cmd.areaset} command\IndexCmd{areaset} in the + document preamble is used together with the + \DescRef{\LabelBase.option.areasetadvanced}\IndexOption{areasetadvanced} + option to compensate for the differences between the + \DescRef{typearea.cmd.typearea} preset and the later use of + \DescRef{\LabelBase.cmd.areaset}, as already explained on + \DescPageRef{\LabelBase.option.areasetadvanced}. Without this, there could + be significant differences in margin settings, especially when using options + like \DescRef{typearea.option.headinclude} and + \DescRef{typearea.option.headheight}. + It's\textnote{Attention} important to call \DescRef{maincls.cmd.clearpage} - before \Macro{MySavedValues} so that the saved values are restored on the - next page. With two-sided documents, changes to the paper format should even - use \DescRef{maincls.cmd.cleardoubleoddpage}\IndexCmd{cleardoubleoddpage} + before \Macro{MySavedTypingArea} so that the saved values are restored on + the next page. With two-sided documents, changes to the paper format should + even use + \DescRef{maincls.cmd.cleardoubleoddpage}\IndexCmd{cleardoubleoddpage} or\,---\,if you are not using a \KOMAScript{} class\,---\,\DescRef{maincls.cmd.cleardoublepage}% \IndexCmd{cleardoublepage}.% |