Revisions to math formatting