Math & Science ⇒ Problems in equation number at end of line
-
- Posts: 5
- Joined: Sun Oct 24, 2010 8:20 am
Problems in equation number at end of line
I am using Texworks under MikTex and am unable to figure out a way to put the equation number at the end of the line. The equation number is generated just at the end of the equation but not at the end of the line.
I would really appreciate any help on this issue.
Thanks!!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Problems in equation number at end of line
-
- Posts: 5
- Joined: Sun Oct 24, 2010 8:20 am
Re: Problems in equation number at end of line
I mean if the equation is a = b + c then it should give
a = b + c (1)
but it gives a = b + c (1)
I am using \begin{equation} a = b + c \end{equation}
I am just not able to identify the problem...
Thanks in advance!!
Re: Problems in equation number at end of line
-
- Posts: 5
- Joined: Sun Oct 24, 2010 8:20 am
Re: Problems in equation number at end of line
the equation I want is:
\begin{equation}
\label{eqn2}
J_{1, n} ={\frac{1}{|\mathfrak{S}_n|}}{\sum_{\sigma \in \mathfrak{S}_n} {Fix(\hat{\sigma})}} = {\frac{1}{n!}}{\sum_{\lambda \in p(n)}{N(\lambda)}\cdot{\prod_{m = 1}^{n}{\lambda}_m! m^{\lambda}_m},
\end{equation}
but I want the equation number at the end of line not just after the equation as mine.
Thanks....
Problems in equation number at end of line
Problems in equation number at end of line
As frabjous mentioned, that is not a minimal working example; however, one sees the problem at once: there's a mismatched brace; a closing brace is missing, and after suitable completion:horizon_83 wrote:Hi,
the equation I want is:
\begin{equation}
\label{eqn2}
J_{1, n} ={\frac{1}{|\mathfrak{S}_n|}}{\sum_{\sigma \in \mathfrak{S}_n} {Fix(\hat{\sigma})}} = {\frac{1}{n!}}{\sum_{\lambda \in p(n)}{N(\lambda)}\cdot{\prod_{m = 1}^{n}{\lambda}_m! m^{\lambda}_m},
\end{equation}
but I want the equation number at the end of line not just after the equation as mine.
Thanks....
Code: Select all
\documentclass{book}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{equation}
\label{eqn2}
J_{1, n} ={\frac{1}{|\mathfrak{S}_n|}}{\sum_{\sigma \in \mathfrak{S}_n} {Fix(\hat{\sigma})}} = {\frac{1}{n!}}{\sum_{\lambda \in p(n)}{N(\lambda)}\cdot{\prod_{m = 1}^{n}{\lambda}_m! m^{\lambda}_m},
\end{equation}
\end{document}
Code: Select all
\documentclass{book}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{equation}
\label{eqn2}
J_{1, n} = \frac{1}{|\mathfrak{S}_n|} \sum_{\sigma \in \mathfrak{S}_n}
{Fix(\hat{\sigma})} = \frac{1}{n!}\sum_{\lambda \in p(n)} N(\lambda) \cdot \prod_{m = 1}^{n}{\lambda}_{m}! m^{\lambda}_{m},
\end{equation}
\end{document}