View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Pesach Shelnitz[_2_] Pesach Shelnitz[_2_] is offline
external usenet poster
 
Posts: 277
Default tilde over letter

Hi,

In addition to the possibility of using the Equation Editor, you can use an
EQ field to add a tilde to any letter. To add a tilde to r, do the following.
1. Type EQ \o(r,˜)
The tilde ˜ in this step can be typed by typing 2dc and then pressing Alt+X.
2. Select what you typed in step 1.
3. Press Ctrl+F9.
4. Press F9.

You can also add a tilde to any letter by placing the cursor after the
letter and running the following macro.

Sub Tilde()
Dim myField As Field
Dim myChar As String

With Selection
.MoveStart Unit:=wdCharacter, Count:=-1
myChar = .Text
.Delete
Set myField = ActiveDocument.Fields.Add(Range:=.Range, _
Type:=wdFieldEmpty, PreserveFormatting:=False)
myField.Code.Text = "EQ \o(" & myChar & "," & ChrW(&H2DC) & ")"
myField.ShowCodes = False
.MoveRight Unit:=wdCharacter, Count:=1
End With
Set myField = Nothing
End Sub

--
Hope this helps,
Pesach Shelnitz
My Web site: http://makeofficework.com


"Local_IT" wrote:

Only A, N, and O will work that way because they are the only real letters
that typically have a ~ over them.

Anyway, you may have to use the equation editor to get the desired result.
The method to insert it varies depending on your version of Word.

"Pam" wrote:

I need to print a tilde over the letter r. The Control Shift tilde option
does not work. Any suggestions will be greatly appreciated.