Loading
Word.Tips.Net WordTips (Menu Interface)

Numbering Equations

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:

  1. 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.
  2. In the center column type your equation, using Equation Editor.
  3. 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.)
  4. Position the insertion point in the right-hand column, then click on the Align Right tool on the formatting toolbar.
  5. Type the left bracket that you want to appear around the equation number.
  6. Choose Field from the Insert menu. Word displays the Field dialog box.
  7. In the Categories list, choose Numbering. (See Figure 1.)
  8. Figure 1. The Field dialog box.

  9. 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.
  10. Click on the Field Codes box and make sure the insertion point appears at the end of the field, right after SEQ.
  11. Type a name for this sequence of numbers, such as Equation. (The Field Code box should now contain "SEQ Equation", without the quote marks.)
  12. Click on OK. A number appears in your document at the right of your bracket.
  13. Type the right bracket to finish out the equation number.

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:

  1. 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.)
  2. Figure 2. The Tabs dialog box.

  3. If there are any existing tabs in the paragraph, click on Clear All.
  4. In the Tab Stop Position box, type the position of the first tab (3.25).
  5. For an Alignment, select Center.
  6. Click on Set.
  7. In the Tab Stop Position box, type the position of the second tab (6.5).
  8. For an Alignment, select Right.
  9. Click on Set.
  10. Click on OK to close the Tabs dialog box.
  11. Press Tab to advance to the first (centered) tab stop, and insert your equation.
  12. Press Tab to advance to the second (right-justified) tab stop.
  13. Type the left bracket that you want to appear around the equation number.
  14. Choose Field from the Insert menu. This displays the Field dialog box.
  15. In the Categories list, choose Numbering.
  16. 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.
  17. Click on the Field Codes box and make sure the insertion point appears at the end of the field, right after SEQ.
  18. Type a name for this sequence of numbers, such as Equation. (The Field Code box should now contain "SEQ Equation", without the quote marks.)
  19. Click on OK. A number appears in your document at the right of your bracket.
  20. Type the right bracket to finish out the equation number.

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!

 

Comments for this tip:

Jim Van Zandt    02 Dec 2014, 10:25
Sorry, my comment of a minute ago was referring to the comment by Erk.
Jim Van Zandt    02 Dec 2014, 10:23
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.
Erk    25 Nov 2014, 07:07
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
A Hasani    24 Nov 2014, 13:45
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.
Larry Lurio    18 Nov 2014, 10:09
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.
den    05 Nov 2014, 01:35
Very interesting and complete article

Leave your own comment:

*Name:
Email:
  Notify me about new comments ONLY FOR THIS TIP
Notify me about new comments ANYWHERE ON THIS SITE
Hide my email address
*Text:
*What is 4+5 (To prevent automated submissions and spam.)
 
          Commenting Terms
 
 

Our Company

Sharon Parq Associates, Inc.

About Tips.Net

Contact Us

 

Advertise with Us

Our Privacy Policy

Our Sites

Tips.Net

Beauty and Style

Cars

Cleaning

Cooking

DriveTips (Google Drive)

ExcelTips (Excel 97–2003)

ExcelTips (Excel 2007–2013)

Gardening

Health

Home Improvement

Money and Finances

Organizing

Pests and Bugs

Pets and Animals

WindowsTips (Microsoft Windows)

WordTips (Word 97–2003)

WordTips (Word 2007–2013)

Our Products

Premium Newsletters

Helpful E-books

Newsletter Archives

 

Excel Products

Word Products

Our Authors

Author Index

Write for Tips.Net

Copyright © 2014 Sharon Parq Associates, Inc.