Text this: Monopole and dipole layers in curved spacetimes: Formalism and examples