aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl/opt/center-mdoc.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-01-31 16:31:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-01-31 16:31:55 +0000
commit1fb324c74addc6d44298e987ea42e5d66981c0a3 (patch)
tree137027e469bbb4280efac61cddf12826891610f4 /regress/tbl/opt/center-mdoc.in
parente48916572d460eabf5caba13209f08f8d94d9980 (diff)
downloadmandoc-1fb324c74addc6d44298e987ea42e5d66981c0a3.tar.gz
mandoc-1fb324c74addc6d44298e987ea42e5d66981c0a3.tar.zst
mandoc-1fb324c74addc6d44298e987ea42e5d66981c0a3.zip
Since resetting of offsets works quite differently in man(7) and mdoc(7),
test table centering in an mdoc(7) document as well. Related to tbl_term.c rev. 1.67.
Diffstat (limited to 'regress/tbl/opt/center-mdoc.in')
-rw-r--r--regress/tbl/opt/center-mdoc.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/tbl/opt/center-mdoc.in b/regress/tbl/opt/center-mdoc.in
new file mode 100644
index 00000000..850ba910
--- /dev/null
+++ b/regress/tbl/opt/center-mdoc.in
@@ -0,0 +1,15 @@
+.\" $OpenBSD: center-mdoc.in,v 1.1 2019/01/31 16:28:38 schwarze Exp $
+.Dd $Mdocdate: January 31 2019 $
+.Dt TBL-CENTER-MDOC 1
+.Os
+.Sh NAME
+.Nm tbl-center-mdoc
+.Nd center a table as a whole
+.Sh DESCRIPTION
+normal text
+.TS
+center box tab(:);
+l r.
+northwest:northeast
+southwest:southeast
+.TE