  We study a thin film system consisting of a superconducting and a magnetic
film, where the superconductor contains a vortex and the magnetic film a
nanomagnet. We find that if the magnetic film has planar anisotropy, the vortex
induces a magnetization distribution, and its interaction with the nanomagnet
crosses over from attractive to repulsive at short distances.
