This is LaTeX code:

[latex]
f:x\in\langle e,\pi\rangle
\mapsto\left\{\matrix{1,& x\in Q\cr 0,&\hbox{\rm ina\v ce}\cr}\right.
[/latex]