Debian Codegraph @

texmf-dist/source/latex/koma-script/doc/common-textmarkup-en.tex

raw
1 % ======================================================================
2 % common-textmarkup-en.tex
3 % Copyright (c) Markus Kohm, 2001-2025
4 %
5 % This file is part of the LaTeX2e KOMA-Script bundle.
6 %
7 % This work may be distributed and/or modified under the conditions of
8 % the LaTeX Project Public License, version 1.3c of the license.
9 % The latest version of this license is in
10 % http://www.latex-project.org/lppl.txt
11 % and version 1.3c or later is part of all distributions of LaTeX
12 % version 2005/12/01 or later and of this work.
13 %
14 % This work has the LPPL maintenance status "author-maintained".
15 %
16 % The Current Maintainer and author of this work is Markus Kohm.
17 %
18 % This work consists of all files listed in MANIFEST.md.
19 % ======================================================================
20 %
21 % Paragraphs that are common for several chapters of the KOMA-Script guide
22 % Maintained by Markus Kohm
23 %
24 % ======================================================================
25
26 \KOMAProvidesFile{common-textmarkup-en.tex}
27 [$Date: 2025-02-12 11:47:33 +0100 (Mi, 12. Feb 2025) $
28 KOMA-Script guide (common paragraphs)]
29 \translator{Gernot Hassenpflug\and Markus Kohm\and Krickette Murabayashi\and
30 Karl Hagen}
31
32 \section{Text Markup}
33 \seclabel{textmarkup}%
34 \BeginIndexGroup%
35 \BeginIndex{}{text>markup}%
36 \BeginIndex{}{font}%
37
38 \IfThisCommonFirstRun{}{%
39 The information in in \autoref{sec:\ThisCommonFirstLabelBase.textmarkup}
40 largely applies to this chapter. So if you have already read and understood
41 \autoref{sec:\ThisCommonFirstLabelBase.textmarkup}, you can
42 \IfThisCommonLabelBaseOneOf{scrextend,scrjura,scrlayer-notecolumn}{}{%
43 limit yourself to examining
44 \autoref{tab:\ThisCommonLabelBase.fontelements},
45 \autopageref{tab:\ThisCommonLabelBase.fontelements} and then }%
46 skip ahead to \autoref{sec:\ThisCommonLabelBase.textmarkup.next},
47 \autopageref{sec:\ThisCommonLabelBase.textmarkup.next}.%
48 \IfThisCommonLabelBase{scrextend}{\ In this case, however,
49 note\textnote{limitation} that \Package{scrextend} supports only the
50 elements for the document title, the dictum, the footnotes, and the
51 \DescRef{maincls.env.labeling} environment. from
52 \autoref{tab:maincls.fontelements},
53 \autopageref{tab:maincls.fontelements}. Although the
54 \DescRef{maincls.fontelement.disposition} element exists,
55 \Package{scrextend} uses it only for the document title.%
56 }{}%
57 }
58
59 % Umbruchkorrektur
60 \IfThisCommonLabelBaseOneOf{scrlayer-scrpage,scrextend}{}{%
61 {\LaTeX} offers different possibilities for logical and direct
62 markup\Index{logical markup}\Index{markup} of text. %
63 \IfThisCommonLabelBaseOneOf{scrlttr2}{}{%
64 In addition to the choice of the font, this includes commands for choosing
65 the font size and orientation. %
66 } For more information about the standard font facilities, see
67 \cite{lshort}, \cite{latex:usrguide}, and \cite{latex:fntguide}.%
68 }
69
70 % Both commands are in LaTeX for a long time, so I do not describe them any
71 % longer despite \textsubscript is still defined by KOMA-Script if needed.
72 %\IfThisCommonLabelBaseOneOf{scrlayer-scrpage,scrjura,scrlayer-notecolumn}{%
73 \iffalse
74 %}{%
75 % \csname iftrue\endcsname}%
76 \begin{Declaration}
77 \Macro{textsuperscript}\Parameter{text}%
78 \Macro{textsubscript}\Parameter{text}
79 \end{Declaration}
80 The \LaTeX{} kernel defines the command
81 \Macro{textsuperscript}\IndexCmd{textsuperscript} to put text in
82 superscript\Index{text>superscript}\Index{superscript}. Unfortunately,
83 \LaTeX{}\textnote{\Latex~2015/01/01} itself did not offer a command to
84 produce text in subscript\Index{text>subscript}\Index{subscript} until
85 release 2015/01/01. \KOMAScript{} defines \Macro{textsubscript} for this
86 purpose. %
87 \ifthiscommonfirst
88 \begin{Example}
89 \phantomsection
90 \xmpllabel{cmd.textsubscript}%
91 You are writing a text on human metabolism. From time to time you
92 have to give some simple chemical formulas in which the numbers are
93 in subscript. To allow for logical markup, you first define in the
94 document preamble or in a separate package:
95 \begin{lstcode}
96 \newcommand*{\molec}[2]{#1\textsubscript{#2}}
97 \end{lstcode}
98 \newcommand*{\molec}[2]{#1\textsubscript{#2}}
99 Using this you then write:
100 \begin{lstcode}
101 The cell produces its energy partly from the reaction of \molec C6\molec
102 H{12}\molec O6 and \molec O2 to produce \molec H2\Molec O{} and
103 \molec C{}\molec O2. However, arsenic (\molec{As}{}) has quite a
104 detrimental effect on the metabolism.
105 \end{lstcode}
106 The output looks as follows:
107 \begin{ShowOutput}
108 The cell produces its energy partly from the reaction of \molec C6\molec
109 H{12}\molec O6 and \molec O2 to produce \molec H2\molec O{} and
110 \molec C{}\molec O2. However, arsenic (\molec{As}{}) has quite a
111 detrimental effect on the metabolism.
112 \end{ShowOutput}
113
114 Some time later you decide that the chemical formulas should be
115 typeset in sans serif. Now you can see the advantages of using
116 logical markup. You only have the redefine the \Macro{molec}
117 command:
118 \begin{lstcode}
119 \newcommand*{\molec}[2]{\textsf{#1\textsubscript{#2}}}
120 \end{lstcode}
121 \renewcommand*{\molec}[2]{\textsf{#1\textsubscript{#2}}}
122 Now the output in the whole document changes to:
123 \begin{ShowOutput}
124 The cell produces its energy partly from the reaction of \molec
125 C6\molec H{12}\molec O6 and \molec O2 to produce \molec H2\molec
126 O{} and \molec C{}\molec O2. However, arsenic (\molec{As}{}) has
127 quite a detrimental effect on the metabolism.
128 \end{ShowOutput}
129 \end{Example}
130 \iftrue
131 \begin{Explain}
132 The example above uses the notation ``\verb|\molec C6|''.
133 This makes use of the fact that arguments consisting of only one
134 character do not have to be enclosed in parentheses. That is why
135 ``\verb|\molec C6|'' is similar to ``\verb|\molec{C}{6}|''. You
136 may already be familiar with this notation from indices or powers in
137 mathematical environments, such as ``\verb|$x^2$|'' instead of
138 ``\verb|$x^{2}$|''
139 for ``$x^2$''.
140 \end{Explain}
141 \else % maybe some time I've made an English book
142 Advanced users can find information about the reason the example above
143 does work unless you put all arguments of \Macro{molec} into braces in
144 \autoref{sec:experts.knowhow},
145 \DescPageRef{experts.macroargs}.%
146 \fi%
147 \else%
148 You can find an example that uses it in
149 \autoref{sec:\ThisCommonFirstLabelBase.textmarkup},
150 \PageRefxmpl{\ThisCommonFirstLabelBase.cmd.textsubscript}.
151 \fi%
152 \EndIndexGroup%
153 \fi
154
155
156 \IfThisCommonLabelBaseOneOf{scrlayer-scrpage,scrjura,scrlayer-notecolumn}{%
157 \iffalse%
158 }{%
159 \csname iftrue\endcsname%
160 }%
161 \begin{Declaration}
162 \OptionVName{sfdefaults}{simple switch}%
163 \Macro{maybesffamily}%
164 \Macro{textmaybesf}\Parameter{text}%
165 \end{Declaration}
166 The%
167 \IfThisCommonLabelBase{maincls}{%
168 \ChangedAt{v3.39}{\Class{scrbook}\and \Class{scrreprt}\and
169 \Class{scrartcl}}%
170 }{%
171 \IfThisCommonLabelBase{scrextend}{%
172 \ChangedAt{v3.39}{\Package{screxend}}%
173 }{%
174 \IfThisCommonLabelBase{scrlttr2}{%
175 \ChangedAt{v3.39}{\Class{scrlttr2}}%
176 }{}%
177 }%
178 } \Macro{maybesffamily} and \Macro{textmaybesf} commands behave differently
179 depending on the setting of option \Option{sfdefaults}. One of the default
180 values for simple switches from \autoref{tab:truefalseswitch} can be used
181 here. Only if this option is enabled will \Macro{maybesffamily} result in
182 \Macro{sffamily} and \Macro{textmaybesf} use \Macro{textsf}. This is also
183 the default setting. KOMA-Script itself uses \Macro{maybesffamily} in the
184 default settings of elements \IfThisCommonLabelBase{scrextend}{}{%
185 \DescRef{\LabelBase.fontelement.descriptionlabel}, %
186 }%
187 \IfThisCommonLabelBase{scrlttr2}{%
188 \DescRef{\LabelBase.fontelement.backaddress}, %
189 \DescRef{\LabelBase.fontelement.refname}, %
190 and \DescRef{\LabelBase.fontelement.lettertitle}%
191 }{%
192 \IfThisCommonLabelBase{scrextend}{%
193 \DescRef{maincls.fontelement.disposition} %
194 }{%
195 \DescRef{\LabelBase.fontelement.disposition}, %
196 }%
197 and \DescRef{\LabelBase.fontelement.dictum}%
198 }. \Macro{maybesffamily} may thus also be used as part of the
199 \PName{commands} of the \DescRef{\LabelBase.cmd.setkomafont} and
200 \DescRef{\LabelBase.cmd.addtokomafont} statements explained below.%
201 \EndIndexGroup%
202 \fi
203
204
205 \begin{Declaration}
206 \Macro{setkomafont}\Parameter{element}\Parameter{commands}%
207 \Macro{addtokomafont}\Parameter{element}\Parameter{commands}%
208 \Macro{usekomafont}\Parameter{element}
209 \end{Declaration}%
210 With%
211 \IfThisCommonLabelBase{maincls}{%
212 \ChangedAt{v2.8p}{\Class{scrbook}\and \Class{scrreprt}\and
213 \Class{scrartcl}}%
214 }{} the help of the \Macro{setkomafont} and \Macro{addtokomafont}
215 commands, you can attach particular font styling \PName{commands} that change
216 the appearance of a given \PName{element}. Theoretically, all statements,
217 including literal text, can be used as \PName{commands}. You
218 should\textnote{Attention!}, however, limit yourself to those statements that
219 really change font attributes only. These are usually commands like
220 \Macro{rmfamily}, \Macro{sffamily}, \Macro{ttfamily}, \Macro{upshape},
221 \Macro{itshape}, \Macro{slshape}, \Macro{scshape}, \Macro{mdseries},
222 \Macro{bfseries}, \Macro{normalfont}, as well as the font size commands
223 \Macro{Huge}, \Macro{huge}, \Macro{LARGE}, \Macro{Large}, \Macro{large},
224 \Macro{normalsize}, \Macro{small}, \Macro{footnotesize}, \Macro{scriptsize},
225 and \Macro{tiny}. You can find these commands explained in \cite{lshort},
226 \cite{latex:usrguide}, or \cite{latex:fntguide}. Colour switching commands
227 like \Macro{normalcolor} (see \cite{package:graphics} and
228 \cite{package:xcolor}) are also acceptable.%
229 \iffalse % Umbruchkorrekturtext
230 \ The behaviour when using other commands, especially those that lead to
231 redefinitions or generate output, is undefined. Strange behaviour is possible
232 and does not represent a bug.
233 \else
234 \ The use of other commands, in particular those that redefine things or
235 or lead to output, is not supported. Strange behaviour is possible in these
236 cases and does not represent a bug.
237 \fi
238
239 The command \Macro{setkomafont} provides an element with a completely new
240 definition of its font styling. In contrast, the \Macro{addtokomafont} command
241 merely extends an existing definition. You should not use either command
242 inside the document body but only in the preamble. For examples of their use,
243 refer to the sections for the respective element.%
244 \IfThisCommonLabelBase{scrlayer-notecolumn}{}{%
245 \ The name and meaning of each element
246 \IfThisCommonLabelBaseOneOf{scrlayer-scrpage,scrjura}{, as well as their
247 defaults,}{} are listed in \IfThisCommonLabelBase{scrextend}{%
248 \autoref{tab:maincls.fontelements}, \autopageref{tab:maincls.fontelements}
249 }{%
250 \autoref{tab:\ThisCommonLabelBase.fontelements} %
251 }.%
252 \IfThisCommonLabelBase{scrextend}{ %
253 However, in \Package{scrextend} only\textnote{limitation} the listed
254 elements for the document title, dictum, footnotes, and the
255 \DescRef{maincls.env.labeling} environment are supported. Although the
256 \DescRef{maincls.fontelement.disposition} element exists,
257 \Package{scrextend} uses it only for the document title.%
258 }{%
259 \IfThisCommonLabelBase{scrlayer-scrpage}{ %
260 The specified defaults apply only if the corresponding element has not
261 already been defined before loading \Package{scrlayer-scrpage}. For
262 example, the \KOMAScript{} classes define
263 \DescRef{maincls.fontelement.pageheadfoot}, and then
264 \Package{scrlayer-scrpage} uses the setting it finds.%
265 }{%
266 \IfThisCommonLabelBase{scrjura}{}{ %
267 The default values can be found in the corresponding sections.%
268 }%
269 }%
270 }%
271 }%
272
273 \IfThisCommonLabelBaseOneOf{scrlttr2,scrextend}{% Umbruchvarianten
274 The \Macro{usekomafont} command can be used to switch the current font style
275 to the specified \PName{Element}.%
276 }{%
277 With the \Macro{usekomafont} command, the current font style can be changed
278 to the one defined for the specified \PName{element}.%
279 }
280
281 \IfThisCommonLabelBase{maincls}{\iftrue}{\csname iffalse\endcsname}
282 \begin{Example}
283 \phantomsection\xmpllabel{cmd.setkomafont}%
284 Suppose you want to use the same font specification for the element
285 \DescRef{\ThisCommonLabelBase.fontelement.captionlabel}
286 that is used with
287 \DescRef{\ThisCommonLabelBase.fontelement.descriptionlabel}. This can be
288 easily done with:
289 \begin{lstcode}
290 \setkomafont{captionlabel}{%
291 \usekomafont{descriptionlabel}%
292 }
293 \end{lstcode}
294 You can find other examples in the explanation of each element.
295 \end{Example}
296
297 \begin{desclist}
298 \desccaption{%
299 Elements whose font style can be changed in \Class{scrbook},
300 \Class{scrreprt} or \Class{scrartcl} with \Macro{setkomafont} and
301 \Macro{addtokomafont}%
302 \label{tab:maincls.fontelements}%
303 \label{tab:scrextend.fontelements}%
304 }{%
305 Elements whose font style can be changed (\emph{continued})%
306 }%
307 \feentry{author}{%
308 \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
309 \Class{scrartcl}\and \Package{scrextend}}%
310 author of the document in the title, i.\,e., the argument of
311 \DescRef{\ThisCommonLabelBase.cmd.author} when
312 \DescRef{\ThisCommonLabelBase.cmd.maketitle} is used (see
313 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.author})}%
314 \feentry{caption}{text of a figure or table caption (see
315 \autoref{sec:maincls.floats}, \DescPageRef{\ThisCommonLabelBase.cmd.caption})}%
316 \feentry{captionlabel}{label of a figure or table caption; applied in
317 addition to the \DescRef{\ThisCommonLabelBase.fontelement.caption}
318 element (see \autoref{sec:maincls.floats},
319 \DescPageRef{\ThisCommonLabelBase.cmd.caption})}%
320 \feentry{chapter}{title of the sectioning command
321 \DescRef{\ThisCommonLabelBase.cmd.chapter} (see
322 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.chapter})}%
323 \feentry{chapterentry}{%
324 table of contents entry for the sectioning command
325 \DescRef{\ThisCommonLabelBase.cmd.chapter} (see
326 \autoref{sec:maincls.toc}, \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
327 \feentry{chapterentrydots}{%
328 \ChangedAt{v3.15}{\Class{scrbook}\and \Class{scrreprt}}%
329 optional points connecting table-of-content entries for the
330 \DescRef{\ThisCommonLabelBase.cmd.chapter} level, differing from the
331 \DescRef{\ThisCommonLabelBase.fontelement.chapterentry} element,
332 \Macro{normalfont} and \Macro{normalsize} (see
333 \autoref{sec:maincls.toc}, \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
334 \feentry{chapterentrypagenumber}{%
335 page number of the table of contents entry for the sectioning command
336 \DescRef{\ThisCommonLabelBase.cmd.chapter}, differing from the element
337 \DescRef{\ThisCommonLabelBase.fontelement.chapterentry} (see
338 \autoref{sec:maincls.toc}, \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
339 \feentry{chapterprefix}{%
340 label, e.\,g., ``Chapter'', appearing before the chapter number in both
341 \OptionValueRef{maincls}{chapterprefix}{true} and
342 \OptionValueRef{maincls}{appendixprefix}{true} (see
343 \autoref{sec:maincls.structure},
344 \DescPageRef{\ThisCommonLabelBase.option.chapterprefix})}%
345 \feentry{date}{%
346 \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
347 \Class{scrartcl}\and \Package{scrextend}}%
348 date of the document in the main title, i.\,e., the argument of
349 \DescRef{\ThisCommonLabelBase.cmd.date} when
350 \DescRef{\ThisCommonLabelBase.cmd.maketitle} is used (see
351 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.date})}%
352 \feentry{dedication}{%
353 \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
354 \Class{scrartcl}\and \Package{scrextend}}%
355 dedication page after the main title, i.\,e., the argument of
356 \DescRef{\ThisCommonLabelBase.cmd.dedication} when
357 \DescRef{\ThisCommonLabelBase.cmd.maketitle} is used (see
358 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.dedication})}%
359 \feentry{descriptionlabel}{labels, i.\,e., the optional argument of
360 \DescRef{\ThisCommonLabelBase.cmd.item.description} in the
361 \DescRef{\ThisCommonLabelBase.env.description} environment (see
362 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.description})}%
363 \feentry{dictum}{dictum or epigraph (see \autoref{sec:maincls.dictum},
364 \DescPageRef{\ThisCommonLabelBase.cmd.dictum})}%
365 \feentry{dictumauthor}{author of a dictum or epigraph; applied in addition
366 to the element \DescRef{\ThisCommonLabelBase.fontelement.dictum} (see
367 \autoref{sec:maincls.dictum}, \DescPageRef{\ThisCommonLabelBase.cmd.dictum})}%
368 \feentry{dictumtext}{alternative name for
369 \DescRef{\ThisCommonLabelBase.fontelement.dictum}}%
370 \feentry{disposition}{all sectioning command titles, i.\,e., the arguments
371 of \DescRef{\ThisCommonLabelBase.cmd.part} down to
372 \DescRef{\ThisCommonLabelBase.cmd.subparagraph} and
373 \DescRef{\ThisCommonLabelBase.cmd.minisec}, including the title of the
374 abstract; applied before the element of the respective unit (see
375 \autoref{sec:maincls.structure}, \autopageref{sec:maincls.structure})}%
376 \feentry{enumeratelabel}{%
377 \ChangedAt{v3.44}{\Class{scrbook}\and \Class{scrreprt}\and
378 \Class{scrartcl}}%
379 Default for the preset numbers of the environment
380 \DescRef{\ThisCommonLabelBase.env.enumerate} (see
381 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
382 \feentry{footnote}{footnote text and marker (see
383 \autoref{sec:maincls.footnotes}, \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
384 \feentry{footnotelabel}{marker for a footnote; applied in addition to the
385 element \DescRef{\ThisCommonLabelBase.fontelement.footnote} (see
386 \autoref{sec:maincls.footnotes}, \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
387 \feentry{footnotereference}{footnote reference in the text (see
388 \autoref{sec:maincls.footnotes}, \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
389 \feentry{footnoterule}{%
390 horizontal rule\ChangedAt{v3.07}{\Class{scrbook}\and
391 \Class{scrreprt}\and \Class{scrartcl}} above the footnotes at the end
392 of the text area (see \autoref{sec:maincls.footnotes},
393 \DescPageRef{\ThisCommonLabelBase.cmd.setfootnoterule})}%
394 \feentry{itemizelabel}{%
395 \ChangedAt{v3.33}{\Class{scrbook}\and \Class{scrreprt}\and
396 \Class{scrartcl}}%
397 Default for the preset symbols of the environment
398 \DescRef{\ThisCommonLabelBase.env.itemize} (see
399 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
400 \feentry{labelenumi}{%
401 \ChangedAt{v3.44}{\Class{scrbook}\and \Class{scrreprt}\and
402 \Class{scrartcl}}%
403 Font to be used in the item number definition
404 \DescRef{\ThisCommonLabelBase.cmd.labelenumi} (see
405 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
406 \feentry{labelenumii}{%
407 \ChangedAt{v3.44}{\Class{scrbook}\and \Class{scrreprt}\and
408 \Class{scrartcl}}%
409 Font to be used in the item number definition
410 \DescRef{\ThisCommonLabelBase.cmd.labelenumii} (see
411 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
412 \feentry{labelenumiii}{%
413 \ChangedAt{v3.44}{\Class{scrbook}\and \Class{scrreprt}\and
414 \Class{scrartcl}}%
415 Font to be used in the item number definition
416 \DescRef{\ThisCommonLabelBase.cmd.labelenumiii} (see
417 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
418 \feentry{labelenumiv}{%
419 \ChangedAt{v3.44}{\Class{scrbook}\and \Class{scrreprt}\and
420 \Class{scrartcl}}%
421 Font to be used in the item number definition
422 \DescRef{\ThisCommonLabelBase.cmd.labelenumiv} (see
423 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
424 \feentry{labelinglabel}{labels, i.\,e., the optional argument of
425 \DescRef{\ThisCommonLabelBase.cmd.item.labeling} in the
426 \DescRef{\ThisCommonLabelBase.env.labeling} environment (see
427 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.labeling})}%
428 \feentry{labelingseparator}{separator, i.\,e., the optional argument of
429 the \DescRef{\ThisCommonLabelBase.env.labeling} environment; applied in
430 addition to the element
431 \DescRef{\ThisCommonLabelBase.fontelement.labelinglabel} (see
432 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.labeling})}%
433 \feentry{labelitemi}{%
434 \ChangedAt{v3.33}{\Class{scrbook}\and \Class{scrreprt}\and
435 \Class{scrartcl}}%
436 Font to be used in the item symbol definition
437 \DescRef{\ThisCommonLabelBase.cmd.labelitemi} (see
438 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
439 \feentry{labelitemii}{%
440 \ChangedAt{v3.33}{\Class{scrbook}\and \Class{scrreprt}\and
441 \Class{scrartcl}}%
442 Font to be used in the item symbol definition
443 \DescRef{\ThisCommonLabelBase.cmd.labelitemii} (see
444 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
445 \feentry{labelitemiii}{%
446 \ChangedAt{v3.33}{\Class{scrbook}\and \Class{scrreprt}\and
447 \Class{scrartcl}}%
448 Font to be used in the item symbol definition
449 \DescRef{\ThisCommonLabelBase.cmd.labelitemiii} (see
450 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
451 \feentry{labelitemiv}{%
452 \ChangedAt{v3.33}{\Class{scrbook}\and \Class{scrreprt}\and
453 \Class{scrartcl}}%
454 Font to be used in the item symbol definition
455 \DescRef{\ThisCommonLabelBase.cmd.labelitemiv} (see
456 \autoref{sec:maincls.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
457 \feentry{minisec}{title of \DescRef{\ThisCommonLabelBase.cmd.minisec} (see
458 \autoref{sec:maincls.structure} ab \DescPageRef{\ThisCommonLabelBase.cmd.minisec})}%
459 \feentry{pagefoot}{only used if package \Package{scrlayer-scrpage} has
460 been loaded (see \autoref{cha:scrlayer-scrpage},
461 \DescPageRef{scrlayer-scrpage.fontelement.pagefoot})}%
462 \feentry{pagehead}{alternative name for
463 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}}%
464 \feentry{pageheadfoot}{the header and footer of a page (see
465 \autoref{sec:maincls.pagestyle} from
466 \autopageref{sec:maincls.pagestyle})}%
467 \feentry{pagenumber}{page number in the header or footer (see
468 \autoref{sec:maincls.pagestyle})}%
469 \feentry{pagination}{alternative name for
470 \DescRef{\ThisCommonLabelBase.fontelement.pagenumber}}%
471 \feentry{paragraph}{title of the sectioning command
472 \DescRef{\ThisCommonLabelBase.cmd.paragraph} (see
473 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.paragraph})}%
474 \feentry{part}{title of the \DescRef{\ThisCommonLabelBase.cmd.part}
475 sectioning command, without the line containing the part number (see
476 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.part})}%
477 \feentry{partentry}{%
478 table of contents entry for the sectioning command
479 \DescRef{\ThisCommonLabelBase.cmd.part} (see \autoref{sec:maincls.toc},
480 \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
481 \feentry{partentrypagenumber}{%
482 page number of the table of contents entry for the sectioning command
483 \DescRef{\ThisCommonLabelBase.cmd.part}; applied in addition to the
484 element \DescRef{\ThisCommonLabelBase.fontelement.partentry} (see
485 \autoref{sec:maincls.toc}, \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
486 \feentry{partnumber}{line containing the part number in a title of the
487 sectioning command \DescRef{\ThisCommonLabelBase.cmd.part} (see
488 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.part})}%
489 \feentry{publishers}{%
490 \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
491 \Class{scrartcl}\and \Package{scrextend}}%
492 publishers of the document in the main title, i.\,e., the argument of
493 \DescRef{\ThisCommonLabelBase.cmd.publishers} when
494 \DescRef{\ThisCommonLabelBase.cmd.maketitle} is used (see
495 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.publishers})}%
496 \feentry{section}{title of the sectioning command
497 \DescRef{\ThisCommonLabelBase.cmd.section} (see
498 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.section})}%
499 \feentry{sectionentry}{%
500 table of contents entry for sectioning command
501 \DescRef{\ThisCommonLabelBase.cmd.section} (only available in
502 \Class{scrartcl}, see \autoref{sec:maincls.toc},
503 \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
504 \feentry{sectionentrydots}{%
505 \ChangedAt{v3.15}{\Class{scrartcl}}%
506 optional points connecting table-of-content entries for the
507 \DescRef{\ThisCommonLabelBase.cmd.section} level, differing from the
508 \DescRef{\ThisCommonLabelBase.fontelement.sectionentry} element,
509 \Macro{normalfont} and \Macro{normalsize} (only available in
510 \Class{scrartcl}, see \autoref{sec:maincls.toc},
511 \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
512 \feentry{sectionentrypagenumber}{%
513 page number of the table of contents entry for the sectioning command
514 \DescRef{\ThisCommonLabelBase.cmd.section}; applied in addition to
515 element \DescRef{\ThisCommonLabelBase.fontelement.sectionentry} (only
516 available in \Class{scrartcl}, see \autoref{sec:maincls.toc},
517 \DescPageRef{\ThisCommonLabelBase.cmd.tableofcontents})}%
518 \feentry{sectioning}{alternative name for
519 \DescRef{\ThisCommonLabelBase.fontelement.disposition}}%
520 \feentry{subject}{%
521 topic of the document, i.\,e., the argument of
522 \DescRef{\ThisCommonLabelBase.cmd.subject} on the main title page (see
523 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.subject})}%
524 \feentry{subparagraph}{title of the sectioning command
525 \DescRef{\ThisCommonLabelBase.cmd.subparagraph} (see
526 \autoref{sec:maincls.structure},
527 \DescPageRef{\ThisCommonLabelBase.cmd.subparagraph})}%
528 \feentry{subsection}{title of the sectioning command
529 \DescRef{\ThisCommonLabelBase.cmd.subsection} (see
530 \autoref{sec:maincls.structure}, \DescPageRef{\ThisCommonLabelBase.cmd.subsection})}%
531 \feentry{subsubsection}{title of the sectioning command
532 \DescRef{\ThisCommonLabelBase.cmd.subsubsection} (see
533 \autoref{sec:maincls.structure},
534 \DescPageRef{\ThisCommonLabelBase.cmd.subsubsection})}%
535 \feentry{subtitle}{%
536 subtitle of the document, i.\,e., the argument of
537 \DescRef{\ThisCommonLabelBase.cmd.subtitle} on the main title page (see
538 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.title})}%
539 \feentry{title}{main title of the document, i.\,e., the argument of
540 \DescRef{\ThisCommonLabelBase.cmd.title} (for details about the title
541 size see the additional note in the text of
542 \autoref{sec:maincls.titlepage} from \DescPageRef{\ThisCommonLabelBase.cmd.title})}%
543 \feentry{titlehead}{%
544 \ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
545 \Class{scrartcl}\and \Package{scrextend}}%
546 heading above the main title of the document, i.\,e., the argument of
547 \DescRef{\ThisCommonLabelBase.cmd.titlehead} when
548 \DescRef{\ThisCommonLabelBase.cmd.maketitle} is used (see
549 \autoref{sec:maincls.titlepage}, \DescPageRef{\ThisCommonLabelBase.cmd.titlehead})}%
550 \end{desclist}
551 \else
552 \IfThisCommonLabelBase{scrextend}{\iftrue}{\csname iffalse\endcsname}
553 \begin{Example}
554 Suppose you want to print the document title in a red serif font.
555 You can do this using:
556 \begin{lstcode}
557 \setkomafont{title}{\color{red}}
558 \end{lstcode}
559 You will need the \Package{color} or the \Package{xcolor} package for
560 the \Macro{color}\PParameter{red} command. Using \Macro{normalfont} is
561 unnecessary in this case because it is already part of the definition of
562 the title itself. This\textnote{Attention!} example also needs the
563 \OptionValueRef{scrextend}{extendedfeature}{title} option (see
564 \autoref{sec:scrextend.optionalFeatures},
565 \DescPageRef{scrextend.option.extendedfeature}).
566 \end{Example}
567 \else
568 \IfThisCommonLabelBase{scrlttr2}{%
569 You can find a general example that uses both \Macro{setkomafont} and
570 \Macro{usekomafont} in \autoref{sec:maincls.textmarkup} on
571 \PageRefxmpl{maincls.cmd.setkomafont}.
572
573 \begin{desclist}
574 \desccaption{%
575 Elements whose font style can be changed in the \Class{scrlttr2}
576 class or the \Package{scrletter} package with the
577 \Macro{setkomafont} and \Macro{addtokomafont}
578 commands\label{tab:scrlttr2.fontelements}%
579 }{%
580 Elements whose font style can be changed (\emph{continued})%
581 }%
582 \feentry{addressee}{recipient's name and address in the address field
583 (\autoref{sec:scrlttr2.firstpage},
584 \DescPageRef{\ThisCommonLabelBase.option.addrfield})}%
585 \feentry{backaddress}{%
586 return address for a window envelope
587 (\autoref{sec:scrlttr2.firstpage},
588 \DescPageRef{\ThisCommonLabelBase.option.backaddress})}%
589 \feentry{descriptionlabel}{%
590 label, i.\,e. the optional argument of
591 \DescRef{\ThisCommonLabelBase.cmd.item.description}, in a
592 \DescRef{\ThisCommonLabelBase.env.description} environment
593 (\autoref{sec:scrlttr2.lists},
594 \DescPageRef{\ThisCommonLabelBase.env.description})}%
595 \feentry{enumeratelabel}{%
596 \ChangedAt{v3.44}{\Class{scrlttr2}}%
597 Default for the preset numbers of the environment
598 \DescRef{\ThisCommonLabelBase.env.enumerate} (see
599 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
600 \feentry{foldmark}{%
601 fold mark on the letterhead page; allows change of line colour
602 (\autoref{sec:scrlttr2.firstpage},
603 \DescPageRef{\ThisCommonLabelBase.option.foldmarks})}%
604 \feentry{footnote}{%
605 footnote text and marker (\autoref{sec:scrlttr2.footnotes},
606 \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
607 \feentry{footnotelabel}{%
608 footnote marker; applied in addition to the
609 \DescRef{\ThisCommonLabelBase.fontelement.footnote} element
610 (\autoref{sec:scrlttr2.footnotes},
611 \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
612 \feentry{footnotereference}{%
613 footnote reference in the text (\autoref{sec:scrlttr2.footnotes},
614 \DescPageRef{\ThisCommonLabelBase.cmd.footnote})}%
615 \feentry{footnoterule}{%
616 horizontal rule\ChangedAt{v3.07}{\Class{scrlttr2}} above the
617 footnotes at the end of the text area
618 (\autoref{sec:maincls.footnotes},
619 \DescPageRef{\ThisCommonLabelBase.cmd.setfootnoterule})}%
620 \feentry{fromaddress}{%
621 sender's address in the letterhead
622 (\autoref{sec:scrlttr2.firstpage},
623 \DescPageRef{\ThisCommonLabelBase.variable.fromaddress})}%
624 \feentry{fromname}{%
625 sender's name in the letterhead, not including \PValue{fromaddress}
626 (\autoref{sec:scrlttr2.firstpage},
627 \DescPageRef{\ThisCommonLabelBase.variable.fromname})}%
628 \feentry{fromrule}{%
629 horizontal rule in the letterhead; intended for colour changes
630 (\autoref{sec:scrlttr2.firstpage},
631 \DescPageRef{\ThisCommonLabelBase.option.fromrule})}%
632 \feentry{itemizelabel}{%
633 \ChangedAt{v3.33}{\Class{scrlttr2}}%
634 Default for the preset symbols of the environment
635 \DescRef{\ThisCommonLabelBase.env.itemize} (see
636 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
637 \feentry{labelenumi}{%
638 \ChangedAt{v3.44}{\Class{scrlttr2}}%
639 Font to be used in the item number definition
640 \DescRef{\ThisCommonLabelBase.cmd.labelenumi} (see
641 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
642 \feentry{labelenumii}{%
643 \ChangedAt{v3.44}{\Class{scrlttr2}}%
644 Font to be used in the item number definition
645 \DescRef{\ThisCommonLabelBase.cmd.labelenumii} (see
646 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
647 \feentry{labelenumiii}{%
648 \ChangedAt{v3.44}{\Class{scrlttr2}}%
649 Font to be used in the item number definition
650 \DescRef{\ThisCommonLabelBase.cmd.labelenumiii} (see
651 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
652 \feentry{labelenumiv}{%
653 \ChangedAt{v3.44}{\Class{scrlttr2}}%
654 Font to be used in the item number definition
655 \DescRef{\ThisCommonLabelBase.cmd.labelenumiv} (see
656 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.enumerate})}%
657 \feentry{labelinglabel}{%
658 labels, i.\,e. the optional argument of
659 \DescRef{\ThisCommonLabelBase.cmd.item.labeling} in the
660 \DescRef{\ThisCommonLabelBase.env.labeling} environment %
661 (see \autoref{sec:scrlttr2.lists},
662 \DescPageRef{\ThisCommonLabelBase.env.labeling})}%
663 \feentry{labelingseparator}{%
664 separator, i.\,e. the optional argument of the
665 \DescRef{\ThisCommonLabelBase.env.labeling} environment; applied in
666 addition to the
667 \DescRef{\ThisCommonLabelBase.fontelement.labelinglabel} element
668 (see \autoref{sec:scrlttr2.lists},
669 \DescPageRef{\ThisCommonLabelBase.env.labeling})}%
670 \feentry{labelitemi}{%
671 \ChangedAt{v3.33}{\Class{scrlttr2}}%
672 Font to be used in the item symbol definition
673 \DescRef{\ThisCommonLabelBase.cmd.labelitemi} (see
674 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
675 \feentry{labelitemii}{%
676 \ChangedAt{v3.33}{\Class{scrlttr2}}%
677 Font to be used in the item symbol definition
678 \DescRef{\ThisCommonLabelBase.cmd.labelitemii} (see
679 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
680 \feentry{labelitemiii}{%
681 \ChangedAt{v3.33}{\Class{scrlttr2}}%
682 Font to be used in the item symbol definition
683 \DescRef{\ThisCommonLabelBase.cmd.labelitemiii} (see
684 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
685 \feentry{labelitemiv}{%
686 \ChangedAt{v3.33}{\Class{scrlttr2}}%
687 Font to be used in the item symbol definition
688 \DescRef{\ThisCommonLabelBase.cmd.labelitemiv} (see
689 \autoref{sec:scrlttr2.lists}, \DescPageRef{\ThisCommonLabelBase.env.itemize})}%
690 \feentry{pagefoot}{%
691 depending on the page style used after the
692 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot} element for
693 the footer (\autoref{sec:\LabelBase.pagestyle},
694 \DescPageRef{\LabelBase.fontelement.pagefoot})}%
695 \feentry{pagehead}{%
696 depending on the page style used after the
697 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot} element for
698 the header (\autoref{sec:\LabelBase.pagestyle},
699 \DescPageRef{\LabelBase.fontelement.pagefoot})}%
700 \feentry{pageheadfoot}{%
701 the header and footer of a page for all page styles that have been
702 defined using \KOMAScript{} (\autoref{sec:\LabelBase.pagestyle},
703 \DescPageRef{\ThisCommonLabelBase.fontelement.pageheadfoot})}%
704 \feentry{pagenumber}{%
705 page number in the header or footer %
706 (\autoref{sec:\LabelBase.pagestyle},
707 \DescPageRef{\ThisCommonLabelBase.fontelement.pagenumber})}%
708 \feentry{pagination}{%
709 alternative name for
710 \DescRef{\ThisCommonLabelBase.fontelement.pagenumber}}%
711 \feentry{placeanddate}{%
712 \ChangedAt{v3.12}{\Class{scrlttr2}}%
713 place and date, if a date line will be used instead of a normal
714 reference line (\autoref{sec:scrlttr2.firstpage},
715 \DescPageRef{\ThisCommonLabelBase.variable.placeseparator})}%
716 \feentry{refname}{%
717 description or title of the fields in the reference line %
718 (\autoref{sec:scrlttr2.firstpage},
719 \DescPageRef{\ThisCommonLabelBase.variable.yourref})}%
720 \feentry{refvalue}{%
721 content of the fields in the reference line %
722 (\autoref{sec:scrlttr2.firstpage},
723 \DescPageRef{\ThisCommonLabelBase.variable.yourref})}%
724 \feentry{specialmail}{%
725 delivery type in the address field %
726 (\autoref{sec:scrlttr2.firstpage},
727 \DescPageRef{\ThisCommonLabelBase.variable.specialmail})}%
728 \feentry{lettersubject}{%
729 \ChangedAt{v3.17}{\Class{scrlttr2}\and \Package{scrletter}}%
730 subject in the opening of the letter %
731 (\autoref{sec:scrlttr2.firstpage},
732 \DescPageRef{\ThisCommonLabelBase.variable.subject})}%
733 \feentry{lettertitle}{%
734 \ChangedAt{v3.17}{\Class{scrlttr2}\and \Package{scrletter}}%
735 title in the opening of the letter %
736 (\autoref{sec:scrlttr2.firstpage},
737 \DescPageRef{\ThisCommonLabelBase.variable.title})}%
738 \feentry{toaddress}{%
739 variation of the
740 \DescRef{\ThisCommonLabelBase.fontelement.addressee} element to
741 format the recipient's address, not including the name, in the
742 address field (\autoref{sec:scrlttr2.firstpage},
743 \DescPageRef{\ThisCommonLabelBase.variable.toaddress})}%
744 \feentry{toname}{%
745 variation of the
746 \DescRef{\ThisCommonLabelBase.fontelement.addressee} element to
747 format the recipient's name in the address field
748 (\autoref{sec:scrlttr2.firstpage},
749 \DescPageRef{\ThisCommonLabelBase.variable.toname})}%
750 \end{desclist}
751 }{%
752 \IfThisCommonLabelBase{scrlayer-scrpage}{%
753 \begin{desclist}
754 \desccaption[{Elements of \Package{scrlayer-scrpage} whose font
755 styles can be changed with the \Macro{setkomafont} and
756 \Macro{addtokomafont} commands}]%
757 {Elements of \Package{scrlayer-scrpage} whose font styles can be
758 changed with the \Macro{setkomafont} and \Macro{addtokomafont}
759 commands, and their defaults, if they have not been defined
760 before loading \Package{scrlayer-scrpage}%
761 \label{tab:scrlayer-scrpage.fontelements}%
762 }%
763 {Elements whose font style can be changed (\emph{continued})}%
764 \feentry{footbotline}{%
765 horizontal line below the footer of a page style defined using
766 \Package{scrlayer-scrpage}. The font will be applied after
767 \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
768 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
769 \IndexFontElement{pageheadfoot} and
770 \DescRef{\ThisCommonLabelBase.fontelement.pagefoot}%
771 \IndexFontElement{pagefoot}. It is recommended to use this element
772 for colour changes only.\par
773 \mbox{Default: \emph{empty}}%
774 }%
775 \feentry{footsepline}{%
776 horizontal line above the footer of a page style defined using
777 \Package{scrlayer-scrpage}. The font will be applied after
778 \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
779 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
780 \IndexFontElement{pageheadfoot} and
781 \DescRef{\ThisCommonLabelBase.fontelement.pagefoot}%
782 \IndexFontElement{pagefoot}. It is recommended to use this element
783 for colour changes only.\par
784 \mbox{Default: \emph{empty}}%
785 }%
786 \feentry{headsepline}{%
787 horizontal line below the header of a page style defined using
788 \Package{scrlayer-scrpage}. The font will be applied after
789 \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
790 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
791 \IndexFontElement{pageheadfoot} and
792 \DescRef{scrlayer-scrpage.fontelement.pagehead}%
793 \IndexFontElement{pagehead}. It is recommended to use this element
794 for colour changes only.\par
795 Default: \emph{empty}%
796 }%
797 \feentry{headtopline}{%
798 horizontal line above the header of a page style defined using
799 \Package{scrlayer-scrpage}. The font will be applied after
800 \Macro{normalfont}\IndexCmd{normalfont} and the fonts of elements
801 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
802 \IndexFontElement{pageheadfoot} and
803 \DescRef{scrlayer-scrpage.fontelement.pagehead}%
804 \IndexFontElement{pagehead}. It is recommended to use this element
805 for colour changes only.\par
806 \mbox{Default: \emph{empty}}%
807 }%
808 \feentry{pagefoot}{%
809 contents of the page footer of a page style defined using
810 \Package{scrlayer-scrpage}. The font will be applied after
811 \Macro{normalfont}\IndexCmd{normalfont} and the font of element
812 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
813 \IndexFontElement{pageheadfoot}.\par
814 \mbox{Default: \emph{empty}}%
815 }%
816 \feentry{pagehead}{%
817 contents of the page header of a page style defined using
818 \Package{scrlayer-scrpage}. The font will be applied after
819 \Macro{normalfont}\IndexCmd{normalfont} and the font of element
820 \DescRef{\ThisCommonLabelBase.fontelement.pageheadfoot}%
821 \IndexFontElement{pageheadfoot}.\par
822 \mbox{Default: \emph{empty}}%
823 }%
824 \feentry{pageheadfoot}{%
825 contents of the page header or footer of a page style defined
826 using \Package{scrlayer-scrpage}. The font will be applied after
827 \Macro{normalfont}\IndexCmd{normalfont}.\par
828 \mbox{Default: \Macro{normalcolor}\Macro{slshape}}%
829 }%
830 \feentry{pagenumber}{%
831 pagination set with
832 \DescRef{\ThisCommonLabelBase.cmd.pagemark}. If you redefine
833 \DescRef{\ThisCommonLabelBase.cmd.pagemark}, you have to be sure
834 that your redefinition also uses
835 \Macro{usekomafont}\PParameter{pagenumber}!\par
836 \mbox{Default: \Macro{normalfont}}%
837 }%
838 \end{desclist}
839 }{%
840 \IfThisCommonLabelBase{scrjura}{%
841 \begin{table}
842 \caption{Elements whose \Package{scrjura} font styles can be
843 changed with \Macro{setkomafont} and \Macro{addtokomafont},
844 including their default settings}%
845 \label{tab:scrjura.fontelements}%
846 \begin{desctabular}
847 \feentry{Clause}{%
848 alias for \FontElement{\PName{environment name}.Clause}
849 within a contract environment, for example
850 \FontElement{contract.Clause} within
851 \DescRef{\ThisCommonLabelBase.env.contract}; if no
852 corresponding element is defined,
853 \FontElement{contract.Clause} is used%
854 }%
855 \feentry{contract.Clause}{%
856 heading of a paragraph within
857 \DescRef{\ThisCommonLabelBase.env.contract} (see
858 \autoref{sec:\ThisCommonLabelBase.contract},
859 \DescPageRef{\ThisCommonLabelBase.fontelement.contract.Clause});
860 \par
861 \mbox{Default: \Macro{sffamily}\Macro{bfseries}\Macro{large}}%
862 }%
863 \entry{\DescRef{\ThisCommonLabelBase.fontelement./Name/.Clause}}{%
864 \IndexFontElement[indexmain]{\PName{name}.Clause}%
865 heading of a paragraph within a \PName{name} environment
866 defined with
867 \DescRef{\ThisCommonLabelBase.cmd.DeclareNewJuraEnvironment}
868 as long as the setting was made with \Option{ClauseFont} or
869 the item was subsequently defined (see
870 \autoref{sec:\ThisCommonLabelBase.newenv},
871 \DescPageRef{\ThisCommonLabelBase.fontelement./Name/.Clause});
872 \par
873 \mbox{Default: \emph{none}}%
874 }%
875 \feentry{parnumber}{%
876 paragraph numbers within a contract environment (see
877 \autoref{sec:\ThisCommonLabelBase.par},
878 \DescPageRef{\ThisCommonLabelBase.fontelement.parnumber});\par
879 \mbox{Default: \emph{empty}}%
880 }%
881 \feentry{sentencenumber}{%
882 \ChangedAt{v3.26}{\Package{scrjura}}%
883 sentence number of \DescRef{\ThisCommonLabelBase.cmd.Sentence}
884 (see \autoref{sec:\ThisCommonLabelBase.sentence},
885 \DescPageRef{%
886 \ThisCommonLabelBase.fontelement.sentencenumber});\par
887 \mbox{Default: \emph{empty}}%
888 }%
889 \end{desctabular}
890 \end{table}
891 }{%
892 \IfThisCommonLabelBase{scrlayer-notecolumn}{}{%
893 \InternalCommonFileUsageError%
894 }%
895 }%
896 }%
897 }%
898 \fi%
899 \fi
900 \EndIndexGroup
901
902
903 \begin{Declaration}
904 \Macro{usefontofkomafont}\Parameter{element}%
905 \Macro{useencodingofkomafont}\Parameter{element}%
906 \Macro{usesizeofkomafont}\Parameter{element}%
907 \Macro{usefamilyofkomafont}\Parameter{element}%
908 \Macro{useseriesofkomafont}\Parameter{element}%
909 \Macro{useshapeofkomafont}\Parameter{element}
910 \end{Declaration}
911 Sometimes\ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and
912 \Class{scrartcl}\and \Package{scrextend}}, although this is not recommended,
913 the font setting of an element is used for settings that are not actually
914 related to the font. If you want to apply only the font setting of an element
915 but not those other settings, you can use \Macro{usefontofkomafont} instead of
916 \DescRef{\ThisCommonLabelBase.cmd.usekomafont}. This will activate the font
917 size and baseline skip, the font encoding, the font family, the font series,
918 and the font shape of an element, but no further settings as long as those
919 further settings are local.
920
921 You can also switch to a single one of those attributes using one of the other
922 commands. Note that \Macro{usesizeofkomafont} uses both the font
923 size and the baseline skip.%
924 %
925 \IfThisCommonLabelBase{scrextend}{% Umbruchvariante!
926 }{%
927 \IfThisCommonLabelBase{scrjura}{%
928 \par%
929 However, the misuse of the font settings is strongly discouraged (see
930 \autoref{sec:maincls-experts.fonts},
931 \DescPageRef{maincls-experts.cmd.addtokomafontrelaxlist})!%
932 }{%
933 \par%
934 However, you should not take these commands as legitimizing the insertion
935 of arbitrary commands in an element's font setting. To do so can lead
936 quickly to errors (see \autoref{sec:maincls-experts.fonts},
937 \DescPageRef{maincls-experts.cmd.addtokomafontrelaxlist}).%
938 }%
939 }%
940 \EndIndexGroup
941 %
942 \EndIndexGroup
943
944 %%% Local Variables:
945 %%% mode: latex
946 %%% TeX-master: "scrguide-en.tex"
947 %%% coding: utf-8
948 %%% ispell-local-dictionary: "en_GB"
949 %%% eval: (flyspell-mode 1)
950 %%% End: