changed latex output