Is there any way to make LaTeX automatically put parentheses around a \frac if it is followed by a superscript expression?
You could redefine \frac to look ahead:
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago
Get the weekly newsletter!
see an example newsletter