version 1.21, 2014/11/26 17:51:55 |
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 199 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 |
|
|
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: |