
Latex でネストされた配列としてエクスポートされる Piecewise 関数の定義に関連付けられた次の画像に対応する、Mathematica によって生成されエクスポートされた Latex を Math StackExchange に表示する際に問題が発生しています。
以下は、Mathematica によって生成され、エクスポートされた Latex です。
$\begin{array}{cc}
\{ &
\begin{array}{cc}
\begin{array}{cc}
\{ &
\begin{array}{cc}
1 & \Im\left(1-2 n^s\right)<0 \\
-1 & \text{True} \\
\end{array}
\\
\end{array}
& \Re\left(1-2 n^s\right)<-1 \\
\begin{array}{cc}
\{ &
\begin{array}{cc}
-1 & \Im\left(1-2 n^s\right)>0 \\
1 & \text{True} \\
\end{array}
\\
\end{array}
& \Re\left(1-2 n^s\right)>+1 \\
\begin{array}{cc}
\{ &
\begin{array}{cc}
1 & \Im\left(1-2 n^s\right)<0 \\
-1 & \text{True} \\
\end{array}
\\
\end{array}
& \text{True} \\
\end{array}
\\
\end{array}$
Math StackExchange では、次の画像に示すように、「\end{array} がありません」というエラーが表示されます。
あまり複雑でない配列については、Mathematica で生成およびエクスポートされた Latex を Math StackExchange に表示することに成功しました。
質問: Mathematica によって生成され、Mathematica からエクスポートされた Latex に問題があるのでしょうか、それとも Math StackExchange 上のこの Latex の MathJax レンダリングに問題があるのでしょうか?