Clever Geek Handbook
📜 ⬆️ ⬇️

XyMTeX

X ϒ M T e X (formerly ChemTeX ) is a package for TeX that allows you to draw chemical formulas using specific text markup.

Content

Title

The word 'chemestry' comes from the Arabic word 'alchemy', which dates back to the Greekχυμεια {\ displaystyle \ chi \ upsilon \ mu \ epsilon \ iota \ alpha}   . "XyM" in the name of the package is taken precisely from the Greek word.

XyMTeX is pronounced as “khymtekh”, where “kh” is read as Russian “x” or English “k”, and “y” is close to German “ü”.

History

XyMTeX was developed by RT Haas, KC O'Kane, and M. Ramek [1] [2] as an extension to the LaTeX macro package. The first release was implemented in 1993 for LaTeX 2.09. [3] [4] Early versions (prior to version 3.00) were based on the LaTex graphical environment and on the epic package functionality, which allowed the user to draw simple diagrams. This version was compatible with the original LaTeX and generated .dvi files, which could then be converted to .pdf using the dvipdfm (x) converter.

XyMTeX-code with .eps-files→TeX.dvi→dvipdfm (x).pdf{\ displaystyle {\ text {XyMTeX-code with .eps-files}} \ {\ xrightarrow {\ text {TeX}}} \ {text {.dvi}} \ {\ xrightarrow {\ text {dvipdfm (x) }}} \ {\ text {.pdf}}}  

Now this type of compilation is called TEX / LATEX-compatible mode .

The next generation version (up to 4.06) was based on the functionality of the PSTricks package. Now this way of working is called PostScript compatible mode :

XyMTeX-code with .eps-files→TeX.dvi→dvips.ps→Distiller.pdf{\ displaystyle {\ text {XyMTeX-code with .eps-files}} \ {\ xrightarrow {\ text {TeX}}} \ {text {.dvi}} \ {\ xrightarrow {\ text {dvips}}} \ {\ text {.ps}} \ {\ xrightarrow {\ text {Distiller}}} \ {\ text {.pdf}}}  

On the other hand, it is worth noting that the old method of work has not disappeared anywhere, but continues to be maintained to this day.

The latest versions (before 5.01) are based on the functionality of the pdf package, which corresponds to the dvi-to-pdf conversion. This working method is called PDF-compatible mode and is used in the current version of XyMTeX.

Disadvantages

Initially, a big problem for XyMTeX was the limitation on the number of function arguments: it was impossible in principle to call a function with more than nine arguments, whereas in practice more than twenty arguments were required for more or less complex chemical compounds. Arguments were poorly specified

Example

This code is compiled into the structure in the figure.

 
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 }

Notes

  1. ↑ RT Haas and KC O'Kane, Comput. Chem., 11, 251 (1987)
  2. ↑ M. Ramek, in "TEX: Applications, Uses, Methods," ed. by M. Clark, Ellis Horwood, London (1990) p 277
  3. ↑ S. Fujita, Comput. Chem., 18, 109-116 (1994)
  4. ↑ S. Fujita, TUGboat, 16 (1), 80-88 (1995)

Links

  • Project site
    • XyMTeX manuals
  • Wikibooks for XyMTeX
  • Archive of documentation and software for ΤeΧ ( CTAN )
    • Online catalog Τe каталог (inaccessible link)
  • XyMTeX Wikiproject
  • Google groups
  • TeX Users Group (TUG)
  • mw: Extension: WikiTeX - XyMTeX support in MediaWiki
Source - https://ru.wikipedia.org/w/index.php?title=XyMTeX&oldid=98436665


More articles:

  • List of US Islands by area
  • World League 2015 (volleyball)
  • Sarothrias bournei
  • Ecuadorian Football Championship 2012
  • Iglesias, Walter
  • Hundeshagen
  • August Ferdinand Braunschweig-Wolfenbüttel-Beverni
  • List of Cardinals Erected by Pope Urban IV
  • Research Institute of Emergency Pediatric Surgery and Traumatology
  • Reisdorf

All articles

Clever Geek | 2019