xref: /openbsd-src/regress/usr.bin/mandoc/char/hyphen/mdoc.in (revision 943fb9d8c7fc1b7e0db8c617168f7360d3ee357c)
1.\" $OpenBSD: mdoc.in,v 1.4 2017/07/04 14:53:23 schwarze Exp $
2.Dd $Mdocdate: July 4 2017 $
3.Dt HYPHEN-MDOC 1
4.Os
5.Sh NAME
6.Nm hyphen-mdoc
7.Nd formatting hyphens and breaking lines
8.Sh DESCRIPTION
9This is a long line of text, such that the last word won't fit: break-here
10.Pp
11But do not break the line at hyphens inside macro arguments: no
12.No break-here
13.Pp
14Try the same thing once same again, but now in italic font mode:
15\fIbreak-here\fP
16.Pp
17And finally, try it a third time, but this time in bold font mode:
18\fBbreak-here\fP
19