In the mathtools
package there is the dcases
environment by which mathematical expressions are presented in displaystyle
mode in each row of the case
environment, as shown in the first picture.
With mtpro2
package, the \ccases
command offers the curly brace in the same cases environment as shown below
but every row has to be put inside \displaystyle
command in order to produce the same result. I would like to use the mtpro2
curly brace along with the displaystyle equations in every row without having to put every row in display mode.
Is there a way to
- replace globally the
dcases
brace with the curly one frommtpro2
package? Or - renew the
\ccases
environment so every row is in displaystyle?
Both approaches are accepted.
\documentclass{article}
\usepackage[lite]{mtpro2}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\[ \begin{dcases}
\int_{0}^{1}{x^2\ d x} & \text{1st argument}\\
\sum_{n=1}^{\infty}{\frac{1}{n^2}} & \text{2nd argument}
\end{dcases} \]
\[ \ccases{
\displaystyle{\int_{0}^{1}{x^2\ d x}} & \text{1st argument}\\
\displaystyle{\sum_{n=1}^{\infty}{\frac{1}{n^2}}} & \text{2nd argument}} \]
\end{document}
ccases
is not very good. – Bernard Nov 14 '19 at 23:12