[Tex/LaTex] Equation environment definition

environmentsequationslatex-base

Where is the full definition of the equation environment? I cannot find it in the .cls files. Is this in latex.ltx? Or something?

Best Answer

In texdoc source2e it starts on p214. It's in ltmath.dtx.

Here it is:

\@definecounter{equation}
\def\equation{$$\refstepcounter{equation}}
\def\endequation{\eqno \hbox{\@eqnnum}$$\@ignoretrue}
Related Question