formatting of some equations