diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex index 241a6f2200f..f88e83f3bcd 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/english/common-options.tex @@ -50,7 +50,7 @@ KOMA-Script guide (common paragraphs)] \translator{Gernot Hassenpflug\and Krickette Murabayashi\and Karl Hagen} -% Date of the translated German file: 2017-12-07 +% Date of the translated German file: 2018-10-23 \section{Early or Late Selection of Options} \seclabel{options} @@ -138,24 +138,25 @@ described in \cite{latex:usrguide} or any introduction to \LaTeX, for example necessary to load either one of these packages explicitly when using any \KOMAScript{} class.}{}% \par -} +}{} % Umbruchoptimierung!!! \IfThisCommonLabelBase{typearea}{Setting the options with - \Macro{documentclass} or \Macro{usepackage} has one\textnote{Attention!} - major disadvantage: + \Macro{documentclass} has one\textnote{Attention!} major disadvantage: % }{% - Note that the \Macro{documentclass} and \Macro{usepackage} have one drawback - when using the option interface described bellow\textnote{Attention!}: + Note that \Macro{documentclass} has one drawback when using the option + interface described bellow\textnote{Attention!}: % }% -unlike the interface described below, the options in \Macro{documentclass} and -\Macro{usepackage} are not robust. So commands, lengths, counters, and such -constructs may break inside the optional argument of these commands. For -example, using a \LaTeX{} length in the value of an option results in an error -before the value is passed to \KOMAScript{} and it can take control of the -option execution. So if you want to use a \LaTeX{} length, counter, or command -as part of the value of an option, you have to use -\DescRef{\LabelBase.cmd.KOMAoptions} or +unlike the interface described below, the options in \Macro{documentclass} are +not robust. So commands, lengths, counters, and such constructs may break +inside the optional argument of this command. For example, with many +not-\KOMAScript{} classes using a \LaTeX{} length in the value of an option +results in an error% +\IfThisCommonLabelBaseNotOneOf{maincls,scrlttr2}{ before the value is passed + to a \KOMAScript{} package and it can take control of the option + execution}{}% +. So if you want to use a \LaTeX{} length, counter, or command as part of the +value of an option, you should use \DescRef{\LabelBase.cmd.KOMAoptions} or \DescRef{\LabelBase.cmd.KOMAoption}. These commands will be described next.% % \EndIndexGroup |