2

My university's thesis require weird equation style, like (d) below:

enter image description here

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 !

J.C.
  • 21
  • 3
    In a normal equation environment 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:23
  • 3
    Do you sometimes have multi-line equations like an align? 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
  • @campa Thx for your suggestion, MWE and picture were uploaded. – J.C. Mar 19 '21 at 02:17
  • @Werner Yeah, but I don't know the relationship between multi-line equations and this question. – J.C. Mar 19 '21 at 02:19
  • 1
    @J.C.: How about this? – Werner Mar 19 '21 at 03:36
  • @Werner Wow, wonderfull !! Seems \makeatletter ..... \makeatother fix this problem perfectly ! I am going to learn something about your solution. – J.C. Mar 19 '21 at 06:41

0 Answers0