is it possible to remove brace from the left of following equation?
\begin{equation}
a=
\begin{dcases}
1& r\geq 5,
3& \text{otherwise}
\end{dcases}
\end{equation}
You can easily do it, but your readers won't be happy.
\documentclass{article}
\usepackage{mathtools}
\makeatletter
\newcases{nocases}
{\quad}
{$\m@th\displaystyle{##}$\hfil}
{$\m@th\displaystyle{##}$\hfil}
{.}{.}
\makeatother
\begin{document}
\begin{equation}
a=
\begin{nocases}
1& r\geq 5, \\
3& \text{otherwise}
\end{nocases}
\qquad
a=
\begin{dcases}
1& r\geq 5, \\
3& \text{otherwise}
\end{dcases}
\end{equation}
\end{document}
cases environment
– Werner
Dec 06 '16 at 20:24
Use aligned or a regular array with the appropriate column specification:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{equation}
a =
\begin{dcases}
1 & r \geq 5, \\
3 & \text{otherwise}
\end{dcases}
\qquad
b =
\begin{array}{ @{} r l @{} }
1 & r \geq 5, \\[\jot]
3 & \text{otherwise}
\end{array}
\qquad
c =
\begin{aligned}
1 \quad & r \geq 5, \\
3 \quad & \text{otherwise}
\end{aligned}
\end{equation}
\end{document}
arrays set their contents in \textstyle by default. Issue \displaystyle if needed, and perhaps also adjust the vertical gap \\[\jot] to a larger multiple.
\! before \begin{aligned} in order to get the correct spacing?
– sodd
Dec 06 '16 at 22:48
aligned– David Carlisle Dec 06 '16 at 17:30