Latex: text under integral/sum

  • 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.
 

1. 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.

2. 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.

3. 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.

4. 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.

5. 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

  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
336
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
272
  • MATLAB, Maple, Mathematica, LaTeX
Replies
7
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
Replies
6
Views
1K
Replies
6
Views
698
Replies
1
Views
921
Back
Top