test inter-column spacing
authorschwarze <schwarze@openbsd.org>
Tue, 27 Jun 2017 19:51:28 +0000 (19:51 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 27 Jun 2017 19:51:28 +0000 (19:51 +0000)
regress/usr.bin/mandoc/tbl/mod/Makefile
regress/usr.bin/mandoc/tbl/mod/spacing.in [new file with mode: 0644]
regress/usr.bin/mandoc/tbl/mod/spacing.out_ascii [new file with mode: 0644]

index df1e8f4..a8b6c9d 100644 (file)
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.4 2017/06/08 18:11:15 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2017/06/27 19:51:28 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/usr.bin/mandoc/tbl/mod/spacing.in b/regress/usr.bin/mandoc/tbl/mod/spacing.in
new file mode 100644 (file)
index 0000000..1928d9a
--- /dev/null
@@ -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/usr.bin/mandoc/tbl/mod/spacing.out_ascii b/regress/usr.bin/mandoc/tbl/mod/spacing.out_ascii
new file mode 100644 (file)
index 0000000..ea4d396
--- /dev/null
@@ -0,0 +1,18 @@
+TBL-MOD-SPACING(1)          General Commands Manual         TBL-MOD-SPACING(1)
+
+
+
+N\bNA\bAM\bME\bE
+       tbl-mod-spacing - spacing modifier in table layout
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       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)