diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-08 15:34:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-08 15:34:54 +0000 |
commit | 743d8976911a7ef031de0fe12ef9ba67c3e7e5d4 (patch) | |
tree | 932d68bc5071b433591243f7ea70c4f9f7af959a /regress/roff/ti/basic-mdoc.in | |
parent | 3d6c85a4e22160f04975c142bcdf4c4a12f39cbd (diff) | |
download | mandoc-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-mdoc.in')
-rw-r--r-- | regress/roff/ti/basic-mdoc.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/roff/ti/basic-mdoc.in b/regress/roff/ti/basic-mdoc.in new file mode 100644 index 00000000..0b165bc1 --- /dev/null +++ b/regress/roff/ti/basic-mdoc.in @@ -0,0 +1,21 @@ +.Dd May 8, 2017 +.Dt TI-BASIC-MDOC 1 +.Os OpenBSD +.Sh NAME +.Nm ti-basic-mdoc +.Nd temporary indent in mdoc(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. |