aboutsummaryrefslogtreecommitdiffstatshomepage
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
commita7ddb6ec4103182af944faf6e8eab831579a19ba (patch)
tree888b4a23a0606ef2d871f1d96b28cdae5ce8001f /tbl.7
parent2b61f99bf2ba76a47538698f550c82f40a531253 (diff)
downloadmandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.tar.gz
mandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.tar.zst
mandoc-a7ddb6ec4103182af944faf6e8eab831579a19ba.zip
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.720
1 files changed, 15 insertions, 5 deletions
diff --git a/tbl.7 b/tbl.7
index 49ccecde..4073290c 100644
--- a/tbl.7
+++ b/tbl.7
@@ -1,4 +1,4 @@
-.\" $Id: tbl.7,v 1.19 2014/10/13 23:31:46 schwarze Exp $
+.\" $Id: tbl.7,v 1.20 2014/10/14 02:16:06 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 13 2014 $
+.Dd $Mdocdate: October 14 2014 $
.Dt TBL 7
.Os
.Sh NAME
@@ -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