REFACTOR: cleaned up interface of tex table