On Mon, 3 May 2004, Raphael Clifford wrote:Hi,
I have an equation with three cases.. something like
d_i,j = a if blah1
b if blah2
c if blah3
Raphael,
I use a left curly brace followed by a vector (matrix with one column and three rows). You can always refer to them as "when a ...", "if b ..." and so on.
Rich
It wasn't actually exactly I described it. I have attached an example in lyx. I would like to add labels like (1), (2) ,(3) to the three cases so I can refer to them later. Are you saying that I should redo it as a matrix and then I could add the labels that way?
Cheers, Raphael
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default
\layout Standard \begin_inset Formula \begin{eqnarray*} D_{i,j} & = & min\begin{cases} D_{i-1,j-1}+|p_{i}-t_{j}| & \textrm{if $|p_{i}-t_{j}|\leq\delta$}\\ D_{i,j-1}+\delta\\ D_{i-1,j}+\delta & \textrm{}\end{cases}\end{eqnarray*} \end_inset \the_end