# How do I number my equations?

From Apache OpenOffice Wiki

**How do I number my equations?**

Displayed equations in *Writer*
documents can be numbered using a predefined AutoText:

- Type
**fn**at the beginning of a paragraph and press F3 . This will insert an AutoText containing a dummy formula and a sequence number. Now double click the formula to edit it.

- If you want to number the equations by chapter you should

- Doubleclick one of the equation numbers.
- In the listbox
**Level**choose the chapter level you want to number by. - In the textbox
**Separator**type a character to separate the chapter number from the formula number.

- If you want to modify the AutoText you should use the dialog from
**Edit**→**AutoText**. You will find this AutoText in the group "Standard".

- You can also mimic the AutoText and number your equation manually by creating a table containing one row and two columns:

- in the first column you will insert the math object (your equation) and center it;
- in the right column, which will be reduced and right centered, you will place the equation number between two parentheses () by inserting a variable of type Text with the formula Text+1.

- You can refer to this equation by inserting a field corresponding to the equation of the table.
- In addition, if you select both, the reference and the table, you can make the selection an AutoText with the name
*Equation*and abbreviation EQ ( Ctrl + F3 AutoText New). Thus, if you type "*in the following Lotka's equation EQ*", click on F3 , enter the following formula into the emptied math object:

1= int_{0}^{infty} exp(-%rho x) f(x) p lsub{x}rsub{0} dx

- you will get both a numbered equation and the reference to it:
*in the following Lotka's equation (1)*: