=================================================================== RCS file: /cvs/mandoc/tbl.7,v retrieving revision 1.9 retrieving revision 1.17 diff -u -p -r1.9 -r1.17 --- mandoc/tbl.7 2011/01/11 14:12:01 1.9 +++ mandoc/tbl.7 2013/07/13 19:41:16 1.17 @@ -1,6 +1,6 @@ -.\" $Id: tbl.7,v 1.9 2011/01/11 14:12:01 kristaps Exp $ +.\" $Id: tbl.7,v 1.17 2013/07/13 19:41:16 schwarze Exp $ .\" -.\" Copyright (c) 2010 Kristaps Dzonsons +.\" Copyright (c) 2010, 2011 Kristaps Dzonsons .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,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: January 11 2011 $ +.Dd $Mdocdate: July 13 2013 $ .Dt TBL 7 .Os .Sh NAME @@ -49,7 +49,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 centered in +For example, the following creates a boxed table with digits centred in the cells. .Bd -literal -offset indent \&.TS @@ -69,6 +69,13 @@ c5 c5 c5. 4:5:6 .TE .Ed +.Pp +The +.Nm +implementation in +.Xr mandoc 1 +is +.Ud .Sh TABLE STRUCTURE Tables are enclosed by the .Sq TS @@ -180,8 +187,6 @@ Accepts a single-character argument. This character will be used as the decimal point with the .Cm n layout key. -This option is not supported by -.Xr mandoc 1 . .It Cm nospaces This option is not supported by .Xr mandoc 1 . @@ -209,8 +214,8 @@ Justify a number around its last decimal point. If the decimal point is not found on the number, it's assumed to trail the number. .It Cm s -Horizontally span columns from the last non- -.Ns Cm s +Horizontally span columns from the last +.No non- Ns Cm s data cell. It is an error if spanning columns follow a .Cm \- @@ -222,10 +227,12 @@ This option is not supported by .It Cm a Left-justify a literal string and pad with one space. .It Cm ^ -Vertically span rows from the last non- -.Ns Cm ^ +Vertically span rows from the last +.No non- Ns Cm ^ data cell. It is an error to invoke a vertical span on the first layout row. +Unlike a horizontal spanner, you must specify an empty cell (if it not +empty, the data is discarded) in the corresponding data cell. .It Cm \- Replace the data cell (its contents will be lost) with a single horizontal line. @@ -249,12 +256,21 @@ The following case-insensitive modifier keys are avail .Cm e , .Cm t , .Cm d , -.Cm f , .Cm b , .Cm i , -.Cm b , +.Cm r , and -.Cm i . +.Cm f +.Po +followed by +.Cm b , +.Cm i , +.Cm r , +.Cm 3 , +.Cm 2 , +or +.Cm 1 +.Pc . All of these are ignored by .Xr mandoc 1 . .Pp @@ -325,7 +341,7 @@ This formed the basis of the implementation that is pa .Xr mandoc 1 utility. .Sh AUTHORS -This partial +This .Nm reference was written by -.An Kristaps Dzonsons Aq kristaps@bsd.lv . +.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .