thank you for reading.
I was trying to use some commutators in an array when I found this error :
! Missing number, treated as zero. a l.9 [a] A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index to The TeXbook.)
! Illegal unit of measure (pt inserted). Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.)
! Missing = inserted for \ifdim. I was expecting to see '<', '=', or '>'. Didn't.
With the following code :
\documentclass{article}
\usepackage[english]{babel}
\begin{document}
$$\begin{array}{c}
first ligne\\
[second ligne]
\end{array}$$
\end{document}
The code creates a pdf with some text on the second page and some black space on the right of it. It does compute well when you remove the left bracket [, or when you use the brackets on the first ligne.
Is this related with a \\ [ on two consecutive lines ?
$$...$$. – Mar 29 '18 at 00:01