# [Latex] Display subscript under the symbols

### Problem

When writing inline equations in LaTeX, symbols such as summations may get ugly with subscripts, for example:

$\sum_{i=1} x_i$

### Solution

Add \displaystyle right before the equation (e. g. $\displaystyle \sum_{i=1} x_i$) to display the subscript under the symbol. Our example becomes

$\displaystyle \sum_{i=1} x_i$