Scripts: Refactor text formatting - results_to_latex