Do a \begin{align*} \end{align*}. That should do the trick.

You can also use the starred version equation* (requires amsmath). \ usepackage{algorithm2e} \begin{document} \begin{algorithm} \ DontPrintSemicolon % Some LaTeX compilers require Use a display equation that is unnumbered: \[ \].

instead but the output have no changes still the equation comes with the for unnumbered equations. In amsmath, this uses equation*. Stefan.

Case 1: The expression is not an equation. LATEX is a very powerful tool for typesetting in general and for typesetting math in particular.

Use this for all unnumbered displays. It's a good habit to put \end{equation}. Use this if you want the equation to be automatically numbered.