[Tex/LaTex] Multiline equation without number


I am trying to have a multiline equation without any numbering, even not in the last one.

a = x \nonumber \\
b = y

However, this is producing a line number in the last line, which would like not to happen.

I have also tried the equation and equation* environments with no luck.


P.S. What' the markup for rendering LaTeX code. Can't seem to be able to find it in the help page?

Best Answer

How about:

\usepackage{amsmath} % for the "align" and "align*" environments
\begin{align*} % the "starred" equation environments produce no equation numbers
a &= b\\  % if no alignment is needed, use the gather* instead of the align* env.
  &= c

If you do use the unstarred version, remember that \nonumber operates on only one line, so to omit numbers entirely, \nonumber (or \notag) must be input for every line.

Related Question