5
votes
1answer
431 views

How to automatically add parentheses around fractions?

Is there any way to make LaTeX automatically put parentheses around a \frac if it is followed by a superscript expression?