TBL(1)TBL(1)
NAME
tbl – format tables for nroff or troff
SYNOPSIS
DESCRIPTION
which describe tables
and are replaced by
The (optional)
center the table; default is left-adjust
make table as wide as current line length
enclose the table in a box or double box
enclose every item in a box
use
set rules in
recognize
Each line, except the last, of the obligatory
Left justify: the default for columns without format keys.
Right justify.
Center.
Numeric: align at decimal point (inferred for integers) or at
Span: extend previous column across this one.
Alphabetic: left-aligned within column, widest item centered, indented relative to
Vertical span: continue item from previous row into this row.
Draw a horizontal rule in this column.
Draw a double horizontal rule in this column.
Key letters may be followed by modifiers, also either case:
Draw vertical rule between columns.
Draw a double vertical rule between columns.
Gap between column is
Use specified
Begin vertically-spanned item at top row of range; default is
vertical centering (with
Use point size
Use
Column width as a
Equalize the widths of all columns marked
Each line of
Draw a horizontal rule in this column.
Draw a double horizontal rule in this column.
A data line consisting of a single
Draw a rule only as wide as the contents of the column.
Repeat character
Span the previous item in this column down into this row.
The item is a text block to be separately formatted
by
When it is used in a pipeline with
EXAMPLES
unhandled troff command .ds
Let \*(tb represent a tab (which should be typed as a genuine tab).
unhandled troff command .2C
.TS c s s c c s c c c l n n. Household Population Town\*(tbHouseholds \*(tbNumber\*(tbSize Bedminster\*(tb789\*(tb3.26 Bernards Twp.\*(tb3087\*(tb3.74 Bernardsville\*(tb2018\*(tb3.30 .TE \{\0 \0 \0\}unhandled troff command .TS
c s s c c s c c c l n n. Household Population Town Households Number Size Bedminster 789 3.26 Bernards Twp. 3087 3.74 Bernardsville 2018 3.30
unhandled troff command .TE
\{.sp3
unhandled troff command .1C\}
SOURCE
SEE
M. E. Lesk and L. L. Cherry,
“TBLa Program to Format Tables”,
Unix Research System Programmer’s Manual,
Tenth Edition, Volume 2.