Is there a nice way to define a ring submolecule and then reuse it in a bigger molecule (maybe something similar to “chemfig and lego-style molecule construction”? (append one ring after another)

I would like to draw for example this:





but such that the ring would be defined as a submolecule (name e.g. ring) and then append one ring after another (\chemfig{-!{ring}-!{ring}-!{ring}}). Is there a way to do it?

Desired result:

(image of desired result)


Here are two ideas:







enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.