summaryrefslogblamecommitdiffstats
path: root/regress/char/space/nobreak.in
blob: aef08d5dd7aa4c85c12c22276a08ce631ad91eb4 (plain) (tree)
1
2
3
4

                                                                 
                   
   


























                                                                             
.\" $OpenBSD: nobreak.in,v 1.5 2017/07/04 14:53:23 schwarze Exp $
.Dd $Mdocdate$
.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