Fix typesetting of certain equations.