[Tex/LaTex] label multiple lines of equations


Suppose I have the equations

 f(x) = x^2
 g(x) = \exp( x )

I would like to use on single label for these lines, and ideally the equation number would be placed vertically between these two lines.

Although this question appears very basic, I have not found an explanation neither via search engines, nor on this website.

Best Answer

The very thing you want is the split environment, provided by the amsmath class.

Sample code.

\usepackage[paperwidth=90mm]{geometry}% <-- better demonstrates the vertical alignment

Eqn.~\eqref{eqn:eqlabel} has a single label split
across the two equations, as you can see here:
 f(x) &= x^2 ,
 g(x) &= \exp( x ) .



Sample document using the split environment

Related Question