Up: Elements reference



<hline> – horizontal rule in a table

Attributes:

from
begin column (default: "1")
to
end column (default: last)
trim
"lr", "l", "r" or "no" – trimming of rule ends

Possible Contents: None.

Description: Inserts a horizontal line in a table. from is the starting column, to the ending column. By default, a line spans the whole width. Also by default, a line ending is trimmed (shortened) if the line ends within the table. The trim can change this. "lr" means “trim left and right”, "l", "r" accordingly, and "no" means “keep full length under all circumstances”.

The three standard rules of LaTeX's booktabs package are always present and mustn't be given explicitly.

Example

See <table>.