Jump to content

XyMTeX

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by P99am (talk | contribs) at 07:39, 14 March 2015 (→‎See also). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

XyMTeX is a macro package for TeX which renders high-quality chemical structure diagrams. Using the typesetting system, the name is styled as XϒMTeX. It was originally written by Shinsaku Fujita (藤田眞作, Fujita Shinsaku). Molecules are defined by TeX markup.

Example

The following code produces the image for corticosterone below.

\documentclass{letter}
\usepackage{epic,carom}
\pagestyle{empty}
\begin{document}
\begin{picture}(1000,500)
   \put(0,0){\steroid[d]{3D==O;{{10}}==\lmoiety{H$_{3}$C};{{13}}==\lmoiety{H$_{3}$C};{{11}}==HO}}
   \put(684,606){\sixunitv{}{2D==O;1==OH}{cdef}}
\end{picture}
\end{document}
Corticosterone as rendered by XyMTeX

See also