I'm getting "missing $ inserted" (along with a lot of other nearby errors, but that's the first one) on this snippet:
$$
(\tilde A-\lambda)^m =
\begin{blockarray}{(cccc)}
\BAmulticolumn{3}{c}{\multirow{3}{*}{(A-\lambda)^m}} & \multirow{3}{*}{\vdots} \\
& & & & \\ \\
0 & \dots & 0 & (1-\lambda)^m
\end{blockarray}
\end{pmatrix}
$$
Specifically, it's at the line
\BAmulticolumn{3}{c}{\multirow{3}{*}{(A-\lambda)^m}} & \multirow{3}{*}{\vdots}
I can't find a way to see exactly where the $ was inserted, but either way I have no idea why there would be one there. The code renders fine, the error is just bothering me.
\[
…\]
preferable to$$
? – Werner Oct 7 '14 at 17:03blockarray
? And where ispmatrix
started? And heck, could you please provide a minimal working example (MWE)? – yo' Oct 7 '14 at 17:04\BAmulticolumn
looks like. In fact, instead of providing us with only a code snippet, show a minimal working example (MWE). – Werner Oct 7 '14 at 17:04\end{pmatrix}
was a typo, removing it hasn't changed the issue, though. I actually couldn't provide a MWE because I really have no idea what I'm doing - I copy pasted this snippet and modified it using my limited knowledge of TeX until it (mostly) worked. – Jack M Oct 7 '14 at 17:07