Korseby Online - Chemical Formulas

About LaTeX Chemical Template

To typeset chemical documents containing structural formulas within the TeX/LaTeX processing environment, Shinsaku Fujita developed and distributed the XyMTeX system (first version was released in 1993), where the LaTeX picture environment was used as a tool for drawing. Thereafter, the XyMTeX Version 2.00 (1998) supported the XyM Notation which were proposed as a linear notation of structural formulas. The XyMTeX Version 3.00 (2000) supported the size reduction of structural formulas, which expanded the scope of the XyMTeX system.

Getting XyMTeX

You can download the latest XyMTeX package here.

Installing XyMTeX

After having unzipped the xymtex archive, copy the xymtex directory to your texmf-path. Under Mac OS X and DarwinPorts it is /opt/share/texmf-dist/tex/latex/, under Debian Linux it is the directory /usr/share/texmf-tetex/tex/latex/.

In the parent directory (/opt/share/texmf-dist in Mac OS X and /usr/share/texmf-tetex in Debian Linux) you'll have to run mktexlsr afterwards to get the xymtex package listed.

Simply add \usepackage{xymtex} to your latex-header and you're finished.

Glucose

chem glucose
Glucose
You can draw glucose in two conformations. You can either user heterocycles (which is really complex) or you can use the pyranose function which comes with xymtex.

chem glucose f
Glucose
There's also a second way to display glucose, the fischer projection. You can use the function tetrahedral for that. I encountered the problem that the formula was somehow shifted. By using raisebox{?pt} you can shift the function in its correct position.

Purine Nucleobases

XyMTeX also has predefined functions for purines and pyrimidines.

chem adenin
Adenine
chem guanin
Guanine

chem cytosin
Cytosine
chem thymin
Thymine
chem uracil
Uracile

Nucleotides

You can substitute functions via adding (yl) to the position where the new substituent of the formula should be connected. Duplicate nesting is possible.

chem atp
ATP

Download the XyMTeX Template

You can download the whole XyMTeX template here.

Download LaTeX Chemical Template
Download LaTeX Chemical PDF
Download LaTeX Chemical Template with Makefile

License

The Korseby Templates are completely free.

Changelog

I'm using those templates since 2002. A lot of modifications were made over the years. Here you can find only the latest additions and changes:

1.0: (Mar 30 2006) initial release