TeX source:
\min\{\,d(x,y):x\in {\mathcal {A}},\,y\in {\mathcal {B}}\,\}