- #1

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

In summary, the person is asking for help on how to place a blacksquare before equations and have line numbers for their term paper, which is due in 2 hours. They mention knowing the necessary command and package, but needing to place the blacksquare on the left and have the correct equation number displayed on the right for only a few equations. They thank the others for their help.

- #1

Physics news on Phys.org

- #2

Hepth

Gold Member

- 464

- 40

\blacksquare

is the command

and you need the package amssymb called at the start.

\usepackage{amssymb}

- #3

maverick280857

- 1,789

- 5

Thanks anyway.

To add a black square in a LaTeX equation, you can use the \blacksquare command. This will insert a small black square at the current location in the equation.

Yes, you can change the size of the black square by using the \rule command. For example, \rule{1em}{1em} will create a black square that is 1em by 1em in size.

To add line numbers to a LaTeX equation, you can use the \linenumbers command from the lineno package. This will automatically number each line in the equation.

Yes, you can customize the appearance of the line numbers by using the \setrunninglinenumbers and \setdisplayedlinenumbers commands from the lineno package. These commands allow you to specify the type of numbering and the starting number.

Yes, it is possible to add both black squares and line numbers in the same equation in LaTeX. You can use the same techniques mentioned above to add both elements to your equation.

- Replies
- 6

- Views
- 2K

- Replies
- 16

- Views
- 3K

- Replies
- 11

- Views
- 4K

Mathematica
How to type mathematical equations using LaTeX

- Replies
- 3

- Views
- 793

- Replies
- 4

- Views
- 2K

- Replies
- 4

- Views
- 3K

- Replies
- 6

- Views
- 7K

- Replies
- 2

- Views
- 3K

- Replies
- 1

- Views
- 5K

- Replies
- 7

- Views
- 8K

Share: