Move LaTeX table functions into own class.