WD: Can't Underline Equation Field Below Text Baseline

ID: Q139773

The information in this article applies to:

SYMPTOMS

A fraction, such as a/b, created by using the following equation field does not display or print underline formatting:

   {EQ \f(a,b)}

CAUSE

The field result extends into the baseline.

WORKAROUND

Use one of the following workarounds to position the equation so that the underline formatting will be displayed and will print.

Method 1: Use Equation Editor

Create the equation using Equation Editor, then underline the Equation Editor object.

NOTE: If you may need to adjust the position of the equation, click to select the equation object and then on the Format menu, click Font. Click to select the Character Spacing tab, change the Position box to Raised, and then click OK.

Method 2: Use an Equation Field

Create an equation field that places the result above the baseline.

For example, to create the fraction a/b, create the following equation:

   {EQ b\d\ba8()\s\up20({EQ _\d\ba8()\s\up5(a)})}

In this equation, EQ represents the field name, Equation. Notice that the second equation, {EQ _\d\ba8()\s\up5(a)}, is nested inside the first equation. This second equation creates a fraction, "a" over "_." The "_" is included to provide the horizontal bar that separates the numerator from the denominator. The denominator is created in the first equation, {EQ b\d\ba8()\s\up20(<nested equation>)}.

Within each equation, the \d\ba8() moves the preceding characters, "b" and "_," respectively, horizontally to the left by 8 points.

The \s\up20(<nested equation>) and \s\up5(a) superscripts the corresponding nested equation or character by 20 points and 5 points, respectively.

Notice that the numerator and denominator positions are in opposite positions from their position in the {EQ \f(a,b) equation described in the "Symptoms" section of this article.

NOTE: The point sizes used here can be adjusted upward or downward to properly adjust your text.

Additional query words: formula equation field fraction underline underscore baseline doesn't numerator denominator

Keywords          : word8 kbfield macword98 winword word97 ntword macword word6 word7 word95 
Version           : 6.0 6.0.1 6.0.1a 98 | 6.0 6.0a 6.0c 7.0 7.0a 97
Platform          : MACINTOSH WINDOWS

Last Reviewed: February 5, 1998