]> git.cameronkatri.com Git - mandoc.git/blob - regress/char/hyphen/mdoc.in
Support nesting of elements with next-line scope.
[mandoc.git] / regress / char / hyphen / mdoc.in
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
9 This is a long line of text, such that the last word won't fit: break-here
10 .Pp
11 But do not break the line at hyphens inside macro arguments: no
12 .No break-here
13 .Pp
14 Try the same thing once same again, but now in italic font mode:
15 \fIbreak-here\fP
16 .Pp
17 And finally, try it a third time, but this time in bold font mode:
18 \fBbreak-here\fP