# [Tex/LaTex] Curly brackets below a word in an equation

equations

How to write this equation in latex?

I wrote this code but not getting it. E_{t-2}P_t=\frac{1}{2}(E_{t-2}m_t+\underbrace{E_{t-2}v_t}_\textrm{=0}-\underbrace{E_{t-2}u_t}_\textrm{=0}+(\frac{(1-\zeta )}{2})(\underbrace{E_{t-2}E_{t-1}P_t}_\textrm{=E_{t-2}}+\underbrace{E_{t-2}E_{t-2}P_t}_\textrm{=E_{t-2}})+(\frac{\zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})


\underbrace{E_{t-2}v_t}_\textrm{=0}


type

\underbrace{E_{t-2}v_t}_{=0}


etc

I would also introduce some line breaks in the long equation. \documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator{\E}{E}
\begin{document}
\begin{multline*}
\E_{t-2}P_t=
\frac{1}{2}\Bigl(\E_{t-2}m_t
+\underbrace{\E_{t-2}v_t}_{=0}
-\underbrace{\E_{t-2}u_t}_{=0}\Bigr) \\
+\frac{(1-\zeta )}{2}\Bigl(
\underbrace{\E_{t-2}\E_{t-1}P_t}_{=\E_{t-2}}+
\underbrace{\E_{t-2}\E_{t-2}P_t}_{=\E_{t-2}}\Bigr) \\
+\frac{\zeta }{2}\Bigl(\E_{t-2}P_{t-1}+\E_{t-2}P_{t-2}\Bigr)
\end{multline*}
\end{document}