|
|
Typing Accents and Special Characters Macintosh and Windows |
There are several ways to insert accented letters and other foreign characters. The following chart lists a few methods that can be used on particular computer types.
General Instructions
Most of the links below go to http://tlt.its.psu.edu/suggestions/international/accents/index.html.
Windows |
Macintosh |
Language Specific Instructions
Sub StressMark()
' Macro written on 3/23/2005 by Laura Qin, Wellesley College
Selection.MoveLeft
If (Selection = ChrW(1081) Or Selection = ChrW(1092) Or Selection = ChrW(1073))
Then
Selection.MoveRight
HighAccent
Else
If (Selection = ChrW(1099) Or Selection = ChrW(1102)) Then
Selection.MoveRight
MiddleAccent
Else
Selection.MoveRight
LowAccent
End If
End If
End Sub
Function HighAccent()
Selection.InsertSymbol CharacterNumber:=769, Unicode:=True
End Function
Function LowAccent()
Selection.InsertSymbol CharacterNumber:=-4088, Unicode:=True
End Function
' This part of the macro was contributed by Richard
Robin at George Washington University
Function MiddleAccent()
Dim a$
Dim fontname$
WordBasic.CharLeft 1, 1
'a$ = WordBasic.[Selection$]()
'WordBasic.CharLeft 1
fontname$ = WordBasic.[Font$]()
If fontname$ = "Times New Roman" Then WordBasic.Font "VremyaAccent"
If fontname$ = "Arial" Then WordBasic.Font "ArialAccent"
'WordBasic.Font "VremyaAccent"
WordBasic.WordRight 1
WordBasic.Font "Times New Roman"
GoTo fin
WordBasic.CharRight 1, 1
a$ = WordBasic.[Selection$]()
WordBasic.CharLeft 1
fontname$ = WordBasic.[Font$]()
If fontname$ = "Times New Roman" Then fontname$ = "Times New
Roman Cyr"
If a$ = Chr(13) Then GoTo KonecStroki
WordBasic.Insert " "
WordBasic.CharLeft 1
WordBasic.CharLeft 1, 1
WordBasic.Font "VremyaAccent"
WordBasic.CharRight 1
WordBasic.EditClear
WordBasic.CharRight 1
GoTo fin
KonecStroki:
WordBasic.CharLeft 1, 1
WordBasic.Font "VremyaAccent"
WordBasic.CharRight 1
WordBasic.Font fontname$
fin:
End Function