I want to create a Benzene ring with carbon atoms placed at the six nodes of the ring. I am using chemfig package to achieve this. But it so happens that the bond is actually going into the carbon atom at one of the sites. enter image description here

MWE and output is appended below.





Ideally all the bond lengths should be the same, but somehow only on the atom seems to be a problem. Any ideas how to resolve this?

1 Answer 1


Ok, got the correct configuration by moving the first Carbon atom outside the ring.


  • More information on this topic can be found in chapter 10 of the chemfig manual: 'chemfig can easily draw regular polygons. The idea is to attach a ring to an <atom> outside the ring with this syntax: <atom>*<n>(<code>)<n>is the number of sides of the polygon and the <code> describes the bonds and groups of atoms which makeup its edges and vertices. This code mustbegin with a bond because the atom is outside the ring.'
    – leandriis
    Commented Mar 22, 2019 at 21:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .