]> git.cameronkatri.com Git - mandoc.git/blob - regress/char/space/nobreak.in
Issue a STYLE message when normalizing the date format in .Dd/.TH.
[mandoc.git] / regress / char / space / nobreak.in
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
9 The following line has 78 characters and fits:
10 .Pp
11 78 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
12 .Pp
13 The following line has 79 characters and breaks:
14 .Pp
15 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x
16 .Pp
17 With a non-breaking space, it breaks earlier:
18 .Pp
19 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\~x
20 .Pp
21 The same with backslash-space:
22 .Pp
23 79 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x\ x
24 .Pp
25 Only non-breaking spaces:
26 .Pp
27 79\~xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\~x\~x
28 .Pp
29 The same with backslash-space:
30 .Pp
31 79\ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\ x\ x