[Tex/LaTex] How to put a brace on the right, not left, to group cases


How can I get a brace on the right, not the left, to group cases, using cases? (I know actual cases look better with the brace on the left, but the items I need to group are not literally cases. They are a set of steps in an algorithm which I want to consider as an item.)

The following puts the brace on the left. All I need to do is to flip it to the right.


Thanks for any help with this!

Best Answer

use package mathtools. There is also a drcases environment


E = m c^2 & foo \\
\int x-3\, dx & barbaz
\end{rcases*} y=f(x)

Related Question