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.