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

4
  • 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. May 4, 2012 at 19:25
  • I'll be grateful if someone suggests any other better package or bundle. Thank you jasper Loy.
    – Milad Olad
    May 5, 2012 at 3:32
  • I haven't used this package before, but I did look at it for some of my drawing ctan.org/pkg/chemfig. There is a brief tutorial/example at this location as well: mychemistry.eu/2011/11/a-small-exercise
    – J M
    Sep 1, 2012 at 21:17
  • Concerning alternatives have a look at Can you make chemical structure diagrams in LaTeX?
    – cgnieder
    Sep 2, 2012 at 14:16

1 Answer 1

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.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.