summaryrefslogtreecommitdiffstats
path: root/doc/groff.html.node/Filling.html
blob: f6db6f3b9e3f1ebfc9fe1b7041d4a8babac46fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.0.3, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- This manual documents GNU troff version 1.23.0.

Copyright � 1994-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled "GNU Free
Documentation License". -->
<title>Filling (The GNU Troff Manual)</title>

<meta name="description" content="Filling (The GNU Troff Manual)">
<meta name="keywords" content="Filling (The GNU Troff Manual)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Request-Index.html" rel="index" title="Request Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Text.html" rel="up" title="Text">
<link href="Sentences.html" rel="next" title="Sentences">
<link href="Text.html" rel="prev" title="Text">
<style type="text/css">
<!--
div.example {margin-left: 3.2em}
-->
</style>


</head>

<body lang="en">
<div class="subsection-level-extent" id="Filling">
<div class="nav-panel">
<p>
Next: <a href="Sentences.html" accesskey="n" rel="next">Sentences</a>, Previous: <a href="Text.html" accesskey="p" rel="prev">Text</a>, Up: <a href="Text.html" accesskey="u" rel="up">Text</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Request-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="Filling-1">5.1.1 Filling</h4>

<p>When GNU <code class="code">troff</code> starts up, it obtains information about the device
for which it is preparing output.<a class="footnote" id="DOCF18" href="groff.html_fot.html#FOOT18"><sup>18</sup></a>  An essential property is the length of the output
line, such as &ldquo;6.5 inches&rdquo;.
</p>
<a class="index-entry-id" id="index-word_002c-definition-of"></a>
<a class="index-entry-id" id="index-filling"></a>
<p>GNU <code class="code">troff</code> interprets plain text files employing the Unix
line-ending convention.  It reads input a character at a time,
collecting words as it goes, and fits as many words together on an
output line as it can&mdash;this is known as <em class="dfn">filling</em>.  To GNU
<code class="code">troff</code>, a <em class="dfn">word</em> is any sequence of one or more characters
that aren&rsquo;t spaces or newlines.  The exceptions separate
words.<a class="footnote" id="DOCF19" href="groff.html_fot.html#FOOT19"><sup>19</sup></a>  To disable filling, see
<a class="ref" href="Manipulating-Filling-and-Adjustment.html">Manipulating Filling and Adjustment</a>.
</p>
<div class="example">
<div class="group"><pre class="example-preformatted">It is a truth universally acknowledged
that a single man in possession of a
good fortune must be in want of a wife.
    &rArr; It is a truth universally acknowledged that a
    &rArr; single man in possession of a good fortune must
    &rArr; be in want of a wife.
</pre></div></div>


</div>



</body>
</html>