This is LaTeX code:
[latex]
r(B) = \mathrm{dim}(V) - d(B)
[/latex]