# LaTeX/Two-lined-subscripts

< LaTeX

If you want to write a large sum like you may want to break the summand into two lines. The problem with \\ or \newline is that they work only in the paragraph mode.

In latex, we can do that by

$$ \mathop{\sum_{i<j ; m\in\mathbf{Z}}}_{d\in\mathcal{N}} $$

Or, to do this in-line instead of displayed,

$\displaystyle \mathop{\sum_{i<j ; m\in\mathbf{Z}}}_{d\in\mathcal{N}} $

Here [1] is another solution.

## See also

edit- List of resources under LaTeX
- Topic:LaTeX - the organisation page for wikiversity learning activities on LaTeX
- b:LaTeX - the featured wikibook, available in .pdf format
- w:LaTeX - wikipedia article on LaTeX