This is LaTeX code:

[latex]
f \colon S \to \mathbb{Q}^+
[/latex]