This is LaTeX code:
[latex]
\mathcal{P}(B)
[/latex]