I would like to create a cases
environment showing an angle bracket, instead of a curly one. I can't re-define the environment itself because I have to use the new environment together with the old one, that is I have to use 'curly cases' and 'angle cases' in the same document. Is there a package I could use?
[Tex/LaTex] Cases environment with angle brackets
amsmathbracketscases
Best Answer
The following code updates
cases
to take an optional argument. The optional argument is used as the left delimiter instead of the traditional (default)\lbrace
:It should function as expected, even if nested:
However, you may be better off using a regular
array
. It depends on how you nest the content.