[Tex/LaTex] Flip the underbrace

math-mode

Is there a way to flip this \underbrace in the code so that it stays on the same place (under the V but points towards it not away from it as it does right now.

v(t) = Re \{ \underbrace{V}_{V_o e^{j \omega t}} e^{j \phi} \} 

Thank you advance.

Btw, how do you write LaTeX code here directly? Sorry, I am new here.

Best Answer

If you didn't want the understacked material to affect the main equation's spacing, then the stackengine package's \useanchorwidth parameter is helpful.

Here, I stack the embraced commentary under the V, but tell stackengine to use the horizontal size of the V "anchor" to determine the horizontal space allocated for the overall stack. If I set \useanchorwidth to {F}, the answer will look much like the other answers given.

\documentclass{article}
\usepackage{stackengine}
\renewcommand\useanchorwidth{T}
\stackMath
\begin{document}
$v(t) = Re \{ \stackunder{V}{\overbrace{\scriptstyle V_o e^{j \omega t}}\,} e^{j \phi} \} $
\end{document}

enter image description here

Related Question