How to set the numbering of an equation set to align bottom+right?
For example, in following code. The default numbering will be placed on the same row as S
. But is it possible to change it to row 3 (the P = ???
row)?
\begin{equation}
\begin{split}
A &= 0011 0000 0_2\\
S &= 1101 0000 0_2\\
P &= 0000 1100 0_2
\end{split}
\end{equation}
Best Answer
Use the
tbtags
option to theamsmath
package:tb
stands for "top or bottom"; when the equation numbers are on the right the tag will be placed at the bottom of the block, when the numbering is on the left, the tags will be placed at the top. The opposite option iscentertags
. Thesplit
environment is defined by theamsmath
package, but if you loadmathtools
instead you can write\usepackage[tbtags]{mathtools}
which will pass the option on toamsmath
whenmathtools
loads it.