92

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

enter image description here

2

1 Answer 1

114

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} 

Not the answer you're looking for? Browse other questions tagged .