formats tsv for LaTeX