"Upperline" characters

  • Thread starter Thread starter Andres
  • Start date Start date
A

Andres

I'm trying to "upperline" (not underline) characters. Is
there any tool or function that allows to do so?
 
There are two ways to create a character with a line over it, both using an
EQ field:

1. Use the EQ \o (overstrike) field to superimpose an overbar (character
0175) over your other character.

2. Use the EQ \x (box) field with the \to switch to put a top border on the
selected text.

The use of the EQ field and its switches is well documented in Word's Help
file.

Whichever method you use, you can save the result as an AutoText entry for
ease of future insertion.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Andres,

I use on of the methods Suzanne provided, but I have gone one step further
and put it in a macro:

Public Sub Negate()

Dim Expr As String
Expr = InputBox("Enter the expression to negate:", "Negate")
If Expr <> "" Then
ActiveDocument.Fields.Add Range:=Selection.Range, _
Type:=wdFieldEmpty, _
Text:="EQ \x\to(" & Expr & ")", _
PreserveFormatting:=False
End If
End Sub

See:
http://www.gmayor.dsl.pipex.com/installing_macro.htm
 
Back
Top