=================================================================== RCS file: /cvs/mandoc/tbl.7,v retrieving revision 1.19 retrieving revision 1.22 diff -u -p -r1.19 -r1.22 --- mandoc/tbl.7 2014/10/13 23:31:46 1.19 +++ mandoc/tbl.7 2015/01/20 19:39:34 1.22 @@ -1,4 +1,4 @@ -.\" $Id: tbl.7,v 1.19 2014/10/13 23:31:46 schwarze Exp $ +.\" $Id: tbl.7,v 1.22 2015/01/20 19:39:34 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2014 Ingo Schwarze @@ -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: January 20 2015 $ .Dt TBL 7 .Os .Sh NAME @@ -50,7 +50,7 @@ macro tags, whose precise syntax is documented in Tables consist of a series of options on a single line, followed by the table layout, followed by data. .Pp -For example, the following creates a boxed table with digits centred in +For example, the following creates a boxed table with digits centered in the cells. .Bd -literal -offset indent \&.TS @@ -135,6 +135,7 @@ in the case of .Ss Options The first line of a table consists of space-separated option keys and modifiers terminated by a semicolon. +For GNU compatibility, option keys can also be separated by commas. If the first line does not have a terminating semicolon, it is assumed that no options are specified and instead a .Sx Layout @@ -198,7 +199,7 @@ Layout lines may also be separated by a comma. Each layout cell consists of one of the following case-insensitive keys: .Bl -tag -width 2n .It Cm c -Centre a literal string within its column. +Center a literal string within its column. .It Cm r Right-justify a literal string within its column. .It Cm l @@ -248,6 +249,11 @@ The following case-insensitive modifier keys are avail .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,20 +261,25 @@ 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 -For example, the following layout specifies a centre-justified column of +For example, the following layout specifies a center-justified column of minimum width 10, followed by vertical bar, followed by a left-justified column of minimum width 10, another vertical bar, then a column using bold font justified about the decimal point in numbers: