TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
“[” as first character in table row

I am usually constructing nested equations in latex using the IEEEeqnarray-toolbox (typeset_equations.pdf ). However, I noticed an odd behavior that it probably inherits from the basic TeX ingredients it is based on.

Does anyone know a simple workaround for the following?

In the IEEEeqnarraybox environment, in a second line (after a \\ in the previous line), a starting opening bracket will lead to errors. Showcase:

&  \\
[ & 

I tried escaping it with \\[, which will lead to other errors, as I am using this in the math-environment.

share|improve this question

migrated from stackoverflow.com Jan 25 '13 at 16:56

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Werner, Stefan Kottwitz Jan 25 '13 at 17:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Jan 25 '13 at 16:57
I agree with @Werner: just write \relax after the \\ that's followed by [. – egreg Jan 25 '13 at 17:02

An (ugly) workaround is to insert a space and a negative space:

[ &  \\ 
\,\![ & 

(the '[' in the first row is just to verify that the horizontal spacing is OK)

share|improve this answer
{} would be enough, but \relax is better. – egreg Jan 25 '13 at 17:05