TransWikia.com

Chemfig - Forced departure and arrival atoms

TeX - LaTeX Asked on April 8, 2021

I draw two different molceules for my thesis in ChemFig.

chemname{chemfig{H_{2}N-[1]*6(=N-*5(-N(>*5(-O-(<-[4]O-[5]P(-[2]O)(-[3])=O)-(<:O-)-(<:OH)-))-=N-)=-(=O)-HN-)}}{molecule X}
chemname{chemfig{*6(=N-*5(-N(>*5(-O-([-3]<-[3]S^{+}(-[2]textcolor{red}{H_3C})-[-3]-[3]-[-3]C([-2]<NH_2)-[3]([2]=O)-[-3]O^{-})-(<:OH)-(<:OH)-))-=N-)=-(-H_{2}N)=N-)}}{molecule Y}

The right molecule is ok but I cannot rotate the upper left one without resulting in faulty connection to the N atom (red circle).

The right molecule is ok but I cannot rotate the upper left one without resulting in faulty connection to the N atom (red circle).

I tried for ours but cannot find the reason why it is not working. Also http://tug.ctan.org/macros/generic/chemfig/chemfig-en.pdf could not provide a proper answer.

Thanks.

One Answer

documentclass{article}
usepackage{chemfig}
begin{document}
chemfig{H_{2}N-[:30]*6(=N-*5(-N(>*5(-O-(<-[4]O-[5]P(-[2]O)(-[3])=O)-(<:O-)-(<:OH)-))-=N-)=-(=O)-HN-[,,2])}
end{document}

enter image description here

Correct answer by polyn on April 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP