My code as follows:
\documentclass{book}
\usepackage{amsmath}
\begin{document}
Test
\begin{equation}
\left.\begin{array}{c} \displaystyle\sum\limits_{t=0}^{T}\pi
\rho^{t}\overset{\textrm{add and subtract 2nd and 3rd
terms}}{\overbrace{=\displaystyle\sum\limits_{t=0}^{T}\pi \rho
^{t}+\displaystyle\sum\limits_{t=T+1}^{\infty }\pi \rho
^{t}-\displaystyle\sum\limits_{t=T+1}^{\infty }\pi \rho ^{t}}}\ \
\overset{\textrm{combine first two
terms}}{\overbrace{=\displaystyle\sum\limits_{t=0}^{\infty }\pi
\rho ^{t}-\displaystyle\sum\limits_{t=T+1}^{\infty }\pi \rho^{t}}}
\\\noalign{\vskip6pt}
\hspace*{-2pc}\underset{\textrm{factor out }\rho^{T+1}\textrm{ from
second term}}{\underbrace{=\displaystyle\sum\limits_{t=0}^{\infty
}\pi \rho^{t}-\rho ^{T+1}\displaystyle\sum\limits_{t=0}^{\infty
}\pi \rho ^{t}}}\ \ \underset{\begin{smallmatrix}\textrm{use formula
for sum of}\\ \textrm{geometric
series}\end{smallmatrix}}{\underbrace{=\frac{1-\rho^{T+1}}{1-\rho
}\pi }}.
\end{array}\right. \label{eq formula geometric series}
\end{equation}
\end{document}
And the output came as:
I am converting this to HTML with MathML through the tag
htlatex test "xhtml,mathml,mathml-" " -cunihft" "-cvalidate -p"
Conversion doesn't shows any errors, but the limits for the symbol sum changed to side limits, but I should match the MathML output same as TeX output, i.e., upper and lower limits should as is. Please advise...


