I am using LaTeX
to create a formula, however, I have found that the placement of the number (in my case, (2)) of the formula is too close. I want to put the number at the right side.
This is my code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{equation}
{C_m = (D_m_1, D_m_2, ..., D_m_k__m}), (m \in (1, j))
\end{equation}
\end{document}
\end{document}
How should I change my code?
D_m_1
After any error don't even look at the ouput, TeX only recovers enough to syntax check the rest of the document, not to make sensible output.