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?

  • 4
    Are you loading the mathtools package? – Gonzalo Medina May 8 '13 at 4:23
  • 1
    Do you want autocomplete in Kile editor for dcases environment or if it's with package \usepackage{mathtools} – texenthusiast May 8 '13 at 4:23
  • 1
    Thanks guys, that was the issue. Totally forgot that I need mathtools...don't remember doing that the last time :x – justin.dong May 8 '13 at 4:37
  • @user1799323 Some useful info: mathtools is package included in a TeX distribution (eg: TeXLive,MiKTeX and MacTeX), which has nothing to do with any LaTeX editor(Kile), Hence title has been modified to reflect the issue. – texenthusiast May 8 '13 at 6:24
  • @GonzaloMedina Would you like to add an answer? – Torbjørn T. May 8 '13 at 13:43

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

| improve this answer | |

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.