I have two sets of equations in an align*
environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws errors whenever I use &
inside the underbrace argument. Is there a workaround?
MWE:
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\text{Kin}&\text{ematics} &\ \ \ \ && \text{Rot}&\text{ation Kinematics}\\
x &= x_ot+v_ot+\frac{1}{2}at^2 &&& \theta &= \theta_ot\omega_ot+\frac{1}{2}\alpha t^2\\
v &= v_ot+at &&& \omega &= \omega_ot \alpha t\\
% \underbrace{v^2 &= v_o^2+2a \Delta x &&& \omega^2 &= \omega_o^2 + 2 \alpha \Delta \theta}_{\text{Variables get replaced as per the table}}\\
\end{align*}
\end{document}
The above code works perfectly until the last line is uncommented.
\underbrace
are better left of as text instead. Also that\text{Kin}&\text{ematics}
is not a good solution. You loose kerning.