Adding tex for tables