Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Paul64 Paul64 is offline
external usenet poster
 
Posts: 1
Default How can I place a superscript number directly above a subscript?

I am writing a scientific assignment which deals with isotopes. These are
identified by a superscript denoting the mass number directly above a
subscript denoting the atomic number, followed by the chemical symbol eg U
for uranium. Does anyone know how I can do this in Word?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How can I place a superscript number directly above a subscript?

You can use an EQ field (or the equation editor) eg
{ EQ \O(12,24) } with (say) the 12 formatted as superscript and the 24 as
subscript (substitute your own numbers as necessary). For repeats, save the
formatted fields as autotext or autocorrect entries.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Paul64 wrote:
I am writing a scientific assignment which deals with isotopes. These
are identified by a superscript denoting the mass number directly
above a subscript denoting the atomic number, followed by the
chemical symbol eg U for uranium. Does anyone know how I can do this
in Word?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
markhab[_2_] markhab[_2_] is offline
external usenet poster
 
Posts: 1
Default How can I place a superscript number directly above a subscript?

Allen Wyatt in his WordTips newsletter just discussed this question:
http://wordtips.vitalnews.com/Pages/...e_Place. html

His comment about the use of fields might be relevant to your situation.

Mark

"Paul64" wrote in message
news
I am writing a scientific assignment which deals with isotopes. These are
identified by a superscript denoting the mass number directly above a
subscript denoting the atomic number, followed by the chemical symbol eg U
for uranium. Does anyone know how I can do this in Word?



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How can I place a superscript number directly above a subscript?

On further reflection, it might be easier to format the EQ field if you used
the \A switch rather than the \O switch. The following macro will insert
such formatted field . You can adjust the amount the current font size is
reduced by at the line oRng.Font.Size = iSize * 0.5


Dim sNum As String
Dim sDen As String
Dim oRng As Range
Dim iSize As Integer

sNum = InputBox("Enter the superscripted number")
sDen = InputBox("Enter the subscripted number")
ActiveDocument.ActiveWindow.View.ShowFieldCodes = True
Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:= _
"EQ \A(" & sNum & "," & sDen & ")", PreserveFormatting:=False
Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
iSize = Selection.Font.Size
Set oRng = Selection.Range
oRng.Font.Size = iSize * 0.5
ActiveDocument.ActiveWindow.View.ShowFieldCodes = False
With Selection
.MoveRight Unit:=wdCharacter, Count:=1
.Font.Reset
End With


http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
You can use an EQ field (or the equation editor) eg
{ EQ \O(12,24) } with (say) the 12 formatted as superscript and the
24 as subscript (substitute your own numbers as necessary). For
repeats, save the formatted fields as autotext or autocorrect entries.


Paul64 wrote:
I am writing a scientific assignment which deals with isotopes. These
are identified by a superscript denoting the mass number directly
above a subscript denoting the atomic number, followed by the
chemical symbol eg U for uranium. Does anyone know how I can do this
in Word?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you print a superscript directly above a subscript? mkilroy Microsoft Word Help 1 February 7th 06 10:11 PM
Superscript Subscript [email protected] Page Layout 2 May 10th 05 07:00 AM
how do you have superscript and subscript on top of each other as. Evan Microsoft Word Help 4 April 1st 05 04:45 PM
How do I set up a subscript and superscript, one above the other,. Don In Bluefield Microsoft Word Help 2 January 7th 05 09:56 PM
superscript or subscript gmarmet Microsoft Word Help 1 December 29th 04 03:07 AM


All times are GMT +1. The time now is 04:41 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"