Ethyl 4-dodecyl-3,5-dimethyl-1H-pyrrole-2-carboxylate: intermolecular interactions in an amphiphilic pyrrole.

The title compound, C(21)H(37)NO(2), is a new amphiphilic pyrrole with a long hydrocarbon chain, which will be used as a precursor for the synthesis of Langmuir-Blodgett films of porphyrins. Molecules related by an inversion centre are joined head-to-head into dimers by strong N-H.O hydrogen bonds. The dimers pack in the structure with their carbon chains parallel to one another, thereby forming alternating layers of carbon chains and pyrrole heads. The structure is further stabilized by two weak C-H.pi intermolecular interactions, thereby saturating the hydrogen-bonding capability of the aromatic pi-electron clouds.