# A label for multiple equations

The following code gives two examples: The former gives only one label for two equations with a redundant notation "{ ", but the later gives three labels (It should be two?).

Is it possible to give only one label for multiple equations without the notation "{"?

\begin{eqnarray}
\begin{cases}
A &\sim a,\\
B &\sim b,\\
\end{cases}
\end{eqnarray}

\begin{align}\label{General}
A &\sim a,\\
B &\sim b,\\
\end{align}


My desired output is the following;

• I've changed the tag to math-mode; your example is using latex, so it's not "tex-core". Both of the answers use structures defined by amsmath. It could be instructive for you to read the amsmath users guide. If you're using a TeX Live installation, this can be accessed by typing texdoc amsmath at a command line prompt. Sep 19, 2019 at 15:43

Yes, it is possible by using split environment, and the tags are:

$$\label{General} \begin{split} A &\sim a,\\ B &\sim b, \end{split}$$

• Thank you for quick reply, it is quite new for me, thank you. Sep 19, 2019 at 14:00

You can use an aligned environment nested within your equation:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{aligned} A &\sim a,\\ B &\sim b, \end{aligned}
\end{document}

• Thank you for reply, it helps me a lot. Sep 19, 2019 at 14:09
• There's no need for the final \\ in a stack.
– Werner
Sep 19, 2019 at 15:38