My university's thesis require weird equation style, like (d) below:
code here:
\documentclass{report}
\begin{document}
equation with dotfill:
\begin{equation}
(a) 1+1=2 \dotfill
\end{equation}
equation without dotfill:
\begin{equation}
(b) 1+1=2
\end{equation}
(c) text without dotfill
(d) text with dotfill \dotfill (index)
\end{document}
I get align-left by this question, but I don't how to use \dotfill in equation. (a) have same behavior with (b).
Many thx !

equationenvironment there is no problem in using\dotfill. Please provide a minimal working example so that we can see what you are doing. – campa Mar 18 '21 at 15:23align? Also, is this regular, in-text equations, or something that forms part of a List of Equations, like a Table of Contents (for equations)? – Werner Mar 18 '21 at 18:05