This is LaTeX code:
[latex]
p\in{\cal P}
[/latex]