[comp.text] \eqalign bug?

16012_3705@uwovax.uwo.ca (Jeff Racine) (05/24/89)

	If anyone has run across the following problem (bug?) I would
appreciate your input.

	When using \eqalign, if I have an alignment character & in between a
\left( and a  \right), TeX responds with a   `Missing { or right)' message and
tries to insert brackets etc.

	When I use \bigg( and \bigg), no problem.  I want to use \left( and
\right) to have the brackets sized correctly.  Any insight anyone could offer
would be much appreciated.

	P.S. this occurs on my version 2.93 of SBTEX and on the VAX/VMS
version.

	Thanks.  P.S. members of an avion species of identical plumage
congregate.

leichter@CS.YALE.EDU (Jerry Leichter (LEICHTER-JERRY@CS.YALE.EDU)) (05/25/89)

In article <2228@uwovax.uwo.ca>, 16012_3705@uwovax.uwo.ca (Jeff Racine) writes...
> 
>	If anyone has run across the following problem (bug?) I would
>appreciate your input.
> 
>	When using \eqalign, if I have an alignment character & in between a
>\left( and a  \right), TeX responds with a   `Missing { or right)' message and
>tries to insert brackets etc.
> 
>	When I use \bigg( and \bigg), no problem.  I want to use \left( and
>\right) to have the brackets sized correctly.  Any insight anyone could offer
>would be much appreciated.

\eqalign is based on \halign, which constructs general alignments.  Every
field in an alignment is implicitly placed in its own group; that is, a line
like:

	a & b & c \\

acts more or less as if you had written

	{a} & {b} & {c} \\

\left and \right act as grouping characters, and the grouping they imply must
not conflict with that of any (implicit or explicit) "curly" groups.

So...what you want to do won't work.  \left and \right are labor-saving de-
vices which help out much of the time, but they are by no means universal.
This is one case in which you have to fall back on the simpler \biggl and
friends.
							-- Jerry