I try to accomplish the same thing as in this question: Prevent line break before equation environment in enumerated list item (to have the equation in the same line as "some text"), except that i dont want to use IEEEtran
document class and i do want to have the equation number at the end of the line (the right).
\documentclass{report}
\usepackage{mathtools}
\begin{document}
\begin{itemize}
\item some text:
\begin{equation}
x = y = z
\end{equation}
\end{itemize}
\end{document}
EDIT:
Both Andrew's and Bernard's answer works fine in the example, but if you are using the parameter fleqn in \usepackage[fleqn]{mathtools}
you will get this:
Best Answer
Here is a quick hack for moving the equation "up" so that it is on the same line as the "some text". This is done with a new environment
itemequation
that adjusts for the newline. If the text is too long, however, the equation will write over the top of the text. On the other hand, it not clear from the question what should happen in such cases.Here is the output from the code:
and here is the code: