Reformat mathematics