Sylvain wrote:
Try this in the preamble:
\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}
Then in your text, put \HHO{} in ERT.
/Paul
What happens when there are plenty of different formulas? Any clever way of
dealing with it?
Thanks,
Sylvain
If they are all chemical formulae, I suspect the package Nicolas Ferre'
recommended is the answer. If they are something else, and assuming you
use them frequently, I would suggest either putting them all in a text
file that you can \include in any document where you need them, or else
modify your layout file(s) to include them in the preamble (the former
being less work).
/Paul