Jon Brauer wrote:
I have a question about a seemingly simple thing that I can't figure
out how to get LyX to do: I am writing an article for a chemical
journal, so I am including a lot of chemical formulas. So I would like
to be able to type H2O and have the final output read with the 2 as a
subscript. The same way if I type LaTeX it prints pretty and
formatted. Thanks in advance for any help.


Try this in the preamble:

\usepackage{fixltx2e}
\newcommand{\HHO}{H\textsubscript{2}O}

Then in your text, put \HHO{} in ERT.

/Paul

Reply via email to