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?

  • 4
    erh, align* should be obvious. There is no markup for rendering LaTeX code. Only source code
    – daleif
    Jun 19, 2013 at 15:33
  • 2
    It might be a good to start reading the manual for the amsmath package and browsing align. Jun 19, 2013 at 18:06

1 Answer 1


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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .