Possible Duplicate:

Separate long math text under sum symbol into different lines?

I want to write expression `\sum_{i=0}^n i`

with `i\neq 4`

under the

summation symbol. How can I write this?

Skip to content
# [Tex/LaTex] Expression under summation on multiple lines

math-modemath-operators

Possible Duplicate:

Separate long math text under sum symbol into different lines?

I want to write expression `\sum_{i=0}^n i`

with `i\neq 4`

under the

summation symbol. How can I write this?

## Best Answer

You can use

`\substack`

:If this is desired in inline math you can use

`\limits`

to obtain the limits underneath the summation symbol:However this is not recommended as it may not look good depending on how much adjacent text there is as it will affect interline spacing.

## Code: