1

This question already has an answer here:

I tried to compile something like the following but it is not compiling:

$$
\begin{array}{ccc}
    [u,v]=0&,&\text{if bla}\\
    [u,v]=0&,&1
\end{array}
$$

I also tried

\begin{eqnarray}
    [u,v]=0&,&\text{if bla}\\
    [u,v]=0&,&1
\end{eqnarray}

I'm using pdflatex (Windows prompt), Version 3.1415926-1.40.10 (MiKTeX 2.8), and the compiler shows

! Missing number, treated as zero.
(to be read again)
           u
1.45                    [u,v]
                     =0 &,&1
?

Sincerely, this makes no sense for me and if I delete the "]" in the second line, or if I don't use the second line in the eqnarray (or array), it compiles normally.

marked as duplicate by Werner, Torbjørn T., Svend Tveskæg, David Carlisle, egreg Nov 12 '13 at 23:13

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.

Browse other questions tagged or ask your own question.