I'm trying to use the cases
environment to show an arbitrary equation. But I noticed that it only allows me to use 2 columns. However, I would require a third column, or perhaps a fourth as well.
An example is shown below:
\begin{equation*}
\Md_1 \Cup \Md_2=
\begin{cases}
\Md_2 & when \ \Md_1 = \nothing \\
\Md_1 & when \ \Md_2 = \nothing \\
\Md_1 \cup \Md_2 & otherwise
\end{cases}
\end{equation*}
What I would like to write is something like this (this does not actually work):
\begin{equation*}
\Md_1 \Cup \Md_2=
\begin{cases}
\Md_2 & when \ \Md_1 = \nothing & where & x = foo \\
& & & y = bar \\
\Md_1 & when \ \Md_2 = \nothing & where & z = notfoo \\
\Md_1 \cup \Md_2 & otherwise & & \\
\end{cases}
\end{equation*}
\text
.