This is LaTeX code:
[latex]
q:=r-p+1
[/latex]