01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TBL(l) TBL( l)<br />

NAME<br />

tbl - prepare tables for nroff or troff<br />

SYNOPSIS<br />

tbl [ -T X ] [ -- ] [ files ] [ - ]<br />

DESCRIPTION<br />

tbl is a preprocessor that prepares tables for nroff( l) or troff. tbl assumes<br />

that lines between the .TS and .TE command lines describe tables, thus<br />

they are re-formatted; lines outside these command lines are copied to<br />

the standard output. (tbl does not alter the .TS and .TE command lines.<br />

Follow .TS with global options. The available global options are:<br />

center<br />

expand<br />

box<br />

double box<br />

allbox<br />

tab (x)<br />

linesize ( n)<br />

centers the table (default is left-adjust);<br />

makes the table as wide as the current line<br />

length;<br />

encloses the table in a box;<br />

encloses the table in a double box;<br />

encloses each item of the table in a box;<br />

uses the character x instead of a tab to<br />

separate items in a line of input data.<br />

sets line or rules (e.g., from box) in n-point<br />

type;<br />

End the global options, if any, with a semi-colon ( ;).<br />

After global options come lines describing the format of each line of the<br />

table. Each such format line describes one line of the table itself, except<br />

that the last format line (which you must end with a period) describes all �<br />

remaining lines of the table. A single key letter describes each column of<br />

l<br />

each line of the table. You may follow this key letter with specifiers that<br />

determine the font and point size of the corresponding item, that indicate<br />

where vertical bars are to appear between columns, and that determine<br />

column width, inter-column spacing, etc. The available key-letters are:<br />

c centers item within the column;<br />

r right-adjusts item within the column;<br />

I left-adjusts item within the column;<br />

n numerically adjusts item in the column: units positions<br />

of numbers are aligned vertically;<br />

s spans previous item on the left into this column;<br />

a centers longest line in this column and then left-adjust<br />

all other lines in this column with respect to that centered<br />

line;<br />

A spans down previous entry in this column;<br />

replaces this entry with a horizontal line;<br />

= replaces this entry with a double horizontal line.<br />

The characters B and I stand for the bold and italic fonts, respectively;<br />

the character I indicates a vertical line between columns.<br />

The format lines are followed by lines containing the actual data for the<br />

table, followed finally by .TE. Within such data lines, data items are normally<br />

separated by tab characters.<br />

If a data line consists of only _ or =, a single or double line, respectively,<br />

is drawn across the table at that point; if a single item in a data line consists<br />

of only _ or =, then that item is replaced by a single or double line.<br />

Some printers do not have the vertical resolution to produce double lines.<br />

- 1-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!