aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-27 19:51:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-27 19:51:48 +0000
commitf7e2f01b2993cc63491f8e56d3db6f1df3be8bb9 (patch)
tree1f8ac8f0c9474c368dfaa9f07a068ba224781f25 /regress/tbl
parentcd0313514de5f02c468c13b8125900bef22346b3 (diff)
downloadmandoc-f7e2f01b2993cc63491f8e56d3db6f1df3be8bb9.tar.gz
mandoc-f7e2f01b2993cc63491f8e56d3db6f1df3be8bb9.tar.zst
mandoc-f7e2f01b2993cc63491f8e56d3db6f1df3be8bb9.zip
test inter-column spacing
Diffstat (limited to 'regress/tbl')
-rw-r--r--regress/tbl/mod/Makefile2
-rw-r--r--regress/tbl/mod/spacing.in14
-rw-r--r--regress/tbl/mod/spacing.out_ascii18
3 files changed, 33 insertions, 1 deletions
diff --git a/regress/tbl/mod/Makefile b/regress/tbl/mod/Makefile
index 09f98bf1..96547d64 100644
--- a/regress/tbl/mod/Makefile
+++ b/regress/tbl/mod/Makefile
@@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.2 2015/02/10 11:02:19 schwarze Exp $
-REGRESS_TARGETS = badfont expand expand-toowide font misalign width
+REGRESS_TARGETS = badfont expand expand-toowide font misalign spacing width
LINT_TARGETS = badfont font
# groff-1.22.3 defects:
diff --git a/regress/tbl/mod/spacing.in b/regress/tbl/mod/spacing.in
new file mode 100644
index 00000000..1928d9a2
--- /dev/null
+++ b/regress/tbl/mod/spacing.in
@@ -0,0 +1,14 @@
+.TH TBL-MOD-SPACING 1 "June 27, 2017" OpenBSD
+.SH NAME
+tbl-mod-spacing \- spacing modifier in table layout
+.SH DESCRIPTION
+normal text
+.TS
+box tab(:);
+l0 l1 | l2 | l3 | l4 | l5 | l6 | l7 | l8
+l0 l1 l2 l3 l4 l5 l6 l7 l8
+l0 l1 | l2 || l3 || l4 l5 || l6 | l7 || l8.
+a:b:c:d:e:f:g:h:i
+a:b:c:d:e:f:g:h:i
+a:b:c:d:e:f:g:h:i
+.TE
diff --git a/regress/tbl/mod/spacing.out_ascii b/regress/tbl/mod/spacing.out_ascii
new file mode 100644
index 00000000..ea4d396b
--- /dev/null
+++ b/regress/tbl/mod/spacing.out_ascii
@@ -0,0 +1,18 @@
+TBL-MOD-SPACING(1) General Commands Manual TBL-MOD-SPACING(1)
+
+
+
+NNAAMMEE
+ tbl-mod-spacing - spacing modifier in table layout
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text
+
+ +--+--+--+----+----+------+------+-----+
+ |ab|c |d | e | f | g | h | i |
+ |ab|c |d ||e f || g | h || i |
+ |ab|c |d ||e f || g | h || i |
+ +--+--+--++--------++-----+------++----+
+
+
+OpenBSD June 27, 2017 TBL-MOD-SPACING(1)