Math & Science\begin{equation*} shows error

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
pradeep
Posts: 2
Joined: Mon Dec 12, 2011 1:54 pm

\begin{equation*} shows error

Post by pradeep »

I have no issue when running

Code: Select all

\begin{equation}
but when i run

Code: Select all

\begin{equation*}
comes out with error. I try to use

Code: Select all

\nonumber
instead but the output have no changes still the equation comes with the numbering.

Could not find where the source of the problem will be? Appreciate the help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

\begin{equation*} shows error

Post by Stefan Kottwitz »

Hi,

the equation* environment requires amsmath. Add to your preamble:

Code: Select all

\usepackage{amsmath}
That package is very useful for writing mathematics, it's recommendable to load it.

You can also write

Code: Select all

\[
  expression
\]
for unnumbered equations. In amsmath, this uses equation*.

Stefan
LaTeX.org admin
Post Reply