I can't find a way to draw dipolar bonds using XymTeX.
For example, how to draw the "arrow bond" in this molecule: thank you

Edit by localghost: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Then try the excellent chemfig package.feynman wrote:[…] I can't find a way to draw dipolar bonds using XymTeX. […]
Ok, thanks anyway for your helplocalghost wrote:My reply was only a random shot. I must confess that I never saw such a representation of a (bi)polar bond. So I suggest to contact both package maintainers and ask for help regarding a possible solution. Even with some tricks I found no solution to do it with chemfig.
Please report back as soon as you got an answer.feynman wrote: Ok, thanks anyway for your help […]
Mmm it's strange, i can't find anywhere the email of the package creator (Shinsaku Fujita). Do you know where to foind it? (Nothing on his website or in google)localghost wrote:Please report back as soon as you got an answer.feynman wrote: Ok, thanks anyway for your help […]
It is important to undersatnd that the "@" char puts a global tikz node. After that, everything can be done with TikZ and nodes (ie a lot of things) is possible. For example, you can draw an arrow to link 2 nodes :localghost wrote:Even with some tricks I found no solution to do it with chemfig.
Code: Select all
\documentclass{article}
\usepackage{chemfig}
\begin{document}
\chemfig{@a\lewis{2:,N}(-[:-20]H)(-[:-75,0.8]H)(-[:-160]H)-[@{b,1}2,,,,draw=none]H\rlap{${}^+$}}
\chemmove{\draw[-stealth,shorten <=5pt](a)--(b);}
\end{document}
Yes, I'm the author of the package, I know it pretty wellfeynman wrote:I guess you are the same person who reply at the same request into the italian Latex forum. Thanks again for your helpI'm going to learn TikZ and chemfig after exams
NEW: TikZ book now 40% off at Amazon.com for a short time.