revise results output format for LaTeX