Search code examples
syntaxlatexlimitintegral

Latex - placing limits under and above an integral (rather than near it)


With the following syntax:

$ \int_{a}^{b} Foo dx $

I have the limits on the right of the integral sign. I'd like to have them under and above.

Do I need a package for that? Is there a way similar to

\lim\limits_{bla}

that doesn't require a recognized math operation?


Solution

  • This is what you're looking for I believe.

    Below the code snippet that places the integration limits under and above the integral sign.

    \[ \int\limits_a^b f(x) \, \mathrm{d} x \]

    output