LaTeX/Two-lined-subscripts

From testwiki
Jump to navigation Jump to search

If you want to write a large sum likei<j;m𝐙;d𝒩 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.

Template:Latex-footer