3

I write my reports with LaTeX. I use TeXmaker plus TeX Live distribution. I want to use XyMTeX in a document when I wanna use \usepackage{xymtex} but there are errors. I don't know anything about how to install a new package. I'm new to LaTeX but I'm well experienced with Windows

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • 1
    @Jasper ... except that xymtex isn't free (in the sense of "air", at least) so isn't in tex live. xymtex is a marvel (and all that) but it's big and unwieldy and difficult to "keep up with"; there are real chemists around here (i was last a chemist in 1965...) -- they might be able to suggest something better. – wasteofspace May 04 '12 at 19:25
  • I'll be grateful if someone suggests any other better package or bundle. Thank you jasper Loy. – Milad Olad May 05 '12 at 03:32
  • I haven't used this package before, but I did look at it for some of my drawing http://www.ctan.org/pkg/chemfig. There is a brief tutorial/example at this location as well: http://www.mychemistry.eu/2011/11/a-small-exercise/ – J M Sep 01 '12 at 21:17

1 Answers1

3

For me, installing XyMTeX worked well enough using the .zip file containing the latest version. What I did:

  • Download the .zip file
  • Extract it
  • Copy the entire contents (xymtex folder) to my local TeX tree. On Windows with TeX Live, that is %USERPROFILE%\texmf (Linux ~/texmf, Mac ~/Library/texmf).

The .zip file contains the code plus source, but as it works without further unpacking I would just use as-is. Following the above steps, the simple demo

\documentclass{article}
\usepackage{xymtexpdf}
\usepackage{chmst-pdf}
\begin{document}
\Rtrigonal{0==C;1D==O;2==Cl;3==F}
\decalinevb{1D==O;2FB==C;2GA==H}
\end{document}

works fine using pdfLaTeX. (Note: the XyMTeX manual has xymtxpdf as the package name, but this seems to be erroneous as the file is called xymtexpdf.sty.)

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036