## #677 Syntax highlighting and *

None
closed
nobody
None
1
2013-01-27
2013-01-14
No

If you use the basic command \begin{eqnarray} everything works fine, but if you use \begin{eqnarray} to eliminate the numbering it's marked red. The same also happens for similar commands like \begin{equation}.

## Discussion

• Tim Hoffmann
2013-01-15

\begin{equation*} reqires the amsmath package. If you have the according \usepackage command in your file, it should not be marked as unknown command.

eqnarray and eqnarray* should not be used anymore. Use the align environment of the amsmath package instead. See http://ctan.math.utah.edu/ctan/tex-archive/info/l2tabu/english/l2tabuen.pdf section 3.3

For that reason we mark these commands, eqnarray should also be marked. If you want to use them nevertheless, you might check latex-l2tabu.cwl at Options -> Configure -> Completion. Then these commands are not marked anymore. We might add a separate highlighting for deprecated commands later on to make this more clear.

• Jan Sundermeyer
2013-01-27

• status: open --> closed
• milestone: -->