Microsoft KB Archive/75456

= WD: How to Use EQ Field to Place Box Around Characters =

Article ID: 75456

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Word 1.0 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 2.0 Standard Edition
 * Microsoft Word 2.0a
 * Microsoft Office Word 2003
 * Microsoft Word 2.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 4.0 for Macintosh
 * Microsoft Word 5.0 for Macintosh
 * Microsoft Word 5.1 for Macintosh
 * Microsoft Word 5.1 for Macintosh
 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q75456





SUMMARY
In Microsoft Word, it is possible to use an EQ field or a formula (Word 4.x, 5.x) to put boxes around individual letters, words, or combinations of words.

The &quot;More Information&quot; section of this article includes various examples using the Equation or formula field to place boxes around characters and words.

NOTE: In many later versions of Word, you can use drawing tools and WordArt to create letters, words, and combinations of words in boxes. For more information about these features, see Word Help.



Using an EQ Field
To put a box around an individual letter, word, or combination of words, use the {eq} field with the \x switch, as in the following example:

  {eq \x(b) \x(o) \x(x)}

This field will create a result that resembles the following:

  - - - | b | | o | | x | - - -

This field {eq \x(box)} will create a result similar to this:

  --- | box | ---

To insert an empty field in Word, press CTRL+F9 or press COMMAND+F9 in Word for the Macintosh.

For more information about the EQ field, click the Office Assistant, type &quot;What is an EQ field,&quot; click Search, and then click to view &quot; Field codes: Eq (Equation) field.&quot;

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Word Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

120802 Office: How to Add/Remove a Single Office Program or Component

Use a Formula (Word 4.x, 5.x)
To put a box around an individual letter, word, or combination of words, use the Formula character (.\) followed by an x.

NOTE: Insert the Formula character by typing COMMAND+OPTION+\.

For example,

  .\x(b) .\x(o) .\x(x)

will give the following result:

  - - - | b | | o | | x | - - -

  .\x(box) will create the following result:

  --- | box | ---

You can combine more than one \x switch in a single line of text, but the combined text and borders is limited to only one line of print. If the entered text and borders exceeds the width of the paragraph or the document margins, an error message will be displayed.

Using Fields with Borders to Get a Nested Border Effect
This field can be combined with paragraph borders and page borders to get a nested border box effect. To do this, insert one or more of the fields from the earlier examples in this article and use the procedure appropriate for your version of Word.

Word 6.x, 7.0, 98:

With the insertion point still in the paragraph with the field, click Borders And Shading on the Format menu, select the Borders tab, and select the Box preset.

Word 2.0, 5.x:

With the insertion point still in the paragraph with the field, choose Border from the Format menu and click on Box to put a box around the entire field.

Word 4.x:

With the insertion point still in the paragraph with the field, click Paragraph on the Format menu and click the Border button. Click Plain Box to put a box around the entire field.

Word 1.x:

With the insertion point still in the paragraph with the field, choose Paragraph from the Format menu and choose Border Box to put a box around the entire field.

The result will be a paragraph border around the border applied with a field.

Additional Ways to Nest Box Borders
All versions of Word except Word 4.x or 5.x for the Macintosh:   {eq \x(\x(\x(example)))}

Word for the Macintosh versions 4.x or 5.x:   .\x(.\x(.\x(example)))

