View Single Post
  #5   Report Post  
Bob S
 
Posts: n/a
Default

I doubt that Microsoft is interested enough in the modest number of
chemists, who often get academic versions cheaply anyway. They have
enough trouble providing for the hordes of lawyers, who at least
supposedly pay full price. They might also have trouble knowing
exactly what you want a chemical formula to end up looking like.

If I had to do this, I would consider a macro. If all numbers are
subscripts it should be reasonably simple. If the only superscripts
are immediately after plus sign or minus sign it is still simple. If
you are using superscripted atomic weights it is a little dicier.

Type in the formula straight, double-click it to select it, and push
the button for the macro.

The macro would do something like the following (you need to be able
to specify exactly what it is you want to happen of course):

Shorten the range to exclude the trailing space.
Apply the ChemForm character style.
If it wasn't present, create it, with attributes no spelling
plus any font etc that you want
Superscript a single digit after a plus or minus sign
Subscript any other digits

If you need positioning of numbers when there is both a subscript and
a superscript present, it is a little trickier because it would
require an EQ field, but it is probably still do-able.

If you ask in microsoft.public.word.vba.general someone may write it
for you. It could be an interesting challenge. If you got something
working, maybe Microsoft would copy it.

Bob S



On Wed, 20 Apr 2005 13:11:08 -0700, Owl wrote:

I think word should be able to detect chemical formulae - firstly to have a
go at getting the superscripting and subscripting automatic, because it's
very fidlly to do manually, and secondly so that it knows not to bring them
up as spelling and grammar errors.

Also, is there some way I can tell it when a document is notes, so I don't
get continual grammar errors.