summaryrefslogtreecommitdiffstats
path: root/tbl.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-14 02:16:06 +0000
commit2db1b6bde4abe38f4836e766eac615660b2f85c2 (patch)
treef103cfddb098081641c520d96c4a4cb17d77c915 /tbl.7
parent619229efd1f5f1aefbec0666e7effe0039234d0c (diff)
downloadmandoc-2db1b6bde4abe38f4836e766eac615660b2f85c2.tar.gz
Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns. Does not yet take vertical rulers into account, and does not do line breaks within table cells. Considerably improves the lftp(1) manual; issue noticed by sthen@.
Diffstat (limited to 'tbl.7')
-rw-r--r--tbl.716
1 files changed, 13 insertions, 3 deletions
diff --git a/tbl.7 b/tbl.7
index 5157f1bb..986ed674 100644
--- a/tbl.7
+++ b/tbl.7
@@ -248,6 +248,11 @@ The following case-insensitive modifier keys are available:
.Bl -tag -width 2n
.It Cm b
Use a bold font for the contents of this column.
+.It Cm e
+Make this column wider to match the maximum width
+of any other column also having the
+.Cm e
+modifier.
.It Cm f
The next character selects the font to use for this column.
See the
@@ -255,16 +260,21 @@ See the
manual for supported one-character font names.
.It Cm i
Use an italic font for the contents of this column.
+.It Cm x
+After determining the width of all other columns, distribute the
+rest of the line length among all columns having the
+.Cm x
+modifier.
+.It Cm z
+Do not use this cell for determining the width of this column.
.El
.Pp
The modifiers
.Cm d ,
-.Cm e ,
-.Cm r ,
.Cm t ,
.Cm u ,
and
-.Cm z
+.Cm w
are ignored by
.Xr mandoc 1 .
.Pp