I would pose the question as one of how to encode the information rather
than its typography, which assumes the reader (possibly a search engine)
will understand what is implied by super/sub scripts.
Dave Pawson wrote:
> I need to add superscripts and subscripts into the definition of a word.
> <def>a colourless flammable liquid, the active principle of intoxicating
> drinks, produced by the fermentation of sugars, esp. glucose, and used
> as a solvent and in the manufacture of organic chemicals. Formula:
The TEI Guidelines (Chapter 22, 22.2 Formulae, admits that no attempt is
made to provide an encoding for such structures and suggests that the
SGML notation mechanism be used to allow TeX for representing the
That is probably not a useable answer to your problem.
You might want to look at CML - Chemical Markup Language (good
introductory reference at)
Within the TEI Guidelines I would suggest that you mark each as a
formula and then use <seg></seg> elements to mark various components and
key off attributes in the <seg> elements to render your super/sub
Ex. (not tested, just a suggestion)
<formula><seg type="chem">C</seg><seg type="quant">2</seg><seg
This would not be adequate for serious use in a chemical dictionary or
textbook but might be sufficient for a more general work.
Hope this helps!
Director of Research and Development
Society of Biblical Literature
[log in to unmask]