Equations--subscripts and superscripts

G

Guest

Do you know how to put both a subscript and a superscript on a character and
have them lined up so the subscript is directly above the superscript, not to
one side of it?
 
J

Jay Freedman

SGCapps said:
Do you know how to put both a subscript and a superscript on a
character and have them lined up so the subscript is directly above
the superscript, not to one side of it?

You can use the \O (overstrike) switch of the EQ field.

For example, suppose you want the letter X followed by a subscript 2 and a
superscript 3. First type the X. Then press Ctrl+F9 to insert a pair of
field braces. Between the braces, type

EQ \O(2,3)

(That's an uppercase oh after the backslash.) Select the 2 and press Ctrl+=
to make it a subscript. Select the 3 and press Ctrl+Shift+= to make it a
superscript. Finally, press F9 to update the field.

[If you have trouble remembering shortcut keys, subscript and superscript
are in the Format > Font dialog, and Update Field is on the right-click menu
when you're inside the field.]

If the subscript and superscript are different lengths and you want them
aligned left or right instead of centered, add either \al or \ar after the
\O. If the subscript and superscript are too close together vertically, you
can use the Position setting on the second tab of the Format > Font dialog
to move one up and the other down.

Another option, instead of the EQ field, is to use the Equation Editor.
There's an item on the templates toolbar in the editor specifically for
sub&super notation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top