summaryrefslogtreecommitdiffstats
path: root/regress/roff/ti/basic-man.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-08 15:34:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-08 15:34:54 +0000
commit743d8976911a7ef031de0fe12ef9ba67c3e7e5d4 (patch)
tree932d68bc5071b433591243f7ea70c4f9f7af959a /regress/roff/ti/basic-man.in
parent3d6c85a4e22160f04975c142bcdf4c4a12f39cbd (diff)
downloadmandoc-743d8976911a7ef031de0fe12ef9ba67c3e7e5d4.tar.gz
Basic implementation of the roff(7) .ti (temporary indent) request.
Needed by about four dozen ports (thanks to naddy@ for the research).
Diffstat (limited to 'regress/roff/ti/basic-man.in')
-rw-r--r--regress/roff/ti/basic-man.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/roff/ti/basic-man.in b/regress/roff/ti/basic-man.in
new file mode 100644
index 00000000..deb1542f
--- /dev/null
+++ b/regress/roff/ti/basic-man.in
@@ -0,0 +1,18 @@
+.TH TI-BASIC-MAN 1 "May 8, 2014" OpenBSD
+.SH NAME
+ti-basic-man \- temporary indentation in man(7)
+.SH DESCRIPTION
+initial text
+.ti 10n
+This text is indented.
+However, the indent is temporary,
+so as soon as the line wraps, it is gone.
+.ti +10n
+The temporary indent can be relative.
+All the same, it will expire in the usual way.
+.ti -3n
+It is also possible to temporarily reduce the indentation,
+but that will also last until the next line break only.
+.ti -10n
+Reducing by more than the current offset
+starts the next line at the physical left margin.