[BACK]Return to tbl.7 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/tbl.7 between version 1.20 and 1.22

version 1.20, 2014/10/14 02:16:06 version 1.22, 2015/01/20 19:39:34
Line 50  macro tags, whose precise syntax is documented in
Line 50  macro tags, whose precise syntax is documented in
 Tables consist of a series of options on a single line, followed by the  Tables consist of a series of options on a single line, followed by the
 table layout, followed by data.  table layout, followed by data.
 .Pp  .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.  the cells.
 .Bd -literal -offset indent  .Bd -literal -offset indent
 \&.TS  \&.TS
Line 135  in the case of
Line 135  in the case of
 .Ss Options  .Ss Options
 The first line of a table consists of space-separated option keys and  The first line of a table consists of space-separated option keys and
 modifiers terminated by a semicolon.  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  If the first line does not have a terminating semicolon, it is assumed
 that no options are specified and instead a  that no options are specified and instead a
 .Sx Layout  .Sx Layout
Line 198  Layout lines may also be separated by a comma.
Line 199  Layout lines may also be separated by a comma.
 Each layout cell consists of one of the following case-insensitive keys:  Each layout cell consists of one of the following case-insensitive keys:
 .Bl -tag -width 2n  .Bl -tag -width 2n
 .It Cm c  .It Cm c
 Centre a literal string within its column.  Center a literal string within its column.
 .It Cm r  .It Cm r
 Right-justify a literal string within its column.  Right-justify a literal string within its column.
 .It Cm l  .It Cm l
Line 278  and
Line 279  and
 are ignored by  are ignored by
 .Xr mandoc 1 .  .Xr mandoc 1 .
 .Pp  .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  minimum width 10, followed by vertical bar, followed by a left-justified
 column of minimum width 10, another vertical bar, then a column using  column of minimum width 10, another vertical bar, then a column using
 bold font justified about the decimal point in numbers:  bold font justified about the decimal point in numbers:

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

CVSweb