[Tex/LaTex] Putting the integration bounds below/above the integration operator

math-modepositioning

Possible Duplicate:
Show inline math as if it were display math

Yesterday I've stumbled upon an article which covered just that, but I can't find it anymore.

How can I put the integration bounds above/below the integration operator instead of the default, where they're next to the symbol and push the integration term to the right?

Best Answer

Use the \displaylimits command.

\documentclass{article}
\begin{document}
\[
\int_a^b f(x) \, \mathrm{d} x \quad \int\displaylimits_a^b f(x) \, \mathrm{d} x
\]
\end{document}

integrals

See page 16 of the amsmath package documentation for details (although you don't actually need amsmath for this).

Related Question