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.

What does it mean

! Misplaced \cr.
\math@cr@@@ ->\cr 
In latex error.

in this document

     \begin{pmatrix }
    \int_0^1 f(s) ds  \\
    int_0^\om g(s) ds 

share|improve this question
add comment

1 Answer

Your example generates

! LaTeX Error: Environment pmatrix   undefined.

because of the spurious space in \begin{pmatrix } and

! Undefined control sequence.

because \om is not defined.

It does only generates the error in the subject line if you ignore those errors and let TeX recover. Subsequent errors are nearly always spurious.

In this case \cr is the TeX primitive for a new line in an aligment which is used in the definition of \\. because the inner pmatrix did not start because of the first error, TeX takes the \\ as ending the outer alignment row inside the group, which is an error.

share|improve this answer
Thank you David, it is very nice. Respectfully. –  Zbigniew Jan 13 '13 at 14:02
add comment

Your Answer


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.