I am currently using the \underbrace
command and would like to center \cdot
between the two terms. How can I better format this dot product and also line up the underprice text to the same heights?
Thank you.
\begin{equation*}
g'(t)=Df_{\gamma(t)}\left(\gamma'(t)\right)=\underbrace{\nabla f_{\gamma(t)}}_{\text{gradient}} \cdot \underbrace{\gamma'(t)}_{\text{tangent to level line}}
\end{equation*}
Best Answer
Add an appropriate
\vphantom
and flatten the longer text horizontally:You could also alternate the brace direction: