Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   tbl    ( 1 )

форматировать таблицы в документах groff (format tables in groff documents)

  Name  |  Synopsis  |  Description  |  Options  |    Bugs    |  Examples  |  See also  |

Ошибки (баги) (Bugs)

You should use .TS H/.TH in conjunction with a supporting macro package for all multi-page boxed tables. If there is no header that you wish to appear at the top of each page of the table, place the .TH line immediately after the format section. Do not enclose a multi-page table within keep/release macros, or divert it in any other way.

A text block within a table must be able to fit on one page.

The bp request cannot be used to force a page-break in a multi- page table. Instead, define BP as follows

.de BP . ie '\\n(.z'' .bp \\$1 . el \!.BP \\$1 ..

and use BP instead of bp.

Using \a directly in a table to get leaders does not work (except in compatibility mode). This is correct behavior: \a is an uninterpreted leader. To get leaders use a real leader, either by using a control A or like this:

.ds a \a .TS tab(;); lw(1i) l. A\*a;B .TE

A leading and/or trailing '|' in a format line, such as

|l r|.

gives output which has a 1n space between the resulting bordering vertical rule and the content of the adjacent column, as in

.TS tab(#); |l r|. left column#right column .TE

If it is desired to have zero space (so that the rule touches the content), this can be achieved by introducing extra 'dummy' columns, with no content and zero separation, before and/or after, as in

.TS tab(#); r0|l r0|l. #left column#right column# .TE

The resulting 'dummy' columns are invisible and have zero width; note that such columns usually don't work with terminal devices.