I would like to modify the vertical alignment of the build in command \frac. Currently, the numerator floats a little too high and I would like to move it down some. I have come up with kind of a hack job by using boxes
which lowers the top text by 2 pts, however this messes up the formatting of the text as the \raisebox command forces the text to be the document default text size instead of the proper font size within the fraction. For example, this is especially problematic if you have a fraction in an exponent as below
I looked into the definition of the fraction command and it just uses TeX's \over command as follows
Code: Select all
\frac{1}{2} = \begingroup 1 \endgroup \over 2
However, I haven't been able to find the \over definition to see how that spaces everything.
So, does anyone have any ideas on how to modify the vertical alignment of the \frac command while still preserving the proper text formatting (such as in inline and displaymode)?
Thanks!