How to display two-rows bracket in Latex?

Posted by niko on Stack Overflow See other posts from Stack Overflow or by niko
Published on 2010-05-14T12:25:48Z Indexed on 2010/05/14 13:34 UTC
Read the original article Hit count: 337

Filed under:

Hi,

Does anyone know how to modify the following string in order to display the two-lines bracket?

str = '$$c_i =\{\begin{array}{l l} 1  \quad L\left(Q_i\right) < 0 \\ 0 \quad L\left(Q_i\right) \geq 0 \\ \end{array}$$';

The current output is the following:

alt text

The sign '{' has to embrace both rows (1 and 0).

© Stack Overflow or respective owner

Related posts about latex