TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question
up vote 7 down vote accepted

Here are two ideas:







enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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