Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

It seems as though the SIAM class does not play nice with the cases environment. For example

$$
\begin{cases}
x & y
\end{cases}
$$

will produce the error

misplaced alignment tab character

Oddly enough,

$$
\begin{cases}
x \\ y
\end{cases}
$$

compiles, but puts x and y on the same line.

share|improve this question
2  
cases environment is defined in amsmath so you presumably want \usepackage{amsmath} otherwise you get the original (more or less undocumented) \cases command that is defined in latex but really comes from plain tex and should not be used –  David Carlisle Jan 10 at 0:05
    
Thanks. If you put your answer here I can accept it thereby closing the question. –  par Jan 10 at 0:13

1 Answer 1

up vote 3 down vote accepted

The cases environment is defined in amsmath so you presumably want

\usepackage{amsmath}

otherwise you get the original (more or less undocumented) \cases command that is defined in latex but really comes from plain tex and should not be used.

share|improve this answer
    
you might also have suggested using \[ ... \] instead of $$ ... $$. –  barbara beeton Jan 10 at 14:39
    
@barbarabeeton I thought about it, but one thing at a time:-) –  David Carlisle Jan 10 at 14:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.