aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/char/space/nobreak.in
blob: 86eb85f95a509fc8df0aa60a04972aec24829c7a (plain) (blame)
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
.\" $OpenBSD: nobreak.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $
.Dd $Mdocdate: July 4 2017 $
.Dt SPACE-NOBREAK 1
.Os
.Sh NAME
.Nm space-nobreak
.Nd non-breaking, non-collapsing space
.Sh DESCRIPTION
The following line has 78 characters and fits:
.Pp
78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
.Pp
The following line has 79 characters and breaks:
.Pp
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
.Pp
With a non-breaking space, it breaks earlier:
.Pp
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x
.Pp
The same with backslash-space:
.Pp
79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x
.Pp
Only non-breaking spaces:
.Pp
79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x
.Pp
The same with backslash-space:
.Pp
79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x