Latex Fraction Help - Fix Subscript Issue

  • Context: LaTeX 
  • Thread starter Thread starter Amok
  • Start date Start date
  • Tags Tags
    Fraction Latex
Click For Summary
SUMMARY

The forum discussion addresses a specific issue in LaTeX regarding the positioning of subscripts in summation notation. The user provided a code snippet using the \texttt{displaymath} environment to create a fraction with a summation in the numerator. The problem identified is that the subscript appears to the side of the summation symbol instead of directly underneath it, likely due to the length of the expression. A solution is suggested using the \texttt{\textbackslashdisplaystyle} command to ensure proper formatting.

PREREQUISITES
  • Understanding of LaTeX syntax and environments
  • Familiarity with mathematical notation in LaTeX
  • Knowledge of the \texttt{displaymath} environment
  • Experience with LaTeX commands such as \texttt{\textbackslash sum} and \texttt{\textbackslash frac}
NEXT STEPS
  • Explore the use of \texttt{\textbackslashdisplaystyle} for formatting in LaTeX
  • Learn about the \texttt{align} environment for multi-line equations
  • Research LaTeX packages that enhance mathematical typesetting
  • Investigate best practices for managing long expressions in LaTeX
USEFUL FOR

Students, researchers, and professionals who use LaTeX for typesetting mathematical documents, particularly those encountering formatting issues with summation and fraction notation.

Amok
Messages
254
Reaction score
1
Hello, I need write this equation and here's the code:

\begin {displaymath}
\[
\frac{\sum_{s_i \in S_{access}^{site}}{{e^{-\beta E(s_i)}}}}{Q}
\]
\end {displaymath}

It is working well, the only problem being that the sum ''subscript'' is not directily underneath the sum symbol, but rather to the side of it (probably because it's too long). I was wondering if you could help me.

Thanks.
 
Physics news on Phys.org
$\displaystyle\sum_{i=0}$

works
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
749
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 766 ·
26
Replies
766
Views
745K
  • · Replies 4 ·
Replies
4
Views
6K