Can anyone show how to use eqnarray and numcases together? The example below works fine without numcases, but I would like to number the equations in the cases separately.
\documentclass[12pt]{article}
\usepackage{cases}
\begin{eqnarray}
f(x) &=& \Theta(x) \\
&=&\begin{cases}
1, & x > 0\\
0 , & x < 0
\end{cases}
\end{eqnarray}
\end{document}
Thanks in advance.

\documentclassand ending with\end{document}. – Ross Sep 03 '18 at 05:19eqnarrayis deprecated. It is preferable to useamsmathpackage macros asequationfor instance. Have a look at this post for more information – BambOo Sep 03 '18 at 07:20