unionTables.pl - Functions for creating tables of various kinds.
Make a two-column table.
Usage:
ColumnTable(col1, col2, [ options ])
The following options control formatting of the table:
indent => nThe width to indent the first column (default: 0).
separation => nThe width of the separating gutter (default: 50).
valign => typeVertical alignment (default: "middle").
Use columns for a match-list output
Usage:
ColumnMatchTable($ml, options)
where $ml is a math list reference and options are those allowed for ColumnTable above.
Command for tables with no borders.
Usage: BeginTable(options);
The following options control formatting of the table:
border => nInteger value for the width of cell borders (default: 0, supported values: 0 - 3).
spacing => nInteger value for the distance between the borders of adjacent cells (default: 0, supported values: 0 - 10).
padding => nInteger value for cell padding (default: 0, supported values: 0 - 20).
tex_spacing => dimenValue for spacing between columns in TeX (default: '1em').
tex_border => dimenValue for left- and right border in TeX (default: '0pt').
center => 0 or 1Center the table or not (default: 1).
Usage:
EndTable(options)
The following options are supported:
tex_border => dimenExtra vertical space in TeX mode (default: 0pt).
Creates a row in the table
Usage:
Row([ item1, item2, ... ], options);
Each item appears as a separate entry in the table.
The following options control how the row is displayed:
indent => numSpecifies size of blank column on the left (default: 0).
separation => numSpecifies separation of columns (default: 30).
tex_vspace => "dimen"Specifies additional vertical spacing for TeX.
align => "type"Specifies alignment of initial column (default: "left").
valign => "type"Specified vertical alignment of row (default: "middle").
Usage:
AlignedRow([ item1, item2, ... ], options);
The following options control how the row is displayed:
indent => numSpecifies size of blank column on the left (default: 0).
separation => numSpecifies separation of columns (default: 30).
tex_vspace => "dimen"Specifies additional vertical spacing for TeX.
align => "type"Specifies text alignment of all cells (default: "center").
valign => "type"Specified vertical alignment of row (default: "middle").
Add extra space between rows of a table
Usage:
TableSpace(pixels, points)
where pixels is the number of pixels of space in HTML mode and points is the number of points to use in TeX mode.
A horizontal rule within a table.