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

  • LaTeX
  • Thread starter Kurret
  • Start date
  • Tags
    Latex Text
In summary, the conversation discusses an issue with the positioning of limits for integrals or sums in LaTeX equations. One solution suggested is to use the \displaystyle command before the integral or sum, which forces LaTeX to revert to the default positioning. Another option is to use the \sum\limits or \sum\nolimits commands to explicitly control the positioning. However, changing the default behavior may affect other formatting in the equation.
  • #1
Kurret
143
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
  • #2
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.
 
  • #3
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.
 
  • #4
Great, Thanks!
 
  • #5

Yes, there is a way to fix this issue in LaTeX. You can use the \limits command before the integral or sum symbol to force the limits to be written above and below the symbol, even if they are written on the right. This will make the equation more compact and fit better on the paper. Alternatively, you can also use the \displaystyle command before the integral or sum symbol to make the limits appear above and below the symbol, while also making the symbol larger. Both of these commands can be used to adjust the appearance of the integral or sum symbol in your equation.
 

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

What is the purpose of using "Latex: text under integral/sum"?

Latex is used to typeset mathematical equations, and the "text under integral/sum" feature allows for additional text to be placed below the integral or summation symbol. This is useful when explaining the variables or limits of integration in a mathematical expression.

How do I add text under an integral or summation symbol in Latex?

To add text under an integral or summation symbol in Latex, you can use the \underset{}{} command. The first pair of curly braces will contain the text you want to add, and the second pair will contain the integral or summation symbol.

Can I add multiple lines of text under an integral or summation symbol in Latex?

Yes, you can add multiple lines of text under an integral or summation symbol in Latex using the \substack{} command. This allows for a new line to be started within the text under the symbol.

Can I change the size or formatting of the text under an integral or summation symbol in Latex?

Yes, you can change the size or formatting of the text under an integral or summation symbol in Latex using various commands such as \text{}, \tiny{}, \small{}, \large{}, etc. This allows for customization of the appearance of the text.

Are there any alternatives to using "Latex: text under integral/sum" for adding text below mathematical symbols?

Yes, there are some alternatives to using Latex for adding text below mathematical symbols. Some other options include using the MathML language or using a WYSIWYG equation editor such as Microsoft Word's Equation Editor. However, Latex is the preferred choice for typesetting complex mathematical equations and symbols.

Similar threads

Replies
3
Views
2K
Replies
7
Views
2K
Replies
3
Views
881
Replies
4
Views
2K
Replies
4
Views
4K
Replies
2
Views
5K
Replies
3
Views
10K
Replies
0
Views
2K
Back
Top