latex error: environment proof undefined

rikitak picture rikitak · Sep 19, 2009 · Viewed 54.2k times · Source

hi i am using latex... wanted to use the following:

       \begin{proof}
       ...
       \end{proof}

it gives me the following error: !Latex error: Environment proof undefined. can you help me to solve this problem? thanks

Answer

derobert picture derobert · Sep 19, 2009

The proof environment is part of AMS-LaΤεχ, not plain LaΤεχ, so you need to:

\usepackage{amsthm}

See this AMS-LaTeX page for details. If you don't already have the packages installed, grab them at http://www.ams.org/tex/amslatex.html