Fuente TeX:
\frac{A^{\frac{n}{m}}}{\frac{p}{q}}=A^{\frac{n}{m}-\frac{p}{q}}