NAME

unionTables.pl - Functions for creating tables of various kinds.

METHODS

ColumnTable

Make a two-column table.

Usage:

ColumnTable(col1, col2, [ options ])

The following options control formatting of the table:

indent => n

The width to indent the first column (default: 0).

separation => n

The width of the separating gutter (default: 50).

valign => type

Vertical alignment (default: "middle").

ColumnMatchTable

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.

BeginTable

Command for tables with no borders.

Usage: BeginTable(options);

The following options control formatting of the table:

border => n

Integer value for the width of cell borders (default: 0, supported values: 0 - 3).

spacing => n

Integer value for the distance between the borders of adjacent cells (default: 0, supported values: 0 - 10).

padding => n

Integer value for cell padding (default: 0, supported values: 0 - 20).

tex_spacing => dimen

Value for spacing between columns in TeX (default: '1em').

tex_border => dimen

Value for left- and right border in TeX (default: '0pt').

center => 0 or 1

Center the table or not (default: 1).

EndTable

Usage:

EndTable(options)

The following options are supported:

tex_border => dimen

Extra vertical space in TeX mode (default: 0pt).

Row

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 => num

Specifies size of blank column on the left (default: 0).

separation => num

Specifies 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").

AlignedRow

Usage:

AlignedRow([ item1, item2, ... ], options);

The following options control how the row is displayed:

indent => num

Specifies size of blank column on the left (default: 0).

separation => num

Specifies 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").

TableSpace

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.

TableLine

A horizontal rule within a table.