Is there a way to change the way \frac
behaves in inline math such as \[*code*\]
? It keeps changing it to \dfrac
which I don't want. It works for \(*code*\)
but I want it centered and auto line skip and I don't want to do it manually. I don't want to manually change the text size, instead a general case that changes it for good.
Looks out of place in my opinion.
Best Answer
I want to extend the version in the comments. Of course you can use
\tfrac
, but if you want to keep\frac
you can switch between math styles with\displaystyle
and\textstyle
as shown below: