Context. The chemically peculiar (CP) stars of the upper main sequence are defined by spectral peculiarities that indicate unusual elemental abundance patterns in the presence of diffusion in the calm, stellar atmospheres. Some of them have a stable local magnetic field of up to several kiloGauss. The pre-main-sequence evolution of... Show more