latextexmaker

latex error: environment proof undefined


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


Solution

  • 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