View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default How do you type "x squared" as in mathematics using word?

Or, hold down the Alt key and type 0178 on the numeric keypad for ² or 0179
for ³. Type 0176 for °

To get a complete list of the symbols that can be created in this way, run a
macro containing the following code:

' Macro created 12-08-98 by Doug Robbins to list symbols that can be
inserted via Alt+keypad
'
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:=3
Selection.TypeText Text:="Alt + Numeric Keypad"
Selection.MoveRight Unit:=wdCell
Selection.TypeText Text:="Normal Font"
Selection.MoveRight Unit:=wdCell
Selection.TypeText Text:="Symbol Font"
Selection.MoveRight Unit:=wdCell
Symbol = 33
While Symbol 256
Selection.TypeText Text:="0" & LTrim$(Str$(Symbol))
Selection.MoveRight Unit:=wdCell
With Selection
.InsertSymbol CharacterNumber:=Symbol, Font:="Normal",
Unicode:=False
End With
Selection.MoveRight Unit:=wdCell
With Selection
.InsertSymbol CharacterNumber:=Symbol, Font:="Symbol",
Unicode:=False
End With
Symbol = Symbol + 1
Selection.MoveRight Unit:=wdCell
Wend


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Surfer" wrote in message
...
Hello all. Pls help: is there anyone out there who can tell me how to type
x
squared in the form of a mathematical equation, using MS Vista Word?
Thanks