Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
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 4 '12 at 19:25
    
I'll be grateful if someone suggests any other better package or bundle. Thank you jasper Loy. –  Milad Olad May 5 '12 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 '12 at 21:17
    
Concerning alternatives have a look at Can you make chemical structure diagrams in LaTeX? –  cgnieder Sep 2 '12 at 14:16

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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