This is LaTeX code:
[latex]
2 \vec{AB}
[/latex]