xref: /openbsd-src/regress/usr.bin/mandoc/char/space/nobreak.in (revision 943fb9d8c7fc1b7e0db8c617168f7360d3ee357c)
1.\" $OpenBSD: nobreak.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $
2.Dd $Mdocdate: July 4 2017 $
3.Dt SPACE-NOBREAK 1
4.Os
5.Sh NAME
6.Nm space-nobreak
7.Nd non-breaking, non-collapsing space
8.Sh DESCRIPTION
9The following line has 78 characters and fits:
10.Pp
1178 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
12.Pp
13The following line has 79 characters and breaks:
14.Pp
1579 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
16.Pp
17With a non-breaking space, it breaks earlier:
18.Pp
1979 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x
20.Pp
21The same with backslash-space:
22.Pp
2379 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x
24.Pp
25Only non-breaking spaces:
26.Pp
2779\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x
28.Pp
29The same with backslash-space:
30.Pp
3179\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x
32