change format of equations