# [Tex/LaTex] Are $$and$$ preferable to dollar signs for math mode

best practicesmath-modesyntax

Along the lines of Why is $…$ preferable to $$…$$?, what reasons are there (if any) to favor $$...$$ over $...$?

#### Best Answer

$$...$$ is LaTeX syntax. $...$ is TeX syntax.

plainTeX only allows \$. In LaTeX you can use both, but $$...$$ will give less obscure error messages when there is a mistake inside it.

Both are shortcuts to start inline math environments.