summaryrefslogtreecommitdiffstats
path: root/regress/tbl/data/block_width.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-15 00:27:52 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-15 00:27:52 +0000
commit7a6175f17cfb7cc37dea1c98c65b6fccaf92f619 (patch)
treee73b909eedbdc81ac6a7a93a3e5af2269fee4c90 /regress/tbl/data/block_width.in
parentff7404ec88115f451afc869f7330722a3bb3e41e (diff)
downloadmandoc-7a6175f17cfb7cc37dea1c98c65b6fccaf92f619.tar.gz
round default width of tbl(7) text blocks in the same way as groff
Diffstat (limited to 'regress/tbl/data/block_width.in')
-rw-r--r--regress/tbl/data/block_width.in102
1 files changed, 102 insertions, 0 deletions
diff --git a/regress/tbl/data/block_width.in b/regress/tbl/data/block_width.in
new file mode 100644
index 00000000..8c24a6f4
--- /dev/null
+++ b/regress/tbl/data/block_width.in
@@ -0,0 +1,102 @@
+.Dd June 15, 2017
+.Dt TBL-DATA-BLOCK_WIDTH 1
+.Os OpenBSD
+.Sh NAME
+.Nm tbl-data-block_width
+.Nd default width of text blocks
+.Sh DESCRIPTION
+one column:
+.TS
+allbox tab(:);
+l.
+T{
+1234567890123456789012345678901234567 9
+T}
+T{
+1234567890123456789012345678901234567 90
+T}
+.TE
+.sp
+two columns:
+.TS
+allbox tab(:);
+l l.
+a:T{
+123456789012345678901234 6
+T}
+a:T{
+123456789012345678901234 67
+T}
+.TE
+.sp
+three columns:
+.TS
+allbox tab(:);
+l l l.
+a:b:T{
+12345678901234567 9
+T}
+a:b:T{
+12345678901234567 90
+T}
+.TE
+.sp
+four columns:
+.TS
+allbox tab(:);
+l l l l.
+a:b:c:T{
+12345678901234 6
+T}
+a:b:c:T{
+12345678901234 67
+T}
+.TE
+.sp
+five columns:
+.TS
+allbox tab(:);
+l l l l l.
+a:b:c:d:T{
+12345678901 3
+T}
+a:b:c:d:T{
+12345678901 34
+T}
+.TE
+.sp
+six columns:
+.TS
+allbox tab(:);
+l l l l l l.
+a:b:c:d:e:T{
+123456789 1
+T}
+a:b:c:d:e:T{
+123456789 12
+T}
+.TE
+.sp
+seven columns:
+.TS
+allbox tab(:);
+l l l l l l l.
+a:b:c:d:e:f:T{
+12345678 0
+T}
+a:b:c:d:e:f:T{
+12345678 01
+T}
+.TE
+.sp
+eight columns:
+.TS
+allbox tab(:);
+l l l l l l l l.
+a:b:c:d:e:f:g:T{
+1234567 9
+T}
+a:b:c:d:e:f:g:T{
+1234567 90
+T}
+.TE