1

I don't know the difference between $$...$$ and \begin{equation}...\end{equation}. What's the difference between $$...$$ and \begin{equation}...\end{equation}? \begin{equation*}...\end{equation*}?

minthao_2011
  • 4,534
  • 7
  • 36
  • 61

1 Answers1

5
  • $$ ... $$ is a delimiter for a numbered display equation. It should no longer be used. The recommended equivalent for this is \begin{equation} ... \end{equation}.
  • \[ ... \] is a delimiter for a non-numbered display equation. It is the short version of the \begin{equation*} ... \end{equation*}.
Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • Mico's (earlier posted) answer ( https://tex.stackexchange.com/a/40531/78134 ) to a related question is a little more detailed, and -- importantly -- suggests that this answer here might even be wrong in some important ways (not least that $$ $$ does not give a numbered equation) – owjburnham Dec 28 '18 at 11:01