Next: Table Creation, Up: Text Based Tables
Look at the following examples of valid tables as a reference while you read this section:
+--+----+---+ +-+ +--+-----+ | | | | | | | | | +--+----+---+ +-+ | +--+--+ | | | | | | | | +--+----+---+ +--+--+ | | | | +-----+--+
A table consists of a rectangular frame and the contents inside the frame. A table's cells must be at least one character wide and one character high with two adjacent cells sharing a boarder line. A cell can be subdivided into multiple rectangular cells but cannot nest or overlap.
Both the table frame and cell border lines must consist of one of three special characters. The variables that hold these characters are described below:
table-cell-vertical-char
table-cell-horizontal-char
table-cell-intersection-char
Based on this definition, the following five tables are examples of invalid tables:
+-----+ +-----+ +--+ +-++--+ ++ | | | | | | | || | ++ | +-+ | | | | | | || | | | | | +--+ | +--+--+ +-++--+ | +-+ | | | | | | | +-++--+ | | | | | | | | | || | +-----+ +--+--+ +--+--+ +-++--+ a b c d e
From left to right: