Typically, summation is over some range, such as $k=1,...,n$, which might be written $$\sum_{k=1}^nx_k\quad\text{or}\quad\sum_{k=1,...,n}x_k.$$But suppose that the range is restricted by a further condition, for example $k\neq\lfloor n/2\rfloor$. Now the underscript reads as in$$\sum_{k=1;\;k\neq\lfloor n/2\rfloor}^nx_k\quad\text{or}\quad\sum_{k=1,...,n;\;k\neq\lfloor n/2\rfloor}x_k.$$Perhaps the right-hand one is better here, but better still is to follow it except with the extra condition $k\neq\lfloor n/2\rfloor$ underneath the primary condition $k=1,...,n$ (without the semicolon). I have seen this in journals, but unfortunately can't show what I mean here because I don't know how to do it in MathJax. So, how is it done in MathJax?
Of course, this extends to other operations, such as product, union, and so on.
\substack
helps. $$\sum_{\substack{k = 1 \\ k \neq \lfloor n/2\rfloor}}^{n} x_k$$ via\sum_{\substack{k = 1 \\ k \neq \lfloor n/2\rfloor}}^{n} x_k
. $\endgroup$ – Daniel Fischer♦ Sep 22 '20 at 20:53$$\sum_{a=b\\b+c=d}e_{abc}$$
also makes a new line in Mathjax (but not latex) with less than ideal formatting $$\sum_{a=b\\b+c=d}e_{abc}$$ $\endgroup$ – Calvin Khor Sep 25 '20 at 12:41