Microsoft KB Archive/212037

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

Article ID: 212037

Article Last Modified on 11/25/2002

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q212037





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:  On the Insert menu, click Field. In the Field names list, click Eq and then click Options. 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. Click OK to close the Field Options dialog box. Click OK to close the Field dialog box.</li></ol>

-or-

</li> To insert an EQ field manually, follow these steps: <ol> Press CTRL+F9 to insert the field braces ({}).

NOTE: Field braces are not the same character as the "{" or "}" character on your keyboard.</li> With the insertion point between the field braces, type the EQ field as you want it to appear.</li></ol> </li></ul>

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:

Example 2: Place a Box Around a Word
{EQ \X(Box)}

This field creates a result similar to this:

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:

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.
 * 1) Click OK.

Additional query words: sentence

Keywords: kbhowto KB212037

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.