Difference between revisions of "Chemistry"
Jump to navigation
Jump to search
m (Metapost -> MetaPost) |
m (\lohi example) |
||
Line 18: | Line 18: | ||
* [[Chromatograms]] macro | * [[Chromatograms]] macro | ||
* [[manual:xchemml-p.pdf|ChemML]] ([[manual:xchemml-s.pdf|screen]]), [[MathML]] extension for chemistry | * [[manual:xchemml-p.pdf|ChemML]] ([[manual:xchemml-s.pdf|screen]]), [[MathML]] extension for chemistry | ||
+ | |||
+ | === Simple Formulae in Text Mode === | ||
+ | |||
+ | An alternative to using the chemistry module or mathmode for typesetting simple formulae are the three ConTeXt commands <cmd>high</cmd>, <cmd>low</cmd> and <cmd>lohi</cmd>. This might be useful if you want to typset the formula with the same font as the surrounding text (in titles or slanted fonts, although that might not be desired in all situations). | ||
+ | |||
+ | <texcode> | ||
+ | \ss H\low{2}O also consists of H\high{+} and OH\high{$-$}. | ||
+ | There are two main carbon isotopes: \lohi{6}{12}C and \lohi[left]{6}{13}C. | ||
+ | </texcode> | ||
+ | |||
+ | <context> | ||
+ | \ss H\low{2}O also consists of H\high{+} and OH\high{$-$}.\crlf | ||
+ | There are two main carbon isotopes: \lohi{6}{12}C and \lohi[left]{6}{13}C. | ||
+ | </context> | ||
[[Category:Graphics]] | [[Category:Graphics]] | ||
[[Category:Chemistry]] | [[Category:Chemistry]] |
Revision as of 01:22, 29 June 2006
< Math, XML, Graphics, MetaPost >
ConTeXt comes with the extensive chemistry module PPCHTeX which allows the drawing of chemical structures and the typesetting of reactions.
PPCHTeX works with plain TeX, LaTeX and - of course - with ConTeXt.
- PPCHTeX (general) by Pragma
- PPCHTeX documentation by Pragma
- PPCHTeX mailing list
- PPCHTeX mailing list archive
Some other PPCHTeX links:
- PPCHTeX structure database
- PPCHTeX FAQ and PPCHTeX FAQ in PDF(rather old)
- TUG Boat article on PPCHTeX by Hans Hagen and A.F Otten
Some other links about chemistry in ConTeXt:
- Chromatograms macro
- ChemML (screen), MathML extension for chemistry
Simple Formulae in Text Mode
An alternative to using the chemistry module or mathmode for typesetting simple formulae are the three ConTeXt commands \high, \low and \lohi. This might be useful if you want to typset the formula with the same font as the surrounding text (in titles or slanted fonts, although that might not be desired in all situations).
\ss H\low{2}O also consists of H\high{+} and OH\high{$-$}. There are two main carbon isotopes: \lohi{6}{12}C and \lohi[left]{6}{13}C.