number several equations with only one number

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-08T12:36:25Z Indexed on 2010/04/08 13:53 UTC
Read the original article Hit count: 395

Filed under:
|
|

Hi,

How can I number several equations in a align environment using only one number?

For example

\begin{align}
w^T x_i + b \geqslant 1-\xi_i \text{ if } y_i=1, \nonumber \\
w^T x_i + b \leqslant -1+\xi_i \text{ if } y_i=-1,
\end{align}

The numbering will appear next to the second equation. But it would be better if it appears between the lines of the two equations.

In this case how to label this group of equations for later referring to?

Thanks and regards!

© Stack Overflow or respective owner

Related posts about latex

Related posts about align