TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a simple way to obtain a right aligned first column in the cases environment. As far as I can see, mathtools does not add such an option.

(This question might be read as a request for enhancement on mathtools... :) )

share|improve this question
up vote 9 down vote accepted

The mathtools package actually provides this extension as a feature already! Cases can be created using the following syntax:

\newcases{<case name>}{<space>}{%
  <left col align>}{<right col align>}{<left delim>}{<right delim>}

The regular dcases case is defined in the following way:


Consequently, you would probably be interested in:


Modified cases

share|improve this answer
Ah! This is not in the docs... – Mariano Suárez-Alvarez Sep 5 '11 at 6:20
Remember to add \makeatletter before and \makeatother after using this. I've updated my answer to include this. – Werner Sep 5 '11 at 6:23
Since it require some knowledge to use, it is only used internally. Suggest a good name for it, and I might add it – daleif Sep 5 '11 at 8:41
@daleif: so did you add it? – adn Dec 30 '11 at 9:20

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.