outputing latex results too