[texhax] Multiline array elements

when harry met sally whenharry_metsally at yahoo.com
Thu Aug 18 09:54:54 CEST 2011

Thanks to those who replied. I finally did it the the "dirty" way, and added some blank rows in between adjacent rows to differentiate different matrix elements from parts of the same element split over several lines: 


 A.1 & B.1 & C.1 & D.1 \\
 A.2 & B.2 & C.2 & D.2 \\
 A.3 & B.3 & C.3 & D.3 \\
 A.4 & B.4 & C.4 & D.4 \\

& & & \\
& & & \\

 E.1 & F.1 & G.1 & H.1 \\
 E.2 & F.2 & G.2 & H.2 \\
 E.3 & F.3 & G.3 & H.3 \\
 E.4 & F.4 & G.4 & H.4 \\


I had to use lots of invisible delimiters \left. and \right. because I had lots of parentheses and each part of a matrix element had to be a complete mathematical expression in itself for it to compile properly.

From: "v_2e at ukr.net" <v_2e at ukr.net>
To: texhax at tug.org
Cc: whenharry_metsally at yahoo.com
Sent: Thursday, August 18, 2011 2:38 AM
Subject: Re: [texhax] Multiline array elements


On Wed, 17 Aug 2011 18:40:20 -0700 (PDT)
when harry met sally <whenharry_metsally at yahoo.com> wrote:

> 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.

  Perhaps you could try the "dirty" way: to brake your expressions into
the appropriate parts by hand and then place them in the consecutive
lines. Something like that:

     A.1 & B.1 & C.1 & D.1 \\
     A.2 & B.2 & C.2 & D.2 \\

  Or maybe the '\multirow' could be of some use.


<v_2e at ukr.net>
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110818/37f67b0f/attachment.html>

More information about the texhax mailing list