\input{dcf-submol1} % load generated submolecules ... \input{ce-submol1} \chemfig{ % and stitch them together {\color{red}C} (=[:45]O) (-[:180,6]!{dcf1}) -[:-90]!{ce1} }