XyMTeX

From Wikipedia, the free encyclopedia

\boldsymbol{\mathsf{X\!\!^{{}_{{}^{\displaystyle \Upsilon}}} \!\!\!\!\!\!\;\; M \!\!\!\!\;\; T\!_{\displaystyle E} \! X}}, written as XyMTeX in plain text, is a macro package for TeX which renders high-quality chemical structure diagrams. It was originally written by 藤田 眞作 (FUJITA, Shinsaku). Molecules are defined by TeX markup.

[edit] Example

The following code produces the image for corticosterone below.

Corticosterone as rendered by XyMTeX
Corticosterone as rendered by XyMTeX



\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}

[edit] See also

  • PPCHTeX
  • WikiTeX — includes support for XyMTeX directly in Wiki articles

[edit] External links