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}
eqnarray
to begin with.eqnarray
: tug.org/TUGboat/tb33-1/tb103madsen.pdf, the feature you observe is listed as one of the annoying parts of it. It should only be used in legacy docs. In new docs useamsmath
and the constructions there in. Say for examplealign
, will move the equation number if needed.eqnarray
but showflalign
(neither should be used for a one-line equation) please make your example match your question! LaTeX Error: \begin{flalign} on input line 4 ended by \end{document}.
\mathcal{L}
instead of\mathcal{l}
? Unless you're using a specialized math font,\mathcal{l}
will not produce what you think it should...