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

  • Context: LaTeX 
  • Thread starter Thread starter Kurret
  • Start date Start date
  • Tags Tags
    Latex Text
Click For Summary

Discussion Overview

The discussion revolves around formatting integrals and sums in LaTeX, specifically how to position the limits above and below the symbols instead of to the right. The scope includes technical explanations and practical solutions for typesetting in LaTeX.

Discussion Character

  • Technical explanation

Main Points Raised

  • One participant notes that limits for integrals and sums often appear to the right, making the symbols larger than desired, and seeks a solution to position them above and below the symbols.
  • Another participant suggests using \displaystyle before the integral or sum to revert to a larger format similar to that used in displayed equations.
  • A third participant provides explicit commands for controlling limit positioning: \sum\limits for limits above and below, and \sum\nolimits for limits to the right, while noting that the default behavior varies depending on whether the math is displayed.
  • A later reply expresses gratitude for the information shared.

Areas of Agreement / Disagreement

Participants generally agree on the methods to control the positioning of limits in LaTeX, but there is no consensus on the implications of changing the display format on other aspects of formatting.

Contextual Notes

Participants mention that the default behavior of LaTeX can depend on the context of the math environment, which may affect other formatting elements.

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 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
11K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K