We study generation of magnetic fields, involving large spatial scales, by convective plan-forms in a horizontal layer. Magnetic modes and their growth rates are expanded in power series in the scale ratio, and the magnetic eddy diffusivity (MED) tensor is derived for flows, symmetric about the vertical axis in a layer. For convective rolls magnetic eddy correction is demonstrated to be always positive. For rectangular cell patterns, the region in the parameter space of negative MED coincides with that of small-scale magnetic field generation. No instances of negative MED in hexagonal cells are found. A family of plan-forms with a smaller symmetry group than that of rectangular cell patterns has been found numerically, where MED is negative for molecular magnetic diffusivity over the threshold for the onset of small-scale magnetic field generation.