# Multiline equation number

I have a multiline equation like:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$\label{equation label here} \begin{gathered} someEquationRightHere \\ moreEquationHere \\ andEvenMoreHere \end{gathered}$$
\end{document}


And it gets rendered to:

I would like the number (2) to be at the last line of the equation (just as it shows to the right, but in line with andEvenMoreHere). I heard that \usepackage[tbtags]{amsmath} should do it, but I use it in my code to no avail.

How could I make the equation numbers appear in last lines of the equation, rather than in the middle?

• Welcome to TeX.SX! Jun 10, 2017 at 21:36
• The tbtags option applies only to the split environment. Indeed, the User’s Guide for the amsmath Package could state this more clearly.
– GuM
Jun 10, 2017 at 23:17

The simplest is to add the optional[b]argument with gathered:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

$$\label{equation label here} \begin{gathered}[b] \text{someEquationRightHere} \\ \text{moreEquationHere} \\ \text{andEvenMoreHere} \end{gathered}$$

\end{document}


There are several ways. For example, the equations can be set in the numbered environment gather, but with disabled numbers for the first two equations:

\documentclass[a5paper]{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
\text{someEquationRightHere}\nonumber\\
\text{moreEquationHere}\nonumber\\
\label{equation label here}
\text{andEvenMoreHere}
\end{gather}
\end{document}