[Tex/LaTex] Left brace including several lines in eqnarray

bracesequations

How is it possible to make a brace and have something like this in a eqnarray block?

enter image description here

Best Answer

Here's a sample document without the use of amsmath package:

\documentclass{article}
\begin{document}
  \[
    \alpha(x)=\left\{
                \begin{array}{ll}
                  x\\
                  \frac{1}{1+e^{-kx}}\\
                  \frac{e^x-e^{-x}}{e^x+e^{-x}}
                \end{array}
              \right.
  \]
\end{document} 

or one with amsmath's cases environment

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
  \alpha(x)=\begin{cases}
               x\\
               \frac{1}{1+e^{-kx}}\\
               \frac{e^x-e^{-x}}{e^x+e^{-x}}
            \end{cases}
\]
\end{document}