One *WordTips* reader expressed a desire to number the various equations appearing in his document. The desire was to have the equation be centered on the page, and the equation's number appear at the right margin within brackets. When a new equation is added to the document, the subsequent equations should be renumbered.

There are a number of ways you can approach this problem, but the possible solutions can be broken down into two general methods. The first method accomplishes the numbering using a combination of tables and fields, and the second uses tabs and fields. If you want to use the table approach, you can do so as follows:

- At the point where you wish to insert an equation, create a table with one row and three columns. Make the right column just wide enough to contain the number style you wish to use (for numbering the equation). Make the left-hand column the same width in order to balance the space left for the equation number. Format the table so its borders are not visible.
- In the center column type your equation, using Equation Editor.
- With the insertion point still located in the center column of your table, click on the Center tool on the formatting toolbar. This centers the equation in the column. (If you made your left and right columns the same width, as pointed out in step 1, then this also results in the equation being centered on the page.)
- Position the insertion point in the right-hand column, then click on the Align Right tool on the formatting toolbar.
- Type the left bracket that you want to appear around the equation number.
- Choose Field from the Insert menu. Word displays the Field dialog box.
- In the Categories list, choose Numbering. (See Figure 1.)
- In the Field Names list, choose Seq. The dialog box changes so that a Field Codes box appears at the bottom; the letters SEQ should appear in that Field Codes box.
- Click on the Field Codes box and make sure the insertion point appears at the end of the field, right after SEQ.
- Type a name for this sequence of numbers, such as Equation. (The Field Code box should now contain "SEQ Equation", without the quote marks.)
- Click on OK. A number appears in your document at the right of your bracket.
- Type the right bracket to finish out the equation number.

** Figure 1.** The Field dialog box.

If you want to use tabs to accomplish the same task, you can easily do that, as well. For instance, let's say you are using 8.5 x 11 paper, with 1-inch left and right margins. In this case, you would follow these steps:

- Position the insertion point where you want to insert the equation, then choose Tabs from the Format menu. This displays the Tabs dialog box. (See Figure 2.)
- If there are any existing tabs in the paragraph, click on Clear All.
- In the Tab Stop Position box, type the position of the first tab (3.25).
- For an Alignment, select Center.
- Click on Set.
- In the Tab Stop Position box, type the position of the second tab (6.5).
- For an Alignment, select Right.
- Click on Set.
- Click on OK to close the Tabs dialog box.
- Press
**Tab**to advance to the first (centered) tab stop, and insert your equation. - Press
**Tab**to advance to the second (right-justified) tab stop. - Type the left bracket that you want to appear around the equation number.
- Choose Field from the Insert menu. This displays the Field dialog box.
- In the Categories list, choose Numbering.
- In the Field Names list, choose Seq. The dialog box changes so that a Field Codes box appears at the bottom; the letters SEQ should appear in that Field Codes box.
- Click on the Field Codes box and make sure the insertion point appears at the end of the field, right after SEQ.
- Type a name for this sequence of numbers, such as Equation. (The Field Code box should now contain "SEQ Equation", without the quote marks.)
- Click on OK. A number appears in your document at the right of your bracket.
- Type the right bracket to finish out the equation number.

** Figure 2.** The Tabs dialog box.

The advantage of using the tab method (as just described) is that you can define a paragraph style that already has the two tab stops set. You can then format any paragraph with the style, and simply type your information. You can take it one step further and also save the brackets and sequence field as an AutoText entry. In this way you could very quickly enter your sequence numbers.

When you add new equations in the middle of your document, it is very possible that not all of your subsequent equations will automatically increment. If you want to make sure that all the sequence numbers are correct, you can select the entire document and press **F9** to update the fields.

*WordTips* is your source for cost-effective Microsoft Word training.
(Microsoft Word is the most popular word processing software in the world.)
This tip (273) applies to Microsoft Word 97, 2000, 2002, and 2003.

**Create Custom Apps with VBA!** Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out *Mastering VBA for Office 2013* today!

The Equation Editor can be a great boon when you need to include complex mathematical equations in your document. The ...

Discover MoreThe Equation Editor is a great tool for working with mathematical formulas. If your formula includes a radical symbol, ...

Discover MoreYou can define styles for different characters used in the Equation Editor. It is not as full-featured as styles in Word, ...

Discover More**FREE SERVICE:** Get tips like this every week in *WordTips,* a free productivity newsletter. Enter your address and click "Subscribe."

2018-01-23 12:15:24

Max

Sir you are the best

2017-03-02 20:41:01

David Tyler

Could you POSSIBLY make it MORE DIFFICULT?? How utterly ridiculous.

2017-01-03 14:03:59

Jim Van Zandt

For the tabs method, in the Tab dialog box, you hit "+" rather than "set". To keep the equation from appearing in a reference, insert a hidden paragraph mark before the equation number: Navigate window menu->Home->“paragraph” mark to display nonprinting characters. Move the insertion point to just before the open bracket. Press return. Select only the paragraph mark you just inserted. Navigate Screen menu->Format->Font, check “Hidden”. But equations will still be in "inline" mode.

2017-01-02 08:40:24

Paulo Carvalho

2016-12-30 23:08:19

Ana

As stated on one of the comments, in order for the cross-ref include only the label and number (not the entire equation) we need to use style separator. I named the label 'Equation', used style separator, but then, when I go to create the cross-ref, my equation number does not appear (under the 'equation' label). Does this really work, or am I doing something wron?

Thank you

2016-10-13 07:41:02

eRK

And btw., I have long switched to Word2013 and all my recipes still work.

2016-09-08 15:09:53

Lazar

2016-02-25 06:53:03

Ian

2015-08-23 05:50:37

Erk

And yes, I ignore the word counter - what good is a reference if you cannot refer to it?

2015-08-21 16:58:49

tim

@Erk and @Jim Van Zandt, you can use Word's built-in cross-ref feature if you use Equation as the SEQ name. But if you're using the tab/inline method you need to insert a Style Separator (Ctrl-Alt-Enter) before the equation number otherwise the Equation cross-ref pulls in the entire equation and not just the number. At least this is my experience in word 2013.

Final tip: you can automatically embed your number in parens (or brackets or whatever) if you add the proper formatting option to the SEQ field code. i.e {SEQ Equation# "(0)"}

2015-03-20 15:50:27

Jim Van Zandt

2015-03-20 15:23:01

Jim Van Zandt

2015-02-18 20:32:19

dan

2014-12-02 10:25:36

Jim Van Zandt

Sorry, my comment of a minute ago was referring to the comment by Erk.

2014-12-02 10:23:43

Jim Van Zandt

2014-11-25 07:07:37

Erk

insert a field code by pressing ctrl+F9 - it will appear as {} but mind you - it is not the same as just typing brackets!! - so in my text below, understand every {}-pair as such a field.

So if you want a numbered equation, put

{set eq1 {seq Equations}}{eq1}

where you want the number (next to the equation, in the outside column of the 3 column table, e.g.). "Equations" is the name of the counter, "eq1" is the variable you use for this very equation. To refer to it, put {ref eq1 h} in the text! Here h makes appear the hyperlink if the cursor is over it.

shift+F9 toggles field codes and the result - but you get this choice also by right-clicking on the field ...

Good luck

2014-11-24 13:45:49

A Hasani

2014-11-18 10:09:50

Larry Lurio

2014-11-05 01:35:21

den

Very interesting and complete article

Got a version of Word that uses the
menu interface (Word 97, Word 2000, Word 2002, or Word 2003)?
**This site is for you!** If you
use a later version of Word, visit
our *WordTips* site focusing on the ribbon interface.

**FREE SERVICE:** Get tips like this every week in *WordTips,* a free productivity newsletter. Enter your address and click "Subscribe."

Copyright © 2021 Sharon Parq Associates, Inc.

## Comments