I know how to write a usual index with the help of the underscore, but I seem to be unable to find out how to write an (upper/lower) index in front of a letter/text.
These kind of indices are common in chemistry.
|
I know how to write a usual index with the help of the underscore, but I seem to be unable to find out how to write an (upper/lower) index in front of a letter/text. These kind of indices are common in chemistry. |
||||
|
You have to supply a "fake" object for TeX to put indices to:
However, for chemistry typesetting you should use one of the specialized packages, such as
It will typeset the symbol for a positive Thorium ion with a charge of 90 and atomic mass of 227.
|
|||||||
|
|
The easiest in this case would be to use the
The package offers the command |
|||
|
|
|
I just saw this package a few minutes ago and it has a good example of this. There are probably other packages for Chemistry usage though.
This example is directly copied form the tensor package. |
|||
|
|
|
|
||||
|
|
mhchempackage helps. – Caramdir Aug 17 '11 at 17:23