This is LaTeX code:
[latex]
X\in\mathcal{B}
[/latex]