[Tex/LaTex] How to make dcases environment work in LaTeX

casesmacportsmath-mode

I'm using Kile (kde4) on Mac OS. I can use the cases environment just fine but my version of Kile doesn't have dcases. I'm using Kile via MacPorts. Does anyone know of a way to update my distribution so I can access this environment? I'm not too good with MacPorts so I haven't really touched it after following the directions to get it installed.

Or is there a quick/lazy fix I could do, like maybe defining my own command to do the same things as dcases?

Best Answer

The dcases environment is implemented by the mathtools package, so you need to load it in the preamble:

\usepackage{mathtools}
Related Question