% ======================================================================
% common-textmarkup.tex
% Copyright (c) Markus Kohm, 2001-2017
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
% This work may be distributed and/or modified under the conditions of
% the LaTeX Project Public License, version 1.3c of the license.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX 
% version 2005/12/01 or later and of this work.
%
% This work has the LPPL maintenance status "author-maintained".
%
% The Current Maintainer and author of this work is Markus Kohm.
%
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% common-textmarkup.tex
% Copyright (c) Markus Kohm, 2001-2017
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
% Die neuste Version dieser Lizenz ist
%   http://www.latex-project.org/lppl.txt
% und Version 1.3c ist Teil aller Verteilungen von LaTeX
% Version 2005/12/01 oder spaeter und dieses Werks.
%
% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
% (allein durch den Autor verwaltet).
%
% Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm.
% 
% Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien.
% ======================================================================
%
% Paragraphs that are common for several chapters of the KOMA-Script guide
% Maintained by Markus Kohm
%
% ----------------------------------------------------------------------
%
% Absaetze, die mehreren Kapiteln der KOMA-Script-Anleitung gemeinsam sind
% Verwaltet von Markus Kohm
%
% ======================================================================

\KOMAProvidesFile{common-textmarkup.tex}
                 [$Date: 2017-01-02 13:30:07 +0100 (Mon, 02 Jan 2017) $
                  KOMA-Script guide (common paragraphs)]
\translator{Gernot Hassenpflug\and Markus Kohm\and Krickette Murabayashi}

% Date of the translated German file: 2017-01-02

\section{Text Markup}
\seclabel{textmarkup}%
\BeginIndexGroup%
\BeginIndex{}{text>markup}%
\BeginIndex{}{font}%

\IfThisCommonFirstRun{}{%
  What is described in \autoref{sec:\ThisCommonFirstLabelBase.textmarkup}
  applies, mutatis mutandis. So if you have alread read and understood
  \autoref{sec:\ThisCommonFirstLabelBase.textmarkup.next} you can switch
  to \autopageref{sec:\ThisCommonLabelBase.textmarkup.next}.%
  \IfThisCommonLabelBaseOneOf{scrextend,scrjura,scrlayer-notecolumn}{}{ %
    But you should have a look at
    \autoref{tab:\ThisCommonLabelBase.fontelements},
    \autopageref{tab:\ThisCommonLabelBase.fontelements}.%
  }%
}

{\LaTeX} offers different possibilities for logical and direct
markup\Index{logical markup}\Index{markup} of text.
Selection of the
font family commands, as well as choosing the font size and width is
supported. More information about the standard font facilities may be found at
\cite{lshort}, \cite{latex:usrguide}, and \cite{latex:fntguide}.


\IfThisCommonLabelBaseOneOf{scrlayer-scrpage,scrjura,scrlayer-notecolumn}{%
  \iffalse}{%
  \csname iftrue\endcsname}%
  \begin{Declaration}
    \Macro{textsuperscript}\Parameter{Text}%
    \Macro{textsubscript}\Parameter{Text}
  \end{Declaration}
  The \LaTeX-Kern already defines the command
  \Macro{textsuperscript}\IndexCmd{textsuperscript} to
  superscript\Index{text>superscript}\Index{superscript} text. Unfortunately,
  until release 2015/01/01 {\LaTeX} itself does not offer a command to produce
  text in subscript\Index{text>subscript}\Index{subscript} instead of
  superscript\Index{text>superscript}\Index{superscript}. {\KOMAScript}
  defines \Macro{textsubscript} for this purpose. %
  \ifthiscommonfirst
    \begin{Example}
      \phantomsection
      \xmpllabel{cmd.textsubscript}%
      You are writing a text on human metabolism. From time to time you
      have to give some simple chemical formulas in which the numbers are
      in subscript. For enabling logical markup you first define in the
      document preamble or in a separate package:
\begin{lstcode}
  \newcommand*{\molec}[2]{#1\textsubscript{#2}}
\end{lstcode}
      \newcommand*{\molec}[2]{#1\textsubscript{#2}}
      Using this you then write:
\begin{lstcode}
  The cell produces its energy partly from reaction of \molec C6\molec
  H{12}\molec O6 and \molec O2 to produce \molec H2\Molec O{} and
  \molec C{}\molec O2.  However, arsenic (\molec{As}{}) has a quite
  detrimental effect on the metabolism.
\end{lstcode}
      The output looks as follows:
      \begin{ShowOutput}
        The cell produces its energy from reaction of \molec C6\molec
        H{12}\molec O6 and \molec O2 to produce \molec H2\molec O{} and
        \molec C{}\molec O2.  However, arsenic (\molec{As}{}) has a quite
        detrimental effect on the metabolism.
      \end{ShowOutput}

      Some time later you decide that the chemical formulas should be
      typeset in sans serif. Now you can see the advantages of using
      logical markup. You only have the redefine the \Macro{molec}
      command:
\begin{lstcode}
  \newcommand*{\molec}[2]{\textsf{#1\textsubscript{#2}}}
\end{lstcode}
      \renewcommand*{\molec}[2]{\textsf{#1\textsubscript{#2}}}
      Now the output in the whole document changes to:
      \begin{ShowOutput}
        The cell produces its energy partly from reaction of \molec
        C6\molec H{12}\molec O6 and \molec O2 to produce \molec H2\molec
        O{} and \molec C{}\molec O2.  However, arsenic (\molec{As}{}) has
        a quite detrimental effect on the metabolism.
      \end{ShowOutput}
    \end{Example}
    \iftrue
      \begin{Explain}
        In the example above, the notation ``\verb|\molec C6|'' is used. 
        This makes use of the fact that arguments consisting of only one
        character do not have to be enclosed in parentheses. That is why
        ``\verb|\molec C6|'' is similar to ``\verb|\molec{C}{6}|''. You
        might already know this from indices or powers in mathematical
        environments, such as ``\verb|$x^2$|'' instead of ``\verb|$x^{2}$|''
        for ``$x^2$''.
      \end{Explain}
    \else % maybe some time I've made an English book
      Experts can find information about the reason why the example above does
      work unless putting all arguments of \Macro{molec} into braces in
      \autoref{sec:experts.knowhow},
      \DescPageRef{experts.macroargs}.%
    \fi
  \else
    You may find an example of usage at
    \autoref{sec:\ThisCommonFirstLabelBase.textmarkup},
    \PageRefxmpl{\ThisCommonFirstLabelBase.cmd.textsubscript}.
  \fi%
  \EndIndexGroup%
\fi


\begin{Declaration}
  \Macro{setkomafont}\Parameter{element}\Parameter{commands}%
  \Macro{addtokomafont}\Parameter{element}\Parameter{commands}%
  \Macro{usekomafont}\Parameter{element}
\end{Declaration}%
With\ChangedAt{v2.8p}{\Class{scrbook}\and \Class{scrreprt}\and
  \Class{scrartcl}} the help of the two commands \Macro{setkomafont} and
\Macro{addtokomafont}, it is possible to define the \PName{commands} that
change the characteristics of a given \PName{element}. Theoretically, all
possible statements including literal text could be used as \PName{commands}.
You should\textnote{Attention!}, however, absolutely limit yourself to those
statements that really switch only one font attribute. This will usually be
the commands \Macro{normalfont}, \Macro{rmfamily}, \Macro{sffamily},
\Macro{ttfamily}, \Macro{mdseries}, \Macro{bfseries}, \Macro{upshape},
\Macro{itshape}, \Macro{slshape}, and \Macro{scshape}, as well as the font
size commands \Macro{Huge}, \Macro{huge}, \Macro{LARGE}, \Macro{Large},
\Macro{large}, \Macro{normalsize}, \Macro{small}, \Macro{footnotesize},
\Macro{scriptsize}, and \Macro{tiny}. The description of these commands can be
found in \cite{lshort}, \cite{latex:usrguide}, or \cite{latex:fntguide}. Color
switching commands like \Macro{normalcolor} (see \cite{package:graphics} and
\cite{package:xcolor}) are also acceptable.  The behavior when using other
commands, especially those that make redefinitions or generate output, is not
defined. Strange behavior is possible and does not represent a bug.

The command \Macro{setkomafont} provides a font switching command with a
completely new definition. In contrast to this, the \Macro{addtokomafont}
command merely extends an existing definition. It is recommended to not use
both commands inside the document body, but only in the document preamble.
Usage examples can be found in the paragraphs on the corresponding element.%
\IfThisCommonLabelBaseOneOf{scrjura,scrlayer-notecolumn}{}{%
  \ Names\IfThisCommonLabelBase{scrlayer-scrpage}{, defaults,}{} and meanings
  of the individual items are listed in %
  \IfThisCommonLabelBase{scrextend}{%
    \autoref{tab:maincls.fontelements}, \autopageref{tab:maincls.fontelements}
  }{%
    \autoref{tab:\ThisCommonLabelBase.fontelements} %
  }.%
  \IfThisCommonLabelBase{scrextend}{ %
    However only the listed elements for the document title, dicta, footnotes,
    and the \DescRef{maincls.env.labeling} environment are supported. Though
    element \DescRef{maincls.fontelement.disposition} exists, it will also be
    used for the document title only. This has been done for compatibility
    with the \KOMAScript{} classes.%
  }{}%
  \IfThisCommonLabelBase{scrlayer-scrpage}{}{ %
    The default values are shown in the corresponding paragraphs.%
  }%
}%

With command \Macro{usekomafont} the current font style may be changed into
the font style of the selected \PName{element}.%
\IfThisCommonLabelBase{maincls}{\iftrue}{\csname iffalse\endcsname}
  \begin{Example}
    \phantomsection\xmpllabel{cmd.setkomafont}%
    Assume that you want to use for the element
    \DescRef{\ThisCommonLabelBase.fontelement.captionlabel} the same font
    specification that is used with
    \DescRef{\ThisCommonLabelBase.fontelement.descriptionlabel}. This can be
    easily done with:
\begin{lstcode}
  \setkomafont{captionlabel}{%
    \usekomafont{descriptionlabel}%
  }
\end{lstcode}
    You can find other examples in the paragraphs on each element.
  \end{Example}

  \begin{desclist}
    \desccaption{%
      Elements whose type style can be changed with the {\KOMAScript} command
      \Macro{setkomafont} or
      \Macro{addtokomafont}%
      \label{tab:maincls.fontelements}%
      \label{tab:scrextend.fontelements}%     
    }{%
      Elements whose type style can be changed (\emph{continuation})%
    }%
    \feentry{author}{%
      \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
        \Class{scrartcl}\and \Package{scrextend}}%
      author of the document on the main title, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.author} when
      \DescRef{\ThisCommonLabelBase.cmd.maketitle} will be used (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.author})}%
    \feentry{caption}{text of a table or figure caption (see
      \autoref{sec:maincls.floats}, \DescPageRef{maincls.cmd.caption})}%
    \feentry{captionlabel}{label of a table or figure caption; used according
      to the element \DescRef{\ThisCommonLabelBase.fontelement.caption} (see
      \autoref{sec:maincls.floats}, \DescPageRef{maincls.cmd.caption})}%
    \feentry{chapter}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.chapter} (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.chapter})}%
    \feentry{chapterentry}{%
      table of contents entry of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.chapter} (see
      \autoref{sec:maincls.toc}, \DescPageRef{maincls.cmd.tableofcontents})}%
    \feentry{chapterentrypagenumber}{%
      page number of the table of contents entry of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.chapter}, variation on the element
      \DescRef{\ThisCommonLabelBase.fontelement.chapterentry} (see
      \autoref{sec:maincls.toc}, \DescPageRef{maincls.cmd.tableofcontents})}%
    \feentry{chapterprefix}{%
      chapter number line at setting
      \OptionValueRef{maincls}{chapterprefix}{true} or
      \OptionValueRef{maincls}{appendixprefix}{true} (see
      \autoref{sec:maincls.structure},
      \DescPageRef{maincls.option.chapterprefix})}%
    \feentry{date}{%
      \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
        \Class{scrartcl}\and \Package{scrextend}}%
      date of the document on the main title, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.date} when
      \DescRef{\ThisCommonLabelBase.cmd.maketitle} will be used (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.date})}%
    \feentry{dedication}{%
      \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
        \Class{scrartcl}\and \Package{scrextend}}%
      dedication page after the main title, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.dedication} when
      \DescRef{\ThisCommonLabelBase.cmd.maketitle} will be used (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.dedication})}%
    \feentry{descriptionlabel}{labels, i.\,e., the optional argument of
      \DescRef{\ThisCommonLabelBase.cmd.item.description} in the
      \DescRef{\ThisCommonLabelBase.env.description} environment (see
      \autoref{sec:maincls.lists}, \DescPageRef{maincls.env.description})}%
    \feentry{dictum}{dictum, wise saying, or smart slogan (see
      \autoref{sec:maincls.dictum}, \DescPageRef{maincls.cmd.dictum})}%
    \feentry{dictumauthor}{author of a dictum, wise saying, or smart slogan;
      used according to the element
      \DescRef{\ThisCommonLabelBase.fontelement.dictum} (see
      \autoref{sec:maincls.dictum}, \DescPageRef{maincls.cmd.dictum})}%
    \feentry{dictumtext}{another name for
      \DescRef{\ThisCommonLabelBase.fontelement.dictum}}%
    \feentry{disposition}{all sectional unit titles, i.\,e., the arguments of
      \DescRef{\ThisCommonLabelBase.cmd.part} down to
      \DescRef{\ThisCommonLabelBase.cmd.subparagraph} and
      \DescRef{\ThisCommonLabelBase.cmd.minisec}, including the title of the
      abstract; used before the element of the corresponding unit (see
      \autoref{sec:maincls.structure} ab
      \autopageref{sec:maincls.structure})}%
    \feentry{footnote}{footnote text and marker (see
      \autoref{sec:maincls.footnotes}, \DescPageRef{maincls.cmd.footnote})}%
    \feentry{footnotelabel}{mark of a footnote; used according to the element
      \DescRef{\ThisCommonLabelBase.fontelement.footnote} (see
      \autoref{sec:maincls.footnotes}, \DescPageRef{maincls.cmd.footnote})}%
    \feentry{footnotereference}{footnote reference in the text (see
      \autoref{sec:maincls.footnotes}, \DescPageRef{maincls.cmd.footnote})}%
    \feentry{footnoterule}{%
      horizontal rule\ChangedAt{v3.07}{\Class{scrbook}\and
        \Class{scrreprt}\and \Class{scrartcl}} above the footnotes at the end
      of the text area (see \autoref{sec:maincls.footnotes},
      \DescPageRef{maincls.cmd.setfootnoterule})}%
    \feentry{labelinglabel}{labels, i.\,e., the optional argument of
      \DescRef{\ThisCommonLabelBase.cmd.item.labeling} in the
      \DescRef{\ThisCommonLabelBase.env.labeling} environment (see
      \autoref{sec:maincls.lists}, \DescPageRef{maincls.env.labeling})}%
    \feentry{labelingseparator}{separator, i.\,e., the optional argument of
      the \DescRef{\ThisCommonLabelBase.env.labeling} environment; used
      according to the element
      \DescRef{\ThisCommonLabelBase.fontelement.labelinglabel} (see
      \autoref{sec:maincls.lists}, \DescPageRef{maincls.env.labeling})}%
    \feentry{minisec}{title of \DescRef{\ThisCommonLabelBase.cmd.minisec} (see
      \autoref{sec:maincls.structure} ab \DescPageRef{maincls.cmd.minisec})}%
    \feentry{pagefoot}{only used if package \Package{scrlayer-scrpage} has
      been loaded (see \autoref{cha:scrlayer-scrpage},
      \DescPageRef{scrlayer-scrpage.fontelement.pagefoot})}%
    \feentry{pagehead}{another name for
      \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}}%
    \feentry{pageheadfoot}{the head of a page, but also the foot of a page
      (see \autoref{sec:maincls.pagestyle} ab
      \autopageref{sec:maincls.pagestyle})}%
    \feentry{pagenumber}{page number in the header or footer (see
      \autoref{sec:maincls.pagestyle})}%
    \feentry{pagination}{another name for
      \DescRef{\ThisCommonLabelBase.fontelement.pagenumber}}%
    \feentry{paragraph}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.paragraph} (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.paragraph})}%
    \feentry{part}{title of the \DescRef{\ThisCommonLabelBase.cmd.part}
      sectional unit, without the line containing the part number (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.part})}%
    \feentry{partentry}{%
      table of contents entry of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.part} (see \autoref{sec:maincls.toc},
      \DescPageRef{maincls.cmd.tableofcontents})}%
    \feentry{partentrypagenumber}{%
      Page number of the table of contents entry of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.part} variation on the element
      \DescRef{\ThisCommonLabelBase.fontelement.partentry} (see
      \autoref{sec:maincls.toc}, \DescPageRef{maincls.cmd.tableofcontents})}%
    \feentry{partnumber}{line containing the part number in a title of the
      sectional unit \DescRef{\ThisCommonLabelBase.cmd.part} (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.part})}%
    \feentry{publishers}{%
      \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
        \Class{scrartcl}\and \Package{scrextend}}%
      publishers of the document on the main title, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.publishers} when
      \DescRef{\ThisCommonLabelBase.cmd.maketitle} will be used (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.publishers})}%
    \feentry{section}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.section} (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.section})}%
    \feentry{sectionentry}{%
      table of contents entry of sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.section} (only available in
      \Class{scrartcl}, see \autoref{sec:maincls.toc},
      \DescPageRef{maincls.cmd.tableofcontents})}%
    \feentry{sectionentrypagenumber}{%
      page number of the table of contents entry of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.section}, variation on element
      \DescRef{\ThisCommonLabelBase.fontelement.sectionentry} (only available
      in \Class{scrartcl, see \autoref{sec:maincls.toc},
        \DescPageRef{maincls.cmd.tableofcontents}})}%
    \feentry{sectioning}{another name for
      \DescRef{\ThisCommonLabelBase.fontelement.disposition}}%
    \feentry{subject}{%
      categorization of the document, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.subject} on the main title page (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.subject})}%
    \feentry{subparagraph}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.subparagraph} (see
      \autoref{sec:maincls.structure},
      \DescPageRef{maincls.cmd.subparagraph})}%
    \feentry{subsection}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.subsection} (see
      \autoref{sec:maincls.structure}, \DescPageRef{maincls.cmd.subsection})}%
    \feentry{subsubsection}{title of the sectional unit
      \DescRef{\ThisCommonLabelBase.cmd.subsubsection} (see
      \autoref{sec:maincls.structure},
      \DescPageRef{maincls.cmd.subsubsection})}%
    \feentry{subtitle}{%
      subtitle of the document, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.subtitle} on the main title page (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.title})}%
    \feentry{title}{main title of the document, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.title} (for details about the title
      size see the additional note in the text of
      \autoref{sec:maincls.titlepage} from \DescPageRef{maincls.cmd.title})}%
    \feentry{titlehead}{%
      \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
        \Class{scrartcl}\and \Package{scrextend}}%
      head above the main title of the document, i.\,e., the argument of
      \DescRef{\ThisCommonLabelBase.cmd.titlehead} when
      \DescRef{\ThisCommonLabelBase.cmd.maketitle} will be used (see
      \autoref{sec:maincls.titlepage}, \DescPageRef{maincls.cmd.titlehead})}%
  \end{desclist}
\else
  \IfThisCommonLabelBase{scrextend}{\iftrue}{\csname iffalse\endcsname}
    \begin{Example}
      Assumed, you want to print the document title in a serif font and with
      red colour. You may do this using:
\begin{lstcode}
  \setkomafont{title}{\color{red}}
\end{lstcode}
      Package \Package{color} or \Package{xcolor} will be needed for command
      \Macro{color}\PParameter{red}. The additional usage of
      \Macro{normalfont} is not needed in this case, because it is already
      part of the definition of the title itself. This\textnote{Attention!}
      example also needs option
      \OptionValueRef{scrextend}{extendedfeature}{title} (see
      \autoref{sec:scrextend.optionalFeatures}, 
      \DescPageRef{scrextend.option.extendedfeature}).
    \end{Example}
  \else
    \IfThisCommonLabelBase{scrlttr2}{%
      A general example for the usage of \Macro{setkomafont} and
      \Macro{usekomafont} may be found in \autoref{sec:maincls.textmarkup} at
      \PageRefxmpl{maincls.cmd.setkomafont}.

      \begin{desclist}
        \desccaption{%
          Alphabetical list of elements whose font can be changed in
          \Class{scrlttr2} using the commands \Macro{setkomafont} and
          \Macro{addtokomafont}\label{tab:scrlttr2.fontelements}%
        }{%
          Elements whose font can be changed (\emph{continuation})%
        }%
        \feentry{addressee}{name und address in address field %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.option.addrfield})}%
        \feentry{backaddress}{%
          return address for a window envelope %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.option.backaddress})}%
        \feentry{descriptionlabel}{%
          label, i.\,e., the optional argument of
          \DescRef{\ThisCommonLabelBase.cmd.item.description}, in a
          \DescRef{\ThisCommonLabelBase.env.description} environment %
          (\autoref{sec:scrlttr2.lists},
          \DescPageRef{scrlttr2.env.description})}%
        \feentry{foldmark}{%
          foldmark on the letter page; intended for color settings %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.option.foldmarks})}%
        \feentry{footnote}{%
          footnote text and marker %
          (see \autoref{sec:scrlttr2.footnotes},
          \DescPageRef{scrlttr2.cmd.footnote})}%
        \feentry{footnotelabel}{%
          mark of a footnote; used according to the element
          \DescRef{\ThisCommonLabelBase.fontelement.footnote} %
          (see \autoref{sec:scrlttr2.footnotes},
          \DescPageRef{scrlttr2.cmd.footnote})}%
        \feentry{footnotereference}{%
          footnote reference in the text %
          (see \autoref{sec:scrlttr2.footnotes},
          \DescPageRef{scrlttr2.cmd.footnote})}%
        \feentry{footnoterule}{%
          horizontal rule\ChangedAt{v3.07}{\Class{scrlttr2}} above the
          footnotes at the end of the text area %
          (see \autoref{sec:maincls.footnotes},
          \DescPageRef{maincls.cmd.setfootnoterule})}%
        \feentry{labelinglabel}{%
          labels, i.\,e., the optional argument of
          \DescRef{\ThisCommonLabelBase.cmd.item.labeling} in the
          \DescRef{\ThisCommonLabelBase.env.labeling} environment %
          (see \autoref{sec:scrlttr2.lists},
          \DescPageRef{scrlttr2.env.labeling})}%
        \feentry{labelingseparator}{%
          separator, i.\,e., the optional argument of the
          \DescRef{\ThisCommonLabelBase.env.labeling} environment; used
          according to the element
          \DescRef{\ThisCommonLabelBase.fontelement.labelinglabel} %
          (see \autoref{sec:scrlttr2.lists},
          \DescPageRef{scrlttr2.env.labeling})}%
        \feentry{pagefoot}{%
          used after element
          \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot} for the page
          foot, that has been defined with variable
          \DescRef{scrlttr2.variable.nextfoot}\IndexVariable{nextfoot}, or for
          the page foot of package \Package{scrlayer-scrpage} %
          (\autoref{cha:scrlayer-scrpage},
          \DescPageRef{scrlayer-scrpage.fontelement.pagefoot})}%
        \feentry{pagehead}{%
          another name for
          \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}}%
        \feentry{pageheadfoot}{%
          the head of a page, but also the foot of a page at all page style,
          that has been defined using \KOMAScript{} %
          (see \autoref{sec:scrlttr2.pagestyle},
          \DescPageRef{scrlttr2.fontelement.pageheadfoot})}%
        \feentry{pagenumber}{%
          page number in the header or footer %
          (see \autoref{sec:scrlttr2.pagestyle},
          \DescPageRef{scrlttr2.fontelement.pagenumber})}%
        \feentry{pagination}{%
          another name for
          \DescRef{\ThisCommonLabelBase.fontelement.pagenumber}}%
        \feentry{placeanddate}{%
          \ChangedAt{v3.12}{\Class{scrlttr2}}%
          place and date, if a date line will be used instead of a normal
          reference line (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.placeseparator})}%
        \feentry{refname}{%
          description or title of the fields in the reference line %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.yourref})}%
        \feentry{refvalue}{%
          content of the fields in the reference line %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.yourref})}%
        \feentry{specialmail}{%
          mode of dispatch in the address field %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.specialmail})}%
        \feentry{lettersubject}{%
          \ChangedAt{v3.17}{\Class{scrlttr2}\and \Package{scrletter}}%
          subject in the opening of the letter %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.subject})}%
        \feentry{lettertitle}{%
          \ChangedAt{v3.17}{\Class{scrlttr2}\and \Package{scrletter}}%
          title in the opening of the letter %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.title})}%
        \feentry{toaddress}{%
          variation of the element
          \DescRef{\ThisCommonLabelBase.fontelement.addressee} for setting the
          addressee address (less the name) in the address field %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.toaddress})}%
        \feentry{toname}{%
          variation of the element
          \DescRef{\ThisCommonLabelBase.fontelement.addressee} for the name
          (only) of the addressee in the address field %
          (\autoref{sec:scrlttr2.firstpage},
          \DescPageRef{scrlttr2.variable.toname})}%
      \end{desclist}
    }{%
      \IfThisCommonLabelBase{scrlayer-scrpage}{%
        \begin{desclist}
          \desccaption[{Elements of \Package{scrlayer-scrpage} whose type
            style can be changed with \KOMAScript{} command
            \Macro{setkomafont} or \Macro{addtokomafont}}]%
          {Elements of \Package{scrlayer-scrpage} whose type style can be
            changed with \KOMAScript{} command \Macro{setkomafont} or
            \Macro{addtokomafont} and the default of those, if they have not
            been defined before loading \Package{scrlayer-scrpage}%
            \label{tab:scrlayer-scrpage.fontelements}%
          }%
          {Elements whose type style can be changed (\emph{continuation})}%
          \feentry{footbotline}{%
            Horizontal line below the footer of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot} and
            \DescRef{\ThisCommonLabelBase.fontelement.pagefoot}%
            \IndexFontElement{pagefoot}. It is recommended to use this element
            for colour changes only.\par
            Default: \emph{empty}%
          }%
          \feentry{footsepline}{%
            Horizontal line above the footer of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot} and
            \DescRef{\ThisCommonLabelBase.fontelement.pagefoot}%
            \IndexFontElement{pagefoot}. It is recommended to use this element
            for colour changes only.\par
            Default: \emph{empty}%
          }%
          \feentry{headsepline}{%
            Horizontal line below the header of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot} and
            \DescRef{\ThisCommonLabelBase.fontelement.pagehead}%
            \IndexFontElement{pagehead}. It is recommended to use this element
            for colour changes only.\par
            Default: \emph{empty}%
          }%
          \feentry{headtopline}{%
            Horizontal line above the header of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot} and
            \DescRef{\ThisCommonLabelBase.fontelement.pagehead}%
            \IndexFontElement{pagehead}. It is recommended to use this element
            for colour changes only.\par
            Default: \emph{empty}%
          }%
          \feentry{pagefoot}{%
            Contents of the page footer of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the font of element
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot}.\par
            Default: \emph{empty}%
          }%
          \feentry{pagehead}{%
            Contents of the page header of a page style defined using
            \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont} and the font of element
            \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
            \IndexFontElement{pageheadfoot}.\par
            Default: \emph{empty}%
          }%
          \feentry{pageheadfoot}{%
            Contents of the page header or footer of a page style defined
            using \Package{scrlayer-scrpage}. The font will be used after
            \Macro{normalfont}\IndexCmd{normalfont}.\par
            Default: \Macro{normalcolor}\Macro{slshape}%
          }%
          \feentry{pagenumber}{%
            Pagination set with
            \DescRef{\ThisCommonLabelBase.cmd.pagemark}. If you redefine
            \DescRef{\ThisCommonLabelBase.cmd.pagemark}, you have to take care
            that your redefinition also uses
            \Macro{usekomafont}\PParameter{pagenumber}!\par
            Default: \Macro{normalfont}%
          }%
        \end{desclist}
      }{%
        \IfThisCommonLabelBaseOneOf{scrjura,scrlayer-notecolumn}{}{%
          \InternalCommonFileUsageError%
        }%
      }%
    }%
  \fi%
\fi
\EndIndexGroup


\begin{Declaration}
  \Macro{usefontofkomafont}\Parameter{element}%
  \Macro{useencodingofkomafont}\Parameter{element}%
  \Macro{usesizeofkomafont}\Parameter{element}%
  \Macro{usefamilyofkomafont}\Parameter{element}%
  \Macro{useseriesofkomafont}\Parameter{element}%
  \Macro{useshapeofkomafont}\Parameter{element}
\end{Declaration}
Sometimes\ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
  \Class{scrartcl}\and \Package{scrextend}} and despite the recommendation
users use the font setting feature of elements not only for font settings but
for other settings too. In this case it may be useful to switch only to the
font setting of an element but not to those other settings. You may use
\Macro{usefontofkomafont} in such cases. This will activate the font size and
baseline skip, the font encoding, the font family, the font series, and the
font shape of an element, but no further settings as long as those further
settings are local.

You may also switch to one of those attributes only using one of the other
commands. Note, that \Macro{usesizeofkomafont} will activate both, the font
size and the baseline skip.

You should not misunderstand these commands as a legitimation of using all
kind of commands at the font setting of an element. Hence this would result
in errors sooner or later (see \autoref{sec:maincls-experts.experts},
\DescPageRef{maincls-experts.cmd.addtokomafontrelaxlist}).%
\EndIndexGroup
%
\EndIndexGroup

%%% Local Variables:
%%% mode: latex
%%% mode: flyspell
%%% coding: us-ascii
%%% ispell-local-dictionary: "en_GB"
%%% TeX-master: "../guide"
%%% End:

%  LocalWords:  mutatis mutandis
