aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/char/hyphen/mdoc.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/char/hyphen/mdoc.in')
-rw-r--r--regress/char/hyphen/mdoc.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/char/hyphen/mdoc.in b/regress/char/hyphen/mdoc.in
new file mode 100644
index 00000000..76cfd0d3
--- /dev/null
+++ b/regress/char/hyphen/mdoc.in
@@ -0,0 +1,17 @@
+.Dd February 22, 2014
+.Dt HYPHEN-MDOC 1
+.Os OpenBSD
+.Sh NAME
+.Nm hyphen-mdoc
+.Nd formatting hyphens and breaking lines
+.Sh DESCRIPTION
+This is a long line of text, such that the last word won't fit: break-here
+.Pp
+But do not break the line at hyphens inside macro arguments: no
+.No break-here
+.Pp
+Try the same thing once same again, but now in italic font mode:
+\fIbreak-here\fP
+.Pp
+And finally, try it a third time, but this time in bold font mode:
+\fBbreak-here\fP