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 ( I ) TBL ( I )<br />

NAME<br />

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

SYNOPSIS<br />

tbl [ -TX ] [ files ]<br />

DESCRIPTION<br />

Tbl is a preprocessor that formats tables for nroff or troff (not<br />

included on the UNIX PC). The input files are copied to the standard<br />

output, except for lines between .TS and .TE command lines,<br />

which are assumed to describe tables and are re-formatted by tbl.<br />

(The .TS and .TE command lines are not altered by tbl) .<br />

• TS is followed by global options. The available global options<br />

are:<br />

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

expand make the table as wide as the current line<br />

length;<br />

box enclose the table in a box;<br />

doublebox<br />

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

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

tab (x) use the character x instead of a tab to<br />

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

The global options, if any, are terminated with a semi-colon (;).<br />

Next come lines describing the format of each line of the table.<br />

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

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

all remaining lines of the table. Each column of each line of the<br />

table is described by a single key-letter, optionally followed by<br />

specifiers that determine the font and point size of the corresponding<br />

item, that indicate where vertical bars are to appear between<br />

columns, that determine column width, inter-column spacing, etc.<br />

The available key-letters are:<br />

e center item within the column;<br />

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

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

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

of numbers are aligned vertically;<br />

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

a center longest line in this column and then leftadjust<br />

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

to that centered line;<br />

span down previous entry in this column;<br />

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

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

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

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

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

for the table, followed finally by .TE. Within such data lines,<br />

data items are normally separated by tab characters.<br />

- 1 -

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

Saved successfully!

Ooh no, something went wrong!