I have a case where I'm showing an integral of a fraction, but the integral sign doesn't stretch down to cover the entirety of the fraction:
This results from the following MWE:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\frac{3Q}{2\pi z^2} \displaystyle\int\frac{1}{\left( 1 + \dfrac{x^2 + y^2}{z^2} \right)^{\frac{5}{2}}}
\end{equation*}
\end{document}
The way I'm used to writing integrals looks more like this:
This question describes using packages like bigints
and mtpro2
to scale the integral size. However, these appear to scale the integral sign relative to the location of the fraction's horizontal bar, which would not be the desired result here. Is there a way to get the integral to stretch to cover the entire fraction, as shown above? Also, I'd like to be able to set limits of the integration as well as the indefinite integral.
Note to the mathematicians out there - if I am violating some sort of typesetting convention with my request, please let me know. I'm not particularly well-versed with the convention used in mathematical circles for this sort of thing.