[texhax] Multiline array elements

Lars Madsen daleif at imf.au.dk
Thu Aug 18 09:04:45 CEST 2011

when harry met sally wrote, On 2011-08-18 03:40:
> I have to put a large matrix in my document, and I want to split its elements over multiple lines. How do I do this? The array is only a 4X4 array, but the elements are long algebraic expressions which are not fitting onto a page even if I use tiny fontsize and landscape orientation. I have experimented with align and split and haven't had much success. I get errors like:
> ! Package amsmath Error: Erroneous nesting of equation structures;
> (amsmath)                trying to recover with `aligned'.
> Thanks,
> Sally

wouldn't it be better to write

\begin{bmatrix} A & B \\ C & D \end{bmatrix}
where ...

and then define A, B, C and D

Would be easier for the reader to understand



More information about the texhax mailing list