\[...\] is preferred to $$...$$ in LaTeX
ditto