LaTeX How to Force Limits to Be Above/Below Integral in LaTeX?

  • Thread starter Thread starter Kurret
  • Start date Start date
  • Tags Tags
    Latex Text
Click For Summary
To ensure limits appear above and below integrals or sums in LaTeX, use the \displaystyle command before the integral or sum. This command forces LaTeX to display the equation as it would appear in a displayed math environment. By default, LaTeX positions limits to the right to save space, which can lead to oversized symbols. You can also explicitly control limit positioning with \sum\limits for above/below placement and \sum\nolimits for right placement. Adjusting these settings can help maintain proper formatting on your document.
Kurret
Messages
141
Reaction score
0
Sometimes when I write an integral or sum the limits are not written out under and above the integral/sum sign, but on the right making the total symbol rather big. I have not cared about this earlier, but this time it makes the equation so big that it doesn't fit the paper. Is there some way to fix this, to "force" the text in the limits to be below/above the integral symbol??
 
Physics news on Phys.org
You could try writing \displaystyle before the integral or sum. This sort of forces LaTeX to revert to how the equation would appear when writing between \begin[equation] tags. The default behavior of LaTeX is to make the integrals smaller and have the summation index to the right to have it all fit in one line.
 
You can control the positioning explicitly with

\sum\limits_{whatever}^{whatever} % positioned above and below
\sum\nolimits_{whatever}^{whatever} % positioned to the right

As metaleer said, the default depends on whether or not you are in displayed math or not, but changing that might affect other formatting as well.
 
Great, Thanks!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
11K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K