Abstract
The 15 non-H atoms of the title compound, C
11
H
12
N
2
O
2
, are approximately coplanar, the r.m.s. deviation being 0.145 Å. The major deviation from coplanarity is seen in a twist between the ethene (
E
configuration) and pyrrole rings [C—C—N—C torsion angle = −8.26 (18)°]. The carbonyl O and cyano N atoms are
syn
to each other. In the crystal, supramolecular linear tapes linked by C—H⋯O and C—H⋯N interactions are further connected by C—H⋯π(pyrrole) interactions.