How do I align the numerator and denominator of a fraction? I am looking for something that achieves the following psuedocode:
\frac{a^2 & b}{c & d}
(The b and d should be aligned vertically on top of one another.)
alignfractions
How do I align the numerator and denominator of a fraction? I am looking for something that achieves the following psuedocode:
\frac{a^2 & b}{c & d}
(The b and d should be aligned vertically on top of one another.)
Best Answer
If you also want
a
on top ofc
, you can simply add a\hfill
betweenc
andd
.MWE:
If, instead, you want
a^2
on top ofc
, also add a\hfill
beforec
:MWE:
Here's a last possibility, but I don't think it is what you are looking for.