Debian Codegraph @

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

raw
1 % ======================================================================
2 % common-parmarkup-en.tex
3 % Copyright (c) Markus Kohm, 2001-2022
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-parmarkup-en.tex}
27 [$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $
28 KOMA-Script guide (common paragraph: Paragraph Markup)]
29 \translator{Gernot Hassenpflug\and Markus Kohm\and Krickette Murabayashi\and
30 Karl Hagen}
31
32 \section{Marking Paragraphs}
33 \seclabel{parmarkup}%
34 \BeginIndexGroup
35 \BeginIndex{}{paragraph>marking}%
36
37 \IfThisCommonLabelBase{maincls}{%
38 The\textnote{paragraph indent vs. paragraph spacing} standard classes
39 normally set paragraphs\Index[indexmain]{paragraph} indented and without any
40 vertical, inter-paragraph space. This is the best solution when using a
41 regular page layout like the ones produced with the \Package{typearea}
42 package. If neither indentation nor vertical space is used, only the length
43 of the last line would give the reader a guide to the paragraph break. In
44 extreme cases, it is very difficult to tell whether a line is full or not.
45 Furthermore, typographers find that a signal given at the paragraph's end is
46 easily forgotten by the start of the next line. A signal at the paragraph's
47 beginning is more easily remembered. Inter-paragraph spacing has the
48 drawback of disappearing in some contexts. For instance, after a displayed
49 formula it would be impossible to detect if the previous paragraph continues
50 or a new one begins. Also, at the top of a new page, it might be necessary
51 to look at the previous page to determine if a new paragraph has been
52 started or not. All these problems disappear when using indentation. A
53 combination of indentation and vertical inter-paragraph spacing is redundant
54 and therefore should be avoided. Indentation\Index[indexmain]{indentation}
55 alone is sufficient. The only drawback of indentation is that it shortens
56 the line length. The use of inter-paragraph spacing\Index{paragraph>spacing}
57 is therefore justified when using short lines, such as in a newspaper.%
58 }{%
59 \IfThisCommonLabelBase{scrlttr2}{%
60 The preliminaries of \autoref{sec:maincls.parmarkup},
61 \autopageref{sec:maincls.parmarkup} explain why paragraph indentation is
62 preferred to paragraph spacing. But the elements to which this explanation
63 refers, for example figures, tables, lists, equations, and even new pages,
64 are rare in normal letters. Letters are usually not so long that an
65 unrecognised paragraph will have serious consequences to the readability
66 of the document. The arguments for indentation, therefore, are less
67 consequential for standard letters. This may be one reason that you often
68 find paragraphs in letters marked with vertical spacing. But two
69 advantages of paragraph indentation remain. One is that such a letter
70 stands out from the crowd. Another is that it maintains the \emph{brand
71 identity}, that is the uniform appearance, of all documents from a single
72 source.%
73 }{\InternalCommonFileUsageError}%
74 } %
75 \IfThisCommonFirstRun{}{%
76 Apart from these suggestions, the information described in
77 \autoref{sec:\ThisCommonFirstLabelBase.parmarkup} for the other
78 \KOMAScript{} classes is valid for letters too. So if you have already read
79 and understood \autoref{sec:\ThisCommonFirstLabelBase.parmarkup} you can
80 skip ahead to \autoref{sec:\ThisCommonLabelBase.parmarkup.next} on
81 \autopageref{sec:\ThisCommonLabelBase.parmarkup.next}.%
82 \IfThisCommonLabelBase{scrlttr2}{ %
83 This also applies if you work not with the
84 \Class{scrlttr2}\OnlyAt{scrlttr2} class but with the \Package{scrletter}
85 package. The package does not provide its own settings for paragraph
86 formatting but relies entirely on the class being used.%
87 }{}%
88 }
89
90
91 \begin{Declaration}
92 \OptionVName{parskip}{method}
93 \end{Declaration}
94 \IfThisCommonLabelBase{maincls}{%
95 Once in a while you may require a document layout with vertical
96 inter-paragraph spacing instead of indentation. The \KOMAScript{} classes
97 provide several ways to accomplish this with the
98 \Option{parskip}\ChangedAt{v3.00}{\Class{scrbook}\and \Class{scrreprt}\and
99 \Class{scrartcl}} option.%
100 }{%
101 \IfThisCommonLabelBase{scrlttr2}{%
102 In letters, you often encounter paragraphs marked not by indentation of
103 the first line but by a vertical space between them. The \KOMAScript{}
104 class \Class{scrlttr2}\OnlyAt{scrlttr2} provides ways to accomplish this
105 with the \Option{parskip} option.%
106 }{\InternalCommonFileUsageError}%
107 } %
108 The \PName{method} consists of two elements. The first element is either
109 \PValue{full}\important{\OptionValue{parskip}{full}\\
110 \OptionValue{parskip}{half}} or \PValue{half}, where \PValue{full} stands
111 for a paragraph spacing of one line and \PValue{half} stands for a paragraph
112 spacing of half a line. The second element consists of one of the characters
113 ``\PValue{*}'', ``\PValue{+}'', or ``\PValue{-}'' and can be omitted. Without
114 the second element\important{\OptionVName{parskip}{distance}}, the final line
115 of a paragraph will end with a white space of at least 1\Unit{em}. With the
116 plus character as the second element%
117 \important{\OptionValue{parskip}{\PName{distance}+}}, the white space will be
118 at least one third\,---\,and with the
119 asterisk\important{\OptionValue{parskip}{\PName{distance}*}} one
120 fourth\,---\,the width of a normal line. With the minus variant%
121 \important{\OptionValue{parskip}{\PName{Abstand}-}}, no provision is made for
122 white space in the last line of a paragraph.
123
124 You can change the setting at any time. If you change it inside the document,
125 the \Macro{selectfont}\IndexCmd{selectfont}%
126 \IfThisCommonLabelBase{maincls}{%
127 \ChangedAt{v3.08}{\Class{scrbook}\and \Class{scrreprt}\and
128 \Class{scrartcl}}%
129 }{%
130 \IfThisCommonLabelBase{scrlttr2}{%
131 \ChangedAt{v3.08}{\Class{scrlttr2}}%
132 }{%
133 \InternalComonFileUsageError%
134 }%
135 } %
136 command will be called implicitly. Changes to paragraph spacing within a
137 paragraph will not be visible until the end of the paragraph.
138
139 In addition to the resulting eight combinations for \PName{method}, you can
140 use the values for simple switches shown in \autoref{tab:truefalseswitch},
141 \autopageref{tab:truefalseswitch}. Activating the option%
142 \important{\Option{parskip}\\\OptionValue{parskip}{true}} corresponds to using
143 \PValue{full} with no second element and therefore results in inter-paragraph
144 spacing of one line with at least 1\Unit{em} white space at the end of the
145 last line of each paragraph. Deactivating%
146 \important{\OptionValue{parskip}{false}} the option re-activates the default
147 indentation of 1\Unit{em} at the first line of the paragraph instead of
148 paragraph spacing. A summary of all possible values for \PName{method} are
149 shown in \autoref{tab:\ThisCommonFirstLabelBase.parskip}%
150 \IfThisCommonFirstRun{.%
151 \begin{desclist}
152 % \begin{table}
153 \desccaption
154 % \caption
155 [{Available values of option \Option{parskip}}]{%
156 Available values of option \Option{parskip} to select
157 how paragraph are
158 distinguished\label{tab:\ThisCommonFirstLabelBase.parskip}%
159 }%
160 {%
161 Available values of option \Option{parskip} (\emph{continuation})%
162 }%
163 % \begin{desctabular}
164 \entry{\PValue{false}, \PValue{off}, \PValue{no}%
165 \IndexOption{parskip~=\textKValue{false}}}{%
166 Paragraphs are identified by indentation of the first line by 1em.
167 There is no spacing requirement at the end of the last line
168 of a paragraph.}%
169 \entry{\PValue{full}, \PValue{true}, \PValue{on}, \PValue{yes}%
170 \IndexOption{parskip~=\textKValue{full}}%
171 }{%
172 Paragraphs are identified by a vertical space of one line between
173 paragraphs. There must be at least 1\Unit{em} of free space at the
174 end of the last line of the paragraph.}%
175 \pventry{full-}{%
176 Paragraphs are identified by a vertical space of one line between
177 paragraphs. There is no spacing requirement at the end of the last line
178 of a paragraph.\IndexOption{parskip~=\textKValue{full-}}}%
179 \pventry{full+}{%
180 Paragraphs are identified by a vertical space of one line between
181 paragraphs. There must be at least a third of a line of free space at the
182 end of a paragraph.\IndexOption{parskip~=\textKValue{full+}}}%
183 \pventry{full*}{%
184 Paragraphs are identified by a vertical space of one line between
185 paragraphs. There must be at least a quarter of a line of free space at
186 the end of a paragraph.\IndexOption{parskip~=\textKValue{full*}}}%
187 \pventry{half}{%
188 Paragraphs are identified by a vertical space of half a line between
189 paragraphs. There must be at least 1\Unit{em} free space at the end of the
190 last line of a paragraph.\IndexOption{parskip~=\textKValue{half}}}%
191 \pventry{half-}{%
192 Paragraphs are identified by a vertical space of half a line between
193 paragraphs. There is no spacing requirement at the end of the last line
194 of a paragraph.\IndexOption{parskip~=\textKValue{half-}}}%
195 \pventry{half+}{%
196 Paragraphs are identified by a vertical space of half a line between
197 paragraphs. There must be at least a third of a line of free space at the
198 end of a paragraph.\IndexOption{parskip~=\textKValue{half+}}}%
199 \pventry{half*}{%
200 Paragraphs are identified by a vertical space of half a line between
201 paragraphs. There must be at least a quarter of a line of free space at
202 the end of a paragraph.\IndexOption{parskip~=\textKValue{half*}}}%
203 \pventry{never}{%
204 No%
205 \IfThisCommonLabelBase{maincls}{%
206 \ChangedAt{v3.08}{\Class{scrbook}\and \Class{scrreprt}\and
207 \Class{scrartcl}}%
208 }{%
209 \IfThisCommonLabelBase{scrlttr2}{%
210 \ChangedAt{v3.08}{\Class{scrlttr2}}%
211 }{}%
212 } %
213 inter-paragraph spacing will be inserted even if additional vertical
214 spacing is needed for vertical adjustment with
215 \Macro{flushbottom}.\IndexCmd{flushbottom}%
216 \IndexOption{parskip~=\textKValue{never}}}%
217 % \end{desctabular}
218 % \end{table}%
219 \end{desclist}%
220 }{ at \autopageref{tab:\ThisCommonFirstLabelBase.parskip}.}
221
222 All\textnote{Attention!} eight \PValue{full} and \PValue{half} option values
223 also change the spacing before, after, and inside list environments. This
224 prevents these environments or the paragraphs inside them from having
225 a larger separation than that between the paragraphs of normal text.%
226 \IfThisCommonLabelBase{maincls}{ %
227 Additionally, these options ensure that the table of contents and the lists
228 of figures and tables are set without any additional spacing.%
229 }{ %
230 Several elements of the letterhead are always set without inter-paragraph
231 spacing.%
232 }%
233
234 The default\textnote{default} behaviour of \KOMAScript{} is
235 \OptionValue{parskip}{false}. In this case, there is no spacing between
236 paragraphs, only an indentation of the first line by 1\Unit{em}.%
237 %
238 \EndIndexGroup
239 %
240 \EndIndexGroup
241
242 %%% Local Variables:
243 %%% mode: latex
244 %%% TeX-master: "scrguide-en.tex"
245 %%% coding: utf-8
246 %%% ispell-local-dictionary: "en_GB"
247 %%% eval: (flyspell-mode 1)
248 %%% End: