I am trying to implement my previous Powerpoint presentation in beamer
.
I have a figure like
I want to create something like this in beamer
.
I wrote a equation as follows but I couldn't write the description underneath the equation as shown in figure:
\begin{equation}
\partial _t(m_x m_yHu)+ \partial_x(m_yHuu)+\partial_y(m_xHvu)+\partial_z(m_xm_ywu)-m_xm_yf_cHv
\end{equation}
Any help/suggestion is highly appreciated.
Best Answer
The operator spacing is not perfect, but the braces add some horizontal padding which might be sufficient:
Some highlights:
\alert
provides the colour choice for the\underbrace
s, while\color{black}
avoids the colour transformation of the expression.\text
(fromamsmath
, loaded bymathtools
) allows for easy formatting of text in sub-/superscripts without having to worry about the font sizes.\mathclap
inserts the contents in a zero-width box so as to not influence the surrounded components being set.\substack
allows for stacking of elements vertically, especially as a subscript under an operator, which\underbrace
intrinsically is.{<op>}
removes their "binary operator" spacing. However, the padding inserted by the\underbrace
s (on either side) acts as a sufficient buffer. It's not perfect, but it might not be all the noticeable.