Re: labeling equation in tex style
On Sun, Mar 17, 2002 at 11:52:26AM +0100, Davide Cavallari wrote: \[ \pi (w_r|\vec{w}) = \begin{cases}\frac{1}{\eta} f \left( \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ C_r(\vec{w})\delta(w_r'-w_r), w_r' \alpha_r(\vec{w}) \vee w_r' \beta_r(\vec{w}) \end{cases} \] What is the best way to label it? It was a silly question, sorry! I only need to substitute \[ \] with begin/end{equation} and then i can simply insert a labal with Insert-Label. -- Cheers, Davide Cavallari If a thing's worth having, it's worth cheating for. -- W.C. Fields
Re: labeling equation in tex style
On Sun, Mar 17, 2002 at 11:52:26AM +0100, Davide Cavallari wrote: \[ \pi (w_r|\vec{w}) = \begin{cases}\frac{1}{\eta} f \left( \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ C_r(\vec{w})\delta(w_r'-w_r), w_r' \alpha_r(\vec{w}) \vee w_r' \beta_r(\vec{w}) \end{cases} \] What is the best way to label it? It was a silly question, sorry! I only need to substitute \[ \] with begin/end{equation} and then i can simply insert a labal with Insert-Label. -- Cheers, Davide Cavallari If a thing's worth having, it's worth cheating for. -- W.C. Fields
Re: labeling equation in tex style
On Sun, Mar 17, 2002 at 11:52:26AM +0100, Davide Cavallari wrote: > \[ > \pi (w_r|\vec{w}) = > \begin{cases}\frac{1}{\eta} f \left( > \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), & > \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ > C_r(\vec{w})\delta(w_r'-w_r), & w_r' < \alpha_r(\vec{w}) > \vee w_r' > \beta_r(\vec{w}) > \end{cases} > \] > > What is the best way to label it? It was a silly question, sorry! I only need to substitute "\[" "\]" with "begin/end{equation}" and then i can simply insert a labal with Insert->Label. -- Cheers, Davide Cavallari If a thing's worth having, it's worth cheating for. -- W.C. Fields
labeling equation in tex style
I have some equations written using the cases environment in tex style, e.g.: \[ \pi (w_r|\vec{w}) = \begin{cases}\frac{1}{\eta} f \left( \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ C_r(\vec{w})\delta(w_r'-w_r), w_r' \alpha_r(\vec{w}) \vee w_r' \beta_r(\vec{w}) \end{cases} \] What is the best way to label it? It would be great if it was possible having lyx recognize such a label, so I could reference it in the text using the Insert-Cross Reference utility. -- Cheers, Davide Cavallari An optimist believes we live in the best world possible; a pessimist fears this is true.
labeling equation in tex style
I have some equations written using the cases environment in tex style, e.g.: \[ \pi (w_r|\vec{w}) = \begin{cases}\frac{1}{\eta} f \left( \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ C_r(\vec{w})\delta(w_r'-w_r), w_r' \alpha_r(\vec{w}) \vee w_r' \beta_r(\vec{w}) \end{cases} \] What is the best way to label it? It would be great if it was possible having lyx recognize such a label, so I could reference it in the text using the Insert-Cross Reference utility. -- Cheers, Davide Cavallari An optimist believes we live in the best world possible; a pessimist fears this is true.
labeling equation in tex style
I have some equations written using the cases environment in tex style, e.g.: \[ \pi (w_r|\vec{w}) = \begin{cases}\frac{1}{\eta} f \left( \frac{w_r'-(1-\eta)w_r}{\eta}\right) + C_r(\vec{w})\delta(w_r'-w_r), & \alpha_r(\vec{w}) \le w_r' \le \beta_r(\vec{w}) \\ C_r(\vec{w})\delta(w_r'-w_r), & w_r' < \alpha_r(\vec{w}) \vee w_r' > \beta_r(\vec{w}) \end{cases} \] What is the best way to label it? It would be great if it was possible having lyx recognize such a label, so I could reference it in the text using the Insert->Cross Reference utility. -- Cheers, Davide Cavallari An optimist believes we live in the best world possible; a pessimist fears this is true.