Default LaTeX includes the \cases
command from plain TeX which has the rather non-LaTeX syntax:
\cases{x & if $x>0$\cr
-x & otherwise\cr}
\documentclass{article}
\begin{document}
\begin{eqnarray}
\label{eq:f}
f(x) &=& \cases{x,&if \( x>0 \)\cr -x,&if \( x\le 0 \)\cr}\\
\label{eq:g}
g(x) &=& \cases{\sin(x),&if \( -1<x<1 \)\cr
\cos(1-x),&otherwise.\cr}
\end{eqnarray}
\end{document}
\text
can be replaced by \mbox
or \parbox
, but you will have to take care of some sizing yourself.
It turns out that a replacement for \tag
is provided by the class file agutex.cls
(at least the Feb 9, 2008 version):
\documentclass{agutex}
\lefthead{A. N. Author}
\righthead{Article Title}
\begin{document}
\begin{eqnarray}
\label{eq:f}
f &=& x + y\\
\label{eq:h}
h &=& x - y\specialeqnum{h}
\end{eqnarray}
Equations (\ref{eq:f}) and (\ref{eq:h})
\end{document}
eqnarray
:)