summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex30
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex
index 2aecb52b687..d0fb50cf691 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex
+++ b/Master/texmf-dist/source/latex/koma-script/doc/english/typearea-experts.tex
@@ -46,11 +46,11 @@
% ======================================================================
\KOMAProvidesFile{typearea-experts.tex}
- [$Date: 2015-03-31 11:10:59 +0200 (Tue, 31 Mar 2015) $
+ [$Date: 2015-05-21 15:48:01 +0200 (Thu, 21 May 2015) $
KOMA-Script guide (chapter: typearea)]
\translator{Markus Kohm\and Gernot Hassenpflug}
-% Date of the translated German file: 2015-03-31
+% Date of the translated German file: 2015-05-21
\chapter{Additional Information about package \Package{typearea}}
\labelbase{typearea-experts}
@@ -95,9 +95,17 @@ after usage of \Macro{activateareas}. Moreover all changes of
\EndIndex{Cmd}{activateareas}
\begin{Declaration}
- \Macro{storeareas}\Parameter{\Macro{command}}
+ \Macro{storeareas}\Parameter{\Macro{command}}\\
+ \Macro{BeforeRestoreareas}\Parameter{code}\\
+ \Macro{BeforeRestoreareas*}\Parameter{code}\\
+ \Macro{AfterRestoreareas}\Parameter{code}\\
+ \Macro{AfterRestoreareas*}\Parameter{code}
\end{Declaration}
-\BeginIndex{Cmd}{storearea}%
+\BeginIndex{Cmd}{storeareas}%
+\BeginIndex{Cmd}{BeforeRestoreareas}%
+\BeginIndex{Cmd}{BeforeRestoreareas*}%
+\BeginIndex{Cmd}{AfterRestoreareas}%
+\BeginIndex{Cmd}{AfterRestoreareas*}%
With \Macro{storeareas} a \PName{\Macro{command}} will be defined that may be
used to restore all current settings of typing area and margins. This provides
to store the current settings, change them, do anything with valid changed
@@ -135,7 +143,21 @@ defined \PName{\Macro{command}} should be used inside a group. Internally
used to define the \PName{\Macro{command}}. So re-usage of a
\PName{\Macro{command}} to store settings again would result in a
corresponding error message.
+
+Often\ChangedAt{v3.18}{\Package{typearea}} it is useful to automatically
+execute commands like \Macro{cleardoubleoddpage} before restoring the settings
+of a \Macro{command} generated by \Macro{storeareas}. You can do so using
+\Macro{BeforeRestoreareas} or \Macro{BeforeRestoreareas*}. Analogously you can
+use \Macro{AfterRestoreareas} or \Macro{AfterRestoreareas*} to automatically
+execute \PName{code} after restoring the settings. The variants with and
+without star differs so that the star variant changes only the auto-execution
+\PName{code} of future \PName{command}s and the variant without star also
+changes the auto-execution \PName{code} of already defined \PName{command}s.
%
+\EndIndex{Cmd}{AfterRestoreareas*}%
+\EndIndex{Cmd}{AfterRestoreareas}%
+\EndIndex{Cmd}{BeforeRestoreareas*}%
+\EndIndex{Cmd}{BeforeRestoreareas}%
\EndIndex{Cmd}{storeareas}
\begin{Declaration}