# cases¶

The cases extension implements the cases style package from LaTeX. It provides environments numcases and subnumcases for formulas with separately enumerated cases. See the CTAN page for more information and documentation of cases.

This package is not autoloaded, so you must request it explicitly if you want to use it. To load the cases extension, add '[tex]/cases' to the load array of the loader block of your MathJax configuration, and add 'cases' to the packages array of the tex block.

window.MathJax = {
tex: {packages: {'[+]': ['cases']}}
};


window.MathJax = {
tex: {
cases: [[], ['numcases', 'subnumcases']]
}
}
};


Alternatively, use \require{cases} in a TeX expression to load it dynamically from within the math on the page, if the require extension is loaded.

## cases Commands¶

The cases extension implements the following macros: &

And the following environments: numcases, subnumcases