aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl/opt
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-12 22:50:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-12 22:50:38 +0000
commit2e262df61fb29e0d6429e282a1bf5a4d5217477b (patch)
tree1b060b3e7aec4e19b9103626853a46fc91d3e682 /regress/tbl/opt
parent041d1eb653eba2b3b330f382737e18acbbb9beae (diff)
downloadmandoc-2e262df61fb29e0d6429e282a1bf5a4d5217477b.tar.gz
mandoc-2e262df61fb29e0d6429e282a1bf5a4d5217477b.tar.zst
mandoc-2e262df61fb29e0d6429e282a1bf5a4d5217477b.zip
test the new allbox and wrapping features
Diffstat (limited to 'regress/tbl/opt')
-rw-r--r--regress/tbl/opt/box.in19
-rw-r--r--regress/tbl/opt/box.out_ascii17
2 files changed, 36 insertions, 0 deletions
diff --git a/regress/tbl/opt/box.in b/regress/tbl/opt/box.in
index c892401c..47b1bf87 100644
--- a/regress/tbl/opt/box.in
+++ b/regress/tbl/opt/box.in
@@ -18,6 +18,14 @@ a:b
c:d
.TE
.sp
+allbox:
+.TS
+tab(:) allbox;
+l l.
+a:b
+c:d
+.TE
+.sp
manual boxing:
.TS
tab(:);
@@ -36,4 +44,15 @@ tab(:) box;
a:b
_
c:d
+_
+.TE
+.sp
+allbox and manual boxing:
+.TS
+tab(:) allbox;
+||l||l||.
+a:b
+_
+c:d
+_
.TE
diff --git a/regress/tbl/opt/box.out_ascii b/regress/tbl/opt/box.out_ascii
index 87ff5cf8..d1051379 100644
--- a/regress/tbl/opt/box.out_ascii
+++ b/regress/tbl/opt/box.out_ascii
@@ -17,6 +17,13 @@ DDEESSCCRRIIPPTTIIOONN
|a b |
|c d |
+------+
+ allbox:
+
+ +--+---+
+ |a | b |
+ +--+---+
+ |c | d |
+ +--+---+
manual boxing:
+--++--+
@@ -32,6 +39,16 @@ DDEESSCCRRIIPPTTIIOONN
+--++--+
|c ||d |
+--++--+
+ +--++--+
+ allbox and manual boxing:
+
+ +--++--+
+ |a ||b |
+ +--++--+
+ +--++--+
+ |c ||d |
+ +--++--+
+ +--++--+
TBL-VERT(1)