I'm working on a school book that requires spacing between numerator and denominator to be of equal size. Is it possible to achieve this in LaTeX.
1 Answer
Actually, they are already the same height, except for the unused space below and above.
\documentclass{article}
\usepackage{amsmath}
\newcommand{\myfrac}[2]% #1=numerator, #2=denominator
{\frac{\vphantom{#2}#1}{\vphantom{#1}#2}}
\begin{document}
\begin{equation}\fboxsep=0pt
\fbox{$\displaystyle \frac{A^2_0}{x}$} \fbox{$\displaystyle \myfrac{A^2_0}{x}$}
\end{equation}
\end{document}
$\frac{a}{b}$
, for example?