cleaning up the name of the style for math formulae