I'm trying to draw heparin using chemfig. Unfortunately, when I wrote :
\chemfig[cram width=2pt]{HO-[2,0.5,2]?<[7,0.7](-[2,0.4]OH)-[,,,,line width=2pt](-[6,0.5]OSO_3|{}^\ominus)>[1,0.7](-[2,1]O-[:10]?<[:-50](-[:170,0.5]HO)-[:10,,,,line width=2pt](-[:-55,0.5]OH)>[:-10](-[6,0.5]OH)-[:130]O-[:190]?(-[:150,0.5]-[2,0.5]OH))-[3,0.7]O-[4]?(-[6,0.3]COO|{}^\ominus)}
I didn't get what I was expected as both cycles are bounding at the same carbon atom which is not what I wanted to :
Do you have any idea to solve this issue ? I was wondering about using \definesubmol
but I'm not used to this option.
Many thanks