Whenever I am trying to compile the following code :

-1 & 3 \\
2 & -4

shows an error : Environment matrix* undefined.

I want to know what is the necessary package for

'bmatrix*,Bmatrix*,vmatrix*,Vmatrix*,pmatrix*,matrix* '

  • 7
    mathtools should do it.
    – dustin
    Aug 12, 2013 at 18:33

1 Answer 1


mathtools package, but I wonder how you could know those environments exist without seeing a document using that package?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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