0

The comma after the equation coincides with the number of the equation using the eqnarray . How can get rid of that?

    \documentclass{article}
    \usepackage{amsmath} 
    \begin{document}
    \begin{eqnarray}
        S_{EMS}=\frac{1}{16 \pi G_4} \int_{\mathcal{l}} \mathrm{d^4}x \ \sqrt{-r}  \ \left[p - \frac{f(\xi)}{4}D_{MN}D^{MN} -\frac{1}{2}\partial_{M}\phi \partial^{l}\xi -V(\phi)\right],
\end{eqnarray}
    \end{document}
5

1 Answer 1

3

eqnarray should be avoided in general, and if used should have two & on each row. But single line equations use equation

enter image description here

\documentclass{article}
    \usepackage{amsmath} 
    \begin{document}
    \begin{equation}
        S_{\mathrm{EMS}}=\frac{1}{16 \pi G_4} \int_{\mathcal{L}} \mathrm{d^4}x  \sqrt{-r}  
 \left[p - \frac{f(\xi)}{4}D_{MN}D^{MN} -\frac{1}{2}\partial_{M}\phi \partial^{l}\xi -V(\phi)\right],
\end{equation}
    \end{document}

You must log in to answer this question.

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