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?

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

2 Answers 2

4

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.