XyMTeX

From Vero - Wikipedia
Jump to navigation Jump to search

Template:Infobox software

ΧyMTeΧ is a macro package for TeX which renders high-quality chemical structure diagrams. Using the typesetting system, the name is styled as Template:Stylized LaTeX. It was originally written by Template:Nihongo. Molecules are defined by TeX markup.

Example

The following code produces the image for corticosterone below. <syntaxhighlight lang="latex"> \documentclass{letter} \usepackage{epic,carom} \pagestyle{empty} \begin{document} \begin{picture}(1000,500)

  \put(0,0){\steroid[d]{3D==O;Template:10==\lmoiety{H$_{3}$C};Template:13==\lmoiety{H$_{3}$C};Template:11==HO}}
  \put(684,606){\sixunitv{}{2D==O;1==OH}{cdef}}

\end{picture} \end{document} </syntaxhighlight>

File:Cortiscosterone.svg
Corticosterone as rendered by XyMTeX

See also

References

<references />

Template:TeX navbox


Template:Chem-software-stub Template:Digital-typography-stub