LaTeX Adding Black Squares & Line Numbers in LaTeX Equations

  • Thread starter Thread starter maverick280857
  • Start date Start date
  • Tags Tags
    Latex Tag
AI Thread Summary
To place a black square before equations while also displaying line numbers in LaTeX, the amssymb package must be included with the command \usepackage{amssymb}. The specific command for the black square is \blacksquare. To achieve the desired formatting of having the black square on the left side of the equation and the equation number on the right, additional customization is required, particularly for only a select few equations. The discussion emphasizes the urgency of the request due to an impending deadline for a term paper.
maverick280857
Messages
1,774
Reaction score
5
Hi everyone,

I BADLY BADLY need to place a \blacksquare before my equations AND also have line numbers, as shown in the sample attachment.

Someone please let me know how this can be done. My term paper is due in 2 hours!

Thanks,
Vivek
 

Attachments

  • tag.jpg
    tag.jpg
    5.5 KB · Views: 640
Physics news on Phys.org


\blacksquare

is the command


and you need the package amssymb called at the start.
\usepackage{amssymb}
 
Yes, I knew the command (as stated in my post) and the package. But as I said, I needed to place the blacksquare on the left of the equation, and also simultaneously display the correct equation number on the right hand side. Oh and I forgot to mention that I had to do this only for a few equations (the key results).

Thanks anyway.
 

Similar threads

Replies
16
Views
4K
Replies
3
Views
2K
Replies
4
Views
3K
Replies
4
Views
4K
Replies
2
Views
3K
Replies
0
Views
5K
Back
Top