Matt McCutchen's Web SiteSuperbChemistry for OpenOffice.org  (Top, Version log, Bottom).  Email me about this page.

SuperbChemistry for OpenOffice.org

SuperbChemistry is an OpenOffice.org macro extension I wrote to add superscript and subscript formatting to chemical formulas in Writer documents.  (The name comes from "super" and "sub".)  You type SO42- and the macro converts it to SO42−.  Briefly:

For much more information, read the comment at the top of the macro module, which you can download separately below or open from within OpenOffice.org (go to Tools -> Macros -> Organize Macros -> OpenOffice.org Basic..., select My Macros -> SuperbChemistry -> Main, and click Edit).

Note (2008-11-08): Someone reported an error installing SuperbChemistry 2.2 in OpenOffice.org 3.0, but I could not reproduce the problem.  If you have trouble installing SuperbChemistry as an extension, you can always manually create a macro module (Tools -> Macros -> Organize Macros -> OpenOffice.org Basic, select "My Macros -> Standard", click "New") and paste in the code from SuperbChemistry-V-module.txt.

SuperbChemistry-V-test.odt is a test suite of sorts with chemical formulas that exercise all the cases of the formatting algorithm.

FileSizeModification time
SuperbChemistry-2.2.uno.pkg38222008-10-27 03:54:49 +0000
SuperbChemistry-2.2-module.txt57102008-10-27 19:50:14 +0000
SuperbChemistry-2.2-test.odt82472008-10-27 03:47:57 +0000
SuperbChemistry-2.1.uno.pkg27972007-02-06 01:21:05 +0000
SuperbChemistry-2.1-test.odt76132007-02-06 01:20:38 +0000
SuperbChemistry-2.uno.pkg27382007-02-06 00:57:25 +0000
SuperbChemistry-2-test.odt76422007-02-06 00:58:25 +0000
SuperbChemistry-1.uno.pkg21402007-02-05 00:38:04 +0000
SuperbChemistry-1-test.odt74082007-02-04 23:56:19 +0000

SuperbChemistry is also available on the OOo extensions site.

Version log

ChemFormula is a similar tool for Microsoft Word.


Matt McCutchen's Web SiteSuperbChemistry for OpenOffice.org  (Top, Version log, Bottom).  Email me about this page.
Modification time of this page's main source file: 2009-05-06 04:21:52 +0000
Except where otherwise noted, Matt McCutchen waives his copyright to the content of this site.  This site comes with absolutely no warranty.  Why?