2

I have a multiline equation like:

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

And it gets rendered to:

Rendering

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?

1
  • 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

2 Answers 2

6

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

\documentclass{article}
\usepackage{amsmath}

\begin{document}

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

\end{document} 

enter image description here

2

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}

Result

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .