0

I'm a TeX/LaTeX newbie. I would like to generate a .png using dvipng for the below equation.

$$\eqalignno{\overline {Z_{w,h}^{(LDGM)}} =&\sum\limits _{e=0}^{t} \left [{{ 1}\over { t\choose e}} {\rm coef}\left (\prod _{u=1}^{\infty} (1 + x^{u}y)^{m {\mathtilde {\lambda }}_{u}}, x^{e}y^{w}\right)\right. \cr & \left . \times {\rm coef} \!\left (\prod _{v=1}^{\infty} [f_{-}(x,v)y \!+\! f_{+}(x,v)]^{n {\mathtilde {\rho }}_{v}}, x^{e}y^{h} \!\right)\!\right]\!. \cr &&{\hbox{(3)}}}$$

Please suggest what is wrong with the equation and how to generate a dvi for this.

3

1 Answer 1

5

The TeX source looks like plain TeX code because of the \eqalignno command. If you just want to fix it, replace the & XML entities with plain & characters. Also, \mathtilde is not available in plain TeX. Thus, you can either use \tilde instead, or define a macro that simply maps \mathtilde to \tilde. The resulting document looks something like this:

\def\mathtilde{\tilde}
$$
   \eqalignno{\overline {Z_{w,h}^{(LDGM)}} =
   & \sum\limits _{e=0}^{t} \left [{{1}\over {t\choose e}} {\rm coef}
     \left(\prod _{u=1}^{\infty} (1 + x^{u}y)^{m {\mathtilde {\lambda }}_{u}},
     x^{e}y^{w}\right)\right. \cr 
   & \left . \times {\rm coef} \! \left(\prod_{v=1}^{\infty} 
     [f_{-}(x,v)y \!+\! f_{+}(x,v)]^{n{\mathtilde{\rho}}_{v}}, 
     x^{e}y^{h} \!\right)\!\right]\!. \cr 
   &
   & \hbox{(3)}}
$$
\bye

To get a DVI file, compile it with tex <filename>.

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .