<html>
<body>
<br><br>
>Date: Fri, 06 Feb 2004 13:01:53 +0100<br>
>From: Renju Zacharia <zacharia@fhi-berlin.mpg.de><br>
>Dear TeX users,<br>
>How do I make organic chemisty structures with LaTeX(in Winedt <br>
>environment)? For example, to represent a carbonyl group, I need to
you <br>
>in text, ">C=O", . I tried to use, the package
ochem, but it needs perl <br>
>as well as the manual is unfortunately in German. Is there any other
<br>
>package to do it? Please let me know.<br>
>Much thanks in advance,<br>
>Zach.<br><br>
Zach.: One can use the following approach for ultra-simple
chemistry<br><br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
% typesets single, double or triple bond e.g. C\bond2{O} gives C=O<br>
% origin ???<br>
%<br>
\def\bond#1{\relax<br>
\hbox \bgroup<br>
\kern 0.1em<br>
\setbox0=\hbox{X}%<br>
\vbox to \ht0 \bgroup<br>
\vss<br>
\ifcase#1<br>
\or<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\or<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\vskip
0.2em%changed jms89 from 0.1<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\or<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\vskip
0.2em%changed jms89 from 0.1<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\vskip
0.2em%changed jms89 from 0.1<br>
\hrule
width 1em depth 0pt height 0.05em<br>
\fi<br>
\vss<br>
\egroup<br>
\kern 0.1em<br>
\egroup<br>
}%<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
which works fine in text for 'carbon double bond O' but will not<br>
show the dangling bonds off carbon in your example.<br><br>
None of the LaTeX packages can handle the geometrical requirements<br>
needed to draw chemical structures properly; all such attempts
always<br>
look wrong, so if you have to go beyond Si=Si or C-N then you have<br>
to use what the professionals use.<br><br>
Most of us use Isis/Draw (freely available) which allows one<br>
to draw virtually any molecule or reaction scheme and which<br>
can then exported as a graphic file back to LaTeX.<br><br>
<br><br>
<x-sigsep><p></x-sigsep>
<tt>
<font face="Courier New, Courier" color="#0000FF">Dr. John M.
Simmie<br>
Chemistry Department & Environmental Change Institute<br>
National University of Ireland, Galway::Ireland<br>
</font></body>
</html>