A Deligne-Kazhdan variant of the relative trace formula of Jacquet-Lai is given, thus generalizing the study of distinguished representations from the context of the quaternion algebra to that of any ...