WD2000: How to Use the EQ Field to Place a Box Around Text

ID: Q212037


The information in this article applies to:
  • Microsoft Word 2000


SUMMARY

This article describes how to use the EQ field to place a box around individual letters, words, or combinations of words.

NOTE: In Microsoft Word 2000, you can also use Borders and Shading (on the Format menu, click Borders and Shading) to put a box around individual letters or words. You can also use the drawing tools and WordArt to create letters, words, and combinations of words in a box.

For more information about bordering text, click Microsoft Word Help on the Help menu, type add a border in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.


MORE INFORMATION

To place a box around an individual letter, word, or combination of words, use the {EQ} field with the \X switch, as in the examples later in this article.

How to Insert an EQ Field

To insert an EQ field to place a box around text, do one of the following:
  • To insert an EQ field from the menus in Word, follow these steps:


    1. On the Insert menu, click Field.


    2. In the Field names list, click Eq and then click Options.


    3. On the Options tab, under Switches, click \X() and click Add to Field. In the Field codes box, click to place the insertion point between the parentheses ( () ) and type the text you want inside the box.


    4. Click OK to close the Field Options dialog box.


    5. Click OK to close the Field dialog box.


    -or-

  • To insert an EQ field manually, follow these steps:


    1. Press CTRL+F9 to insert the field braces ({}).

      NOTE: Field braces are not the same character as the "{" or "}" character on your keyboard.


    2. With the insertion point between the field braces, type the EQ field as you want it to appear.


For more information about fields, click Microsoft Word Help on the Help menu, type field codes in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

How to Show the Results of an EQ Field

If an EQ field appears in your document similar to {EQ \X(Box)}, to show the results of the EQ field, press ALT+F9 (this turns off all of the field codes in your document). To show the result of one field, select the EQ field and press SHIFT+F9.

Example 1: Place a Box Around a Single Character

{EQ \X(B) \X(o) \X(x)}
This field creates a result that resembles the following:

B

 

o

 

x

Example 2: Place a Box Around a Word

{EQ \X(Box)}
This field creates a result similar to this:

Box

For more information about the EQ field, click Microsoft Word Help on the Help menu, type EQ field in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Example 3: Create a Nested Box Effect

You can also created a nested box border effect using the EQ field. The following formula demonstrates this:
{EQ \X(\X(\X(Box)))}
This field creates a result similar to this:

Box

Example 4: Use "Borders and Shading" to Create a Nested Box Effect

The EQ field can be combined with borders or page borders to get a nested border box effect (similar to Example 3). To do this, create an EQ field similar to one of the previous examples in this article, select the EQ field, and then follow these steps:
  1. On the Format menu, click Borders and Shading.


  2. On the Borders or Page Borders tab, click the type of box (listed under Setting), click the style of line border you want (listed under Style), and change the Apply to box to Text.

    NOTE: You can also change the color and width of the lines of the border before you click OK.


  3. Click OK.


Additional query words: sentence

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.