Loading

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.

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.

Learn more about Allen...

WordTips FAQ

Ask a Word Question

Make a Comment

Free Business Forms

Free Calendars

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.

*Related Tips:*

**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!

Just want to add, if one wants to have chapter-based numbering (i.e. 1.1, 1.2, etc), before inserting Seq field you can do Insert--->Quick Parts --->Field--->StyleRef and check appropriate paragraph as described here: http://smps-power.blogspot.com/2016/09/insert-chapter-based-equation-numbers.html

I am using Word 2011 on Mac and still struggle with the tab method. The tab key does nothing after typing in the equation. I tried ctrl-alt-enter and it simply shifts to a new line. Back spacing takes me back to the equation. The Field insertion and numbering works fine but the whole line adjusts itself about its common centre. I am using fully justified in the rest of the document. Why does the Tab just not behave, leaver the equation at the centre and move to the right-hand side position?

Thanks Tim and the others. Yes I know that it is a struggle to get common sense into the brains of the creators of Word ... Anyhow - my way of typesetting the correct numbers is to embed the equation in a three columns-one row tab with invisible borders - the outer columns small and just for the "(nn)" and the inner larger field for the actual equation. This way it doesn't automatically switch between Display and Inline modes. The left column typically remains empty - it is just to have the equation correctly centred ...

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

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

In word 2013 with the newer equation editor/object the tab method doesn't really work IMO. It changes the equation from Display mode to Inline mode which doesn't look as good, especially for large equations.

@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)"}

@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)"}

Correction: Erk's method of referring to an equation number cannot be used with the "Equation" counter (without the 's') that Microsoft uses for their equation numbers. So the workaround is to ignore Microsoft's equation numbering entirely, and use a different counter like "Equations", as Erk originally wrote.

Unfortunately referring to an equation number using a field code as shown by Erk no longer works with the 365 ProPlus version of Microsoft Word - the "set" command appears not to work. If anyone has a workaround, I would like to hear about it.

you could also just press tab after the equation and type in your equation number the old fashioned way rather than struggling with all of these incredibly unintuitive bells and whistles. what ever happened to the typewriter?

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

I suggest using the counter "Equation" (without the "s"). If you navigate References | Insert Caption and select the label “Equation”, you will also be using the “Equation” counter. You can use that method if you do not need to refer to the equation.

My tip:

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

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

Thanks for such a great help. But i have a question. how is it possible to cross-reference to one of the fields created as you explained here. These fields don't appear in the "cross-reference" dialogue box.

In word 2013 there is no "Field" on the "Insert" menu. You have to go to "Insert" then "Quick Parts" to get to the "Field" menu.

Very interesting and complete article