Format table.