New line in mathjax

Would it be possible to have a way to put new line in mathjax? Maybe a button at the bottom, or shift+return as it works in chat.
I understand it is not usually required for short forms. But let’s take

\begin{eqnarray}e^xe^y&=&\left(\sum_i\frac{x^i}{i!}\right)\left(\sum_j\frac{y^j}{j!}\right)\\&=&\sum_i\left(\frac{x^i}{i!}\sum_j\frac{y^j}{j!}\right)\\&=&\sum_i\sum_j\frac{x^i}{i!}\frac{y^j}{j!}
\\&=&\sum_k\sum_{i+j=k}\frac{x^i}{i!}\frac{y^j}{j!}
\\&=&\sum_k\frac1k\sum_{i=0}^k\frac{x^iy^{k-i}}{i!(k-i)!}
\\&=&\sum_k\frac1k(x+y)^k\\&=&\exp(x+y)
\end{eqnarray}

new line is very very useful to write it in a readable way.
It seems to work if I copy/paste a new line in it, but that’s not practical

Shift + Enter works here. Do you mean this?

3

Version ⁨23.12.1 (1a1d4d54)⁩.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.